LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - generic-match-3.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 41.9 % 6001 2514
Test Date: 2024-04-13 14:00:49 Functions: 74.2 % 62 46
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

             Branch data     Line data    Source code
       1                 :             : /* Generated automatically by the program `genmatch' from
       2                 :             :    a IL pattern matching and simplification description.  */
       3                 :             : #pragma GCC diagnostic push
       4                 :             : #pragma GCC diagnostic ignored "-Wunused-variable"
       5                 :             : #pragma GCC diagnostic ignored "-Wunused-function"
       6                 :             : 
       7                 :             : #include "generic-match-auto.h"
       8                 :             : 
       9                 :             : bool
      10                 :    53485741 : tree_with_possible_nonzero_bits2 (tree t, tree *res_ops)
      11                 :             : {
      12                 :    53485741 :   const tree type = TREE_TYPE (t);
      13                 :    53485741 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :    53485741 :   if (TREE_SIDE_EFFECTS (t)) return false;
      15                 :    48957980 :   switch (TREE_CODE (t))
      16                 :             :     {
      17                 :     1716558 :     case BIT_AND_EXPR:
      18                 :     1716558 :       {
      19                 :     1716558 :         tree _p0 = TREE_OPERAND (t, 0);
      20                 :     1716558 :         tree _p1 = TREE_OPERAND (t, 1);
      21                 :     1716558 :         if (tree_with_possible_nonzero_bits (_p0))
      22                 :             :           {
      23                 :      804936 :             {
      24                 :      804936 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      25                 :      804936 :               {
      26                 :      804936 :                 res_ops[0] = captures[0];
      27                 :      804936 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 24, __FILE__, __LINE__, false);
      28                 :      804936 :                 return true;
      29                 :             :               }
      30                 :             :             }
      31                 :             :           }
      32                 :      911622 :         if (tree_with_possible_nonzero_bits (_p1))
      33                 :             :           {
      34                 :      782968 :             {
      35                 :      782968 :               tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
      36                 :      782968 :               {
      37                 :      782968 :                 res_ops[0] = captures[0];
      38                 :      782968 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 24, __FILE__, __LINE__, false);
      39                 :      782968 :                 return true;
      40                 :             :               }
      41                 :             :             }
      42                 :             :           }
      43                 :             :         break;
      44                 :             :       }
      45                 :    47370076 :     default:;
      46                 :             :     }
      47                 :    47370076 : if (tree_with_possible_nonzero_bits (t))
      48                 :             :   {
      49                 :    20499718 :     {
      50                 :    20499718 :       tree captures[1] ATTRIBUTE_UNUSED = { t };
      51                 :    20499718 :       {
      52                 :    20499718 :         res_ops[0] = captures[0];
      53                 :    20499718 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 25, __FILE__, __LINE__, false);
      54                 :    20499718 :         return true;
      55                 :             :       }
      56                 :             :     }
      57                 :             :   }
      58                 :             :   return false;
      59                 :             : }
      60                 :             : 
      61                 :             : bool
      62                 :           0 : tree_ctz_table_index (tree t, tree *res_ops)
      63                 :             : {
      64                 :           0 :   const tree type = TREE_TYPE (t);
      65                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      66                 :           0 :   if (TREE_SIDE_EFFECTS (t)) return false;
      67                 :           0 :   switch (TREE_CODE (t))
      68                 :             :     {
      69                 :           0 :     case RSHIFT_EXPR:
      70                 :           0 :       {
      71                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
      72                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
      73                 :           0 :         switch (TREE_CODE (_p0))
      74                 :             :           {
      75                 :           0 :           case MULT_EXPR:
      76                 :           0 :             {
      77                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
      78                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
      79                 :           0 :               switch (TREE_CODE (_q20))
      80                 :             :                 {
      81                 :           0 :                 case BIT_AND_EXPR:
      82                 :           0 :                   {
      83                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
      84                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
      85                 :           0 :                     switch (TREE_CODE (_q30))
      86                 :             :                       {
      87                 :           0 :                       case NEGATE_EXPR:
      88                 :           0 :                         {
      89                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
      90                 :           0 :                           if ((_q31 == _q40 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q40, 0) && types_match (_q31, _q40)))
      91                 :             :                             {
      92                 :           0 :                               switch (TREE_CODE (_q21))
      93                 :             :                                 {
      94                 :           0 :                                 case INTEGER_CST:
      95                 :           0 :                                   {
      96                 :           0 :                                     switch (TREE_CODE (_p1))
      97                 :             :                                       {
      98                 :           0 :                                       case INTEGER_CST:
      99                 :           0 :                                         {
     100                 :           0 :                                           {
     101                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q21, _p1 };
     102                 :           0 :                                             {
     103                 :           0 :                                               res_ops[0] = captures[0];
     104                 :           0 :                                               res_ops[1] = captures[1];
     105                 :           0 :                                               res_ops[2] = captures[2];
     106                 :           0 :                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 36, __FILE__, __LINE__, false);
     107                 :           0 :                                               return true;
     108                 :             :                                             }
     109                 :             :                                           }
     110                 :             :                                           break;
     111                 :             :                                         }
     112                 :             :                                       default:;
     113                 :             :                                       }
     114                 :             :                                     break;
     115                 :             :                                   }
     116                 :             :                                 default:;
     117                 :             :                                 }
     118                 :             :                             }
     119                 :             :                           break;
     120                 :             :                         }
     121                 :           0 :                       default:;
     122                 :             :                       }
     123                 :           0 :                     switch (TREE_CODE (_q31))
     124                 :             :                       {
     125                 :           0 :                       case NEGATE_EXPR:
     126                 :           0 :                         {
     127                 :           0 :                           tree _q50 = TREE_OPERAND (_q31, 0);
     128                 :           0 :                           if ((_q50 == _q30 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q30, 0) && types_match (_q50, _q30)))
     129                 :             :                             {
     130                 :           0 :                               switch (TREE_CODE (_q21))
     131                 :             :                                 {
     132                 :           0 :                                 case INTEGER_CST:
     133                 :           0 :                                   {
     134                 :           0 :                                     switch (TREE_CODE (_p1))
     135                 :             :                                       {
     136                 :           0 :                                       case INTEGER_CST:
     137                 :           0 :                                         {
     138                 :           0 :                                           {
     139                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p1 };
     140                 :           0 :                                             {
     141                 :           0 :                                               res_ops[0] = captures[0];
     142                 :           0 :                                               res_ops[1] = captures[1];
     143                 :           0 :                                               res_ops[2] = captures[2];
     144                 :           0 :                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 36, __FILE__, __LINE__, false);
     145                 :           0 :                                               return true;
     146                 :             :                                             }
     147                 :             :                                           }
     148                 :             :                                           break;
     149                 :             :                                         }
     150                 :             :                                       default:;
     151                 :             :                                       }
     152                 :             :                                     break;
     153                 :             :                                   }
     154                 :             :                                 default:;
     155                 :             :                                 }
     156                 :             :                             }
     157                 :             :                           break;
     158                 :             :                         }
     159                 :             :                       default:;
     160                 :             :                       }
     161                 :             :                     break;
     162                 :             :                   }
     163                 :             :                 default:;
     164                 :             :                 }
     165                 :             :               break;
     166                 :             :             }
     167                 :             :           default:;
     168                 :             :           }
     169                 :             :         break;
     170                 :             :       }
     171                 :             :     default:;
     172                 :             :     }
     173                 :             :   return false;
     174                 :             : }
     175                 :             : 
     176                 :             : tree
     177                 :          10 : generic_simplify_17 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     178                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     179                 :             : {
     180                 :          10 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     181                 :          10 :   if (!TYPE_SATURATING (type)
     182                 :             : )
     183                 :             :     {
     184                 :          10 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     185                 :          20 :  && !FIXED_POINT_TYPE_P (type)
     186                 :             : )
     187                 :             :         {
     188                 :          10 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail106;
     189                 :          10 :           {
     190                 :          10 :             tree res_op0;
     191                 :          10 :             res_op0 = captures[2];
     192                 :          10 :             tree res_op1;
     193                 :          10 :             res_op1 = captures[1];
     194                 :          10 :             tree _r;
     195                 :          10 :             _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
     196                 :          10 :             if (TREE_SIDE_EFFECTS (captures[0]))
     197                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
     198                 :          10 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 65, __FILE__, __LINE__, true);
     199                 :          10 :             return _r;
     200                 :             :           }
     201                 :           0 : next_after_fail106:;
     202                 :             :         }
     203                 :             :     }
     204                 :             :   return NULL_TREE;
     205                 :             : }
     206                 :             : 
     207                 :             : tree
     208                 :        7674 : generic_simplify_23 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     209                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     210                 :             :  const enum tree_code ARG_UNUSED (plusminus))
     211                 :             : {
     212                 :        7674 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     213                 :        7674 :   if (!TYPE_SATURATING (type)
     214                 :        7674 :  && (!FLOAT_TYPE_P (type) || flag_associative_math)
     215                 :             : )
     216                 :             :     {
     217                 :        7508 :       if (!ALL_FRACT_MODE_P (TYPE_MODE (type))
     218                 :             : )
     219                 :             :         {
     220                 :           4 :           if ((!ANY_INTEGRAL_TYPE_P (type)
     221                 :        7504 :  || TYPE_OVERFLOW_WRAPS (type)
     222                 :        1596 :  || (INTEGRAL_TYPE_P (type)
     223                 :        1596 :  && ((tree_expr_nonzero_p (captures[0])
     224                 :         246 :  && expr_not_equal_to (captures[0],
     225                 :        7631 :  wi::minus_one (TYPE_PRECISION (type))))
     226                 :          20 :  || (plusminus == PLUS_EXPR
     227                 :        1473 :  ? expr_not_equal_to (captures[2],
     228                 :        7528 :  wi::max_value (TYPE_PRECISION (type), SIGNED))
     229                 :        1453 :  : (expr_not_equal_to (captures[2],
     230                 :        8961 :  wi::min_value (TYPE_PRECISION (type), SIGNED))
     231                 :        1401 :  && expr_not_equal_to (captures[2],
     232                 :        2802 :  wi::min_value (TYPE_PRECISION (type), SIGNED)
     233                 :       13112 :  + 1))))))
     234                 :       16437 :  && single_use (captures[1])
     235                 :             : )
     236                 :             :             {
     237                 :        7456 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail113;
     238                 :        7456 :               {
     239                 :        7456 :                 tree res_op0;
     240                 :        7456 :                 {
     241                 :        7456 :                   tree _o1[2], _r1;
     242                 :        7456 :                   _o1[0] =  build_one_cst (type);
     243                 :        7456 :                   _o1[1] = captures[2];
     244                 :        7456 :                   _r1 = fold_build2_loc (loc, plusminus, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     245                 :        7456 :                   res_op0 = _r1;
     246                 :             :                 }
     247                 :        7456 :                 tree res_op1;
     248                 :        7456 :                 res_op1 = captures[0];
     249                 :        7456 :                 tree _r;
     250                 :        7456 :                 _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
     251                 :        7456 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 72, __FILE__, __LINE__, true);
     252                 :        7456 :                 return _r;
     253                 :             :               }
     254                 :           0 : next_after_fail113:;
     255                 :             :             }
     256                 :             :         }
     257                 :             :     }
     258                 :             :   return NULL_TREE;
     259                 :             : }
     260                 :             : 
     261                 :             : tree
     262                 :          77 : generic_simplify_29 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     263                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     264                 :             :  const combined_fn ARG_UNUSED (POPCOUNT))
     265                 :             : {
     266                 :          77 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     267                 :         154 :   if (INTEGRAL_TYPE_P (type)
     268                 :         385 :  && (wi::bit_and (widest_int::from (tree_nonzero_bits (captures[1]), UNSIGNED),
     269                 :         308 :  widest_int::from (tree_nonzero_bits (captures[3]), UNSIGNED))
     270                 :         231 :  == 0)
     271                 :             : )
     272                 :             :     {
     273                 :           1 :       {
     274                 :           1 :  tree utype = TREE_TYPE (captures[1]);
     275                 :           1 :  if (TYPE_PRECISION (utype) < TYPE_PRECISION (TREE_TYPE (captures[3])))
     276                 :           0 :  utype = TREE_TYPE (captures[3]);
     277                 :           1 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail119;
     278                 :           1 :           {
     279                 :           1 :             tree res_op0;
     280                 :           1 :             {
     281                 :           1 :               tree _o1[2], _r1;
     282                 :           1 :               {
     283                 :           1 :                 tree _o2[1], _r2;
     284                 :           1 :                 _o2[0] = captures[1];
     285                 :           1 :                 if (TREE_TYPE (_o2[0]) != utype)
     286                 :             :                   {
     287                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
     288                 :             :                   }
     289                 :             :                 else
     290                 :             :                   _r2 = _o2[0];
     291                 :           1 :                 _o1[0] = _r2;
     292                 :             :               }
     293                 :           1 :               {
     294                 :           1 :                 tree _o2[1], _r2;
     295                 :           1 :                 _o2[0] = captures[3];
     296                 :           1 :                 if (TREE_TYPE (_o2[0]) != utype)
     297                 :             :                   {
     298                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
     299                 :             :                   }
     300                 :             :                 else
     301                 :             :                   _r2 = _o2[0];
     302                 :           1 :                 _o1[1] = _r2;
     303                 :             :               }
     304                 :           1 :               _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     305                 :           1 :               res_op0 = _r1;
     306                 :             :             }
     307                 :           1 :             tree _r;
     308                 :           1 :             _r = maybe_build_call_expr_loc (loc, POPCOUNT, type, 1, res_op0);
     309                 :           1 :             if (!_r)
     310                 :           0 :               goto next_after_fail119;
     311                 :           1 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 78, __FILE__, __LINE__, true);
     312                 :           1 :             return _r;
     313                 :             :           }
     314                 :             : next_after_fail119:;
     315                 :             :       }
     316                 :             :     }
     317                 :             :   return NULL_TREE;
     318                 :             : }
     319                 :             : 
     320                 :             : tree
     321                 :         284 : generic_simplify_42 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     322                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     323                 :             : {
     324                 :         284 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     325                 :         284 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
     326                 :         284 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[3]))
     327                 :             : )
     328                 :             :     {
     329                 :         284 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail132;
     330                 :         284 :       {
     331                 :         284 :         tree res_op0;
     332                 :         284 :         {
     333                 :         284 :           tree _o1[2], _r1;
     334                 :         284 :           {
     335                 :         284 :             tree _o2[1], _r2;
     336                 :         284 :             _o2[0] = captures[3];
     337                 :         284 :             _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
     338                 :         284 :             _o1[0] = _r2;
     339                 :             :           }
     340                 :         284 :           _o1[1] = captures[0];
     341                 :         284 :           _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     342                 :         284 :           res_op0 = _r1;
     343                 :             :         }
     344                 :         284 :         tree _r;
     345                 :         284 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     346                 :         284 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 90, __FILE__, __LINE__, true);
     347                 :         284 :         return _r;
     348                 :             :       }
     349                 :           0 : next_after_fail132:;
     350                 :             :     }
     351                 :             :   return NULL_TREE;
     352                 :             : }
     353                 :             : 
     354                 :             : tree
     355                 :          47 : generic_simplify_50 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     356                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     357                 :             : {
     358                 :          47 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     359                 :          47 :   if (!TYPE_SATURATING (type)
     360                 :             : )
     361                 :             :     {
     362                 :          47 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     363                 :          94 :  && !FIXED_POINT_TYPE_P (type)
     364                 :             : )
     365                 :             :         {
     366                 :          94 :           if (!TYPE_OVERFLOW_TRAPS (type)
     367                 :          47 :  && TREE_CODE (type) != COMPLEX_TYPE
     368                 :          93 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
     369                 :             : )
     370                 :             :             {
     371                 :          46 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail144;
     372                 :          46 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail144;
     373                 :          46 :               {
     374                 :          46 :                 tree res_op0;
     375                 :          46 :                 {
     376                 :          46 :                   tree _o1[1], _r1;
     377                 :          46 :                   _o1[0] = captures[0];
     378                 :          46 :                   if (TREE_TYPE (_o1[0]) != type)
     379                 :             :                     {
     380                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
     381                 :             :                     }
     382                 :             :                   else
     383                 :             :                     _r1 = _o1[0];
     384                 :          46 :                   res_op0 = _r1;
     385                 :             :                 }
     386                 :          46 :                 tree _r;
     387                 :          46 :                 _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
     388                 :          46 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 102, __FILE__, __LINE__, true);
     389                 :          46 :                 return _r;
     390                 :             :               }
     391                 :             : next_after_fail144:;
     392                 :             :             }
     393                 :             :         }
     394                 :             :     }
     395                 :             :   return NULL_TREE;
     396                 :             : }
     397                 :             : 
     398                 :             : tree
     399                 :           4 : generic_simplify_56 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     400                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     401                 :             :  const enum tree_code ARG_UNUSED (log1),
     402                 :             :  const enum tree_code ARG_UNUSED (log2),
     403                 :             :  const combined_fn ARG_UNUSED (popcount))
     404                 :             : {
     405                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     406                 :           4 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail152;
     407                 :           4 :   {
     408                 :           4 :     tree res_op0;
     409                 :           4 :     {
     410                 :           4 :       tree _o1[2], _r1;
     411                 :           4 :       _o1[0] = captures[2];
     412                 :           4 :       _o1[1] = captures[4];
     413                 :           4 :       _r1 = fold_build2_loc (loc, log2, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     414                 :           4 :       res_op0 = _r1;
     415                 :             :     }
     416                 :           4 :     tree _r;
     417                 :           4 :     _r = maybe_build_call_expr_loc (loc, popcount, type, 1, res_op0);
     418                 :           4 :     if (!_r)
     419                 :           0 :       goto next_after_fail152;
     420                 :           4 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 110, __FILE__, __LINE__, true);
     421                 :             :     return _r;
     422                 :             :   }
     423                 :             : next_after_fail152:;
     424                 :             :   return NULL_TREE;
     425                 :             : }
     426                 :             : 
     427                 :             : tree
     428                 :           0 : generic_simplify_61 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     429                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     430                 :             :  const enum tree_code ARG_UNUSED (bitop),
     431                 :             :  const enum tree_code ARG_UNUSED (cmp))
     432                 :             : {
     433                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     434                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
     435                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
     436                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[2]))
     437                 :             : )
     438                 :             :     {
     439                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail157;
     440                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail157;
     441                 :           0 :       {
     442                 :           0 :         tree res_op0;
     443                 :           0 :         {
     444                 :           0 :           tree _o1[2], _r1;
     445                 :           0 :           _o1[0] = captures[0];
     446                 :           0 :           {
     447                 :           0 :             tree _o2[1], _r2;
     448                 :           0 :             _o2[0] = captures[2];
     449                 :           0 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
     450                 :             :               {
     451                 :           0 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
     452                 :             :               }
     453                 :             :             else
     454                 :             :               _r2 = _o2[0];
     455                 :           0 :             _o1[1] = _r2;
     456                 :             :           }
     457                 :           0 :           _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     458                 :           0 :           res_op0 = _r1;
     459                 :             :         }
     460                 :           0 :         tree res_op1;
     461                 :           0 :         res_op1 = captures[1];
     462                 :           0 :         tree _r;
     463                 :           0 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
     464                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 115, __FILE__, __LINE__, true);
     465                 :           0 :         return _r;
     466                 :             :       }
     467                 :             : next_after_fail157:;
     468                 :             :     }
     469                 :             :   return NULL_TREE;
     470                 :             : }
     471                 :             : 
     472                 :             : tree
     473                 :           8 : generic_simplify_72 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     474                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     475                 :             : {
     476                 :           8 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     477                 :          16 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
     478                 :          16 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == 1
     479                 :             : )
     480                 :             :     {
     481                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail168;
     482                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail168;
     483                 :           0 :       {
     484                 :           0 :         tree _r;
     485                 :           0 :         _r = captures[2];
     486                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 124, __FILE__, __LINE__, true);
     487                 :           0 :         return _r;
     488                 :             :       }
     489                 :             : next_after_fail168:;
     490                 :             :     }
     491                 :             :   return NULL_TREE;
     492                 :             : }
     493                 :             : 
     494                 :             : tree
     495                 :         270 : generic_simplify_81 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     496                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     497                 :             :  const enum tree_code ARG_UNUSED (bitop))
     498                 :             : {
     499                 :         270 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     500                 :         270 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail177;
     501                 :         270 :   {
     502                 :         270 :     tree res_op0;
     503                 :         270 :     res_op0 = captures[0];
     504                 :         270 :     tree _r;
     505                 :         270 :     _r = non_lvalue_loc (loc, res_op0);
     506                 :         270 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 129, __FILE__, __LINE__, true);
     507                 :             :     return _r;
     508                 :             :   }
     509                 :           0 : next_after_fail177:;
     510                 :           0 :   return NULL_TREE;
     511                 :             : }
     512                 :             : 
     513                 :             : tree
     514                 :       18130 : generic_simplify_87 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     515                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     516                 :             : {
     517                 :       18130 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     518                 :       18130 :   {
     519                 :       18130 :  bool wascmp;
     520                 :       18130 :       if ((bitwise_inverted_equal_p (captures[0], captures[2], wascmp)
     521                 :       18130 :  || bitwise_inverted_equal_p (captures[1], captures[2], wascmp))
     522                 :       18130 :  && (!wascmp || element_precision (type) == 1)
     523                 :             : )
     524                 :             :         {
     525                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail183;
     526                 :           0 :           {
     527                 :           0 :             tree _r;
     528                 :           0 :             _r =  build_all_ones_cst (TREE_TYPE (captures[0]));
     529                 :           0 :             if (TREE_SIDE_EFFECTS (captures[0]))
     530                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
     531                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
     532                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     533                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
     534                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
     535                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 134, __FILE__, __LINE__, true);
     536                 :           0 :             return _r;
     537                 :             :           }
     538                 :           0 : next_after_fail183:;
     539                 :             :         }
     540                 :             :   }
     541                 :       18130 :   return NULL_TREE;
     542                 :             : }
     543                 :             : 
     544                 :             : tree
     545                 :           2 : generic_simplify_96 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     546                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     547                 :             :  const enum tree_code ARG_UNUSED (bitop),
     548                 :             :  const enum tree_code ARG_UNUSED (rbitop))
     549                 :             : {
     550                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     551                 :           2 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail196;
     552                 :           2 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail196;
     553                 :           2 :   {
     554                 :           2 :     tree _r;
     555                 :           2 :     _r = captures[2];
     556                 :           2 :     if (TREE_SIDE_EFFECTS (captures[1]))
     557                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     558                 :           2 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 140, __FILE__, __LINE__, true);
     559                 :             :     return _r;
     560                 :             :   }
     561                 :             : next_after_fail196:;
     562                 :             :   return NULL_TREE;
     563                 :             : }
     564                 :             : 
     565                 :             : tree
     566                 :           0 : generic_simplify_100 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     567                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     568                 :             :  const enum tree_code ARG_UNUSED (bitop),
     569                 :             :  const enum tree_code ARG_UNUSED (rbitop))
     570                 :             : {
     571                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     572                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail200;
     573                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail200;
     574                 :           0 :   {
     575                 :           0 :     tree _r;
     576                 :           0 :     _r = captures[2];
     577                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
     578                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     579                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 140, __FILE__, __LINE__, true);
     580                 :             :     return _r;
     581                 :             :   }
     582                 :             : next_after_fail200:;
     583                 :             :   return NULL_TREE;
     584                 :             : }
     585                 :             : 
     586                 :             : tree
     587                 :           0 : generic_simplify_108 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     588                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     589                 :             :  const enum tree_code ARG_UNUSED (cmp),
     590                 :             :  const enum tree_code ARG_UNUSED (icmp))
     591                 :             : {
     592                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     593                 :           0 :   if (integer_zerop (captures[5])
     594                 :           0 :  && invert_tree_comparison (cmp, HONOR_NANS (captures[2])) == icmp
     595                 :             : )
     596                 :             :     {
     597                 :           0 :       if (integer_onep (captures[4])
     598                 :             : )
     599                 :             :         {
     600                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail211;
     601                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail211;
     602                 :           0 :           {
     603                 :           0 :             tree res_op0;
     604                 :           0 :             {
     605                 :           0 :               tree _o1[3], _r1;
     606                 :           0 :               _o1[0] = captures[1];
     607                 :           0 :               _o1[1] = captures[6];
     608                 :           0 :               _o1[2] = captures[9];
     609                 :           0 :               _r1 = fold_build3_loc (loc, VEC_COND_EXPR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2]);
     610                 :           0 :               res_op0 = _r1;
     611                 :             :             }
     612                 :           0 :             tree res_op1;
     613                 :           0 :             res_op1 = captures[4];
     614                 :           0 :             tree _r;
     615                 :           0 :             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
     616                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 150, __FILE__, __LINE__, true);
     617                 :           0 :             return _r;
     618                 :             :           }
     619                 :             : next_after_fail211:;
     620                 :             :         }
     621                 :             :       else
     622                 :             :         {
     623                 :           0 :           if (integer_minus_onep (captures[4])
     624                 :             : )
     625                 :             :             {
     626                 :           0 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail212;
     627                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail212;
     628                 :           0 :               {
     629                 :           0 :                 tree res_op0;
     630                 :           0 :                 res_op0 = captures[1];
     631                 :           0 :                 tree res_op1;
     632                 :           0 :                 res_op1 = captures[6];
     633                 :           0 :                 tree res_op2;
     634                 :           0 :                 res_op2 = captures[9];
     635                 :           0 :                 tree _r;
     636                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
     637                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 151, __FILE__, __LINE__, true);
     638                 :           0 :                 return _r;
     639                 :             :               }
     640                 :             : next_after_fail212:;
     641                 :             :             }
     642                 :             :         }
     643                 :             :     }
     644                 :             :   else
     645                 :             :     {
     646                 :           0 :       if (integer_zerop (captures[4])
     647                 :           0 :  && invert_tree_comparison (cmp, HONOR_NANS (captures[2])) == icmp
     648                 :             : )
     649                 :             :         {
     650                 :           0 :           if (integer_onep (captures[5])
     651                 :             : )
     652                 :             :             {
     653                 :           0 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail213;
     654                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail213;
     655                 :           0 :               {
     656                 :           0 :                 tree res_op0;
     657                 :           0 :                 {
     658                 :           0 :                   tree _o1[3], _r1;
     659                 :           0 :                   _o1[0] = captures[1];
     660                 :           0 :                   _o1[1] = captures[9];
     661                 :           0 :                   _o1[2] = captures[6];
     662                 :           0 :                   _r1 = fold_build3_loc (loc, VEC_COND_EXPR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2]);
     663                 :           0 :                   res_op0 = _r1;
     664                 :             :                 }
     665                 :           0 :                 tree res_op1;
     666                 :           0 :                 res_op1 = captures[5];
     667                 :           0 :                 tree _r;
     668                 :           0 :                 _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
     669                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 152, __FILE__, __LINE__, true);
     670                 :           0 :                 return _r;
     671                 :             :               }
     672                 :             : next_after_fail213:;
     673                 :             :             }
     674                 :             :           else
     675                 :             :             {
     676                 :           0 :               if (integer_minus_onep (captures[5])
     677                 :             : )
     678                 :             :                 {
     679                 :           0 :                   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail214;
     680                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail214;
     681                 :           0 :                   {
     682                 :           0 :                     tree res_op0;
     683                 :           0 :                     res_op0 = captures[1];
     684                 :           0 :                     tree res_op1;
     685                 :           0 :                     res_op1 = captures[9];
     686                 :           0 :                     tree res_op2;
     687                 :           0 :                     res_op2 = captures[6];
     688                 :           0 :                     tree _r;
     689                 :           0 :                     _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
     690                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 153, __FILE__, __LINE__, true);
     691                 :           0 :                     return _r;
     692                 :             :                   }
     693                 :             : next_after_fail214:;
     694                 :             :                 }
     695                 :             :             }
     696                 :             :         }
     697                 :             :     }
     698                 :             :   return NULL_TREE;
     699                 :             : }
     700                 :             : 
     701                 :             : tree
     702                 :           0 : generic_simplify_130 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     703                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     704                 :             :  const enum tree_code ARG_UNUSED (op))
     705                 :             : {
     706                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     707                 :           0 :   if (INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_WRAPS (type)
     708                 :           0 :  && tree_int_cst_sgn (captures[4]) > 0
     709                 :           0 :  && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[3])) == 0
     710                 :             : )
     711                 :             :     {
     712                 :           0 :       {
     713                 :           0 :  wide_int wone = wi::one (TYPE_PRECISION (type));
     714                 :           0 :  wide_int c = wi::add (wi::to_wide (captures[2]),
     715                 :           0 :  wi::lshift (wone, wi::to_wide (captures[4])));
     716                 :           0 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail269;
     717                 :           0 :           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail269;
     718                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail269;
     719                 :           0 :           {
     720                 :           0 :             tree res_op0;
     721                 :           0 :             res_op0 = captures[1];
     722                 :           0 :             tree res_op1;
     723                 :           0 :             res_op1 =  wide_int_to_tree (type, c);
     724                 :           0 :             tree _r;
     725                 :           0 :             _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
     726                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 181, __FILE__, __LINE__, true);
     727                 :           0 :             return _r;
     728                 :             :           }
     729                 :           0 : next_after_fail269:;
     730                 :           0 :       }
     731                 :             :     }
     732                 :             :   return NULL_TREE;
     733                 :             : }
     734                 :             : 
     735                 :             : tree
     736                 :          44 : generic_simplify_136 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     737                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     738                 :             :  const enum tree_code ARG_UNUSED (logic),
     739                 :             :  const enum tree_code ARG_UNUSED (op),
     740                 :             :  const enum tree_code ARG_UNUSED (ext))
     741                 :             : {
     742                 :          44 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     743                 :          88 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     744                 :          88 :  && TREE_CODE (captures[1]) != INTEGER_CST
     745                 :             : )
     746                 :             :     {
     747                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail275;
     748                 :           0 :       {
     749                 :           0 :         tree res_op0;
     750                 :           0 :         res_op0 = captures[1];
     751                 :           0 :         tree res_op1;
     752                 :           0 :         {
     753                 :           0 :           tree _o1[2], _r1;
     754                 :           0 :           _o1[0] = captures[2];
     755                 :           0 :           _o1[1] = captures[4];
     756                 :           0 :           _r1 = fold_build2_loc (loc, ext, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     757                 :           0 :           res_op1 = _r1;
     758                 :             :         }
     759                 :           0 :         tree _r;
     760                 :           0 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
     761                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 186, __FILE__, __LINE__, true);
     762                 :           0 :         return _r;
     763                 :             :       }
     764                 :           0 : next_after_fail275:;
     765                 :             :     }
     766                 :             :   return NULL_TREE;
     767                 :             : }
     768                 :             : 
     769                 :             : tree
     770                 :           1 : generic_simplify_142 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     771                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     772                 :             : {
     773                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     774                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail281;
     775                 :           1 :   {
     776                 :           1 :     tree res_op0;
     777                 :           1 :     res_op0 = captures[0];
     778                 :           1 :     tree _r;
     779                 :           1 :     _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
     780                 :           1 :     if (TREE_SIDE_EFFECTS (captures[1]))
     781                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     782                 :           1 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 192, __FILE__, __LINE__, true);
     783                 :             :     return _r;
     784                 :             :   }
     785                 :           0 : next_after_fail281:;
     786                 :           0 :   return NULL_TREE;
     787                 :             : }
     788                 :             : 
     789                 :             : tree
     790                 :           1 : generic_simplify_144 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     791                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     792                 :             : {
     793                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     794                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail283;
     795                 :           1 :   {
     796                 :           1 :     tree res_op0;
     797                 :           1 :     res_op0 = captures[1];
     798                 :           1 :     tree res_op1;
     799                 :           1 :     {
     800                 :           1 :       tree _o1[1], _r1;
     801                 :           1 :       _o1[0] = captures[2];
     802                 :           1 :       _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
     803                 :           1 :       res_op1 = _r1;
     804                 :             :     }
     805                 :           1 :     tree _r;
     806                 :           1 :     _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
     807                 :           1 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 194, __FILE__, __LINE__, true);
     808                 :             :     return _r;
     809                 :             :   }
     810                 :           0 : next_after_fail283:;
     811                 :           0 :   return NULL_TREE;
     812                 :             : }
     813                 :             : 
     814                 :             : tree
     815                 :         137 : generic_simplify_151 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     816                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     817                 :             : {
     818                 :         137 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     819                 :         137 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[2]))
     820                 :             : )
     821                 :             :     {
     822                 :         137 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail290;
     823                 :         137 :       {
     824                 :         137 :         tree res_op0;
     825                 :         137 :         {
     826                 :         137 :           tree _o1[2], _r1;
     827                 :         137 :           {
     828                 :         137 :             tree _o2[1], _r2;
     829                 :         137 :             _o2[0] = captures[2];
     830                 :         137 :             _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o2[0]);
     831                 :         137 :             _o1[0] = _r2;
     832                 :             :           }
     833                 :         137 :           _o1[1] = captures[3];
     834                 :         137 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     835                 :         137 :           res_op0 = _r1;
     836                 :             :         }
     837                 :         137 :         tree _r;
     838                 :         137 :         _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
     839                 :         137 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 201, __FILE__, __LINE__, true);
     840                 :         137 :         return _r;
     841                 :             :       }
     842                 :           0 : next_after_fail290:;
     843                 :             :     }
     844                 :             :   return NULL_TREE;
     845                 :             : }
     846                 :             : 
     847                 :             : tree
     848                 :          11 : generic_simplify_159 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     849                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     850                 :             :  const combined_fn ARG_UNUSED (PARITY))
     851                 :             : {
     852                 :          11 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     853                 :          11 :   if (types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[3]))
     854                 :             : )
     855                 :             :     {
     856                 :          10 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail299;
     857                 :          10 :       {
     858                 :          10 :         tree res_op0;
     859                 :          10 :         {
     860                 :          10 :           tree _o1[2], _r1;
     861                 :          10 :           _o1[0] = captures[1];
     862                 :          10 :           _o1[1] = captures[3];
     863                 :          10 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     864                 :          10 :           res_op0 = _r1;
     865                 :             :         }
     866                 :          10 :         tree _r;
     867                 :          10 :         _r = maybe_build_call_expr_loc (loc, PARITY, type, 1, res_op0);
     868                 :          10 :         if (!_r)
     869                 :           0 :           goto next_after_fail299;
     870                 :          10 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 209, __FILE__, __LINE__, true);
     871                 :          10 :         return _r;
     872                 :             :       }
     873                 :             : next_after_fail299:;
     874                 :             :     }
     875                 :             :   else
     876                 :             :     {
     877                 :           2 :       if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     878                 :           2 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[3]))
     879                 :             : )
     880                 :             :         {
     881                 :           1 :           {
     882                 :           1 :  tree utype = TREE_TYPE (captures[1]);
     883                 :           1 :  if (TYPE_PRECISION (utype) < TYPE_PRECISION (TREE_TYPE (captures[3])))
     884                 :           1 :  utype = TREE_TYPE (captures[3]);
     885                 :           1 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail300;
     886                 :           1 :               {
     887                 :           1 :                 tree res_op0;
     888                 :           1 :                 {
     889                 :           1 :                   tree _o1[2], _r1;
     890                 :           1 :                   {
     891                 :           1 :                     tree _o2[1], _r2;
     892                 :           1 :                     _o2[0] = captures[1];
     893                 :           1 :                     if (TREE_TYPE (_o2[0]) != utype)
     894                 :             :                       {
     895                 :           1 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
     896                 :             :                       }
     897                 :             :                     else
     898                 :             :                       _r2 = _o2[0];
     899                 :           1 :                     _o1[0] = _r2;
     900                 :             :                   }
     901                 :           1 :                   {
     902                 :           1 :                     tree _o2[1], _r2;
     903                 :           1 :                     _o2[0] = captures[3];
     904                 :           1 :                     if (TREE_TYPE (_o2[0]) != utype)
     905                 :             :                       {
     906                 :           0 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
     907                 :             :                       }
     908                 :             :                     else
     909                 :             :                       _r2 = _o2[0];
     910                 :           1 :                     _o1[1] = _r2;
     911                 :             :                   }
     912                 :           1 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     913                 :           1 :                   res_op0 = _r1;
     914                 :             :                 }
     915                 :           1 :                 tree _r;
     916                 :           1 :                 _r = maybe_build_call_expr_loc (loc, PARITY, type, 1, res_op0);
     917                 :           1 :                 if (!_r)
     918                 :           1 :                   goto next_after_fail300;
     919                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 210, __FILE__, __LINE__, true);
     920                 :           0 :                 return _r;
     921                 :             :               }
     922                 :             : next_after_fail300:;
     923                 :             :           }
     924                 :             :         }
     925                 :             :     }
     926                 :             :   return NULL_TREE;
     927                 :             : }
     928                 :             : 
     929                 :             : tree
     930                 :           8 : generic_simplify_178 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     931                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     932                 :             :  const combined_fn ARG_UNUSED (POW))
     933                 :             : {
     934                 :           8 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     935                 :           8 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
     936                 :             : )
     937                 :             :     {
     938                 :           8 :       if (!TREE_OVERFLOW (captures[2])
     939                 :             : )
     940                 :             :         {
     941                 :           8 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail322;
     942                 :           8 :           {
     943                 :           8 :             tree res_op0;
     944                 :           8 :             res_op0 = captures[0];
     945                 :           8 :             tree res_op1;
     946                 :           8 :             {
     947                 :           8 :               tree _o1[2], _r1;
     948                 :           8 :               _o1[0] = captures[2];
     949                 :           8 :               _o1[1] =  build_one_cst (type);
     950                 :           8 :               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     951                 :           8 :               res_op1 = _r1;
     952                 :             :             }
     953                 :           8 :             tree _r;
     954                 :           8 :             _r = maybe_build_call_expr_loc (loc, POW, type, 2, res_op0, res_op1);
     955                 :           8 :             if (!_r)
     956                 :           0 :               goto next_after_fail322;
     957                 :           8 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 226, __FILE__, __LINE__, true);
     958                 :           8 :             return _r;
     959                 :             :           }
     960                 :             : next_after_fail322:;
     961                 :             :         }
     962                 :             :     }
     963                 :             :   return NULL_TREE;
     964                 :             : }
     965                 :             : 
     966                 :             : tree
     967                 :     1478197 : generic_simplify_191 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     968                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     969                 :             :  const enum tree_code ARG_UNUSED (cmp))
     970                 :             : {
     971                 :     1478197 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     972                 :     2956394 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     973                 :     1478197 :  && integer_nonzerop (captures[2])
     974                 :     1476977 :  && !TREE_OVERFLOW (captures[2])
     975                 :     2955174 :  && !TREE_OVERFLOW (captures[3])
     976                 :             : )
     977                 :             :     {
     978                 :     1476977 :       {
     979                 :     1476977 :  tree lo, hi; bool neg_overflow;
     980                 :     1476977 :  enum tree_code code = fold_div_compare (cmp, captures[2], captures[3], &lo, &hi,
     981                 :             :  &neg_overflow);
     982                 :     1476977 :           if (code == LT_EXPR || code == GE_EXPR
     983                 :             : )
     984                 :             :             {
     985                 :       30575 :               if (TREE_OVERFLOW (lo)
     986                 :             : )
     987                 :             :                 {
     988                 :        5117 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail338;
     989                 :        5117 :                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail338;
     990                 :        5117 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail338;
     991                 :        5117 :                   {
     992                 :        5117 :                     tree _r;
     993                 :        5117 :                     _r =  build_int_cst (type, (code == LT_EXPR) ^ neg_overflow);
     994                 :        5117 :                     if (TREE_SIDE_EFFECTS (captures[1]))
     995                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     996                 :        5117 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 241, __FILE__, __LINE__, true);
     997                 :     1476975 :                     return _r;
     998                 :             :                   }
     999                 :           2 : next_after_fail338:;
    1000                 :             :                 }
    1001                 :             :               else
    1002                 :             :                 {
    1003                 :       25458 :                   if (code == LT_EXPR
    1004                 :             : )
    1005                 :             :                     {
    1006                 :         612 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail339;
    1007                 :         612 :                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail339;
    1008                 :         612 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail339;
    1009                 :         612 :                       {
    1010                 :         612 :                         tree res_op0;
    1011                 :         612 :                         res_op0 = captures[1];
    1012                 :         612 :                         tree res_op1;
    1013                 :         612 :                         res_op1 =  lo;
    1014                 :         612 :                         tree _r;
    1015                 :         612 :                         _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    1016                 :         612 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 242, __FILE__, __LINE__, true);
    1017                 :         612 :                         return _r;
    1018                 :             :                       }
    1019                 :           2 : next_after_fail339:;
    1020                 :             :                     }
    1021                 :             :                   else
    1022                 :             :                     {
    1023                 :       24846 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail340;
    1024                 :       24846 :                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail340;
    1025                 :       24846 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail340;
    1026                 :       24846 :                       {
    1027                 :       24846 :                         tree res_op0;
    1028                 :       24846 :                         res_op0 = captures[1];
    1029                 :       24846 :                         tree res_op1;
    1030                 :       24846 :                         res_op1 =  lo;
    1031                 :       24846 :                         tree _r;
    1032                 :       24846 :                         _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    1033                 :       24846 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 243, __FILE__, __LINE__, true);
    1034                 :       24846 :                         return _r;
    1035                 :             :                       }
    1036                 :           2 : next_after_fail340:;
    1037                 :             :                     }
    1038                 :             :                 }
    1039                 :             :             }
    1040                 :             :           else
    1041                 :             :             {
    1042                 :     1446402 :               if (code == LE_EXPR || code == GT_EXPR
    1043                 :             : )
    1044                 :             :                 {
    1045                 :     1443538 :                   if (TREE_OVERFLOW (hi)
    1046                 :             : )
    1047                 :             :                     {
    1048                 :      520049 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail341;
    1049                 :      520049 :                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail341;
    1050                 :      520049 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail341;
    1051                 :      520049 :                       {
    1052                 :      520049 :                         tree _r;
    1053                 :      520049 :                         _r =  build_int_cst (type, (code == LE_EXPR) ^ neg_overflow);
    1054                 :      520049 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    1055                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1056                 :      520049 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 244, __FILE__, __LINE__, true);
    1057                 :      520049 :                         return _r;
    1058                 :             :                       }
    1059                 :           2 : next_after_fail341:;
    1060                 :             :                     }
    1061                 :             :                   else
    1062                 :             :                     {
    1063                 :      923489 :                       if (code == LE_EXPR
    1064                 :             : )
    1065                 :             :                         {
    1066                 :         401 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail342;
    1067                 :         401 :                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail342;
    1068                 :         401 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail342;
    1069                 :         401 :                           {
    1070                 :         401 :                             tree res_op0;
    1071                 :         401 :                             res_op0 = captures[1];
    1072                 :         401 :                             tree res_op1;
    1073                 :         401 :                             res_op1 =  hi;
    1074                 :         401 :                             tree _r;
    1075                 :         401 :                             _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1076                 :         401 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 245, __FILE__, __LINE__, true);
    1077                 :         401 :                             return _r;
    1078                 :             :                           }
    1079                 :           2 : next_after_fail342:;
    1080                 :             :                         }
    1081                 :             :                       else
    1082                 :             :                         {
    1083                 :      923088 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail343;
    1084                 :      923088 :                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail343;
    1085                 :      923088 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail343;
    1086                 :      923088 :                           {
    1087                 :      923088 :                             tree res_op0;
    1088                 :      923088 :                             res_op0 = captures[1];
    1089                 :      923088 :                             tree res_op1;
    1090                 :      923088 :                             res_op1 =  hi;
    1091                 :      923088 :                             tree _r;
    1092                 :      923088 :                             _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    1093                 :      923088 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 246, __FILE__, __LINE__, true);
    1094                 :      923088 :                             return _r;
    1095                 :             :                           }
    1096                 :           2 : next_after_fail343:;
    1097                 :             :                         }
    1098                 :             :                     }
    1099                 :             :                 }
    1100                 :             :               else
    1101                 :             :                 {
    1102                 :        2864 :                   if (!lo && !hi
    1103                 :             : )
    1104                 :             :                     {
    1105                 :          40 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail344;
    1106                 :          40 :                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail344;
    1107                 :          40 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail344;
    1108                 :          40 :                       {
    1109                 :          40 :                         tree _r;
    1110                 :          40 :                         _r =  build_int_cst (type, code == NE_EXPR);
    1111                 :          40 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    1112                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1113                 :          40 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 247, __FILE__, __LINE__, true);
    1114                 :          40 :                         return _r;
    1115                 :             :                       }
    1116                 :           2 : next_after_fail344:;
    1117                 :             :                     }
    1118                 :             :                   else
    1119                 :             :                     {
    1120                 :        2824 :                       if (code == EQ_EXPR && !hi
    1121                 :             : )
    1122                 :             :                         {
    1123                 :           8 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail345;
    1124                 :           8 :                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail345;
    1125                 :           8 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail345;
    1126                 :           8 :                           {
    1127                 :           8 :                             tree res_op0;
    1128                 :           8 :                             res_op0 = captures[1];
    1129                 :           8 :                             tree res_op1;
    1130                 :           8 :                             res_op1 =  lo;
    1131                 :           8 :                             tree _r;
    1132                 :           8 :                             _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    1133                 :           8 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 248, __FILE__, __LINE__, true);
    1134                 :           8 :                             return _r;
    1135                 :             :                           }
    1136                 :           2 : next_after_fail345:;
    1137                 :             :                         }
    1138                 :             :                       else
    1139                 :             :                         {
    1140                 :         847 :                           if (code == EQ_EXPR && !lo
    1141                 :             : )
    1142                 :             :                             {
    1143                 :          11 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail346;
    1144                 :          11 :                               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail346;
    1145                 :          11 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail346;
    1146                 :          11 :                               {
    1147                 :          11 :                                 tree res_op0;
    1148                 :          11 :                                 res_op0 = captures[1];
    1149                 :          11 :                                 tree res_op1;
    1150                 :          11 :                                 res_op1 =  hi;
    1151                 :          11 :                                 tree _r;
    1152                 :          11 :                                 _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1153                 :          11 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 249, __FILE__, __LINE__, true);
    1154                 :          11 :                                 return _r;
    1155                 :             :                               }
    1156                 :           2 : next_after_fail346:;
    1157                 :             :                             }
    1158                 :             :                           else
    1159                 :             :                             {
    1160                 :        2805 :                               if (code == NE_EXPR && !hi
    1161                 :             : )
    1162                 :             :                                 {
    1163                 :           4 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail347;
    1164                 :           4 :                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail347;
    1165                 :           4 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail347;
    1166                 :           4 :                                   {
    1167                 :           4 :                                     tree res_op0;
    1168                 :           4 :                                     res_op0 = captures[1];
    1169                 :           4 :                                     tree res_op1;
    1170                 :           4 :                                     res_op1 =  lo;
    1171                 :           4 :                                     tree _r;
    1172                 :           4 :                                     _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    1173                 :           4 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 250, __FILE__, __LINE__, true);
    1174                 :           4 :                                     return _r;
    1175                 :             :                                   }
    1176                 :           2 : next_after_fail347:;
    1177                 :             :                                 }
    1178                 :             :                               else
    1179                 :             :                                 {
    1180                 :        1965 :                                   if (code == NE_EXPR && !lo
    1181                 :             : )
    1182                 :             :                                     {
    1183                 :          18 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail348;
    1184                 :          18 :                                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail348;
    1185                 :          18 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail348;
    1186                 :          18 :                                       {
    1187                 :          18 :                                         tree res_op0;
    1188                 :          18 :                                         res_op0 = captures[1];
    1189                 :          18 :                                         tree res_op1;
    1190                 :          18 :                                         res_op1 =  hi;
    1191                 :          18 :                                         tree _r;
    1192                 :          18 :                                         _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    1193                 :          18 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 251, __FILE__, __LINE__, true);
    1194                 :          18 :                                         return _r;
    1195                 :             :                                       }
    1196                 :           2 : next_after_fail348:;
    1197                 :             :                                     }
    1198                 :             :                                   else
    1199                 :             :                                     {
    1200                 :        2783 :                                       if (1
    1201                 :             : )
    1202                 :             :                                         {
    1203                 :        2783 :                                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail349;
    1204                 :        2781 :                                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail349;
    1205                 :        2781 :                                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail349;
    1206                 :        2781 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail349;
    1207                 :        2781 :                                           {
    1208                 :        2781 :                                             tree _r;
    1209                 :        2781 :                                             _r =  build_range_check (UNKNOWN_LOCATION, type, captures[1], code == EQ_EXPR,
    1210                 :             :  lo, hi);
    1211                 :        2781 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 252, __FILE__, __LINE__, true);
    1212                 :        2781 :                                             return _r;
    1213                 :             :                                           }
    1214                 :           2 : next_after_fail349:;
    1215                 :             :                                         }
    1216                 :             :                                       else
    1217                 :             :                                         {
    1218                 :             :                                           {
    1219                 :             :  tree etype = range_check_type (TREE_TYPE (captures[1]));
    1220                 :             :  if (etype)
    1221                 :             :  {
    1222                 :             :  hi = fold_convert (etype, hi);
    1223                 :             :  lo = fold_convert (etype, lo);
    1224                 :             :  hi = const_binop (MINUS_EXPR, etype, hi, lo);
    1225                 :             :  }
    1226                 :             :                                               if (etype && hi && !TREE_OVERFLOW (hi)
    1227                 :             : )
    1228                 :             :                                                 {
    1229                 :             :                                                   if (code == EQ_EXPR
    1230                 :             : )
    1231                 :             :                                                     {
    1232                 :             :                                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail350;
    1233                 :             :                                                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail350;
    1234                 :             :                                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail350;
    1235                 :             :                                                       {
    1236                 :             :                                                         tree res_op0;
    1237                 :             :                                                         {
    1238                 :             :                                                           tree _o1[2], _r1;
    1239                 :             :                                                           {
    1240                 :             :                                                             tree _o2[1], _r2;
    1241                 :             :                                                             _o2[0] = captures[1];
    1242                 :             :                                                             if (TREE_TYPE (_o2[0]) != etype)
    1243                 :             :                                                               {
    1244                 :             :                                                                 _r2 = fold_build1_loc (loc, NOP_EXPR, etype, _o2[0]);
    1245                 :             :                                                               }
    1246                 :             :                                                             else
    1247                 :             :                                                               _r2 = _o2[0];
    1248                 :             :                                                             _o1[0] = _r2;
    1249                 :             :                                                           }
    1250                 :             :                                                           _o1[1] =  lo;
    1251                 :             :                                                           _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1252                 :             :                                                           res_op0 = _r1;
    1253                 :             :                                                         }
    1254                 :             :                                                         tree res_op1;
    1255                 :             :                                                         res_op1 =  hi;
    1256                 :             :                                                         tree _r;
    1257                 :             :                                                         _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1258                 :             :                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 253, __FILE__, __LINE__, true);
    1259                 :             :                                                         return _r;
    1260                 :             :                                                       }
    1261                 :             : next_after_fail350:;
    1262                 :             :                                                     }
    1263                 :             :                                                   else
    1264                 :             :                                                     {
    1265                 :             :                                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail351;
    1266                 :             :                                                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail351;
    1267                 :             :                                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail351;
    1268                 :             :                                                       {
    1269                 :             :                                                         tree res_op0;
    1270                 :             :                                                         {
    1271                 :             :                                                           tree _o1[2], _r1;
    1272                 :             :                                                           {
    1273                 :             :                                                             tree _o2[1], _r2;
    1274                 :             :                                                             _o2[0] = captures[1];
    1275                 :             :                                                             if (TREE_TYPE (_o2[0]) != etype)
    1276                 :             :                                                               {
    1277                 :             :                                                                 _r2 = fold_build1_loc (loc, NOP_EXPR, etype, _o2[0]);
    1278                 :             :                                                               }
    1279                 :             :                                                             else
    1280                 :             :                                                               _r2 = _o2[0];
    1281                 :             :                                                             _o1[0] = _r2;
    1282                 :             :                                                           }
    1283                 :             :                                                           _o1[1] =  lo;
    1284                 :             :                                                           _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1285                 :             :                                                           res_op0 = _r1;
    1286                 :             :                                                         }
    1287                 :             :                                                         tree res_op1;
    1288                 :             :                                                         res_op1 =  hi;
    1289                 :             :                                                         tree _r;
    1290                 :             :                                                         _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    1291                 :             :                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 254, __FILE__, __LINE__, true);
    1292                 :             :                                                         return _r;
    1293                 :             :                                                       }
    1294                 :             : next_after_fail351:;
    1295                 :             :                                                     }
    1296                 :             :                                                 }
    1297                 :             :                                           }
    1298                 :             :                                         }
    1299                 :             :                                     }
    1300                 :             :                                 }
    1301                 :             :                             }
    1302                 :             :                         }
    1303                 :             :                     }
    1304                 :             :                 }
    1305                 :             :             }
    1306                 :             :       }
    1307                 :             :     }
    1308                 :             :   return NULL_TREE;
    1309                 :             : }
    1310                 :             : 
    1311                 :             : tree
    1312                 :         352 : generic_simplify_249 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1313                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1314                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1315                 :             : {
    1316                 :         352 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1317                 :         352 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail483;
    1318                 :         352 :   {
    1319                 :         352 :     tree res_op0;
    1320                 :         352 :     {
    1321                 :         352 :       tree _o1[2], _r1;
    1322                 :         352 :       _o1[0] = captures[0];
    1323                 :         352 :       {
    1324                 :         352 :         tree _o2[1], _r2;
    1325                 :         352 :         _o2[0] = captures[1];
    1326                 :         352 :         _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    1327                 :         352 :         if (EXPR_P (_r2))
    1328                 :         344 :           goto next_after_fail483;
    1329                 :           8 :         _o1[1] = _r2;
    1330                 :             :       }
    1331                 :           8 :       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1332                 :           8 :       res_op0 = _r1;
    1333                 :             :     }
    1334                 :           8 :     tree res_op1;
    1335                 :           8 :     res_op1 =  build_zero_cst (TREE_TYPE (captures[0]));
    1336                 :           8 :     tree _r;
    1337                 :           8 :     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1338                 :           8 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 376, __FILE__, __LINE__, true);
    1339                 :             :     return _r;
    1340                 :             :   }
    1341                 :             : next_after_fail483:;
    1342                 :             :   return NULL_TREE;
    1343                 :             : }
    1344                 :             : 
    1345                 :             : tree
    1346                 :       96208 : generic_simplify_253 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1347                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1348                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1349                 :             :  const enum tree_code ARG_UNUSED (icmp))
    1350                 :             : {
    1351                 :       96208 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1352                 :       96208 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail487;
    1353                 :       96186 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail487;
    1354                 :       96186 :   {
    1355                 :       96186 :     tree res_op0;
    1356                 :       96186 :     res_op0 = captures[0];
    1357                 :       96186 :     tree res_op1;
    1358                 :       96186 :     res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    1359                 :       96186 :     tree _r;
    1360                 :       96186 :     _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    1361                 :       96186 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 380, __FILE__, __LINE__, true);
    1362                 :             :     return _r;
    1363                 :             :   }
    1364                 :             : next_after_fail487:;
    1365                 :             :   return NULL_TREE;
    1366                 :             : }
    1367                 :             : 
    1368                 :             : tree
    1369                 :          14 : generic_simplify_258 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1370                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1371                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1372                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    1373                 :             : {
    1374                 :          14 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1375                 :          28 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1376                 :          14 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1377                 :          28 :  && types_match (captures[0], captures[2])
    1378                 :             : )
    1379                 :             :     {
    1380                 :           2 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail492;
    1381                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail492;
    1382                 :           2 :       {
    1383                 :           2 :         tree res_op0;
    1384                 :           2 :         {
    1385                 :           2 :           tree _o1[2], _r1;
    1386                 :           2 :           _o1[0] = captures[0];
    1387                 :           2 :           _o1[1] = captures[2];
    1388                 :           2 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1389                 :           2 :           res_op0 = _r1;
    1390                 :             :         }
    1391                 :           2 :         tree res_op1;
    1392                 :           2 :         res_op1 = captures[1];
    1393                 :           2 :         tree _r;
    1394                 :           2 :         _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
    1395                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 383, __FILE__, __LINE__, true);
    1396                 :           2 :         return _r;
    1397                 :             :       }
    1398                 :             : next_after_fail492:;
    1399                 :             :     }
    1400                 :             :   return NULL_TREE;
    1401                 :             : }
    1402                 :             : 
    1403                 :             : tree
    1404                 :           0 : generic_simplify_263 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1405                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1406                 :             :  const enum tree_code ARG_UNUSED (inner),
    1407                 :             :  const enum tree_code ARG_UNUSED (outer))
    1408                 :             : {
    1409                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1410                 :           0 :   {
    1411                 :           0 :  bool cst1 = integer_onep (captures[1]);
    1412                 :           0 :  bool cst0 = integer_zerop (captures[1]);
    1413                 :           0 :  bool innereq = inner == EQ_EXPR;
    1414                 :           0 :  bool outereq = outer == EQ_EXPR;
    1415                 :           0 :       if (innereq ? cst0 : cst1
    1416                 :             : )
    1417                 :             :         {
    1418                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail511;
    1419                 :           0 :           {
    1420                 :           0 :             tree _r;
    1421                 :           0 :             _r =  constant_boolean_node (!outereq, type);
    1422                 :           0 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1423                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1424                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1425                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1426                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 394, __FILE__, __LINE__, true);
    1427                 :           0 :             return _r;
    1428                 :             :           }
    1429                 :           0 : next_after_fail511:;
    1430                 :             :         }
    1431                 :             :       else
    1432                 :             :         {
    1433                 :           0 :           if (innereq ? cst1 : cst0
    1434                 :             : )
    1435                 :             :             {
    1436                 :           0 :               {
    1437                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[0]));
    1438                 :           0 :  tree ucst1 = build_one_cst (utype);
    1439                 :           0 :                   if (!outereq
    1440                 :             : )
    1441                 :             :                     {
    1442                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail512;
    1443                 :           0 :                       {
    1444                 :           0 :                         tree res_op0;
    1445                 :           0 :                         {
    1446                 :           0 :                           tree _o1[1], _r1;
    1447                 :           0 :                           _o1[0] = captures[0];
    1448                 :           0 :                           if (TREE_TYPE (_o1[0]) != utype)
    1449                 :             :                             {
    1450                 :           0 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, utype, _o1[0]);
    1451                 :             :                             }
    1452                 :             :                           else
    1453                 :             :                             _r1 = _o1[0];
    1454                 :           0 :                           res_op0 = _r1;
    1455                 :             :                         }
    1456                 :           0 :                         tree res_op1;
    1457                 :           0 :                         res_op1 =  ucst1;
    1458                 :           0 :                         tree _r;
    1459                 :           0 :                         _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    1460                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    1461                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1462                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 395, __FILE__, __LINE__, true);
    1463                 :           0 :                         return _r;
    1464                 :             :                       }
    1465                 :           0 : next_after_fail512:;
    1466                 :             :                     }
    1467                 :             :                   else
    1468                 :             :                     {
    1469                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail513;
    1470                 :           0 :                       {
    1471                 :           0 :                         tree res_op0;
    1472                 :           0 :                         {
    1473                 :           0 :                           tree _o1[1], _r1;
    1474                 :           0 :                           _o1[0] = captures[0];
    1475                 :           0 :                           if (TREE_TYPE (_o1[0]) != utype)
    1476                 :             :                             {
    1477                 :           0 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, utype, _o1[0]);
    1478                 :             :                             }
    1479                 :             :                           else
    1480                 :             :                             _r1 = _o1[0];
    1481                 :           0 :                           res_op0 = _r1;
    1482                 :             :                         }
    1483                 :           0 :                         tree res_op1;
    1484                 :           0 :                         res_op1 =  ucst1;
    1485                 :           0 :                         tree _r;
    1486                 :           0 :                         _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1487                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    1488                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1489                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 396, __FILE__, __LINE__, true);
    1490                 :           0 :                         return _r;
    1491                 :             :                       }
    1492                 :           0 : next_after_fail513:;
    1493                 :             :                     }
    1494                 :             :               }
    1495                 :             :             }
    1496                 :             :           else
    1497                 :             :             {
    1498                 :           0 :               {
    1499                 :           0 :  tree value = build_int_cst (TREE_TYPE (captures[0]), !innereq);
    1500                 :           0 :                   if (outereq
    1501                 :             : )
    1502                 :             :                     {
    1503                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail514;
    1504                 :           0 :                       {
    1505                 :           0 :                         tree res_op0;
    1506                 :           0 :                         res_op0 = captures[0];
    1507                 :           0 :                         tree res_op1;
    1508                 :           0 :                         res_op1 =  value;
    1509                 :           0 :                         tree _r;
    1510                 :           0 :                         _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    1511                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    1512                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1513                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 397, __FILE__, __LINE__, true);
    1514                 :           0 :                         return _r;
    1515                 :             :                       }
    1516                 :           0 : next_after_fail514:;
    1517                 :             :                     }
    1518                 :             :                   else
    1519                 :             :                     {
    1520                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail515;
    1521                 :           0 :                       {
    1522                 :           0 :                         tree res_op0;
    1523                 :           0 :                         res_op0 = captures[0];
    1524                 :           0 :                         tree res_op1;
    1525                 :           0 :                         res_op1 =  value;
    1526                 :           0 :                         tree _r;
    1527                 :           0 :                         _r = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1);
    1528                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    1529                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1530                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 398, __FILE__, __LINE__, true);
    1531                 :           0 :                         return _r;
    1532                 :             :                       }
    1533                 :           0 : next_after_fail515:;
    1534                 :             :                     }
    1535                 :             :               }
    1536                 :             :             }
    1537                 :             :         }
    1538                 :             :   }
    1539                 :             :   return NULL_TREE;
    1540                 :             : }
    1541                 :             : 
    1542                 :             : tree
    1543                 :       28696 : generic_simplify_273 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1544                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1545                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1546                 :             :  const enum tree_code ARG_UNUSED (icmp),
    1547                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    1548                 :             : {
    1549                 :       28696 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1550                 :       28696 :   if (types_match (type, TREE_TYPE (captures[0]))
    1551                 :             : )
    1552                 :             :     {
    1553                 :       28041 :       {
    1554                 :       28041 :  enum tree_code ic = invert_tree_comparison
    1555                 :       28041 :  (cmp, HONOR_NANS (captures[1]));
    1556                 :       28041 :           if (ic == icmp
    1557                 :             : )
    1558                 :             :             {
    1559                 :       22031 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail532;
    1560                 :       22031 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail532;
    1561                 :       22031 :               {
    1562                 :       22031 :                 tree res_op0;
    1563                 :       22031 :                 res_op0 = captures[1];
    1564                 :       22031 :                 tree res_op1;
    1565                 :       22031 :                 res_op1 = captures[2];
    1566                 :       22031 :                 tree _r;
    1567                 :       22031 :                 _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    1568                 :       22031 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 415, __FILE__, __LINE__, true);
    1569                 :       22031 :                 return _r;
    1570                 :             :               }
    1571                 :             : next_after_fail532:;
    1572                 :             :             }
    1573                 :             :           else
    1574                 :             :             {
    1575                 :        6010 :               if (ic == ncmp
    1576                 :             : )
    1577                 :             :                 {
    1578                 :           5 :                   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail533;
    1579                 :           5 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail533;
    1580                 :           5 :                   {
    1581                 :           5 :                     tree res_op0;
    1582                 :           5 :                     res_op0 = captures[1];
    1583                 :           5 :                     tree res_op1;
    1584                 :           5 :                     res_op1 = captures[2];
    1585                 :           5 :                     tree _r;
    1586                 :           5 :                     _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
    1587                 :           5 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 416, __FILE__, __LINE__, true);
    1588                 :           5 :                     return _r;
    1589                 :             :                   }
    1590                 :             : next_after_fail533:;
    1591                 :             :                 }
    1592                 :             :             }
    1593                 :             :       }
    1594                 :             :     }
    1595                 :             :   return NULL_TREE;
    1596                 :             : }
    1597                 :             : 
    1598                 :             : tree
    1599                 :       12246 : generic_simplify_285 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1600                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1601                 :             :  const enum tree_code ARG_UNUSED (div))
    1602                 :             : {
    1603                 :       12246 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1604                 :       12246 :   if (INTEGRAL_TYPE_P (type)
    1605                 :       12224 :  && ssa_name_has_boolean_range (captures[1])
    1606                 :       12246 :  && !flag_non_call_exceptions
    1607                 :             : )
    1608                 :             :     {
    1609                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail547;
    1610                 :           0 :       {
    1611                 :           0 :         tree _r;
    1612                 :           0 :         _r = captures[0];
    1613                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1614                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1615                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 428, __FILE__, __LINE__, true);
    1616                 :           0 :         return _r;
    1617                 :             :       }
    1618                 :           0 : next_after_fail547:;
    1619                 :             :     }
    1620                 :             :   return NULL_TREE;
    1621                 :             : }
    1622                 :             : 
    1623                 :             : tree
    1624                 :           3 : generic_simplify_292 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1625                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1626                 :             :  const enum tree_code ARG_UNUSED (div))
    1627                 :             : {
    1628                 :           3 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1629                 :           3 :   if (INTEGRAL_TYPE_P (type)
    1630                 :           3 :  && wi::multiple_of_p (wi::to_widest (captures[1]), wi::to_widest (captures[2]), SIGNED)
    1631                 :             : )
    1632                 :             :     {
    1633                 :           3 :       if (TYPE_OVERFLOW_UNDEFINED (type) && !TYPE_OVERFLOW_SANITIZED (type)
    1634                 :             : )
    1635                 :             :         {
    1636                 :           3 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail555;
    1637                 :           3 :           {
    1638                 :           3 :             tree res_op0;
    1639                 :           3 :             res_op0 = captures[1];
    1640                 :           3 :             tree res_op1;
    1641                 :           3 :             res_op1 = captures[2];
    1642                 :           3 :             tree _r;
    1643                 :           3 :             _r = fold_build2_loc (loc, div, type, res_op0, res_op1);
    1644                 :           3 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1645                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1646                 :           3 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 436, __FILE__, __LINE__, true);
    1647                 :           3 :             return _r;
    1648                 :             :           }
    1649                 :           0 : next_after_fail555:;
    1650                 :             :         }
    1651                 :             :     }
    1652                 :             :   return NULL_TREE;
    1653                 :             : }
    1654                 :             : 
    1655                 :             : tree
    1656                 :          52 : generic_simplify_298 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1657                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1658                 :             :  const enum tree_code ARG_UNUSED (mod))
    1659                 :             : {
    1660                 :          52 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1661                 :          52 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail561;
    1662                 :          52 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail561;
    1663                 :          52 :   {
    1664                 :          52 :     tree _r;
    1665                 :          52 :     _r = captures[0];
    1666                 :          52 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 442, __FILE__, __LINE__, true);
    1667                 :             :     return _r;
    1668                 :             :   }
    1669                 :             : next_after_fail561:;
    1670                 :             :   return NULL_TREE;
    1671                 :             : }
    1672                 :             : 
    1673                 :             : tree
    1674                 :           6 : generic_simplify_307 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1675                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1676                 :             :  const combined_fn ARG_UNUSED (COS),
    1677                 :             :  const combined_fn ARG_UNUSED (SIN),
    1678                 :             :  const combined_fn ARG_UNUSED (TAN))
    1679                 :             : {
    1680                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1681                 :           6 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    1682                 :             : )
    1683                 :             :     {
    1684                 :           6 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail572;
    1685                 :           6 :       {
    1686                 :           6 :         tree res_op0;
    1687                 :           6 :         res_op0 =  build_one_cst (type);
    1688                 :           6 :         tree res_op1;
    1689                 :           6 :         {
    1690                 :           6 :           tree _o1[1], _r1;
    1691                 :           6 :           _o1[0] = captures[1];
    1692                 :           6 :           _r1 = maybe_build_call_expr_loc (loc, TAN, TREE_TYPE (_o1[0]), 1, _o1[0]);
    1693                 :           6 :           if (!_r1)
    1694                 :           0 :             goto next_after_fail572;
    1695                 :           6 :           res_op1 = _r1;
    1696                 :             :         }
    1697                 :           6 :         tree _r;
    1698                 :           6 :         _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
    1699                 :           6 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 453, __FILE__, __LINE__, true);
    1700                 :           6 :         return _r;
    1701                 :             :       }
    1702                 :             : next_after_fail572:;
    1703                 :             :     }
    1704                 :             :   return NULL_TREE;
    1705                 :             : }
    1706                 :             : 
    1707                 :             : tree
    1708                 :      138717 : generic_simplify_314 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1709                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1710                 :             :  const enum tree_code ARG_UNUSED (op))
    1711                 :             : {
    1712                 :      138717 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1713                 :      277434 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1714                 :      277434 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    1715                 :             : )
    1716                 :             :     {
    1717                 :       53380 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail581;
    1718                 :       53380 :       {
    1719                 :       53380 :         tree res_op0;
    1720                 :       53380 :         res_op0 = captures[0];
    1721                 :       53380 :         tree res_op1;
    1722                 :       53380 :         res_op1 = captures[2];
    1723                 :       53380 :         tree _r;
    1724                 :       53380 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1725                 :       53380 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1726                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1727                 :       53380 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 462, __FILE__, __LINE__, true);
    1728                 :       53380 :         return _r;
    1729                 :             :       }
    1730                 :           0 : next_after_fail581:;
    1731                 :             :     }
    1732                 :             :   return NULL_TREE;
    1733                 :             : }
    1734                 :             : 
    1735                 :             : tree
    1736                 :           6 : generic_simplify_321 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1737                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1738                 :             :  const enum tree_code ARG_UNUSED (minmax),
    1739                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1740                 :             : {
    1741                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1742                 :           6 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail589;
    1743                 :           6 :   {
    1744                 :           6 :     tree _r;
    1745                 :           6 :     _r =  constant_boolean_node (cmp == GE_EXPR || cmp == LE_EXPR, type);
    1746                 :           6 :     if (TREE_SIDE_EFFECTS (captures[0]))
    1747                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1748                 :           6 :     if (TREE_SIDE_EFFECTS (captures[1]))
    1749                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1750                 :           6 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 470, __FILE__, __LINE__, true);
    1751                 :             :     return _r;
    1752                 :             :   }
    1753                 :           0 : next_after_fail589:;
    1754                 :           0 :   return NULL_TREE;
    1755                 :             : }
    1756                 :             : 
    1757                 :             : tree
    1758                 :           2 : generic_simplify_330 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1759                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1760                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1761                 :             : {
    1762                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1763                 :           4 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1764                 :           4 :  && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1765                 :             : )
    1766                 :             :     {
    1767                 :           2 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail630;
    1768                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail630;
    1769                 :           2 :       {
    1770                 :           2 :         tree res_op0;
    1771                 :           2 :         res_op0 = captures[1];
    1772                 :           2 :         tree res_op1;
    1773                 :           2 :         res_op1 = captures[0];
    1774                 :           2 :         tree _r;
    1775                 :           2 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1776                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 494, __FILE__, __LINE__, true);
    1777                 :           2 :         return _r;
    1778                 :             :       }
    1779                 :             : next_after_fail630:;
    1780                 :             :     }
    1781                 :             :   return NULL_TREE;
    1782                 :             : }
    1783                 :             : 
    1784                 :             : tree
    1785                 :     2443405 : generic_simplify_335 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1786                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1787                 :             :  const enum tree_code ARG_UNUSED (op),
    1788                 :             :  const enum tree_code ARG_UNUSED (rop),
    1789                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1790                 :             : {
    1791                 :     2443405 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1792                 :     4886801 :   if (!TREE_OVERFLOW (captures[2]) && !TREE_OVERFLOW (captures[3])
    1793                 :     4886801 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
    1794                 :             : )
    1795                 :             :     {
    1796                 :      728830 :       {
    1797                 :      728830 :  tree res = int_const_binop (rop, captures[3], captures[2]);
    1798                 :      728830 :           if (TREE_OVERFLOW (res)
    1799                 :             : )
    1800                 :             :             {
    1801                 :        9717 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail636;
    1802                 :        9717 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail636;
    1803                 :        9717 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail636;
    1804                 :        9717 :               {
    1805                 :        9717 :                 tree _r;
    1806                 :        9717 :  fold_overflow_warning (("assuming signed overflow does not occur "
    1807                 :             :  "when simplifying conditional to constant"),
    1808                 :             :  WARN_STRICT_OVERFLOW_CONDITIONAL);
    1809                 :        9717 :  bool less = cmp == LE_EXPR || cmp == LT_EXPR;
    1810                 :        9717 :  bool ovf_high = wi::lt_p (wi::to_wide (captures[2]), 0,
    1811                 :        9717 :  TYPE_SIGN (TREE_TYPE (captures[2])))
    1812                 :        9717 :  != (op == MINUS_EXPR);         _r = 
    1813                 :        9717 :  constant_boolean_node (less == ovf_high, type);
    1814                 :        9717 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    1815                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1816                 :        9717 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 500, __FILE__, __LINE__, true);
    1817                 :        9717 :                 return _r;
    1818                 :             :               }
    1819                 :             : next_after_fail636:;
    1820                 :             :             }
    1821                 :             :           else
    1822                 :             :             {
    1823                 :      719113 :               if (single_use (captures[0])
    1824                 :             : )
    1825                 :             :                 {
    1826                 :      719113 :                   {
    1827                 :      719113 :  fold_overflow_warning (("assuming signed overflow does not occur "
    1828                 :             :  "when changing X +- C1 cmp C2 to "
    1829                 :             :  "X cmp C2 -+ C1"),
    1830                 :             :  WARN_STRICT_OVERFLOW_COMPARISON);
    1831                 :      719113 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail637;
    1832                 :      719113 :                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail637;
    1833                 :      719113 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail637;
    1834                 :      719113 :                       {
    1835                 :      719113 :                         tree res_op0;
    1836                 :      719113 :                         res_op0 = captures[1];
    1837                 :      719113 :                         tree res_op1;
    1838                 :      719113 :                         res_op1 =  res;
    1839                 :      719113 :                         tree _r;
    1840                 :      719113 :                         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1841                 :      719113 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 501, __FILE__, __LINE__, true);
    1842                 :      719113 :                         return _r;
    1843                 :             :                       }
    1844                 :             : next_after_fail637:;
    1845                 :             :                   }
    1846                 :             :                 }
    1847                 :             :             }
    1848                 :             :       }
    1849                 :             :     }
    1850                 :             :   return NULL_TREE;
    1851                 :             : }
    1852                 :             : 
    1853                 :             : tree
    1854                 :          94 : generic_simplify_346 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1855                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1856                 :             : {
    1857                 :          94 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1858                 :         188 :   if (INTEGRAL_TYPE_P (type)
    1859                 :          93 :  && !TYPE_UNSIGNED (type)
    1860                 :          93 :  && !TYPE_OVERFLOW_TRAPS (type)
    1861                 :          93 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
    1862                 :         281 :  && (expr_not_equal_to (captures[0], wi::to_wide (TYPE_MIN_VALUE (type)))
    1863                 :         187 :  || expr_not_equal_to (captures[1], wi::minus_one (TYPE_PRECISION
    1864                 :             :  (TREE_TYPE (captures[1])))))
    1865                 :             : )
    1866                 :             :     {
    1867                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail656;
    1868                 :           0 :       {
    1869                 :           0 :         tree res_op0;
    1870                 :           0 :         res_op0 = captures[0];
    1871                 :           0 :         tree res_op1;
    1872                 :           0 :         {
    1873                 :           0 :           tree _o1[1], _r1;
    1874                 :           0 :           _o1[0] = captures[1];
    1875                 :           0 :           if (TREE_TYPE (_o1[0]) != type)
    1876                 :             :             {
    1877                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1878                 :             :             }
    1879                 :             :           else
    1880                 :             :             _r1 = _o1[0];
    1881                 :           0 :           res_op1 = _r1;
    1882                 :             :         }
    1883                 :           0 :         tree _r;
    1884                 :           0 :         _r = fold_build2_loc (loc, TRUNC_MOD_EXPR, type, res_op0, res_op1);
    1885                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 516, __FILE__, __LINE__, true);
    1886                 :           0 :         return _r;
    1887                 :             :       }
    1888                 :           0 : next_after_fail656:;
    1889                 :             :     }
    1890                 :             :   return NULL_TREE;
    1891                 :             : }
    1892                 :             : 
    1893                 :             : tree
    1894                 :           0 : generic_simplify_352 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1895                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1896                 :             :  const enum tree_code ARG_UNUSED (shiftrotate))
    1897                 :             : {
    1898                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1899                 :           0 :   {
    1900                 :           0 :  tree tem = uniform_vector_p (captures[1]);
    1901                 :           0 :       if (tem
    1902                 :             : )
    1903                 :             :         {
    1904                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail662;
    1905                 :           0 :           {
    1906                 :           0 :             tree res_op0;
    1907                 :           0 :             res_op0 = captures[0];
    1908                 :           0 :             tree res_op1;
    1909                 :           0 :             res_op1 =  tem;
    1910                 :           0 :             tree _r;
    1911                 :           0 :             _r = fold_build2_loc (loc, shiftrotate, type, res_op0, res_op1);
    1912                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1913                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1914                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 522, __FILE__, __LINE__, true);
    1915                 :           0 :             return _r;
    1916                 :             :           }
    1917                 :           0 : next_after_fail662:;
    1918                 :             :         }
    1919                 :             :   }
    1920                 :             :   return NULL_TREE;
    1921                 :             : }
    1922                 :             : 
    1923                 :             : tree
    1924                 :     2754012 : generic_simplify_359 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1925                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    1926                 :             :  const enum tree_code ARG_UNUSED (bitop))
    1927                 :             : {
    1928                 :     2754012 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1929                 :     2754012 :   if (0
    1930                 :             :  && TREE_CODE (captures[3]) != INTEGER_CST
    1931                 :             :  && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    1932                 :             :  && types_match (type, captures[2])
    1933                 :             :  && !POINTER_TYPE_P (TREE_TYPE (captures[2]))
    1934                 :             :  && TREE_CODE (TREE_TYPE (captures[2])) != OFFSET_TYPE
    1935                 :             : )
    1936                 :             :     {
    1937                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail676;
    1938                 :             :       {
    1939                 :             :         tree res_op0;
    1940                 :             :         res_op0 = captures[2];
    1941                 :             :         tree res_op1;
    1942                 :             :         {
    1943                 :             :           tree _o1[1], _r1;
    1944                 :             :           _o1[0] = captures[3];
    1945                 :             :           if (TREE_TYPE (_o1[0]) != type)
    1946                 :             :             {
    1947                 :             :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1948                 :             :             }
    1949                 :             :           else
    1950                 :             :             _r1 = _o1[0];
    1951                 :             :           res_op1 = _r1;
    1952                 :             :         }
    1953                 :             :         tree _r;
    1954                 :             :         _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    1955                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 534, __FILE__, __LINE__, true);
    1956                 :             :         return _r;
    1957                 :             :       }
    1958                 :             : next_after_fail676:;
    1959                 :             :     }
    1960                 :     2754012 :   return NULL_TREE;
    1961                 :             : }
    1962                 :             : 
    1963                 :             : tree
    1964                 :     6643518 : generic_simplify_363 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1965                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    1966                 :             :  const enum tree_code ARG_UNUSED (op))
    1967                 :             : {
    1968                 :     6643518 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1969                 :     6643518 :   if (INTEGRAL_TYPE_P (type)
    1970                 :     6466123 :  && op != MULT_EXPR
    1971                 :     6466123 :  && op != RDIV_EXPR
    1972                 :     3106976 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    1973                 :     2933555 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1974                 :     2933555 :  && type_has_mode_precision_p (TREE_TYPE (captures[2]))
    1975                 :     2879257 :  && type_has_mode_precision_p (TREE_TYPE (captures[4]))
    1976                 :     2879249 :  && type_has_mode_precision_p (type)
    1977                 :     2872547 :  && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2]))
    1978                 :      923838 :  && types_match (captures[2], type)
    1979                 :     6654110 :  && (types_match (captures[2], captures[4])
    1980                 :       10592 :  || poly_int_tree_p (captures[3]))
    1981                 :             : )
    1982                 :             :     {
    1983                 :        9878 :       if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2]))
    1984                 :             : )
    1985                 :             :         {
    1986                 :        4949 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail684;
    1987                 :        4949 :           {
    1988                 :        4949 :             tree res_op0;
    1989                 :        4949 :             res_op0 = captures[2];
    1990                 :        4949 :             tree res_op1;
    1991                 :        4949 :             {
    1992                 :        4949 :               tree _o1[1], _r1;
    1993                 :        4949 :               _o1[0] = captures[4];
    1994                 :        4949 :               if (TREE_TYPE (_o1[0]) != type)
    1995                 :             :                 {
    1996                 :        4949 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1997                 :             :                 }
    1998                 :             :               else
    1999                 :             :                 _r1 = _o1[0];
    2000                 :        4949 :               res_op1 = _r1;
    2001                 :             :             }
    2002                 :        4949 :             tree _r;
    2003                 :        4949 :             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2004                 :        4949 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 538, __FILE__, __LINE__, true);
    2005                 :        4949 :             return _r;
    2006                 :             :           }
    2007                 :           0 : next_after_fail684:;
    2008                 :             :         }
    2009                 :             :       else
    2010                 :             :         {
    2011                 :        4929 :           {
    2012                 :        4929 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
    2013                 :        4929 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail685;
    2014                 :        4929 :               {
    2015                 :        4929 :                 tree res_op0;
    2016                 :        4929 :                 {
    2017                 :        4929 :                   tree _o1[2], _r1;
    2018                 :        4929 :                   {
    2019                 :        4929 :                     tree _o2[1], _r2;
    2020                 :        4929 :                     _o2[0] = captures[2];
    2021                 :        4929 :                     if (TREE_TYPE (_o2[0]) != utype)
    2022                 :             :                       {
    2023                 :        4929 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    2024                 :             :                       }
    2025                 :             :                     else
    2026                 :             :                       _r2 = _o2[0];
    2027                 :        4929 :                     _o1[0] = _r2;
    2028                 :             :                   }
    2029                 :        4929 :                   {
    2030                 :        4929 :                     tree _o2[1], _r2;
    2031                 :        4929 :                     _o2[0] = captures[4];
    2032                 :        4929 :                     if (TREE_TYPE (_o2[0]) != utype)
    2033                 :             :                       {
    2034                 :        4929 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    2035                 :             :                       }
    2036                 :             :                     else
    2037                 :             :                       _r2 = _o2[0];
    2038                 :        4929 :                     _o1[1] = _r2;
    2039                 :             :                   }
    2040                 :        4929 :                   _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2041                 :        4929 :                   res_op0 = _r1;
    2042                 :             :                 }
    2043                 :        4929 :                 tree _r;
    2044                 :        4929 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2045                 :        4929 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 539, __FILE__, __LINE__, true);
    2046                 :        4929 :                 return _r;
    2047                 :             :               }
    2048                 :           0 : next_after_fail685:;
    2049                 :             :           }
    2050                 :             :         }
    2051                 :             :     }
    2052                 :             :   else
    2053                 :             :     {
    2054                 :     6598614 :       if (FLOAT_TYPE_P (type)
    2055                 :     6668666 :  && DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    2056                 :       35026 :  == DECIMAL_FLOAT_TYPE_P (type)
    2057                 :             : )
    2058                 :             :         {
    2059                 :       34994 :           {
    2060                 :       34994 :  tree arg0 = strip_float_extensions (captures[2]);
    2061                 :       34994 :  tree arg1 = strip_float_extensions (captures[4]);
    2062                 :       34994 :  tree itype = TREE_TYPE (captures[0]);
    2063                 :       34994 :  tree ty1 = TREE_TYPE (arg0);
    2064                 :       34994 :  tree ty2 = TREE_TYPE (arg1);
    2065                 :       34994 :  enum tree_code code = TREE_CODE (itype);
    2066                 :           0 :               if (FLOAT_TYPE_P (ty1)
    2067                 :       34994 :  && FLOAT_TYPE_P (ty2)
    2068                 :             : )
    2069                 :             :                 {
    2070                 :       34994 :                   {
    2071                 :       34994 :  tree newtype = type;
    2072                 :       34994 :  if (TYPE_MODE (ty1) == SDmode
    2073                 :       34706 :  || TYPE_MODE (ty2) == SDmode
    2074                 :       69700 :  || TYPE_MODE (type) == SDmode)
    2075                 :         288 :  newtype = dfloat32_type_node;
    2076                 :       34994 :  if (TYPE_MODE (ty1) == DDmode
    2077                 :       34849 :  || TYPE_MODE (ty2) == DDmode
    2078                 :       69704 :  || TYPE_MODE (type) == DDmode)
    2079                 :         284 :  newtype = dfloat64_type_node;
    2080                 :       34994 :  if (TYPE_MODE (ty1) == TDmode
    2081                 :       34994 :  || TYPE_MODE (ty2) == TDmode
    2082                 :       69712 :  || TYPE_MODE (type) == TDmode)
    2083                 :         294 :  newtype = dfloat128_type_node;
    2084                 :       34994 :                       if ((newtype == dfloat32_type_node
    2085                 :       34994 :  || newtype == dfloat64_type_node
    2086                 :       34855 :  || newtype == dfloat128_type_node)
    2087                 :         433 :  && newtype == type
    2088                 :       35000 :  && types_match (newtype, type)
    2089                 :             : )
    2090                 :             :                         {
    2091                 :           6 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail686;
    2092                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail686;
    2093                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail686;
    2094                 :           0 :                           {
    2095                 :           0 :                             tree res_op0;
    2096                 :           0 :                             {
    2097                 :           0 :                               tree _o1[1], _r1;
    2098                 :           0 :                               _o1[0] = captures[2];
    2099                 :           0 :                               if (TREE_TYPE (_o1[0]) != newtype)
    2100                 :             :                                 {
    2101                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    2102                 :             :                                 }
    2103                 :             :                               else
    2104                 :             :                                 _r1 = _o1[0];
    2105                 :           0 :                               res_op0 = _r1;
    2106                 :             :                             }
    2107                 :           0 :                             tree res_op1;
    2108                 :           0 :                             {
    2109                 :           0 :                               tree _o1[1], _r1;
    2110                 :           0 :                               _o1[0] = captures[4];
    2111                 :           0 :                               if (TREE_TYPE (_o1[0]) != newtype)
    2112                 :             :                                 {
    2113                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    2114                 :             :                                 }
    2115                 :             :                               else
    2116                 :             :                                 _r1 = _o1[0];
    2117                 :           0 :                               res_op1 = _r1;
    2118                 :             :                             }
    2119                 :           0 :                             tree _r;
    2120                 :           0 :                             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2121                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 540, __FILE__, __LINE__, true);
    2122                 :           0 :                             return _r;
    2123                 :             :                           }
    2124                 :             : next_after_fail686:;
    2125                 :             :                         }
    2126                 :             :                       else
    2127                 :             :                         {
    2128                 :       34988 :                           {
    2129                 :       34988 :  if (element_precision (ty1) > element_precision (newtype))
    2130                 :          14 :  newtype = ty1;
    2131                 :       34988 :  if (element_precision (ty2) > element_precision (newtype))
    2132                 :        4757 :  newtype = ty2;
    2133                 :       34988 :                               if (element_precision (newtype) < element_precision (itype)
    2134                 :       18279 :  && (!VECTOR_MODE_P (TYPE_MODE (newtype))
    2135                 :           0 :  || target_supports_op_p (newtype, op, optab_default))
    2136                 :       18279 :  && (flag_unsafe_math_optimizations
    2137                 :       18266 :  || (element_precision (newtype) == element_precision (type)
    2138                 :       18242 :  && real_can_shorten_arithmetic (element_mode (itype),
    2139                 :             :  element_mode (type))
    2140                 :        8061 :  && !excess_precision_type (newtype)))
    2141                 :       38256 :  && !types_match (itype, newtype)
    2142                 :             : )
    2143                 :             :                                 {
    2144                 :        3268 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail687;
    2145                 :        3267 :                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail687;
    2146                 :        3267 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail687;
    2147                 :        3267 :                                   {
    2148                 :        3267 :                                     tree res_op0;
    2149                 :        3267 :                                     {
    2150                 :        3267 :                                       tree _o1[2], _r1;
    2151                 :        3267 :                                       {
    2152                 :        3267 :                                         tree _o2[1], _r2;
    2153                 :        3267 :                                         _o2[0] = captures[2];
    2154                 :        3267 :                                         if (TREE_TYPE (_o2[0]) != newtype)
    2155                 :             :                                           {
    2156                 :           3 :                                             _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
    2157                 :             :                                           }
    2158                 :             :                                         else
    2159                 :             :                                           _r2 = _o2[0];
    2160                 :        3267 :                                         _o1[0] = _r2;
    2161                 :             :                                       }
    2162                 :        3267 :                                       {
    2163                 :        3267 :                                         tree _o2[1], _r2;
    2164                 :        3267 :                                         _o2[0] = captures[4];
    2165                 :        3267 :                                         if (TREE_TYPE (_o2[0]) != newtype)
    2166                 :             :                                           {
    2167                 :        3267 :                                             _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
    2168                 :             :                                           }
    2169                 :             :                                         else
    2170                 :             :                                           _r2 = _o2[0];
    2171                 :        3267 :                                         _o1[1] = _r2;
    2172                 :             :                                       }
    2173                 :        3267 :                                       _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2174                 :        3267 :                                       res_op0 = _r1;
    2175                 :             :                                     }
    2176                 :        3267 :                                     tree _r;
    2177                 :        3267 :                                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2178                 :        3267 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 541, __FILE__, __LINE__, true);
    2179                 :        3267 :                                     return _r;
    2180                 :             :                                   }
    2181                 :             : next_after_fail687:;
    2182                 :             :                                 }
    2183                 :             :                           }
    2184                 :             :                         }
    2185                 :             :                   }
    2186                 :             :                 }
    2187                 :             :           }
    2188                 :             :         }
    2189                 :             :     }
    2190                 :             :   return NULL_TREE;
    2191                 :             : }
    2192                 :             : 
    2193                 :             : tree
    2194                 :           2 : generic_simplify_392 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2195                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2196                 :             : {
    2197                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2198                 :           2 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail722;
    2199                 :           2 :   {
    2200                 :           2 :     tree res_op0;
    2201                 :           2 :     {
    2202                 :           2 :       tree _o1[2], _r1;
    2203                 :           2 :       _o1[0] = captures[1];
    2204                 :           2 :       _o1[1] = captures[2];
    2205                 :           2 :       _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2206                 :           2 :       res_op0 = _r1;
    2207                 :             :     }
    2208                 :           2 :     tree _r;
    2209                 :           2 :     _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    2210                 :           2 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 567, __FILE__, __LINE__, true);
    2211                 :             :     return _r;
    2212                 :             :   }
    2213                 :           0 : next_after_fail722:;
    2214                 :           0 :   return NULL_TREE;
    2215                 :             : }
    2216                 :             : 
    2217                 :             : tree
    2218                 :           0 : generic_simplify_396 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2219                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2220                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2221                 :             : {
    2222                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2223                 :           0 :   if (!canonicalize_math_p ()
    2224                 :             : )
    2225                 :             :     {
    2226                 :           0 :       if (INTEGRAL_TYPE_P (type)
    2227                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2228                 :             : )
    2229                 :             :         {
    2230                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail726;
    2231                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail726;
    2232                 :           0 :           {
    2233                 :           0 :             tree res_op0;
    2234                 :           0 :             res_op0 = captures[0];
    2235                 :           0 :             tree res_op1;
    2236                 :           0 :             res_op1 = captures[3];
    2237                 :           0 :             tree res_op2;
    2238                 :           0 :             res_op2 =  build_zero_cst (type);
    2239                 :           0 :             tree _r;
    2240                 :           0 :             _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    2241                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 570, __FILE__, __LINE__, true);
    2242                 :           0 :             return _r;
    2243                 :             :           }
    2244                 :             : next_after_fail726:;
    2245                 :             :         }
    2246                 :             :     }
    2247                 :             :   return NULL_TREE;
    2248                 :             : }
    2249                 :             : 
    2250                 :             : tree
    2251                 :          86 : generic_simplify_406 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2252                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2253                 :             :  const enum tree_code ARG_UNUSED (code2),
    2254                 :             :  const enum tree_code ARG_UNUSED (code1))
    2255                 :             : {
    2256                 :          86 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2257                 :          86 :   if ((TREE_CODE (captures[2]) == INTEGER_CST
    2258                 :          30 :  && TREE_CODE (captures[4]) == INTEGER_CST)
    2259                 :          86 :  || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    2260                 :           8 :  || POINTER_TYPE_P (TREE_TYPE (captures[2])))
    2261                 :          48 :  && operand_equal_p (captures[2], captures[4]))
    2262                 :             : )
    2263                 :             :     {
    2264                 :          30 :       {
    2265                 :          30 :  int cmp = 0;
    2266                 :          30 :  if (TREE_CODE (captures[2]) == INTEGER_CST
    2267                 :          30 :  && TREE_CODE (captures[4]) == INTEGER_CST)
    2268                 :          30 :  cmp = tree_int_cst_compare (captures[2], captures[4]);
    2269                 :          30 :           if ((code1 == LT_EXPR || code1 == LE_EXPR)
    2270                 :           0 :  && (code2 == LT_EXPR || code2 == LE_EXPR)
    2271                 :             : )
    2272                 :             :             {
    2273                 :           0 :               if ((cmp < 0) || (cmp == 0 && code1 == LT_EXPR)
    2274                 :             : )
    2275                 :             :                 {
    2276                 :           0 :                   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail755;
    2277                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail755;
    2278                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail755;
    2279                 :           0 :                   {
    2280                 :           0 :                     tree _r;
    2281                 :           0 :                     _r = captures[0];
    2282                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 589, __FILE__, __LINE__, true);
    2283                 :           0 :                     return _r;
    2284                 :             :                   }
    2285                 :             : next_after_fail755:;
    2286                 :             :                 }
    2287                 :             :               else
    2288                 :             :                 {
    2289                 :           0 :                   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail756;
    2290                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail756;
    2291                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail756;
    2292                 :           0 :                   {
    2293                 :           0 :                     tree _r;
    2294                 :           0 :                     _r = captures[3];
    2295                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 590, __FILE__, __LINE__, true);
    2296                 :           0 :                     return _r;
    2297                 :             :                   }
    2298                 :             : next_after_fail756:;
    2299                 :             :                 }
    2300                 :             :             }
    2301                 :             :           else
    2302                 :             :             {
    2303                 :          30 :               if ((code1 == GT_EXPR || code1 == GE_EXPR)
    2304                 :          30 :  && (code2 == GT_EXPR || code2 == GE_EXPR)
    2305                 :             : )
    2306                 :             :                 {
    2307                 :           0 :                   if ((cmp > 0) || (cmp == 0 && code1 == GT_EXPR)
    2308                 :             : )
    2309                 :             :                     {
    2310                 :           0 :                       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail757;
    2311                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail757;
    2312                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail757;
    2313                 :           0 :                       {
    2314                 :           0 :                         tree _r;
    2315                 :           0 :                         _r = captures[0];
    2316                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 591, __FILE__, __LINE__, true);
    2317                 :           0 :                         return _r;
    2318                 :             :                       }
    2319                 :             : next_after_fail757:;
    2320                 :             :                     }
    2321                 :             :                   else
    2322                 :             :                     {
    2323                 :           0 :                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail758;
    2324                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail758;
    2325                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail758;
    2326                 :           0 :                       {
    2327                 :           0 :                         tree _r;
    2328                 :           0 :                         _r = captures[3];
    2329                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 592, __FILE__, __LINE__, true);
    2330                 :           0 :                         return _r;
    2331                 :             :                       }
    2332                 :             : next_after_fail758:;
    2333                 :             :                     }
    2334                 :             :                 }
    2335                 :             :               else
    2336                 :             :                 {
    2337                 :          30 :                   if (cmp == 0
    2338                 :           0 :  && ((code1 == LE_EXPR && code2 == GE_EXPR)
    2339                 :           0 :  || (code1 == GE_EXPR && code2 == LE_EXPR))
    2340                 :             : )
    2341                 :             :                     {
    2342                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail759;
    2343                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail759;
    2344                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail759;
    2345                 :           0 :                       {
    2346                 :           0 :                         tree res_op0;
    2347                 :           0 :                         res_op0 = captures[1];
    2348                 :           0 :                         tree res_op1;
    2349                 :           0 :                         res_op1 = captures[2];
    2350                 :           0 :                         tree _r;
    2351                 :           0 :                         _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    2352                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 593, __FILE__, __LINE__, true);
    2353                 :           0 :                         return _r;
    2354                 :             :                       }
    2355                 :             : next_after_fail759:;
    2356                 :             :                     }
    2357                 :             :                   else
    2358                 :             :                     {
    2359                 :          30 :                       if (cmp <= 0
    2360                 :          30 :  && (code1 == LT_EXPR || code1 == LE_EXPR)
    2361                 :           0 :  && (code2 == GT_EXPR || code2 == GE_EXPR)
    2362                 :             : )
    2363                 :             :                         {
    2364                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail760;
    2365                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail760;
    2366                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail760;
    2367                 :           0 :                           {
    2368                 :           0 :                             tree _r;
    2369                 :           0 :                             _r =  constant_boolean_node (false, type);
    2370                 :           0 :                             if (TREE_SIDE_EFFECTS (captures[1]))
    2371                 :           0 :                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2372                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 594, __FILE__, __LINE__, true);
    2373                 :           0 :                             return _r;
    2374                 :             :                           }
    2375                 :             : next_after_fail760:;
    2376                 :             :                         }
    2377                 :             :                       else
    2378                 :             :                         {
    2379                 :          30 :                           if (cmp >= 0
    2380                 :           0 :  && (code1 == GT_EXPR || code1 == GE_EXPR)
    2381                 :           0 :  && (code2 == LT_EXPR || code2 == LE_EXPR)
    2382                 :             : )
    2383                 :             :                             {
    2384                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail761;
    2385                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail761;
    2386                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail761;
    2387                 :           0 :                               {
    2388                 :           0 :                                 tree _r;
    2389                 :           0 :                                 _r =  constant_boolean_node (false, type);
    2390                 :           0 :                                 if (TREE_SIDE_EFFECTS (captures[1]))
    2391                 :           0 :                                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2392                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 595, __FILE__, __LINE__, true);
    2393                 :           0 :                                 return _r;
    2394                 :             :                               }
    2395                 :             : next_after_fail761:;
    2396                 :             :                             }
    2397                 :             :                         }
    2398                 :             :                     }
    2399                 :             :                 }
    2400                 :             :             }
    2401                 :             :       }
    2402                 :             :     }
    2403                 :             :   return NULL_TREE;
    2404                 :             : }
    2405                 :             : 
    2406                 :             : tree
    2407                 :         108 : generic_simplify_424 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2408                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    2409                 :             : {
    2410                 :         108 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2411                 :         108 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail798;
    2412                 :         108 :   {
    2413                 :         108 :     tree res_op0;
    2414                 :         108 :     res_op0 = captures[1];
    2415                 :         108 :     tree res_op1;
    2416                 :         108 :     {
    2417                 :         108 :       tree _o1[1], _r1;
    2418                 :         108 :       _o1[0] = captures[2];
    2419                 :         108 :       _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    2420                 :         108 :       res_op1 = _r1;
    2421                 :             :     }
    2422                 :         108 :     tree _r;
    2423                 :         108 :     _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    2424                 :         108 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 604, __FILE__, __LINE__, true);
    2425                 :             :     return _r;
    2426                 :             :   }
    2427                 :           0 : next_after_fail798:;
    2428                 :           0 :   return NULL_TREE;
    2429                 :             : }
    2430                 :             : 
    2431                 :             : tree
    2432                 :        3766 : generic_simplify_427 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2433                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    2434                 :             : {
    2435                 :        3766 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2436                 :        3766 :   if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
    2437                 :        3766 :  || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2438                 :             : )
    2439                 :             :     {
    2440                 :        3475 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail801;
    2441                 :        3475 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail801;
    2442                 :        3475 :       {
    2443                 :        3475 :         tree res_op0;
    2444                 :        3475 :         {
    2445                 :        3475 :           tree _o1[1], _r1;
    2446                 :        3475 :           _o1[0] = captures[0];
    2447                 :        3475 :           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    2448                 :        3475 :           res_op0 = _r1;
    2449                 :             :         }
    2450                 :        3475 :         tree _r;
    2451                 :        3475 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2452                 :        3475 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 607, __FILE__, __LINE__, true);
    2453                 :        3475 :         return _r;
    2454                 :             :       }
    2455                 :             : next_after_fail801:;
    2456                 :             :     }
    2457                 :             :   return NULL_TREE;
    2458                 :             : }
    2459                 :             : 
    2460                 :             : tree
    2461                 :          29 : generic_simplify_430 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2462                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    2463                 :             : {
    2464                 :          29 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2465                 :          29 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    2466                 :             : )
    2467                 :             :     {
    2468                 :          29 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail804;
    2469                 :          29 :       {
    2470                 :          29 :         tree res_op0;
    2471                 :          29 :         {
    2472                 :          29 :           tree _o1[2], _r1;
    2473                 :          29 :           _o1[0] = captures[0];
    2474                 :          29 :           {
    2475                 :          29 :             tree _o2[1], _r2;
    2476                 :          29 :             _o2[0] = captures[1];
    2477                 :          29 :             _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    2478                 :          29 :             _o1[1] = _r2;
    2479                 :             :           }
    2480                 :          29 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2481                 :          29 :           res_op0 = _r1;
    2482                 :             :         }
    2483                 :          29 :         tree _r;
    2484                 :          29 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2485                 :          29 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 610, __FILE__, __LINE__, true);
    2486                 :          29 :         return _r;
    2487                 :             :       }
    2488                 :           0 : next_after_fail804:;
    2489                 :             :     }
    2490                 :             :   return NULL_TREE;
    2491                 :             : }
    2492                 :             : 
    2493                 :             : tree
    2494                 :           2 : generic_simplify_435 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2495                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2496                 :             :  const enum tree_code ARG_UNUSED (rotate))
    2497                 :             : {
    2498                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2499                 :           2 :   if ((element_precision (TREE_TYPE (captures[2]))
    2500                 :           2 :  <= element_precision (TREE_TYPE (captures[3]))
    2501                 :           0 :  || !TYPE_UNSIGNED (TREE_TYPE (captures[3])))
    2502                 :           2 :  && (element_precision (type) <= element_precision (TREE_TYPE (captures[2]))
    2503                 :           0 :  || !TYPE_UNSIGNED (TREE_TYPE (captures[2])))
    2504                 :             : )
    2505                 :             :     {
    2506                 :           2 :       {
    2507                 :           2 :  tree rotate_type = TREE_TYPE (captures[2]);
    2508                 :           2 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail809;
    2509                 :           2 :           {
    2510                 :           2 :             tree res_op0;
    2511                 :           2 :             {
    2512                 :           2 :               tree _o1[2], _r1;
    2513                 :           2 :               {
    2514                 :           2 :                 tree _o2[1], _r2;
    2515                 :           2 :                 _o2[0] = captures[3];
    2516                 :           2 :                 if (TREE_TYPE (_o2[0]) != rotate_type)
    2517                 :             :                   {
    2518                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, rotate_type, _o2[0]);
    2519                 :             :                   }
    2520                 :             :                 else
    2521                 :             :                   _r2 = _o2[0];
    2522                 :           2 :                 _o1[0] = _r2;
    2523                 :             :               }
    2524                 :           2 :               _o1[1] = captures[4];
    2525                 :           2 :               _r1 = fold_build2_loc (loc, rotate, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2526                 :           2 :               res_op0 = _r1;
    2527                 :             :             }
    2528                 :           2 :             tree _r;
    2529                 :           2 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2530                 :           2 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 612, __FILE__, __LINE__, true);
    2531                 :           2 :             return _r;
    2532                 :             :           }
    2533                 :           0 : next_after_fail809:;
    2534                 :             :       }
    2535                 :             :     }
    2536                 :             :   return NULL_TREE;
    2537                 :             : }
    2538                 :             : 
    2539                 :             : tree
    2540                 :           2 : generic_simplify_447 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2541                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2542                 :             : {
    2543                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2544                 :           2 :   if (TREE_CODE (type) != COMPLEX_TYPE
    2545                 :           2 :  && (! ANY_INTEGRAL_TYPE_P (type)
    2546                 :           1 :  || TYPE_OVERFLOW_UNDEFINED (type))
    2547                 :             : )
    2548                 :             :     {
    2549                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail823;
    2550                 :           2 :       {
    2551                 :           2 :         tree res_op0;
    2552                 :           2 :         {
    2553                 :           2 :           tree _o1[1], _r1;
    2554                 :           2 :           _o1[0] = captures[0];
    2555                 :           2 :           _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    2556                 :           2 :           res_op0 = _r1;
    2557                 :             :         }
    2558                 :           2 :         tree _r;
    2559                 :           2 :         _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    2560                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 626, __FILE__, __LINE__, true);
    2561                 :           2 :         return _r;
    2562                 :             :       }
    2563                 :           0 : next_after_fail823:;
    2564                 :             :     }
    2565                 :             :   return NULL_TREE;
    2566                 :             : }
    2567                 :             : 
    2568                 :             : tree
    2569                 :           0 : generic_simplify_456 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2570                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2571                 :             :  const combined_fn ARG_UNUSED (minmax))
    2572                 :             : {
    2573                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2574                 :           0 :   if (!tree_expr_maybe_signaling_nan_p (captures[0])
    2575                 :             : )
    2576                 :             :     {
    2577                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail844;
    2578                 :           0 :       {
    2579                 :           0 :         tree _r;
    2580                 :           0 :         _r = captures[0];
    2581                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 635, __FILE__, __LINE__, true);
    2582                 :           0 :         return _r;
    2583                 :             :       }
    2584                 :           0 : next_after_fail844:;
    2585                 :             :     }
    2586                 :             :   return NULL_TREE;
    2587                 :             : }
    2588                 :             : 
    2589                 :             : tree
    2590                 :           2 : generic_simplify_462 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2591                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    2592                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2593                 :             :  const enum tree_code ARG_UNUSED (minmax))
    2594                 :             : {
    2595                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2596                 :           2 :   {
    2597                 :           2 :  tree_code code = minmax_from_comparison (cmp, captures[0], captures[3], captures[0], captures[1]);
    2598                 :           2 :       if (code == MIN_EXPR
    2599                 :             : )
    2600                 :             :         {
    2601                 :           0 :           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail853;
    2602                 :           0 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail853;
    2603                 :           0 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail853;
    2604                 :           0 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail853;
    2605                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail853;
    2606                 :           0 :           {
    2607                 :           0 :             tree res_op0;
    2608                 :           0 :             {
    2609                 :           0 :               tree _o1[2], _r1;
    2610                 :           0 :               _o1[0] = captures[0];
    2611                 :           0 :               _o1[1] = captures[3];
    2612                 :           0 :               _r1 = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2613                 :           0 :               res_op0 = _r1;
    2614                 :             :             }
    2615                 :           0 :             tree res_op1;
    2616                 :           0 :             res_op1 = captures[2];
    2617                 :           0 :             tree _r;
    2618                 :           0 :             _r = fold_build2_loc (loc, minmax, type, res_op0, res_op1);
    2619                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 644, __FILE__, __LINE__, true);
    2620                 :           0 :             return _r;
    2621                 :             :           }
    2622                 :             : next_after_fail853:;
    2623                 :             :         }
    2624                 :             :       else
    2625                 :             :         {
    2626                 :           2 :           if (code == MAX_EXPR
    2627                 :             : )
    2628                 :             :             {
    2629                 :           2 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail854;
    2630                 :           2 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail854;
    2631                 :           2 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail854;
    2632                 :           2 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail854;
    2633                 :           2 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail854;
    2634                 :           2 :               {
    2635                 :           2 :                 tree res_op0;
    2636                 :           2 :                 {
    2637                 :           2 :                   tree _o1[2], _r1;
    2638                 :           2 :                   _o1[0] = captures[0];
    2639                 :           2 :                   _o1[1] = captures[3];
    2640                 :           2 :                   _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2641                 :           2 :                   res_op0 = _r1;
    2642                 :             :                 }
    2643                 :           2 :                 tree res_op1;
    2644                 :           2 :                 res_op1 = captures[2];
    2645                 :           2 :                 tree _r;
    2646                 :           2 :                 _r = fold_build2_loc (loc, minmax, type, res_op0, res_op1);
    2647                 :           2 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 645, __FILE__, __LINE__, true);
    2648                 :           2 :                 return _r;
    2649                 :             :               }
    2650                 :             : next_after_fail854:;
    2651                 :             :             }
    2652                 :             :         }
    2653                 :             :   }
    2654                 :             :   return NULL_TREE;
    2655                 :             : }
    2656                 :             : 
    2657                 :             : tree
    2658                 :           0 : generic_simplify_476 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2659                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    2660                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2661                 :             : {
    2662                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2663                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail870;
    2664                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail870;
    2665                 :           0 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail870;
    2666                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail870;
    2667                 :           0 :   {
    2668                 :           0 :     tree _r;
    2669                 :           0 :     _r = captures[0];
    2670                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 661, __FILE__, __LINE__, true);
    2671                 :             :     return _r;
    2672                 :             :   }
    2673                 :             : next_after_fail870:;
    2674                 :             :   return NULL_TREE;
    2675                 :             : }
    2676                 :             : 
    2677                 :             : tree
    2678                 :           0 : generic_simplify_483 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2679                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    2680                 :             : {
    2681                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2682                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2683                 :           0 :  && TYPE_MAX_VALUE (TREE_TYPE (captures[1]))
    2684                 :           0 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (TREE_TYPE (captures[0])))
    2685                 :           0 :  && int_fits_type_p (captures[2], TREE_TYPE (captures[1]))
    2686                 :             : )
    2687                 :             :     {
    2688                 :           0 :       if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2689                 :             : )
    2690                 :             :         {
    2691                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail879;
    2692                 :           0 :           {
    2693                 :           0 :             tree res_op0;
    2694                 :           0 :             {
    2695                 :           0 :               tree _o1[2], _r1;
    2696                 :           0 :               _o1[0] = captures[1];
    2697                 :           0 :               {
    2698                 :           0 :                 tree _o2[2], _r2;
    2699                 :           0 :                 _o2[0] =  TYPE_MAX_VALUE (TREE_TYPE (captures[1]));
    2700                 :           0 :                 _o2[1] = captures[2];
    2701                 :           0 :                 _r2 = fold_build2_loc (loc, TRUNC_DIV_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    2702                 :           0 :                 if (EXPR_P (_r2))
    2703                 :           0 :                   goto next_after_fail879;
    2704                 :           0 :                 _o1[1] = _r2;
    2705                 :             :               }
    2706                 :           0 :               _r1 = fold_build2_loc (loc, GT_EXPR, boolean_type_node, _o1[0], _o1[1]);
    2707                 :           0 :               res_op0 = _r1;
    2708                 :             :             }
    2709                 :           0 :             tree _r;
    2710                 :           0 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2711                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 669, __FILE__, __LINE__, true);
    2712                 :           0 :             return _r;
    2713                 :             :           }
    2714                 :             : next_after_fail879:;
    2715                 :             :         }
    2716                 :             :       else
    2717                 :             :         {
    2718                 :           0 :           if (TYPE_MIN_VALUE (TREE_TYPE (captures[1]))
    2719                 :             : )
    2720                 :             :             {
    2721                 :           0 :               if (integer_minus_onep (captures[2])
    2722                 :             : )
    2723                 :             :                 {
    2724                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail880;
    2725                 :           0 :                   {
    2726                 :           0 :                     tree res_op0;
    2727                 :           0 :                     {
    2728                 :           0 :                       tree _o1[2], _r1;
    2729                 :           0 :                       _o1[0] = captures[1];
    2730                 :           0 :                       _o1[1] =  TYPE_MIN_VALUE (TREE_TYPE (captures[1]));
    2731                 :           0 :                       _r1 = fold_build2_loc (loc, EQ_EXPR, boolean_type_node, _o1[0], _o1[1]);
    2732                 :           0 :                       res_op0 = _r1;
    2733                 :             :                     }
    2734                 :           0 :                     tree _r;
    2735                 :           0 :                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2736                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[2]))
    2737                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2738                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 670, __FILE__, __LINE__, true);
    2739                 :           0 :                     return _r;
    2740                 :             :                   }
    2741                 :           0 : next_after_fail880:;
    2742                 :             :                 }
    2743                 :             :               else
    2744                 :             :                 {
    2745                 :           0 :                   {
    2746                 :           0 :  tree div = fold_convert (TREE_TYPE (captures[1]), captures[2]);
    2747                 :           0 :  tree lo = int_const_binop (TRUNC_DIV_EXPR,
    2748                 :           0 :  TYPE_MIN_VALUE (TREE_TYPE (captures[1])), div);
    2749                 :           0 :  tree hi = int_const_binop (TRUNC_DIV_EXPR,
    2750                 :           0 :  TYPE_MAX_VALUE (TREE_TYPE (captures[1])), div);
    2751                 :           0 :  tree etype = range_check_type (TREE_TYPE (captures[1]));
    2752                 :           0 :  if (etype)
    2753                 :             :  {
    2754                 :           0 :  if (wi::neg_p (wi::to_wide (div)))
    2755                 :           0 :  std::swap (lo, hi);
    2756                 :           0 :  lo = fold_convert (etype, lo);
    2757                 :           0 :  hi = fold_convert (etype, hi);
    2758                 :           0 :  hi = int_const_binop (MINUS_EXPR, hi, lo);
    2759                 :             :  }
    2760                 :           0 :                       if (etype
    2761                 :             : )
    2762                 :             :                         {
    2763                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail881;
    2764                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail881;
    2765                 :           0 :                           {
    2766                 :           0 :                             tree res_op0;
    2767                 :           0 :                             {
    2768                 :           0 :                               tree _o1[2], _r1;
    2769                 :           0 :                               {
    2770                 :           0 :                                 tree _o2[2], _r2;
    2771                 :           0 :                                 {
    2772                 :           0 :                                   tree _o3[1], _r3;
    2773                 :           0 :                                   _o3[0] = captures[1];
    2774                 :           0 :                                   if (TREE_TYPE (_o3[0]) != etype)
    2775                 :             :                                     {
    2776                 :           0 :                                       _r3 = fold_build1_loc (loc, NOP_EXPR, etype, _o3[0]);
    2777                 :             :                                     }
    2778                 :             :                                   else
    2779                 :             :                                     _r3 = _o3[0];
    2780                 :           0 :                                   _o2[0] = _r3;
    2781                 :             :                                 }
    2782                 :           0 :                                 _o2[1] =  lo;
    2783                 :           0 :                                 _r2 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    2784                 :           0 :                                 _o1[0] = _r2;
    2785                 :             :                               }
    2786                 :           0 :                               _o1[1] =  hi;
    2787                 :           0 :                               _r1 = fold_build2_loc (loc, GT_EXPR, boolean_type_node, _o1[0], _o1[1]);
    2788                 :           0 :                               res_op0 = _r1;
    2789                 :             :                             }
    2790                 :           0 :                             tree _r;
    2791                 :           0 :                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2792                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 671, __FILE__, __LINE__, true);
    2793                 :           0 :                             return _r;
    2794                 :             :                           }
    2795                 :             : next_after_fail881:;
    2796                 :             :                         }
    2797                 :             :                   }
    2798                 :             :                 }
    2799                 :             :             }
    2800                 :             :         }
    2801                 :             :     }
    2802                 :             :   return NULL_TREE;
    2803                 :             : }
    2804                 :             : 
    2805                 :             : tree
    2806                 :           0 : generic_simplify_513 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2807                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2808                 :             :  const combined_fn ARG_UNUSED (fns))
    2809                 :             : {
    2810                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2811                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail911;
    2812                 :           0 :   {
    2813                 :           0 :     tree _r;
    2814                 :           0 :     _r = captures[0];
    2815                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 696, __FILE__, __LINE__, true);
    2816                 :             :     return _r;
    2817                 :             :   }
    2818                 :           0 : next_after_fail911:;
    2819                 :           0 :   return NULL_TREE;
    2820                 :             : }
    2821                 :             : 
    2822                 :             : tree
    2823                 :           0 : generic_simplify_520 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2824                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2825                 :             :  const combined_fn ARG_UNUSED (froms),
    2826                 :             :  const combined_fn ARG_UNUSED (tos))
    2827                 :             : {
    2828                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2829                 :           0 :   if (optimize && canonicalize_math_p ()
    2830                 :             : )
    2831                 :             :     {
    2832                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail918;
    2833                 :           0 :       {
    2834                 :           0 :         tree res_op0;
    2835                 :           0 :         res_op0 = captures[0];
    2836                 :           0 :         tree _r;
    2837                 :           0 :         _r = maybe_build_call_expr_loc (loc, tos, type, 1, res_op0);
    2838                 :           0 :         if (!_r)
    2839                 :           0 :           goto next_after_fail918;
    2840                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 703, __FILE__, __LINE__, true);
    2841                 :           0 :         return _r;
    2842                 :             :       }
    2843                 :             : next_after_fail918:;
    2844                 :             :     }
    2845                 :             :   return NULL_TREE;
    2846                 :             : }
    2847                 :             : 
    2848                 :             : tree
    2849                 :           0 : generic_simplify_529 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2850                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    2851                 :             :  const combined_fn ARG_UNUSED (fmas))
    2852                 :             : {
    2853                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2854                 :           0 :   if (canonicalize_math_after_vectorization_p ()
    2855                 :             : )
    2856                 :             :     {
    2857                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail927;
    2858                 :             :       {
    2859                 :             :         tree res_op0;
    2860                 :             :         res_op0 = captures[0];
    2861                 :             :         tree res_op1;
    2862                 :             :         res_op1 = captures[1];
    2863                 :             :         tree res_op2;
    2864                 :             :         res_op2 = captures[2];
    2865                 :             :         tree _r;
    2866                 :             :         _r = maybe_build_call_expr_loc (loc, CFN_FNMS, type, 3, res_op0, res_op1, res_op2);
    2867                 :             :         if (!_r)
    2868                 :             :           goto next_after_fail927;
    2869                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 712, __FILE__, __LINE__, true);
    2870                 :             :         return _r;
    2871                 :             :       }
    2872                 :           0 : next_after_fail927:;
    2873                 :             :     }
    2874                 :           0 :   return NULL_TREE;
    2875                 :             : }
    2876                 :             : 
    2877                 :             : tree
    2878                 :           0 : generic_simplify_538 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2879                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2880                 :             :  const enum tree_code ARG_UNUSED (rot),
    2881                 :             :  const combined_fn ARG_UNUSED (popcount))
    2882                 :             : {
    2883                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2884                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2885                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2886                 :           0 :  && (
    2887                 :             : 
    2888                 :           0 :  || !TREE_SIDE_EFFECTS (captures[3]))
    2889                 :             : )
    2890                 :             :     {
    2891                 :           0 :       {
    2892                 :           0 :  tree type0 = TREE_TYPE (captures[0]);
    2893                 :           0 :  tree type1 = TREE_TYPE (captures[1]);
    2894                 :           0 :  unsigned int prec0 = TYPE_PRECISION (type0);
    2895                 :           0 :  unsigned int prec1 = TYPE_PRECISION (type1);
    2896                 :           0 :           if (prec0 == prec1 || (prec0 > prec1 && TYPE_UNSIGNED (type1))
    2897                 :             : )
    2898                 :             :             {
    2899                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail936;
    2900                 :           0 :               {
    2901                 :           0 :                 tree res_op0;
    2902                 :           0 :                 {
    2903                 :           0 :                   tree _o1[1], _r1;
    2904                 :           0 :                   _o1[0] = captures[2];
    2905                 :           0 :                   if (TREE_TYPE (_o1[0]) != type0)
    2906                 :             :                     {
    2907                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
    2908                 :             :                     }
    2909                 :             :                   else
    2910                 :             :                     _r1 = _o1[0];
    2911                 :           0 :                   res_op0 = _r1;
    2912                 :             :                 }
    2913                 :           0 :                 tree _r;
    2914                 :           0 :                 _r = maybe_build_call_expr_loc (loc, popcount, type, 1, res_op0);
    2915                 :           0 :                 if (!_r)
    2916                 :           0 :                   goto next_after_fail936;
    2917                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[3]))
    2918                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    2919                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 721, __FILE__, __LINE__, true);
    2920                 :           0 :                 return _r;
    2921                 :             :               }
    2922                 :             : next_after_fail936:;
    2923                 :             :             }
    2924                 :             :       }
    2925                 :             :     }
    2926                 :             :   return NULL_TREE;
    2927                 :             : }
    2928                 :             : 
    2929                 :             : tree
    2930                 :           0 : generic_simplify_548 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2931                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2932                 :             :  const combined_fn ARG_UNUSED (reduc))
    2933                 :             : {
    2934                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2935                 :           0 :   {
    2936                 :           0 :  tree ctor = (TREE_CODE (captures[0]) == SSA_NAME
    2937                 :           0 :  ? gimple_assign_rhs1 (SSA_NAME_DEF_STMT (captures[0])) : captures[0]);
    2938                 :           0 :  tree elt = ctor_single_nonzero_element (ctor);
    2939                 :           0 :       if (elt
    2940                 :           0 :  && !HONOR_SNANS (type)
    2941                 :           0 :  && !HONOR_SIGNED_ZEROS (type)
    2942                 :             : )
    2943                 :             :         {
    2944                 :           0 :           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail947;
    2945                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail947;
    2946                 :           0 :           {
    2947                 :           0 :             tree _r;
    2948                 :           0 :             _r =  elt;
    2949                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 728, __FILE__, __LINE__, true);
    2950                 :           0 :             return _r;
    2951                 :             :           }
    2952                 :             : next_after_fail947:;
    2953                 :             :         }
    2954                 :             :   }
    2955                 :             :   return NULL_TREE;
    2956                 :             : }
    2957                 :             : 
    2958                 :             : tree
    2959                 :      511503 : generic_simplify_FIX_TRUNC_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    2960                 :             : {
    2961                 :      511503 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2962                 :      511503 :   {
    2963                 :      511503 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    2964                 :     1023006 :     if ((
    2965                 :             : 
    2966                 :             :  && useless_type_conversion_p (type, TREE_TYPE (captures[0])))
    2967                 :             :  || (
    2968                 :             : 1
    2969                 :      511503 :  && type == TREE_TYPE (captures[0]))
    2970                 :             : )
    2971                 :             :       {
    2972                 :           0 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1024;
    2973                 :           0 :         {
    2974                 :           0 :           tree _r;
    2975                 :           0 :           _r = captures[0];
    2976                 :           0 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 741, __FILE__, __LINE__, true);
    2977                 :           0 :           return _r;
    2978                 :             :         }
    2979                 :           0 : next_after_fail1024:;
    2980                 :             :       }
    2981                 :             :   }
    2982                 :      511503 :   switch (TREE_CODE (_p0))
    2983                 :             :     {
    2984                 :       14993 :     CASE_CONVERT:
    2985                 :       14993 :       {
    2986                 :       14993 :         tree _q20 = TREE_OPERAND (_p0, 0);
    2987                 :       14993 :         {
    2988                 :       14993 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    2989                 :       14993 :           {
    2990                 :       14993 :  tree inside_type = TREE_TYPE (captures[1]);
    2991                 :       14993 :  tree inter_type = TREE_TYPE (captures[0]);
    2992                 :       14993 :  int inside_int = INTEGRAL_TYPE_P (inside_type);
    2993                 :       14993 :  int inside_ptr = POINTER_TYPE_P (inside_type);
    2994                 :       14993 :  int inside_float = FLOAT_TYPE_P (inside_type);
    2995                 :       14993 :  int inside_vec = VECTOR_TYPE_P (inside_type);
    2996                 :       14993 :  unsigned int inside_prec = element_precision (inside_type);
    2997                 :       14993 :  int inside_unsignedp = TYPE_UNSIGNED (inside_type);
    2998                 :       14993 :  int inter_int = INTEGRAL_TYPE_P (inter_type);
    2999                 :       14993 :  int inter_ptr = POINTER_TYPE_P (inter_type);
    3000                 :       14993 :  int inter_float = FLOAT_TYPE_P (inter_type);
    3001                 :       14993 :  int inter_vec = VECTOR_TYPE_P (inter_type);
    3002                 :       14993 :  unsigned int inter_prec = element_precision (inter_type);
    3003                 :       14993 :  int inter_unsignedp = TYPE_UNSIGNED (inter_type);
    3004                 :       14993 :  int final_int = INTEGRAL_TYPE_P (type);
    3005                 :       14993 :  int final_ptr = POINTER_TYPE_P (type);
    3006                 :       14993 :  int final_float = FLOAT_TYPE_P (type);
    3007                 :       14993 :  int final_vec = VECTOR_TYPE_P (type);
    3008                 :       14993 :  unsigned int final_prec = element_precision (type);
    3009                 :       14993 :  int final_unsignedp = TYPE_UNSIGNED (type);
    3010                 :       14993 :               if (((
    3011                 :             : 
    3012                 :             :  && useless_type_conversion_p (type, inside_type))
    3013                 :             :  || (
    3014                 :             : 1
    3015                 :       14993 :  && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
    3016                 :           0 :  && (((inter_int || inter_ptr) && final_int)
    3017                 :           0 :  || (inter_float && final_float))
    3018                 :       14993 :  && inter_prec >= final_prec
    3019                 :             : )
    3020                 :             :                 {
    3021                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1025;
    3022                 :           0 :                   {
    3023                 :           0 :                     tree res_op0;
    3024                 :           0 :                     res_op0 = captures[1];
    3025                 :           0 :                     tree _r;
    3026                 :           0 :                     _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    3027                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 742, __FILE__, __LINE__, true);
    3028                 :           0 :                     return _r;
    3029                 :             :                   }
    3030                 :           0 : next_after_fail1025:;
    3031                 :             :                 }
    3032                 :             :               else
    3033                 :             :                 {
    3034                 :       14993 :                   if (((inter_int && inside_int) || (inter_float && inside_float))
    3035                 :       14993 :  && (final_int || final_float)
    3036                 :       14993 :  && inter_prec >= inside_prec
    3037                 :       14775 :  && (inter_float || inter_unsignedp == inside_unsignedp)
    3038                 :             : )
    3039                 :             :                     {
    3040                 :       14775 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1026;
    3041                 :       14775 :                       {
    3042                 :       14775 :                         tree res_op0;
    3043                 :       14775 :                         res_op0 = captures[1];
    3044                 :       14775 :                         tree _r;
    3045                 :       14775 :                         _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    3046                 :       14775 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 743, __FILE__, __LINE__, true);
    3047                 :       14775 :                         return _r;
    3048                 :             :                       }
    3049                 :           0 : next_after_fail1026:;
    3050                 :           0 :                     }
    3051                 :             :                   else
    3052                 :             :                     {
    3053                 :         218 :                       if (inside_int && inter_int && final_int
    3054                 :           0 :  && ((inside_prec < inter_prec && inter_prec < final_prec
    3055                 :           0 :  && inside_unsignedp && !inter_unsignedp)
    3056                 :           0 :  || final_prec == inter_prec
    3057                 :           0 :  || (inside_prec < inter_prec && inter_prec > final_prec
    3058                 :           0 :  && !inside_unsignedp && inter_unsignedp))
    3059                 :             : )
    3060                 :             :                         {
    3061                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1027;
    3062                 :           0 :                           {
    3063                 :           0 :                             tree res_op0;
    3064                 :           0 :                             res_op0 = captures[1];
    3065                 :           0 :                             tree _r;
    3066                 :           0 :                             _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    3067                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 744, __FILE__, __LINE__, true);
    3068                 :           0 :                             return _r;
    3069                 :             :                           }
    3070                 :           0 : next_after_fail1027:;
    3071                 :           0 :                         }
    3072                 :             :                       else
    3073                 :             :                         {
    3074                 :         218 :                           if (! inside_float && ! inter_float && ! final_float
    3075                 :             :  && ! inside_vec && ! inter_vec && ! final_vec
    3076                 :           0 :  && (inter_prec >= inside_prec || inter_prec >= final_prec)
    3077                 :           0 :  && ! (inside_int && inter_int
    3078                 :           0 :  && inter_unsignedp != inside_unsignedp
    3079                 :           0 :  && inter_prec < final_prec)
    3080                 :           0 :  && ((inter_unsignedp && inter_prec > inside_prec)
    3081                 :           0 :  == (final_unsignedp && final_prec > inter_prec))
    3082                 :           0 :  && ! (inside_ptr && inter_prec != final_prec)
    3083                 :           0 :  && ! (final_ptr && inside_prec != inter_prec)
    3084                 :             : )
    3085                 :             :                             {
    3086                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1028;
    3087                 :           0 :                               {
    3088                 :           0 :                                 tree res_op0;
    3089                 :           0 :                                 res_op0 = captures[1];
    3090                 :           0 :                                 tree _r;
    3091                 :           0 :                                 _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    3092                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 745, __FILE__, __LINE__, true);
    3093                 :           0 :                                 return _r;
    3094                 :             :                               }
    3095                 :           0 : next_after_fail1028:;
    3096                 :           0 :                             }
    3097                 :             :                           else
    3098                 :             :                             {
    3099                 :         218 :                               if (inside_int && inter_int && final_int
    3100                 :           0 :  && final_prec <= inside_prec
    3101                 :           0 :  && inter_prec >= inside_prec
    3102                 :             : )
    3103                 :             :                                 {
    3104                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1029;
    3105                 :           0 :                                   {
    3106                 :           0 :                                     tree res_op0;
    3107                 :           0 :                                     res_op0 = captures[1];
    3108                 :           0 :                                     tree _r;
    3109                 :           0 :                                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3110                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 746, __FILE__, __LINE__, true);
    3111                 :           0 :                                     return _r;
    3112                 :             :                                   }
    3113                 :           0 : next_after_fail1029:;
    3114                 :           0 :                                 }
    3115                 :             :                               else
    3116                 :             :                                 {
    3117                 :             :                                   if (0
    3118                 :             :  && final_int && inter_int && inside_int
    3119                 :             :  && final_prec == inside_prec
    3120                 :             :  && final_prec > inter_prec
    3121                 :             :  && inter_unsignedp
    3122                 :             : )
    3123                 :             :                                     {
    3124                 :             :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1030;
    3125                 :             :                                       {
    3126                 :             :                                         tree res_op0;
    3127                 :             :                                         {
    3128                 :             :                                           tree _o1[2], _r1;
    3129                 :             :                                           _o1[0] = captures[1];
    3130                 :             :                                           _o1[1] =  wide_int_to_tree
    3131                 :             :  (inside_type,
    3132                 :             :  wi::mask (inter_prec, false,
    3133                 :             :  TYPE_PRECISION (inside_type)));
    3134                 :             :                                           _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3135                 :             :                                           res_op0 = _r1;
    3136                 :             :                                         }
    3137                 :             :                                         tree _r;
    3138                 :             :                                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3139                 :             :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 747, __FILE__, __LINE__, true);
    3140                 :             :                                         return _r;
    3141                 :             :                                       }
    3142                 :             : next_after_fail1030:;
    3143                 :             :                                     }
    3144                 :             :                                   else
    3145                 :             :                                     {
    3146                 :             :                                       if (0
    3147                 :             :  && inside_int && inter_float && final_int &&
    3148                 :             :  (unsigned) significand_size (TYPE_MODE (inter_type))
    3149                 :             :  >= inside_prec - !inside_unsignedp
    3150                 :             : )
    3151                 :             :                                         {
    3152                 :             :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1031;
    3153                 :             :                                           {
    3154                 :             :                                             tree res_op0;
    3155                 :             :                                             res_op0 = captures[1];
    3156                 :             :                                             tree _r;
    3157                 :             :                                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3158                 :             :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 748, __FILE__, __LINE__, true);
    3159                 :             :                                             return _r;
    3160                 :             :                                           }
    3161                 :             : next_after_fail1031:;
    3162                 :             :                                         }
    3163                 :             :                                     }
    3164                 :             :                                 }
    3165                 :             :                             }
    3166                 :             :                         }
    3167                 :             :                     }
    3168                 :             :                 }
    3169                 :             :           }
    3170                 :             :         }
    3171                 :         218 :         break;
    3172                 :             :       }
    3173                 :       21713 :     case FLOAT_EXPR:
    3174                 :       21713 :       {
    3175                 :       21713 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3176                 :       21713 :         {
    3177                 :       21713 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    3178                 :       21713 :           {
    3179                 :       21713 :  tree inside_type = TREE_TYPE (captures[1]);
    3180                 :       21713 :  tree inter_type = TREE_TYPE (captures[0]);
    3181                 :       21713 :  int inside_int = INTEGRAL_TYPE_P (inside_type);
    3182                 :       21713 :  int inside_ptr = POINTER_TYPE_P (inside_type);
    3183                 :       21713 :  int inside_float = FLOAT_TYPE_P (inside_type);
    3184                 :       21713 :  int inside_vec = VECTOR_TYPE_P (inside_type);
    3185                 :       21713 :  unsigned int inside_prec = element_precision (inside_type);
    3186                 :       21713 :  int inside_unsignedp = TYPE_UNSIGNED (inside_type);
    3187                 :       21713 :  int inter_int = INTEGRAL_TYPE_P (inter_type);
    3188                 :       21713 :  int inter_ptr = POINTER_TYPE_P (inter_type);
    3189                 :       21713 :  int inter_float = FLOAT_TYPE_P (inter_type);
    3190                 :       21713 :  int inter_vec = VECTOR_TYPE_P (inter_type);
    3191                 :       21713 :  unsigned int inter_prec = element_precision (inter_type);
    3192                 :       21713 :  int inter_unsignedp = TYPE_UNSIGNED (inter_type);
    3193                 :       21713 :  int final_int = INTEGRAL_TYPE_P (type);
    3194                 :       21713 :  int final_ptr = POINTER_TYPE_P (type);
    3195                 :       21713 :  int final_float = FLOAT_TYPE_P (type);
    3196                 :       21713 :  int final_vec = VECTOR_TYPE_P (type);
    3197                 :       21713 :  unsigned int final_prec = element_precision (type);
    3198                 :       21713 :  int final_unsignedp = TYPE_UNSIGNED (type);
    3199                 :       21713 :               if (((
    3200                 :             : 
    3201                 :             :  && useless_type_conversion_p (type, inside_type))
    3202                 :             :  || (
    3203                 :             : 1
    3204                 :       21713 :  && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
    3205                 :       21168 :  && (((inter_int || inter_ptr) && final_int)
    3206                 :       21168 :  || (inter_float && final_float))
    3207                 :       21713 :  && inter_prec >= final_prec
    3208                 :             : )
    3209                 :             :                 {
    3210                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1032;
    3211                 :           0 :                   {
    3212                 :           0 :                     tree res_op0;
    3213                 :           0 :                     res_op0 = captures[1];
    3214                 :           0 :                     tree _r;
    3215                 :           0 :                     _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    3216                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 742, __FILE__, __LINE__, true);
    3217                 :           0 :                     return _r;
    3218                 :             :                   }
    3219                 :           0 : next_after_fail1032:;
    3220                 :             :                 }
    3221                 :             :               else
    3222                 :             :                 {
    3223                 :       21713 :                   if (((inter_int && inside_int) || (inter_float && inside_float))
    3224                 :           0 :  && (final_int || final_float)
    3225                 :           0 :  && inter_prec >= inside_prec
    3226                 :           0 :  && (inter_float || inter_unsignedp == inside_unsignedp)
    3227                 :             : )
    3228                 :             :                     {
    3229                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1033;
    3230                 :           0 :                       {
    3231                 :           0 :                         tree res_op0;
    3232                 :           0 :                         res_op0 = captures[1];
    3233                 :           0 :                         tree _r;
    3234                 :           0 :                         _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    3235                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 743, __FILE__, __LINE__, true);
    3236                 :           0 :                         return _r;
    3237                 :             :                       }
    3238                 :           0 : next_after_fail1033:;
    3239                 :           0 :                     }
    3240                 :             :                   else
    3241                 :             :                     {
    3242                 :       21713 :                       if (inside_int && inter_int && final_int
    3243                 :           0 :  && ((inside_prec < inter_prec && inter_prec < final_prec
    3244                 :           0 :  && inside_unsignedp && !inter_unsignedp)
    3245                 :           0 :  || final_prec == inter_prec
    3246                 :           0 :  || (inside_prec < inter_prec && inter_prec > final_prec
    3247                 :           0 :  && !inside_unsignedp && inter_unsignedp))
    3248                 :             : )
    3249                 :             :                         {
    3250                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1034;
    3251                 :           0 :                           {
    3252                 :           0 :                             tree res_op0;
    3253                 :           0 :                             res_op0 = captures[1];
    3254                 :           0 :                             tree _r;
    3255                 :           0 :                             _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    3256                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 744, __FILE__, __LINE__, true);
    3257                 :           0 :                             return _r;
    3258                 :             :                           }
    3259                 :           0 : next_after_fail1034:;
    3260                 :           0 :                         }
    3261                 :             :                       else
    3262                 :             :                         {
    3263                 :       21713 :                           if (! inside_float && ! inter_float && ! final_float
    3264                 :             :  && ! inside_vec && ! inter_vec && ! final_vec
    3265                 :           0 :  && (inter_prec >= inside_prec || inter_prec >= final_prec)
    3266                 :           0 :  && ! (inside_int && inter_int
    3267                 :           0 :  && inter_unsignedp != inside_unsignedp
    3268                 :           0 :  && inter_prec < final_prec)
    3269                 :           0 :  && ((inter_unsignedp && inter_prec > inside_prec)
    3270                 :           0 :  == (final_unsignedp && final_prec > inter_prec))
    3271                 :           0 :  && ! (inside_ptr && inter_prec != final_prec)
    3272                 :           0 :  && ! (final_ptr && inside_prec != inter_prec)
    3273                 :             : )
    3274                 :             :                             {
    3275                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1035;
    3276                 :           0 :                               {
    3277                 :           0 :                                 tree res_op0;
    3278                 :           0 :                                 res_op0 = captures[1];
    3279                 :           0 :                                 tree _r;
    3280                 :           0 :                                 _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    3281                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 745, __FILE__, __LINE__, true);
    3282                 :           0 :                                 return _r;
    3283                 :             :                               }
    3284                 :           0 : next_after_fail1035:;
    3285                 :           0 :                             }
    3286                 :             :                           else
    3287                 :             :                             {
    3288                 :       21713 :                               if (inside_int && inter_int && final_int
    3289                 :           0 :  && final_prec <= inside_prec
    3290                 :           0 :  && inter_prec >= inside_prec
    3291                 :             : )
    3292                 :             :                                 {
    3293                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1036;
    3294                 :           0 :                                   {
    3295                 :           0 :                                     tree res_op0;
    3296                 :           0 :                                     res_op0 = captures[1];
    3297                 :           0 :                                     tree _r;
    3298                 :           0 :                                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3299                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 746, __FILE__, __LINE__, true);
    3300                 :           0 :                                     return _r;
    3301                 :             :                                   }
    3302                 :           0 : next_after_fail1036:;
    3303                 :           0 :                                 }
    3304                 :             :                               else
    3305                 :             :                                 {
    3306                 :             :                                   if (0
    3307                 :             :  && final_int && inter_int && inside_int
    3308                 :             :  && final_prec == inside_prec
    3309                 :             :  && final_prec > inter_prec
    3310                 :             :  && inter_unsignedp
    3311                 :             : )
    3312                 :             :                                     {
    3313                 :             :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1037;
    3314                 :             :                                       {
    3315                 :             :                                         tree res_op0;
    3316                 :             :                                         {
    3317                 :             :                                           tree _o1[2], _r1;
    3318                 :             :                                           _o1[0] = captures[1];
    3319                 :             :                                           _o1[1] =  wide_int_to_tree
    3320                 :             :  (inside_type,
    3321                 :             :  wi::mask (inter_prec, false,
    3322                 :             :  TYPE_PRECISION (inside_type)));
    3323                 :             :                                           _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3324                 :             :                                           res_op0 = _r1;
    3325                 :             :                                         }
    3326                 :             :                                         tree _r;
    3327                 :             :                                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3328                 :             :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 747, __FILE__, __LINE__, true);
    3329                 :             :                                         return _r;
    3330                 :             :                                       }
    3331                 :             : next_after_fail1037:;
    3332                 :             :                                     }
    3333                 :             :                                   else
    3334                 :             :                                     {
    3335                 :             :                                       if (0
    3336                 :             :  && inside_int && inter_float && final_int &&
    3337                 :             :  (unsigned) significand_size (TYPE_MODE (inter_type))
    3338                 :             :  >= inside_prec - !inside_unsignedp
    3339                 :             : )
    3340                 :             :                                         {
    3341                 :             :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1038;
    3342                 :             :                                           {
    3343                 :             :                                             tree res_op0;
    3344                 :             :                                             res_op0 = captures[1];
    3345                 :             :                                             tree _r;
    3346                 :             :                                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3347                 :             :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 748, __FILE__, __LINE__, true);
    3348                 :             :                                             return _r;
    3349                 :             :                                           }
    3350                 :             : next_after_fail1038:;
    3351                 :             :                                         }
    3352                 :             :                                     }
    3353                 :             :                                 }
    3354                 :             :                             }
    3355                 :             :                         }
    3356                 :             :                     }
    3357                 :             :                 }
    3358                 :             :           }
    3359                 :             :         }
    3360                 :       21713 :         break;
    3361                 :             :       }
    3362                 :             :     default:;
    3363                 :             :     }
    3364                 :             :   return NULL_TREE;
    3365                 :             : }
    3366                 :             : 
    3367                 :             : tree
    3368                 :      647054 : generic_simplify_BIT_XOR_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    3369                 :             : {
    3370                 :      647054 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3371                 :      647054 :   if (integer_zerop (_p1))
    3372                 :             :     {
    3373                 :         549 :       {
    3374                 :         549 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    3375                 :         549 :         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1148;
    3376                 :         549 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1148;
    3377                 :         549 :         {
    3378                 :         549 :           tree res_op0;
    3379                 :         549 :           res_op0 = captures[0];
    3380                 :         549 :           tree _r;
    3381                 :         549 :           _r = non_lvalue_loc (loc, res_op0);
    3382                 :         549 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 788, __FILE__, __LINE__, true);
    3383                 :         549 :           return _r;
    3384                 :             :         }
    3385                 :             : next_after_fail1148:;
    3386                 :             :       }
    3387                 :             :     }
    3388                 :      646505 :   switch (TREE_CODE (_p0))
    3389                 :             :     {
    3390                 :        3034 :     case LSHIFT_EXPR:
    3391                 :        3034 :       {
    3392                 :        3034 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3393                 :        3034 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3394                 :        3034 :         switch (TREE_CODE (_p1))
    3395                 :             :           {
    3396                 :          10 :           case LSHIFT_EXPR:
    3397                 :          10 :             {
    3398                 :          10 :               tree _q50 = TREE_OPERAND (_p1, 0);
    3399                 :          10 :               tree _q51 = TREE_OPERAND (_p1, 1);
    3400                 :          10 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    3401                 :             :                 {
    3402                 :           1 :                   {
    3403                 :           1 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    3404                 :           1 :                     tree res = generic_simplify_58 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    3405                 :           1 :                     if (res) return res;
    3406                 :             :                   }
    3407                 :             :                 }
    3408                 :             :               break;
    3409                 :             :             }
    3410                 :             :           default:;
    3411                 :             :           }
    3412                 :             :         break;
    3413                 :             :       }
    3414                 :        8571 :     case RSHIFT_EXPR:
    3415                 :        8571 :       {
    3416                 :        8571 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3417                 :        8571 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3418                 :        8571 :         switch (TREE_CODE (_p1))
    3419                 :             :           {
    3420                 :          12 :           case RSHIFT_EXPR:
    3421                 :          12 :             {
    3422                 :          12 :               tree _q50 = TREE_OPERAND (_p1, 0);
    3423                 :          12 :               tree _q51 = TREE_OPERAND (_p1, 1);
    3424                 :          12 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    3425                 :             :                 {
    3426                 :          10 :                   {
    3427                 :          10 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    3428                 :          10 :                     tree res = generic_simplify_59 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    3429                 :          10 :                     if (res) return res;
    3430                 :             :                   }
    3431                 :             :                 }
    3432                 :             :               break;
    3433                 :             :             }
    3434                 :             :           default:;
    3435                 :             :           }
    3436                 :             :         break;
    3437                 :             :       }
    3438                 :        1983 :     case BIT_AND_EXPR:
    3439                 :        1983 :       {
    3440                 :        1983 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3441                 :        1983 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3442                 :        1983 :         switch (TREE_CODE (_p1))
    3443                 :             :           {
    3444                 :         100 :           case BIT_AND_EXPR:
    3445                 :         100 :             {
    3446                 :         100 :               tree _q50 = TREE_OPERAND (_p1, 0);
    3447                 :         100 :               tree _q51 = TREE_OPERAND (_p1, 1);
    3448                 :         100 :               {
    3449                 :         100 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
    3450                 :         100 :                 tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    3451                 :         100 :                 if (res) return res;
    3452                 :             :               }
    3453                 :         100 :               {
    3454                 :         100 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q50 };
    3455                 :         100 :                 tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    3456                 :         100 :                 if (res) return res;
    3457                 :             :               }
    3458                 :         100 :               {
    3459                 :         100 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q51 };
    3460                 :         100 :                 tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    3461                 :         100 :                 if (res) return res;
    3462                 :             :               }
    3463                 :         100 :               {
    3464                 :         100 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q50 };
    3465                 :         100 :                 tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    3466                 :         100 :                 if (res) return res;
    3467                 :             :               }
    3468                 :         100 :               break;
    3469                 :             :             }
    3470                 :        1983 :           default:;
    3471                 :             :           }
    3472                 :        1983 :         switch (TREE_CODE (_q21))
    3473                 :             :           {
    3474                 :          23 :           case BIT_NOT_EXPR:
    3475                 :          23 :             {
    3476                 :          23 :               tree _q40 = TREE_OPERAND (_q21, 0);
    3477                 :          23 :               switch (TREE_CODE (_p1))
    3478                 :             :                 {
    3479                 :           0 :                 case BIT_NOT_EXPR:
    3480                 :           0 :                   {
    3481                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    3482                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    3483                 :             :                       {
    3484                 :           0 :                         {
    3485                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    3486                 :           0 :                           tree res = generic_simplify_137 (loc, type, _p0, _p1, captures);
    3487                 :           0 :                           if (res) return res;
    3488                 :             :                         }
    3489                 :             :                       }
    3490                 :             :                     break;
    3491                 :             :                   }
    3492                 :             :                 default:;
    3493                 :             :                 }
    3494                 :             :               break;
    3495                 :             :             }
    3496                 :        1983 :           default:;
    3497                 :             :           }
    3498                 :        1983 :         switch (TREE_CODE (_q20))
    3499                 :             :           {
    3500                 :          72 :           case BIT_NOT_EXPR:
    3501                 :          72 :             {
    3502                 :          72 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3503                 :          72 :               switch (TREE_CODE (_p1))
    3504                 :             :                 {
    3505                 :           0 :                 case BIT_NOT_EXPR:
    3506                 :           0 :                   {
    3507                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    3508                 :           0 :                     if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
    3509                 :             :                       {
    3510                 :           0 :                         {
    3511                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q30 };
    3512                 :           0 :                           tree res = generic_simplify_137 (loc, type, _p0, _p1, captures);
    3513                 :           0 :                           if (res) return res;
    3514                 :             :                         }
    3515                 :             :                       }
    3516                 :             :                     break;
    3517                 :             :                   }
    3518                 :          72 :                 default:;
    3519                 :             :                 }
    3520                 :          72 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    3521                 :             :                 {
    3522                 :           0 :                   {
    3523                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q21 };
    3524                 :           0 :                     tree res = generic_simplify_138 (loc, type, _p0, _p1, captures);
    3525                 :           0 :                     if (res) return res;
    3526                 :             :                   }
    3527                 :             :                 }
    3528                 :             :               break;
    3529                 :             :             }
    3530                 :        1983 :           default:;
    3531                 :             :           }
    3532                 :        1983 :         switch (TREE_CODE (_q21))
    3533                 :             :           {
    3534                 :          23 :           case BIT_NOT_EXPR:
    3535                 :          23 :             {
    3536                 :          23 :               tree _q40 = TREE_OPERAND (_q21, 0);
    3537                 :          23 :               if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    3538                 :             :                 {
    3539                 :           0 :                   {
    3540                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q20 };
    3541                 :           0 :                     tree res = generic_simplify_138 (loc, type, _p0, _p1, captures);
    3542                 :           0 :                     if (res) return res;
    3543                 :             :                   }
    3544                 :             :                 }
    3545                 :             :               break;
    3546                 :             :             }
    3547                 :             :           default:;
    3548                 :             :           }
    3549                 :             :         break;
    3550                 :             :       }
    3551                 :         175 :     case BIT_NOT_EXPR:
    3552                 :         175 :       {
    3553                 :         175 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3554                 :         175 :         switch (TREE_CODE (_p1))
    3555                 :             :           {
    3556                 :          15 :           case BIT_AND_EXPR:
    3557                 :          15 :             {
    3558                 :          15 :               tree _q40 = TREE_OPERAND (_p1, 0);
    3559                 :          15 :               tree _q41 = TREE_OPERAND (_p1, 1);
    3560                 :          15 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
    3561                 :             :                 {
    3562                 :           0 :                   switch (TREE_CODE (_q41))
    3563                 :             :                     {
    3564                 :           0 :                     case BIT_NOT_EXPR:
    3565                 :           0 :                       {
    3566                 :           0 :                         tree _q60 = TREE_OPERAND (_q41, 0);
    3567                 :           0 :                         {
    3568                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q60 };
    3569                 :           0 :                           tree res = generic_simplify_137 (loc, type, _p0, _p1, captures);
    3570                 :           0 :                           if (res) return res;
    3571                 :             :                         }
    3572                 :           0 :                         break;
    3573                 :             :                       }
    3574                 :             :                     default:;
    3575                 :             :                     }
    3576                 :             :                 }
    3577                 :          15 :               switch (TREE_CODE (_q40))
    3578                 :             :                 {
    3579                 :           7 :                 case BIT_NOT_EXPR:
    3580                 :           7 :                   {
    3581                 :           7 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    3582                 :           7 :                     if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    3583                 :             :                       {
    3584                 :           0 :                         {
    3585                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q50 };
    3586                 :           0 :                           tree res = generic_simplify_137 (loc, type, _p0, _p1, captures);
    3587                 :           0 :                           if (res) return res;
    3588                 :             :                         }
    3589                 :             :                       }
    3590                 :             :                     break;
    3591                 :             :                   }
    3592                 :             :                 default:;
    3593                 :             :                 }
    3594                 :             :               break;
    3595                 :             :             }
    3596                 :             :           default:;
    3597                 :             :           }
    3598                 :             :         break;
    3599                 :             :       }
    3600                 :      646494 :     default:;
    3601                 :             :     }
    3602                 :      646494 :   switch (TREE_CODE (_p1))
    3603                 :             :     {
    3604                 :         335 :     case BIT_AND_EXPR:
    3605                 :         335 :       {
    3606                 :         335 :         tree _q30 = TREE_OPERAND (_p1, 0);
    3607                 :         335 :         tree _q31 = TREE_OPERAND (_p1, 1);
    3608                 :         335 :         switch (TREE_CODE (_q30))
    3609                 :             :           {
    3610                 :          57 :           case BIT_NOT_EXPR:
    3611                 :          57 :             {
    3612                 :          57 :               tree _q40 = TREE_OPERAND (_q30, 0);
    3613                 :          57 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    3614                 :             :                 {
    3615                 :           0 :                   {
    3616                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
    3617                 :           0 :                     tree res = generic_simplify_138 (loc, type, _p0, _p1, captures);
    3618                 :           0 :                     if (res) return res;
    3619                 :             :                   }
    3620                 :             :                 }
    3621                 :             :               break;
    3622                 :             :             }
    3623                 :         335 :           default:;
    3624                 :             :           }
    3625                 :         335 :         switch (TREE_CODE (_q31))
    3626                 :             :           {
    3627                 :           8 :           case BIT_NOT_EXPR:
    3628                 :           8 :             {
    3629                 :           8 :               tree _q50 = TREE_OPERAND (_q31, 0);
    3630                 :           8 :               if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    3631                 :             :                 {
    3632                 :           0 :                   {
    3633                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q30 };
    3634                 :           0 :                     tree res = generic_simplify_138 (loc, type, _p0, _p1, captures);
    3635                 :           0 :                     if (res) return res;
    3636                 :             :                   }
    3637                 :             :                 }
    3638                 :             :               break;
    3639                 :             :             }
    3640                 :             :           default:;
    3641                 :             :           }
    3642                 :             :         break;
    3643                 :             :       }
    3644                 :      646494 :     default:;
    3645                 :             :     }
    3646                 :      646494 :   switch (TREE_CODE (_p0))
    3647                 :             :     {
    3648                 :         584 :     case BIT_IOR_EXPR:
    3649                 :         584 :       {
    3650                 :         584 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3651                 :         584 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3652                 :         584 :         switch (TREE_CODE (_q20))
    3653                 :             :           {
    3654                 :         346 :           case BIT_NOT_EXPR:
    3655                 :         346 :             {
    3656                 :         346 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3657                 :         346 :               {
    3658                 :         346 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _p1 };
    3659                 :         346 :                 tree res = generic_simplify_139 (loc, type, _p0, _p1, captures);
    3660                 :         346 :                 if (res) return res;
    3661                 :             :               }
    3662                 :         345 :               break;
    3663                 :             :             }
    3664                 :         583 :           default:;
    3665                 :             :           }
    3666                 :         583 :         switch (TREE_CODE (_q21))
    3667                 :             :           {
    3668                 :           8 :           case BIT_NOT_EXPR:
    3669                 :           8 :             {
    3670                 :           8 :               tree _q40 = TREE_OPERAND (_q21, 0);
    3671                 :           8 :               {
    3672                 :           8 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q20, _p1 };
    3673                 :           8 :                 tree res = generic_simplify_139 (loc, type, _p0, _p1, captures);
    3674                 :           8 :                 if (res) return res;
    3675                 :             :               }
    3676                 :           8 :               break;
    3677                 :             :             }
    3678                 :             :           default:;
    3679                 :             :           }
    3680                 :             :         break;
    3681                 :             :       }
    3682                 :      646493 :     default:;
    3683                 :             :     }
    3684                 :      646493 :   switch (TREE_CODE (_p1))
    3685                 :             :     {
    3686                 :         323 :     case BIT_IOR_EXPR:
    3687                 :         323 :       {
    3688                 :         323 :         tree _q30 = TREE_OPERAND (_p1, 0);
    3689                 :         323 :         tree _q31 = TREE_OPERAND (_p1, 1);
    3690                 :         323 :         switch (TREE_CODE (_q30))
    3691                 :             :           {
    3692                 :           3 :           case BIT_NOT_EXPR:
    3693                 :           3 :             {
    3694                 :           3 :               tree _q40 = TREE_OPERAND (_q30, 0);
    3695                 :           3 :               {
    3696                 :           3 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q31, _p0 };
    3697                 :           3 :                 tree res = generic_simplify_139 (loc, type, _p0, _p1, captures);
    3698                 :           3 :                 if (res) return res;
    3699                 :             :               }
    3700                 :           3 :               break;
    3701                 :             :             }
    3702                 :         323 :           default:;
    3703                 :             :           }
    3704                 :         323 :         switch (TREE_CODE (_q31))
    3705                 :             :           {
    3706                 :          25 :           case BIT_NOT_EXPR:
    3707                 :          25 :             {
    3708                 :          25 :               tree _q50 = TREE_OPERAND (_q31, 0);
    3709                 :          25 :               {
    3710                 :          25 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q31, _q50, _q30, _p0 };
    3711                 :          25 :                 tree res = generic_simplify_139 (loc, type, _p0, _p1, captures);
    3712                 :          25 :                 if (res) return res;
    3713                 :             :               }
    3714                 :          25 :               break;
    3715                 :             :             }
    3716                 :             :           default:;
    3717                 :             :           }
    3718                 :             :         break;
    3719                 :             :       }
    3720                 :      646493 :     default:;
    3721                 :             :     }
    3722                 :      646493 :   switch (TREE_CODE (_p0))
    3723                 :             :     {
    3724                 :        1983 :     case BIT_AND_EXPR:
    3725                 :        1983 :       {
    3726                 :        1983 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3727                 :        1983 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3728                 :        1983 :         switch (TREE_CODE (_q20))
    3729                 :             :           {
    3730                 :          72 :           case BIT_NOT_EXPR:
    3731                 :          72 :             {
    3732                 :          72 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3733                 :          72 :               {
    3734                 :          72 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _p1 };
    3735                 :          72 :                 tree res = generic_simplify_140 (loc, type, _p0, _p1, captures);
    3736                 :          72 :                 if (res) return res;
    3737                 :             :               }
    3738                 :          71 :               break;
    3739                 :             :             }
    3740                 :        1982 :           default:;
    3741                 :             :           }
    3742                 :        1982 :         switch (TREE_CODE (_q21))
    3743                 :             :           {
    3744                 :          23 :           case BIT_NOT_EXPR:
    3745                 :          23 :             {
    3746                 :          23 :               tree _q40 = TREE_OPERAND (_q21, 0);
    3747                 :          23 :               {
    3748                 :          23 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q20, _p1 };
    3749                 :          23 :                 tree res = generic_simplify_140 (loc, type, _p0, _p1, captures);
    3750                 :          23 :                 if (res) return res;
    3751                 :             :               }
    3752                 :          23 :               break;
    3753                 :             :             }
    3754                 :             :           default:;
    3755                 :             :           }
    3756                 :             :         break;
    3757                 :             :       }
    3758                 :      646492 :     default:;
    3759                 :             :     }
    3760                 :      646492 :   switch (TREE_CODE (_p1))
    3761                 :             :     {
    3762                 :         335 :     case BIT_AND_EXPR:
    3763                 :         335 :       {
    3764                 :         335 :         tree _q30 = TREE_OPERAND (_p1, 0);
    3765                 :         335 :         tree _q31 = TREE_OPERAND (_p1, 1);
    3766                 :         335 :         switch (TREE_CODE (_q30))
    3767                 :             :           {
    3768                 :          57 :           case BIT_NOT_EXPR:
    3769                 :          57 :             {
    3770                 :          57 :               tree _q40 = TREE_OPERAND (_q30, 0);
    3771                 :          57 :               {
    3772                 :          57 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q31, _p0 };
    3773                 :          57 :                 tree res = generic_simplify_140 (loc, type, _p0, _p1, captures);
    3774                 :          57 :                 if (res) return res;
    3775                 :             :               }
    3776                 :          57 :               break;
    3777                 :             :             }
    3778                 :         335 :           default:;
    3779                 :             :           }
    3780                 :         335 :         switch (TREE_CODE (_q31))
    3781                 :             :           {
    3782                 :           8 :           case BIT_NOT_EXPR:
    3783                 :           8 :             {
    3784                 :           8 :               tree _q50 = TREE_OPERAND (_q31, 0);
    3785                 :           8 :               {
    3786                 :           8 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q31, _q50, _q30, _p0 };
    3787                 :           8 :                 tree res = generic_simplify_140 (loc, type, _p0, _p1, captures);
    3788                 :           8 :                 if (res) return res;
    3789                 :             :               }
    3790                 :           8 :               break;
    3791                 :             :             }
    3792                 :             :           default:;
    3793                 :             :           }
    3794                 :             :         break;
    3795                 :             :       }
    3796                 :      646492 :     default:;
    3797                 :             :     }
    3798                 :      646492 :   switch (TREE_CODE (_p0))
    3799                 :             :     {
    3800                 :      471592 :     CASE_CONVERT:
    3801                 :      471592 :       {
    3802                 :      471592 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3803                 :      471592 :         switch (TREE_CODE (_p1))
    3804                 :             :           {
    3805                 :      467991 :           CASE_CONVERT:
    3806                 :      467991 :             {
    3807                 :      467991 :               tree _q40 = TREE_OPERAND (_p1, 0);
    3808                 :      467991 :               {
    3809                 :      467991 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    3810                 :      467991 :                 tree res = generic_simplify_77 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    3811                 :      467991 :                 if (res) return res;
    3812                 :             :               }
    3813                 :      467991 :               break;
    3814                 :             :             }
    3815                 :      471592 :           default:;
    3816                 :             :           }
    3817                 :      471592 :         switch (TREE_CODE (_q20))
    3818                 :             :           {
    3819                 :          24 :           case BIT_AND_EXPR:
    3820                 :          24 :             {
    3821                 :          24 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3822                 :          24 :               tree _q31 = TREE_OPERAND (_q20, 1);
    3823                 :          24 :               switch (TREE_CODE (_q31))
    3824                 :             :                 {
    3825                 :           0 :                 case INTEGER_CST:
    3826                 :           0 :                   {
    3827                 :           0 :                     switch (TREE_CODE (_p1))
    3828                 :             :                       {
    3829                 :           0 :                       CASE_CONVERT:
    3830                 :           0 :                         {
    3831                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    3832                 :           0 :                           switch (TREE_CODE (_q60))
    3833                 :             :                             {
    3834                 :           0 :                             case BIT_AND_EXPR:
    3835                 :           0 :                               {
    3836                 :           0 :                                 tree _q70 = TREE_OPERAND (_q60, 0);
    3837                 :           0 :                                 tree _q71 = TREE_OPERAND (_q60, 1);
    3838                 :           0 :                                 switch (TREE_CODE (_q71))
    3839                 :             :                                   {
    3840                 :           0 :                                   case INTEGER_CST:
    3841                 :           0 :                                     {
    3842                 :           0 :                                       {
    3843                 :           0 :                                         tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q60, _q70, _q71 };
    3844                 :           0 :                                         tree res = generic_simplify_10 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    3845                 :           0 :                                         if (res) return res;
    3846                 :             :                                       }
    3847                 :           0 :                                       break;
    3848                 :             :                                     }
    3849                 :             :                                   default:;
    3850                 :             :                                   }
    3851                 :             :                                 break;
    3852                 :             :                               }
    3853                 :             :                             default:;
    3854                 :             :                             }
    3855                 :             :                           break;
    3856                 :             :                         }
    3857                 :           0 :                       case BIT_AND_EXPR:
    3858                 :           0 :                         {
    3859                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    3860                 :           0 :                           tree _q61 = TREE_OPERAND (_p1, 1);
    3861                 :           0 :                           switch (TREE_CODE (_q61))
    3862                 :             :                             {
    3863                 :           0 :                             case INTEGER_CST:
    3864                 :           0 :                               {
    3865                 :           0 :                                 {
    3866                 :           0 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1, _q60, _q61 };
    3867                 :           0 :                                   tree res = generic_simplify_10 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    3868                 :           0 :                                   if (res) return res;
    3869                 :             :                                 }
    3870                 :           0 :                                 break;
    3871                 :             :                               }
    3872                 :             :                             default:;
    3873                 :             :                             }
    3874                 :             :                           break;
    3875                 :             :                         }
    3876                 :             :                       default:;
    3877                 :             :                       }
    3878                 :             :                     break;
    3879                 :             :                   }
    3880                 :             :                 default:;
    3881                 :             :                 }
    3882                 :             :               break;
    3883                 :             :             }
    3884                 :          16 :           case BIT_IOR_EXPR:
    3885                 :          16 :             {
    3886                 :          16 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3887                 :          16 :               tree _q31 = TREE_OPERAND (_q20, 1);
    3888                 :          16 :               switch (TREE_CODE (_p1))
    3889                 :             :                 {
    3890                 :          16 :                 CASE_CONVERT:
    3891                 :          16 :                   {
    3892                 :          16 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    3893                 :          16 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
    3894                 :             :                       {
    3895                 :           0 :                         {
    3896                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q30 };
    3897                 :           0 :                           tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    3898                 :           0 :                           if (res) return res;
    3899                 :             :                         }
    3900                 :             :                       }
    3901                 :          16 :                     if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
    3902                 :             :                       {
    3903                 :           0 :                         {
    3904                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q31 };
    3905                 :           0 :                           tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    3906                 :           0 :                           if (res) return res;
    3907                 :             :                         }
    3908                 :             :                       }
    3909                 :             :                     break;
    3910                 :             :                   }
    3911                 :          16 :                 default:;
    3912                 :             :                 }
    3913                 :          16 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q30, 0))
    3914                 :             :                 {
    3915                 :           0 :                   {
    3916                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q30 };
    3917                 :           0 :                     tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    3918                 :           0 :                     if (res) return res;
    3919                 :             :                   }
    3920                 :             :                 }
    3921                 :          16 :               if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
    3922                 :             :                 {
    3923                 :           0 :                   {
    3924                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q31 };
    3925                 :           0 :                     tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    3926                 :           0 :                     if (res) return res;
    3927                 :             :                   }
    3928                 :             :                 }
    3929                 :             :               break;
    3930                 :             :             }
    3931                 :      471592 :           default:;
    3932                 :             :           }
    3933                 :      471592 :         switch (TREE_CODE (_p1))
    3934                 :             :           {
    3935                 :      467991 :           CASE_CONVERT:
    3936                 :      467991 :             {
    3937                 :      467991 :               tree _q40 = TREE_OPERAND (_p1, 0);
    3938                 :      467991 :               switch (TREE_CODE (_q40))
    3939                 :             :                 {
    3940                 :           0 :                 case BIT_IOR_EXPR:
    3941                 :           0 :                   {
    3942                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    3943                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    3944                 :           0 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    3945                 :             :                       {
    3946                 :           0 :                         {
    3947                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
    3948                 :           0 :                           tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    3949                 :           0 :                           if (res) return res;
    3950                 :             :                         }
    3951                 :             :                       }
    3952                 :           0 :                     if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
    3953                 :             :                       {
    3954                 :           0 :                         {
    3955                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q20 };
    3956                 :           0 :                           tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    3957                 :           0 :                           if (res) return res;
    3958                 :             :                         }
    3959                 :             :                       }
    3960                 :             :                     break;
    3961                 :             :                   }
    3962                 :             :                 default:;
    3963                 :             :                 }
    3964                 :             :               break;
    3965                 :             :             }
    3966                 :          26 :           case BIT_IOR_EXPR:
    3967                 :          26 :             {
    3968                 :          26 :               tree _q40 = TREE_OPERAND (_p1, 0);
    3969                 :          26 :               tree _q41 = TREE_OPERAND (_p1, 1);
    3970                 :          26 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _q20, 0))
    3971                 :             :                 {
    3972                 :           0 :                   {
    3973                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
    3974                 :           0 :                     tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    3975                 :           0 :                     if (res) return res;
    3976                 :             :                   }
    3977                 :             :                 }
    3978                 :          26 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q20, 0))
    3979                 :             :                 {
    3980                 :           0 :                   {
    3981                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
    3982                 :           0 :                     tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    3983                 :           0 :                     if (res) return res;
    3984                 :             :                   }
    3985                 :             :                 }
    3986                 :             :               break;
    3987                 :             :             }
    3988                 :             :           default:;
    3989                 :             :           }
    3990                 :             :         break;
    3991                 :             :       }
    3992                 :      646492 :     default:;
    3993                 :             :     }
    3994                 :      646492 :   {
    3995                 :      646492 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    3996                 :      646492 :     tree res = generic_simplify_77 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    3997                 :      646492 :     if (res) return res;
    3998                 :             :   }
    3999                 :      646471 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    4000                 :             :     {
    4001                 :         109 :       {
    4002                 :         109 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4003                 :         109 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1149;
    4004                 :         109 :         {
    4005                 :         109 :           tree _r;
    4006                 :         109 :           _r =  build_zero_cst (type);
    4007                 :         109 :           if (TREE_SIDE_EFFECTS (captures[0]))
    4008                 :           0 :             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    4009                 :         109 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 837, __FILE__, __LINE__, true);
    4010                 :         109 :           return _r;
    4011                 :             :         }
    4012                 :           0 : next_after_fail1149:;
    4013                 :             :       }
    4014                 :             :     }
    4015                 :      646362 :   if (integer_all_onesp (_p1))
    4016                 :             :     {
    4017                 :         739 :       {
    4018                 :         739 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    4019                 :         739 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1150;
    4020                 :         739 :         {
    4021                 :         739 :           tree res_op0;
    4022                 :         739 :           res_op0 = captures[0];
    4023                 :         739 :           tree _r;
    4024                 :         739 :           _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    4025                 :         739 :           if (TREE_SIDE_EFFECTS (captures[1]))
    4026                 :           0 :             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    4027                 :         739 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 838, __FILE__, __LINE__, true);
    4028                 :         739 :           return _r;
    4029                 :             :         }
    4030                 :           0 : next_after_fail1150:;
    4031                 :             :       }
    4032                 :             :     }
    4033                 :      645623 :   switch (TREE_CODE (_p0))
    4034                 :             :     {
    4035                 :         576 :     case BIT_IOR_EXPR:
    4036                 :         576 :       {
    4037                 :         576 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4038                 :         576 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4039                 :         576 :         switch (TREE_CODE (_p1))
    4040                 :             :           {
    4041                 :          98 :           case BIT_IOR_EXPR:
    4042                 :          98 :             {
    4043                 :          98 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4044                 :          98 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4045                 :          98 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4046                 :             :                 {
    4047                 :           0 :                   switch (TREE_CODE (_q51))
    4048                 :             :                     {
    4049                 :           0 :                     case BIT_NOT_EXPR:
    4050                 :           0 :                       {
    4051                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    4052                 :           0 :                         if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
    4053                 :             :                           {
    4054                 :           0 :                             {
    4055                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4056                 :           0 :                               tree res = generic_simplify_142 (loc, type, _p0, _p1, captures);
    4057                 :           0 :                               if (res) return res;
    4058                 :             :                             }
    4059                 :             :                           }
    4060                 :             :                         break;
    4061                 :             :                       }
    4062                 :             :                     default:;
    4063                 :             :                     }
    4064                 :             :                 }
    4065                 :          98 :               switch (TREE_CODE (_q50))
    4066                 :             :                 {
    4067                 :           2 :                 case BIT_NOT_EXPR:
    4068                 :           2 :                   {
    4069                 :           2 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    4070                 :           2 :                     if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
    4071                 :             :                       {
    4072                 :           2 :                         if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    4073                 :             :                           {
    4074                 :           1 :                             {
    4075                 :           1 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4076                 :           1 :                               tree res = generic_simplify_142 (loc, type, _p0, _p1, captures);
    4077                 :           1 :                               if (res) return res;
    4078                 :             :                             }
    4079                 :             :                           }
    4080                 :             :                       }
    4081                 :           1 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4082                 :             :                       {
    4083                 :           0 :                         if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4084                 :             :                           {
    4085                 :           0 :                             {
    4086                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    4087                 :           0 :                               tree res = generic_simplify_142 (loc, type, _p0, _p1, captures);
    4088                 :           0 :                               if (res) return res;
    4089                 :             :                             }
    4090                 :             :                           }
    4091                 :             :                       }
    4092                 :             :                     break;
    4093                 :             :                   }
    4094                 :          97 :                 default:;
    4095                 :             :                 }
    4096                 :          97 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    4097                 :             :                 {
    4098                 :           0 :                   switch (TREE_CODE (_q51))
    4099                 :             :                     {
    4100                 :           0 :                     case BIT_NOT_EXPR:
    4101                 :           0 :                       {
    4102                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    4103                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    4104                 :             :                           {
    4105                 :           0 :                             {
    4106                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    4107                 :           0 :                               tree res = generic_simplify_142 (loc, type, _p0, _p1, captures);
    4108                 :           0 :                               if (res) return res;
    4109                 :             :                             }
    4110                 :             :                           }
    4111                 :             :                         break;
    4112                 :             :                       }
    4113                 :             :                     default:;
    4114                 :             :                     }
    4115                 :             :                 }
    4116                 :             :               break;
    4117                 :             :             }
    4118                 :         575 :           default:;
    4119                 :             :           }
    4120                 :         575 :         switch (TREE_CODE (_q21))
    4121                 :             :           {
    4122                 :           8 :           case BIT_NOT_EXPR:
    4123                 :           8 :             {
    4124                 :           8 :               tree _q40 = TREE_OPERAND (_q21, 0);
    4125                 :           8 :               switch (TREE_CODE (_p1))
    4126                 :             :                 {
    4127                 :           0 :                 case BIT_IOR_EXPR:
    4128                 :           0 :                   {
    4129                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    4130                 :           0 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    4131                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4132                 :             :                       {
    4133                 :           0 :                         if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
    4134                 :             :                           {
    4135                 :           0 :                             {
    4136                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    4137                 :           0 :                               tree res = generic_simplify_142 (loc, type, _p0, _p1, captures);
    4138                 :           0 :                               if (res) return res;
    4139                 :             :                             }
    4140                 :             :                           }
    4141                 :             :                       }
    4142                 :             :                     break;
    4143                 :             :                   }
    4144                 :             :                 default:;
    4145                 :             :                 }
    4146                 :             :               break;
    4147                 :             :             }
    4148                 :         575 :           default:;
    4149                 :             :           }
    4150                 :         575 :         switch (TREE_CODE (_q20))
    4151                 :             :           {
    4152                 :         345 :           case BIT_NOT_EXPR:
    4153                 :         345 :             {
    4154                 :         345 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4155                 :         345 :               switch (TREE_CODE (_p1))
    4156                 :             :                 {
    4157                 :           1 :                 case BIT_IOR_EXPR:
    4158                 :           1 :                   {
    4159                 :           1 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    4160                 :           1 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    4161                 :           1 :                     if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
    4162                 :             :                       {
    4163                 :           0 :                         if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    4164                 :             :                           {
    4165                 :           0 :                             {
    4166                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q30 };
    4167                 :           0 :                               tree res = generic_simplify_142 (loc, type, _p0, _p1, captures);
    4168                 :           0 :                               if (res) return res;
    4169                 :             :                             }
    4170                 :             :                           }
    4171                 :             :                       }
    4172                 :           1 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    4173                 :             :                       {
    4174                 :           0 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    4175                 :             :                           {
    4176                 :           0 :                             {
    4177                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q30 };
    4178                 :           0 :                               tree res = generic_simplify_142 (loc, type, _p0, _p1, captures);
    4179                 :           0 :                               if (res) return res;
    4180                 :             :                             }
    4181                 :             :                           }
    4182                 :           0 :                         switch (TREE_CODE (_q61))
    4183                 :             :                           {
    4184                 :           0 :                           case BIT_NOT_EXPR:
    4185                 :           0 :                             {
    4186                 :           0 :                               tree _q80 = TREE_OPERAND (_q61, 0);
    4187                 :           0 :                               if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
    4188                 :             :                                 {
    4189                 :           0 :                                   {
    4190                 :           0 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    4191                 :           0 :                                     tree res = generic_simplify_143 (loc, type, _p0, _p1, captures);
    4192                 :           0 :                                     if (res) return res;
    4193                 :             :                                   }
    4194                 :             :                                 }
    4195                 :             :                               break;
    4196                 :             :                             }
    4197                 :             :                           default:;
    4198                 :             :                           }
    4199                 :             :                       }
    4200                 :           1 :                     switch (TREE_CODE (_q60))
    4201                 :             :                       {
    4202                 :           1 :                       case BIT_NOT_EXPR:
    4203                 :           1 :                         {
    4204                 :           1 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    4205                 :           1 :                           if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
    4206                 :             :                             {
    4207                 :           1 :                               if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    4208                 :             :                                 {
    4209                 :           1 :                                   {
    4210                 :           1 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    4211                 :           1 :                                     tree res = generic_simplify_143 (loc, type, _p0, _p1, captures);
    4212                 :           1 :                                     if (res) return res;
    4213                 :             :                                   }
    4214                 :             :                                 }
    4215                 :             :                             }
    4216                 :             :                           break;
    4217                 :             :                         }
    4218                 :             :                       default:;
    4219                 :             :                       }
    4220                 :             :                     break;
    4221                 :             :                   }
    4222                 :           0 :                 case BIT_XOR_EXPR:
    4223                 :           0 :                   {
    4224                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    4225                 :           0 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    4226                 :           0 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    4227                 :             :                       {
    4228                 :           0 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    4229                 :             :                           {
    4230                 :           0 :                             {
    4231                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q21, _p1 };
    4232                 :           0 :                               tree res = generic_simplify_144 (loc, type, _p0, _p1, captures);
    4233                 :           0 :                               if (res) return res;
    4234                 :             :                             }
    4235                 :             :                           }
    4236                 :             :                       }
    4237                 :             :                     break;
    4238                 :             :                   }
    4239                 :         344 :                 default:;
    4240                 :             :                 }
    4241                 :         344 :               {
    4242                 :         344 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p1 };
    4243                 :         344 :                 tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4244                 :         344 :                 if (res) return res;
    4245                 :             :               }
    4246                 :         296 :               break;
    4247                 :             :             }
    4248                 :         526 :           default:;
    4249                 :             :           }
    4250                 :         526 :         switch (TREE_CODE (_q21))
    4251                 :             :           {
    4252                 :           8 :           case BIT_NOT_EXPR:
    4253                 :           8 :             {
    4254                 :           8 :               tree _q40 = TREE_OPERAND (_q21, 0);
    4255                 :           8 :               switch (TREE_CODE (_p1))
    4256                 :             :                 {
    4257                 :           0 :                 case BIT_IOR_EXPR:
    4258                 :           0 :                   {
    4259                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    4260                 :           0 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    4261                 :           0 :                     if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    4262                 :             :                       {
    4263                 :           0 :                         if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
    4264                 :             :                           {
    4265                 :           0 :                             {
    4266                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    4267                 :           0 :                               tree res = generic_simplify_142 (loc, type, _p0, _p1, captures);
    4268                 :           0 :                               if (res) return res;
    4269                 :             :                             }
    4270                 :             :                           }
    4271                 :             :                       }
    4272                 :             :                     break;
    4273                 :             :                   }
    4274                 :           0 :                 case BIT_XOR_EXPR:
    4275                 :           0 :                   {
    4276                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    4277                 :           0 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    4278                 :           0 :                     if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    4279                 :             :                       {
    4280                 :           0 :                         if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
    4281                 :             :                           {
    4282                 :           0 :                             {
    4283                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q40, _q20, _p1 };
    4284                 :           0 :                               tree res = generic_simplify_144 (loc, type, _p0, _p1, captures);
    4285                 :           0 :                               if (res) return res;
    4286                 :             :                             }
    4287                 :             :                           }
    4288                 :             :                       }
    4289                 :             :                     break;
    4290                 :             :                   }
    4291                 :             :                 default:;
    4292                 :             :                 }
    4293                 :             :               break;
    4294                 :             :             }
    4295                 :         526 :           default:;
    4296                 :             :           }
    4297                 :         526 :         switch (TREE_CODE (_p1))
    4298                 :             :           {
    4299                 :           2 :           case BIT_AND_EXPR:
    4300                 :           2 :             {
    4301                 :           2 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4302                 :           2 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4303                 :           2 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4304                 :             :                 {
    4305                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4306                 :             :                     {
    4307                 :           0 :                       {
    4308                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4309                 :           0 :                         tree res = generic_simplify_146 (loc, type, _p0, _p1, captures);
    4310                 :           0 :                         if (res) return res;
    4311                 :             :                       }
    4312                 :             :                     }
    4313                 :             :                 }
    4314                 :             :               break;
    4315                 :             :             }
    4316                 :           0 :           case BIT_XOR_EXPR:
    4317                 :           0 :             {
    4318                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4319                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4320                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4321                 :             :                 {
    4322                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4323                 :             :                     {
    4324                 :           0 :                       {
    4325                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4326                 :           0 :                         tree res = generic_simplify_147 (loc, type, _p0, _p1, captures);
    4327                 :           0 :                         if (res) return res;
    4328                 :             :                       }
    4329                 :             :                     }
    4330                 :             :                 }
    4331                 :             :               break;
    4332                 :             :             }
    4333                 :         526 :           default:;
    4334                 :             :           }
    4335                 :         526 :         switch (TREE_CODE (_q21))
    4336                 :             :           {
    4337                 :           8 :           case BIT_NOT_EXPR:
    4338                 :           8 :             {
    4339                 :           8 :               tree _q40 = TREE_OPERAND (_q21, 0);
    4340                 :           8 :               switch (TREE_CODE (_p1))
    4341                 :             :                 {
    4342                 :           0 :                 case BIT_IOR_EXPR:
    4343                 :           0 :                   {
    4344                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    4345                 :           0 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    4346                 :           0 :                     if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    4347                 :             :                       {
    4348                 :           0 :                         switch (TREE_CODE (_q61))
    4349                 :             :                           {
    4350                 :           0 :                           case BIT_NOT_EXPR:
    4351                 :           0 :                             {
    4352                 :           0 :                               tree _q80 = TREE_OPERAND (_q61, 0);
    4353                 :           0 :                               if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    4354                 :             :                                 {
    4355                 :           0 :                                   {
    4356                 :           0 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    4357                 :           0 :                                     tree res = generic_simplify_143 (loc, type, _p0, _p1, captures);
    4358                 :           0 :                                     if (res) return res;
    4359                 :             :                                   }
    4360                 :             :                                 }
    4361                 :             :                               break;
    4362                 :             :                             }
    4363                 :             :                           default:;
    4364                 :             :                           }
    4365                 :             :                       }
    4366                 :           0 :                     switch (TREE_CODE (_q60))
    4367                 :             :                       {
    4368                 :           0 :                       case BIT_NOT_EXPR:
    4369                 :           0 :                         {
    4370                 :           0 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    4371                 :           0 :                           if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    4372                 :             :                             {
    4373                 :           0 :                               if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
    4374                 :             :                                 {
    4375                 :           0 :                                   {
    4376                 :           0 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    4377                 :           0 :                                     tree res = generic_simplify_143 (loc, type, _p0, _p1, captures);
    4378                 :           0 :                                     if (res) return res;
    4379                 :             :                                   }
    4380                 :             :                                 }
    4381                 :             :                             }
    4382                 :             :                           break;
    4383                 :             :                         }
    4384                 :             :                       default:;
    4385                 :             :                       }
    4386                 :             :                     break;
    4387                 :             :                   }
    4388                 :             :                 default:;
    4389                 :             :                 }
    4390                 :             :               break;
    4391                 :             :             }
    4392                 :         526 :           default:;
    4393                 :             :           }
    4394                 :         526 :         switch (TREE_CODE (_p1))
    4395                 :             :           {
    4396                 :          24 :           CASE_CONVERT:
    4397                 :          24 :             {
    4398                 :          24 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4399                 :          24 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    4400                 :             :                 {
    4401                 :           0 :                   {
    4402                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q20 };
    4403                 :           0 :                     tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    4404                 :           0 :                     if (res) return res;
    4405                 :             :                   }
    4406                 :             :                 }
    4407                 :          24 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
    4408                 :             :                 {
    4409                 :           0 :                   {
    4410                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q21 };
    4411                 :           0 :                     tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    4412                 :           0 :                     if (res) return res;
    4413                 :             :                   }
    4414                 :             :                 }
    4415                 :             :               break;
    4416                 :             :             }
    4417                 :         526 :           default:;
    4418                 :             :           }
    4419                 :         526 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q20, 0))
    4420                 :             :           {
    4421                 :           3 :             {
    4422                 :           3 :               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q20 };
    4423                 :           3 :               tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    4424                 :           3 :               if (res) return res;
    4425                 :             :             }
    4426                 :             :           }
    4427                 :         523 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
    4428                 :             :           {
    4429                 :           3 :             {
    4430                 :           3 :               tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q21 };
    4431                 :           3 :               tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    4432                 :           3 :               if (res) return res;
    4433                 :             :             }
    4434                 :             :           }
    4435                 :         520 :         {
    4436                 :         520 :           tree _q20_pops[1];
    4437                 :         520 :           if (tree_nop_convert (_q20, _q20_pops))
    4438                 :             :             {
    4439                 :           8 :               tree _q30 = _q20_pops[0];
    4440                 :           8 :               switch (TREE_CODE (_q30))
    4441                 :             :                 {
    4442                 :           8 :                 case BIT_NOT_EXPR:
    4443                 :           8 :                   {
    4444                 :           8 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    4445                 :           8 :                     {
    4446                 :           8 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q21, _p1 };
    4447                 :           8 :                       tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4448                 :           8 :                       if (res) return res;
    4449                 :             :                     }
    4450                 :           0 :                     break;
    4451                 :             :                   }
    4452                 :             :                 default:;
    4453                 :             :                 }
    4454                 :             : }
    4455                 :             :         }
    4456                 :         512 :         switch (TREE_CODE (_q21))
    4457                 :             :           {
    4458                 :           8 :           case BIT_NOT_EXPR:
    4459                 :           8 :             {
    4460                 :           8 :               tree _q40 = TREE_OPERAND (_q21, 0);
    4461                 :           8 :               {
    4462                 :           8 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q20, _p1 };
    4463                 :           8 :                 tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4464                 :           8 :                 if (res) return res;
    4465                 :             :               }
    4466                 :           0 :               break;
    4467                 :             :             }
    4468                 :         504 :           default:;
    4469                 :             :           }
    4470                 :         504 :       {
    4471                 :         504 :         tree _q21_pops[1];
    4472                 :         504 :         if (tree_nop_convert (_q21, _q21_pops))
    4473                 :             :           {
    4474                 :           0 :             tree _q40 = _q21_pops[0];
    4475                 :           0 :             switch (TREE_CODE (_q40))
    4476                 :             :               {
    4477                 :           0 :               case BIT_NOT_EXPR:
    4478                 :           0 :                 {
    4479                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    4480                 :           0 :                   {
    4481                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q20, _p1 };
    4482                 :           0 :                     tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4483                 :           0 :                     if (res) return res;
    4484                 :             :                   }
    4485                 :           0 :                   break;
    4486                 :             :                 }
    4487                 :             :               default:;
    4488                 :             :               }
    4489                 :             : }
    4490                 :             :       }
    4491                 :         504 :         break;
    4492                 :             :       }
    4493                 :        3765 :     case BIT_XOR_EXPR:
    4494                 :        3765 :       {
    4495                 :        3765 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4496                 :        3765 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4497                 :        3765 :         switch (TREE_CODE (_p1))
    4498                 :             :           {
    4499                 :         194 :           case BIT_IOR_EXPR:
    4500                 :         194 :             {
    4501                 :         194 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4502                 :         194 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4503                 :         194 :               switch (TREE_CODE (_q50))
    4504                 :             :                 {
    4505                 :           1 :                 case BIT_NOT_EXPR:
    4506                 :           1 :                   {
    4507                 :           1 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    4508                 :           1 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4509                 :             :                       {
    4510                 :           1 :                         if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4511                 :             :                           {
    4512                 :           1 :                             {
    4513                 :           1 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q21, _p0 };
    4514                 :           1 :                               tree res = generic_simplify_144 (loc, type, _p0, _p1, captures);
    4515                 :           1 :                               if (res) return res;
    4516                 :             :                             }
    4517                 :             :                           }
    4518                 :             :                       }
    4519                 :             :                     break;
    4520                 :             :                   }
    4521                 :         193 :                 default:;
    4522                 :             :                 }
    4523                 :         193 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    4524                 :             :                 {
    4525                 :           0 :                   switch (TREE_CODE (_q51))
    4526                 :             :                     {
    4527                 :           0 :                     case BIT_NOT_EXPR:
    4528                 :           0 :                       {
    4529                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    4530                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    4531                 :             :                           {
    4532                 :           0 :                             {
    4533                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q21, _p0 };
    4534                 :           0 :                               tree res = generic_simplify_144 (loc, type, _p0, _p1, captures);
    4535                 :           0 :                               if (res) return res;
    4536                 :             :                             }
    4537                 :             :                           }
    4538                 :             :                         break;
    4539                 :             :                       }
    4540                 :             :                     default:;
    4541                 :             :                     }
    4542                 :             :                 }
    4543                 :         193 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4544                 :             :                 {
    4545                 :           1 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4546                 :             :                     {
    4547                 :           0 :                       {
    4548                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4549                 :           0 :                         tree res = generic_simplify_147 (loc, type, _p0, _p1, captures);
    4550                 :           0 :                         if (res) return res;
    4551                 :             :                       }
    4552                 :             :                     }
    4553                 :             :                 }
    4554                 :             :               break;
    4555                 :             :             }
    4556                 :          32 :           case BIT_AND_EXPR:
    4557                 :          32 :             {
    4558                 :          32 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4559                 :          32 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4560                 :          32 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4561                 :             :                 {
    4562                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4563                 :             :                     {
    4564                 :           0 :                       {
    4565                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4566                 :           0 :                         tree res = generic_simplify_8 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4567                 :           0 :                         if (res) return res;
    4568                 :             :                       }
    4569                 :             :                     }
    4570                 :             :                 }
    4571                 :             :               break;
    4572                 :             :             }
    4573                 :         224 :           CASE_CONVERT:
    4574                 :         224 :             {
    4575                 :         224 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4576                 :         224 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
    4577                 :             :                 {
    4578                 :           0 :                   {
    4579                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
    4580                 :           0 :                     tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    4581                 :           0 :                     if (res) return res;
    4582                 :             :                   }
    4583                 :             :                 }
    4584                 :         224 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    4585                 :             :                 {
    4586                 :           0 :                   {
    4587                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q20 };
    4588                 :           0 :                     tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    4589                 :           0 :                     if (res) return res;
    4590                 :             :                   }
    4591                 :             :                 }
    4592                 :             :               break;
    4593                 :             :             }
    4594                 :        3764 :           default:;
    4595                 :             :           }
    4596                 :        3764 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
    4597                 :             :           {
    4598                 :           0 :             {
    4599                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
    4600                 :           0 :               tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    4601                 :           0 :               if (res) return res;
    4602                 :             :             }
    4603                 :             :           }
    4604                 :        3764 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q20, 0))
    4605                 :             :           {
    4606                 :          11 :             {
    4607                 :          11 :               tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q20 };
    4608                 :          11 :               tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    4609                 :          11 :               if (res) return res;
    4610                 :             :             }
    4611                 :             :           }
    4612                 :             :         break;
    4613                 :             :       }
    4614                 :        1982 :     case BIT_AND_EXPR:
    4615                 :        1982 :       {
    4616                 :        1982 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4617                 :        1982 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4618                 :        1982 :         switch (TREE_CODE (_p1))
    4619                 :             :           {
    4620                 :           2 :           case BIT_IOR_EXPR:
    4621                 :           2 :             {
    4622                 :           2 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4623                 :           2 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4624                 :           2 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4625                 :             :                 {
    4626                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4627                 :             :                     {
    4628                 :           0 :                       {
    4629                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4630                 :           0 :                         tree res = generic_simplify_146 (loc, type, _p0, _p1, captures);
    4631                 :           0 :                         if (res) return res;
    4632                 :             :                       }
    4633                 :             :                     }
    4634                 :             :                 }
    4635                 :             :               break;
    4636                 :             :             }
    4637                 :           9 :           case BIT_XOR_EXPR:
    4638                 :           9 :             {
    4639                 :           9 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4640                 :           9 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4641                 :           9 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4642                 :             :                 {
    4643                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4644                 :             :                     {
    4645                 :           0 :                       {
    4646                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4647                 :           0 :                         tree res = generic_simplify_8 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4648                 :           0 :                         if (res) return res;
    4649                 :             :                       }
    4650                 :             :                     }
    4651                 :             :                 }
    4652                 :             :               break;
    4653                 :             :             }
    4654                 :        1982 :           default:;
    4655                 :             :           }
    4656                 :        1982 :         switch (TREE_CODE (_q21))
    4657                 :             :           {
    4658                 :         866 :           case INTEGER_CST:
    4659                 :         866 :             {
    4660                 :         866 :               switch (TREE_CODE (_p1))
    4661                 :             :                 {
    4662                 :           6 :                 CASE_CONVERT:
    4663                 :           6 :                   {
    4664                 :           6 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    4665                 :           6 :                     switch (TREE_CODE (_q50))
    4666                 :             :                       {
    4667                 :           0 :                       case BIT_AND_EXPR:
    4668                 :           0 :                         {
    4669                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    4670                 :           0 :                           tree _q61 = TREE_OPERAND (_q50, 1);
    4671                 :           0 :                           switch (TREE_CODE (_q61))
    4672                 :             :                             {
    4673                 :           0 :                             case INTEGER_CST:
    4674                 :           0 :                               {
    4675                 :           0 :                                 {
    4676                 :           0 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50, _q60, _q61 };
    4677                 :           0 :                                   tree res = generic_simplify_10 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4678                 :           0 :                                   if (res) return res;
    4679                 :             :                                 }
    4680                 :           0 :                                 break;
    4681                 :             :                               }
    4682                 :             :                             default:;
    4683                 :             :                             }
    4684                 :             :                           break;
    4685                 :             :                         }
    4686                 :             :                       default:;
    4687                 :             :                       }
    4688                 :             :                     break;
    4689                 :             :                   }
    4690                 :          10 :                 case BIT_AND_EXPR:
    4691                 :          10 :                   {
    4692                 :          10 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    4693                 :          10 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    4694                 :          10 :                     switch (TREE_CODE (_q51))
    4695                 :             :                       {
    4696                 :          10 :                       case INTEGER_CST:
    4697                 :          10 :                         {
    4698                 :          10 :                           {
    4699                 :          10 :                             tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
    4700                 :          10 :                             tree res = generic_simplify_10 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4701                 :          10 :                             if (res) return res;
    4702                 :             :                           }
    4703                 :          10 :                           break;
    4704                 :             :                         }
    4705                 :             :                       default:;
    4706                 :             :                       }
    4707                 :             :                     break;
    4708                 :             :                   }
    4709                 :             :                 default:;
    4710                 :             :                 }
    4711                 :             :               break;
    4712                 :             :             }
    4713                 :             :           default:;
    4714                 :             :           }
    4715                 :             :         break;
    4716                 :             :       }
    4717                 :      645539 :     default:;
    4718                 :             :     }
    4719                 :      645539 :   switch (TREE_CODE (_p1))
    4720                 :             :     {
    4721                 :      505895 :     CASE_CONVERT:
    4722                 :      505895 :       {
    4723                 :      505895 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4724                 :      505895 :         switch (TREE_CODE (_q30))
    4725                 :             :           {
    4726                 :           6 :           case BIT_IOR_EXPR:
    4727                 :           6 :             {
    4728                 :           6 :               tree _q40 = TREE_OPERAND (_q30, 0);
    4729                 :           6 :               tree _q41 = TREE_OPERAND (_q30, 1);
    4730                 :           6 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
    4731                 :             :                 {
    4732                 :           0 :                   {
    4733                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _p0 };
    4734                 :           0 :                     tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    4735                 :           0 :                     if (res) return res;
    4736                 :             :                   }
    4737                 :             :                 }
    4738                 :           6 :               if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
    4739                 :             :                 {
    4740                 :           0 :                   {
    4741                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _p0 };
    4742                 :           0 :                     tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    4743                 :           0 :                     if (res) return res;
    4744                 :             :                   }
    4745                 :             :                 }
    4746                 :             :               break;
    4747                 :             :             }
    4748                 :             :           default:;
    4749                 :             :           }
    4750                 :             :         break;
    4751                 :             :       }
    4752                 :         320 :     case BIT_IOR_EXPR:
    4753                 :         320 :       {
    4754                 :         320 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4755                 :         320 :         tree _q31 = TREE_OPERAND (_p1, 1);
    4756                 :         320 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || operand_equal_p (_q30, _p0, 0))
    4757                 :             :           {
    4758                 :           1 :             {
    4759                 :           1 :               tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
    4760                 :           1 :               tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    4761                 :           1 :               if (res) return res;
    4762                 :             :             }
    4763                 :             :           }
    4764                 :         319 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _p0, 0))
    4765                 :             :           {
    4766                 :           1 :             {
    4767                 :           1 :               tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _p0 };
    4768                 :           1 :               tree res = generic_simplify_141 (loc, type, _p0, _p1, captures);
    4769                 :           1 :               if (res) return res;
    4770                 :             :             }
    4771                 :             :           }
    4772                 :             :         break;
    4773                 :             :       }
    4774                 :      645537 :     default:;
    4775                 :             :     }
    4776                 :      645537 :   {
    4777                 :      645537 :     tree _p0_pops[1];
    4778                 :      645537 :     if (tree_nop_convert (_p0, _p0_pops))
    4779                 :             :       {
    4780                 :      458624 :         tree _q20 = _p0_pops[0];
    4781                 :      458624 :         switch (TREE_CODE (_q20))
    4782                 :             :           {
    4783                 :          16 :           case BIT_IOR_EXPR:
    4784                 :          16 :             {
    4785                 :          16 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4786                 :          16 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4787                 :          16 :               {
    4788                 :          16 :                 tree _q30_pops[1];
    4789                 :          16 :                 if (tree_nop_convert (_q30, _q30_pops))
    4790                 :             :                   {
    4791                 :           0 :                     tree _q40 = _q30_pops[0];
    4792                 :           0 :                     switch (TREE_CODE (_q40))
    4793                 :             :                       {
    4794                 :           0 :                       case BIT_NOT_EXPR:
    4795                 :           0 :                         {
    4796                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    4797                 :           0 :                           {
    4798                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q31, _p1 };
    4799                 :           0 :                             tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4800                 :           0 :                             if (res) return res;
    4801                 :             :                           }
    4802                 :           0 :                           break;
    4803                 :             :                         }
    4804                 :             :                       default:;
    4805                 :             :                       }
    4806                 :             : }
    4807                 :             :               }
    4808                 :          16 :               {
    4809                 :          16 :                 tree _q31_pops[1];
    4810                 :          16 :                 if (tree_nop_convert (_q31, _q31_pops))
    4811                 :             :                   {
    4812                 :           0 :                     tree _q50 = _q31_pops[0];
    4813                 :           0 :                     switch (TREE_CODE (_q50))
    4814                 :             :                       {
    4815                 :           0 :                       case BIT_NOT_EXPR:
    4816                 :           0 :                         {
    4817                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    4818                 :           0 :                           {
    4819                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q30, _p1 };
    4820                 :           0 :                             tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4821                 :           0 :                             if (res) return res;
    4822                 :             :                           }
    4823                 :           0 :                           break;
    4824                 :             :                         }
    4825                 :             :                       default:;
    4826                 :             :                       }
    4827                 :             : }
    4828                 :             :               }
    4829                 :          16 :               switch (TREE_CODE (_q30))
    4830                 :             :                 {
    4831                 :          16 :                 case BIT_NOT_EXPR:
    4832                 :          16 :                   {
    4833                 :          16 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    4834                 :          16 :                     {
    4835                 :          16 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q31, _p1 };
    4836                 :          16 :                       tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4837                 :          16 :                       if (res) return res;
    4838                 :             :                     }
    4839                 :           0 :                     break;
    4840                 :             :                   }
    4841                 :           0 :                 default:;
    4842                 :             :                 }
    4843                 :           0 :               switch (TREE_CODE (_q31))
    4844                 :             :                 {
    4845                 :           0 :                 case BIT_NOT_EXPR:
    4846                 :           0 :                   {
    4847                 :           0 :                     tree _q50 = TREE_OPERAND (_q31, 0);
    4848                 :           0 :                     {
    4849                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q30, _p1 };
    4850                 :           0 :                       tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4851                 :           0 :                       if (res) return res;
    4852                 :             :                     }
    4853                 :           0 :                     break;
    4854                 :             :                   }
    4855                 :             :                 default:;
    4856                 :             :                 }
    4857                 :             :               break;
    4858                 :             :             }
    4859                 :             :           default:;
    4860                 :             :           }
    4861                 :             : }
    4862                 :             :   }
    4863                 :      645521 :   switch (TREE_CODE (_p1))
    4864                 :             :     {
    4865                 :         318 :     case BIT_IOR_EXPR:
    4866                 :         318 :       {
    4867                 :         318 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4868                 :         318 :         tree _q31 = TREE_OPERAND (_p1, 1);
    4869                 :         318 :         {
    4870                 :         318 :           tree _q30_pops[1];
    4871                 :         318 :           if (tree_nop_convert (_q30, _q30_pops))
    4872                 :             :             {
    4873                 :           2 :               tree _q40 = _q30_pops[0];
    4874                 :           2 :               switch (TREE_CODE (_q40))
    4875                 :             :                 {
    4876                 :           0 :                 case BIT_NOT_EXPR:
    4877                 :           0 :                   {
    4878                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    4879                 :           0 :                     {
    4880                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q31, _p0 };
    4881                 :           0 :                       tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4882                 :           0 :                       if (res) return res;
    4883                 :             :                     }
    4884                 :           0 :                     break;
    4885                 :             :                   }
    4886                 :             :                 default:;
    4887                 :             :                 }
    4888                 :             : }
    4889                 :             :         }
    4890                 :         318 :         {
    4891                 :         318 :           tree _q31_pops[1];
    4892                 :         318 :           if (tree_nop_convert (_q31, _q31_pops))
    4893                 :             :             {
    4894                 :           2 :               tree _q50 = _q31_pops[0];
    4895                 :           2 :               switch (TREE_CODE (_q50))
    4896                 :             :                 {
    4897                 :           0 :                 case BIT_NOT_EXPR:
    4898                 :           0 :                   {
    4899                 :           0 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    4900                 :           0 :                     {
    4901                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q30, _p0 };
    4902                 :           0 :                       tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4903                 :           0 :                       if (res) return res;
    4904                 :             :                     }
    4905                 :           0 :                     break;
    4906                 :             :                   }
    4907                 :             :                 default:;
    4908                 :             :                 }
    4909                 :             : }
    4910                 :             :         }
    4911                 :         318 :         switch (TREE_CODE (_q30))
    4912                 :             :           {
    4913                 :           0 :           case BIT_NOT_EXPR:
    4914                 :           0 :             {
    4915                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    4916                 :           0 :               {
    4917                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q31, _p0 };
    4918                 :           0 :                 tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4919                 :           0 :                 if (res) return res;
    4920                 :             :               }
    4921                 :           0 :               break;
    4922                 :             :             }
    4923                 :         318 :           default:;
    4924                 :             :           }
    4925                 :         318 :         switch (TREE_CODE (_q31))
    4926                 :             :           {
    4927                 :          25 :           case BIT_NOT_EXPR:
    4928                 :          25 :             {
    4929                 :          25 :               tree _q50 = TREE_OPERAND (_q31, 0);
    4930                 :          25 :               {
    4931                 :          25 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q30, _p0 };
    4932                 :          25 :                 tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4933                 :          25 :                 if (res) return res;
    4934                 :             :               }
    4935                 :          17 :               break;
    4936                 :             :             }
    4937                 :             :           default:;
    4938                 :             :           }
    4939                 :             :         break;
    4940                 :             :       }
    4941                 :      645513 :     default:;
    4942                 :             :     }
    4943                 :      645513 : {
    4944                 :      645513 :   tree _p1_pops[1];
    4945                 :      645513 :   if (tree_nop_convert (_p1, _p1_pops))
    4946                 :             :     {
    4947                 :      495098 :       tree _q30 = _p1_pops[0];
    4948                 :      495098 :       switch (TREE_CODE (_q30))
    4949                 :             :         {
    4950                 :           0 :         case BIT_IOR_EXPR:
    4951                 :           0 :           {
    4952                 :           0 :             tree _q40 = TREE_OPERAND (_q30, 0);
    4953                 :           0 :             tree _q41 = TREE_OPERAND (_q30, 1);
    4954                 :           0 :             {
    4955                 :           0 :               tree _q40_pops[1];
    4956                 :           0 :               if (tree_nop_convert (_q40, _q40_pops))
    4957                 :             :                 {
    4958                 :           0 :                   tree _q50 = _q40_pops[0];
    4959                 :           0 :                   switch (TREE_CODE (_q50))
    4960                 :             :                     {
    4961                 :           0 :                     case BIT_NOT_EXPR:
    4962                 :           0 :                       {
    4963                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    4964                 :           0 :                         {
    4965                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q41, _p0 };
    4966                 :           0 :                           tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4967                 :           0 :                           if (res) return res;
    4968                 :             :                         }
    4969                 :           0 :                         break;
    4970                 :             :                       }
    4971                 :             :                     default:;
    4972                 :             :                     }
    4973                 :             : }
    4974                 :             :             }
    4975                 :           0 :             {
    4976                 :           0 :               tree _q41_pops[1];
    4977                 :           0 :               if (tree_nop_convert (_q41, _q41_pops))
    4978                 :             :                 {
    4979                 :           0 :                   tree _q60 = _q41_pops[0];
    4980                 :           0 :                   switch (TREE_CODE (_q60))
    4981                 :             :                     {
    4982                 :           0 :                     case BIT_NOT_EXPR:
    4983                 :           0 :                       {
    4984                 :           0 :                         tree _q70 = TREE_OPERAND (_q60, 0);
    4985                 :           0 :                         {
    4986                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q40, _p0 };
    4987                 :           0 :                           tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    4988                 :           0 :                           if (res) return res;
    4989                 :             :                         }
    4990                 :           0 :                         break;
    4991                 :             :                       }
    4992                 :             :                     default:;
    4993                 :             :                     }
    4994                 :             : }
    4995                 :             :             }
    4996                 :           0 :             switch (TREE_CODE (_q40))
    4997                 :             :               {
    4998                 :           0 :               case BIT_NOT_EXPR:
    4999                 :           0 :                 {
    5000                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    5001                 :           0 :                   {
    5002                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q41, _p0 };
    5003                 :           0 :                     tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    5004                 :           0 :                     if (res) return res;
    5005                 :             :                   }
    5006                 :           0 :                   break;
    5007                 :             :                 }
    5008                 :           0 :               default:;
    5009                 :             :               }
    5010                 :           0 :             switch (TREE_CODE (_q41))
    5011                 :             :               {
    5012                 :           0 :               case BIT_NOT_EXPR:
    5013                 :           0 :                 {
    5014                 :           0 :                   tree _q60 = TREE_OPERAND (_q41, 0);
    5015                 :           0 :                   {
    5016                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q40, _p0 };
    5017                 :           0 :                     tree res = generic_simplify_145 (loc, type, _p0, _p1, captures);
    5018                 :           0 :                     if (res) return res;
    5019                 :             :                   }
    5020                 :           0 :                   break;
    5021                 :             :                 }
    5022                 :             :               default:;
    5023                 :             :               }
    5024                 :             :             break;
    5025                 :             :           }
    5026                 :             :         default:;
    5027                 :             :         }
    5028                 :             : }
    5029                 :             : }
    5030                 :      645513 :   switch (TREE_CODE (_p0))
    5031                 :             :     {
    5032                 :      471525 :     CASE_CONVERT:
    5033                 :      471525 :       {
    5034                 :      471525 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5035                 :      471525 :         switch (TREE_CODE (_q20))
    5036                 :             :           {
    5037                 :          52 :           case BIT_NOT_EXPR:
    5038                 :          52 :             {
    5039                 :          52 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5040                 :          52 :               switch (TREE_CODE (_p1))
    5041                 :             :                 {
    5042                 :           0 :                 CASE_CONVERT:
    5043                 :           0 :                   {
    5044                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5045                 :           0 :                     switch (TREE_CODE (_q50))
    5046                 :             :                       {
    5047                 :           0 :                       case BIT_NOT_EXPR:
    5048                 :           0 :                         {
    5049                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    5050                 :           0 :                           {
    5051                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q60 };
    5052                 :           0 :                             tree res = generic_simplify_149 (loc, type, _p0, _p1, captures);
    5053                 :           0 :                             if (res) return res;
    5054                 :             :                           }
    5055                 :           0 :                           break;
    5056                 :             :                         }
    5057                 :             :                       default:;
    5058                 :             :                       }
    5059                 :             :                     break;
    5060                 :             :                   }
    5061                 :           0 :                 case BIT_NOT_EXPR:
    5062                 :           0 :                   {
    5063                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5064                 :           0 :                     {
    5065                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
    5066                 :           0 :                       tree res = generic_simplify_149 (loc, type, _p0, _p1, captures);
    5067                 :           0 :                       if (res) return res;
    5068                 :             :                     }
    5069                 :           0 :                     break;
    5070                 :             :                   }
    5071                 :          28 :                 case INTEGER_CST:
    5072                 :          28 :                   {
    5073                 :          28 :                     {
    5074                 :          28 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p1 };
    5075                 :          28 :                       tree res = generic_simplify_150 (loc, type, _p0, _p1, captures);
    5076                 :          28 :                       if (res) return res;
    5077                 :             :                     }
    5078                 :          27 :                     break;
    5079                 :             :                   }
    5080                 :             :                 default:;
    5081                 :             :                 }
    5082                 :             :               break;
    5083                 :             :             }
    5084                 :             :           default:;
    5085                 :             :           }
    5086                 :             :         break;
    5087                 :             :       }
    5088                 :         154 :     case BIT_NOT_EXPR:
    5089                 :         154 :       {
    5090                 :         154 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5091                 :         154 :         switch (TREE_CODE (_p1))
    5092                 :             :           {
    5093                 :          18 :           CASE_CONVERT:
    5094                 :          18 :             {
    5095                 :          18 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5096                 :          18 :               switch (TREE_CODE (_q40))
    5097                 :             :                 {
    5098                 :           0 :                 case BIT_NOT_EXPR:
    5099                 :           0 :                   {
    5100                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    5101                 :           0 :                     {
    5102                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
    5103                 :           0 :                       tree res = generic_simplify_149 (loc, type, _p0, _p1, captures);
    5104                 :           0 :                       if (res) return res;
    5105                 :             :                     }
    5106                 :           0 :                     break;
    5107                 :             :                   }
    5108                 :             :                 default:;
    5109                 :             :                 }
    5110                 :             :               break;
    5111                 :             :             }
    5112                 :          10 :           case BIT_NOT_EXPR:
    5113                 :          10 :             {
    5114                 :          10 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5115                 :          10 :               {
    5116                 :          10 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    5117                 :          10 :                 tree res = generic_simplify_149 (loc, type, _p0, _p1, captures);
    5118                 :          10 :                 if (res) return res;
    5119                 :             :               }
    5120                 :           0 :               break;
    5121                 :             :             }
    5122                 :          25 :           case INTEGER_CST:
    5123                 :          25 :             {
    5124                 :          25 :               {
    5125                 :          25 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    5126                 :          25 :                 tree res = generic_simplify_150 (loc, type, _p0, _p1, captures);
    5127                 :          25 :                 if (res) return res;
    5128                 :             :               }
    5129                 :           0 :               break;
    5130                 :             :             }
    5131                 :         119 :           default:;
    5132                 :             :           }
    5133                 :         119 :         {
    5134                 :         119 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _p1 };
    5135                 :         119 :           tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
    5136                 :         119 :           if (res) return res;
    5137                 :             :         }
    5138                 :           0 :         break;
    5139                 :             :       }
    5140                 :        1980 :     case BIT_AND_EXPR:
    5141                 :        1980 :       {
    5142                 :        1980 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5143                 :        1980 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5144                 :        1980 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5145                 :             :           {
    5146                 :          67 :             {
    5147                 :          67 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    5148                 :          67 :               tree res = generic_simplify_152 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5149                 :          67 :               if (res) return res;
    5150                 :             :             }
    5151                 :             :           }
    5152                 :        1913 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5153                 :             :           {
    5154                 :           3 :             {
    5155                 :           3 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    5156                 :           3 :               tree res = generic_simplify_152 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5157                 :           3 :               if (res) return res;
    5158                 :             :             }
    5159                 :             :           }
    5160                 :        1910 :         switch (TREE_CODE (_p1))
    5161                 :             :           {
    5162                 :         100 :           case BIT_AND_EXPR:
    5163                 :         100 :             {
    5164                 :         100 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5165                 :         100 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5166                 :         100 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    5167                 :             :                 {
    5168                 :          21 :                   {
    5169                 :          21 :                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q20 };
    5170                 :          21 :                     tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5171                 :          21 :                     if (res) return res;
    5172                 :             :                   }
    5173                 :             :                 }
    5174                 :          79 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
    5175                 :             :                 {
    5176                 :           0 :                   {
    5177                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q20 };
    5178                 :           0 :                     tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5179                 :           0 :                     if (res) return res;
    5180                 :             :                   }
    5181                 :             :                 }
    5182                 :          79 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
    5183                 :             :                 {
    5184                 :           0 :                   {
    5185                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q21 };
    5186                 :           0 :                     tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5187                 :           0 :                     if (res) return res;
    5188                 :             :                   }
    5189                 :             :                 }
    5190                 :          79 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q21, 0))
    5191                 :             :                 {
    5192                 :           2 :                   {
    5193                 :           2 :                     tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q21 };
    5194                 :           2 :                     tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5195                 :           2 :                     if (res) return res;
    5196                 :             :                   }
    5197                 :             :                 }
    5198                 :             :               break;
    5199                 :             :             }
    5200                 :             :           default:;
    5201                 :             :           }
    5202                 :             :         break;
    5203                 :             :       }
    5204                 :      645265 :     default:;
    5205                 :             :     }
    5206                 :      645265 :   switch (TREE_CODE (_p1))
    5207                 :             :     {
    5208                 :         295 :     case BIT_AND_EXPR:
    5209                 :         295 :       {
    5210                 :         295 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5211                 :         295 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5212                 :         295 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5213                 :             :           {
    5214                 :           0 :             {
    5215                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
    5216                 :           0 :               tree res = generic_simplify_152 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5217                 :           0 :               if (res) return res;
    5218                 :             :             }
    5219                 :             :           }
    5220                 :         295 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    5221                 :             :           {
    5222                 :           0 :             {
    5223                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q31, _p0 };
    5224                 :           0 :               tree res = generic_simplify_152 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5225                 :           0 :               if (res) return res;
    5226                 :             :             }
    5227                 :             :           }
    5228                 :             :         break;
    5229                 :             :       }
    5230                 :      645265 :     default:;
    5231                 :             :     }
    5232                 :      645265 :   switch (TREE_CODE (_p0))
    5233                 :             :     {
    5234                 :      471524 :     CASE_CONVERT:
    5235                 :      471524 :       {
    5236                 :      471524 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5237                 :      471524 :         switch (TREE_CODE (_q20))
    5238                 :             :           {
    5239                 :          24 :           case BIT_AND_EXPR:
    5240                 :          24 :             {
    5241                 :          24 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5242                 :          24 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5243                 :          24 :               switch (TREE_CODE (_p1))
    5244                 :             :                 {
    5245                 :           8 :                 CASE_CONVERT:
    5246                 :           8 :                   {
    5247                 :           8 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5248                 :           8 :                     switch (TREE_CODE (_q60))
    5249                 :             :                       {
    5250                 :           0 :                       case BIT_AND_EXPR:
    5251                 :           0 :                         {
    5252                 :           0 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    5253                 :           0 :                           tree _q71 = TREE_OPERAND (_q60, 1);
    5254                 :           0 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q30, 0))
    5255                 :             :                             {
    5256                 :           0 :                               {
    5257                 :           0 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q71, _q30 };
    5258                 :           0 :                                 tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5259                 :           0 :                                 if (res) return res;
    5260                 :             :                               }
    5261                 :             :                             }
    5262                 :           0 :                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q30, 0))
    5263                 :             :                             {
    5264                 :           0 :                               {
    5265                 :           0 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q70, _q30 };
    5266                 :           0 :                                 tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5267                 :           0 :                                 if (res) return res;
    5268                 :             :                               }
    5269                 :             :                             }
    5270                 :           0 :                           if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q31, 0))
    5271                 :             :                             {
    5272                 :           0 :                               {
    5273                 :           0 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q71, _q31 };
    5274                 :           0 :                                 tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5275                 :           0 :                                 if (res) return res;
    5276                 :             :                               }
    5277                 :             :                             }
    5278                 :           0 :                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q31, 0))
    5279                 :             :                             {
    5280                 :           0 :                               {
    5281                 :           0 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q70, _q31 };
    5282                 :           0 :                                 tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    5283                 :           0 :                                 if (res) return res;
    5284                 :             :                               }
    5285                 :             :                             }
    5286                 :             :                           break;
    5287                 :             :                         }
    5288                 :             :                       default:;
    5289                 :             :                       }
    5290                 :             :                     break;
    5291                 :             :                   }
    5292                 :             :                 default:;
    5293                 :             :                 }
    5294                 :             :               break;
    5295                 :             :             }
    5296                 :       12502 :           case BIT_XOR_EXPR:
    5297                 :       12502 :             {
    5298                 :       12502 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5299                 :       12502 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5300                 :       12502 :               switch (TREE_CODE (_p1))
    5301                 :             :                 {
    5302                 :       12438 :                 CASE_CONVERT:
    5303                 :       12438 :                   {
    5304                 :       12438 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5305                 :       12438 :                     if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
    5306                 :             :                       {
    5307                 :           0 :                         {
    5308                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
    5309                 :           0 :                           tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5310                 :           0 :                           if (res) return res;
    5311                 :             :                         }
    5312                 :             :                       }
    5313                 :       12438 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
    5314                 :             :                       {
    5315                 :           0 :                         {
    5316                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q30 };
    5317                 :           0 :                           tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5318                 :           0 :                           if (res) return res;
    5319                 :             :                         }
    5320                 :             :                       }
    5321                 :             :                     break;
    5322                 :             :                   }
    5323                 :       12502 :                 default:;
    5324                 :             :                 }
    5325                 :       12502 :               if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
    5326                 :             :                 {
    5327                 :           0 :                   {
    5328                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
    5329                 :           0 :                     tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5330                 :           0 :                     if (res) return res;
    5331                 :             :                   }
    5332                 :             :                 }
    5333                 :       12502 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q30, 0))
    5334                 :             :                 {
    5335                 :           0 :                   {
    5336                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q30 };
    5337                 :           0 :                     tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5338                 :           0 :                     if (res) return res;
    5339                 :             :                   }
    5340                 :             :                 }
    5341                 :             :               break;
    5342                 :             :             }
    5343                 :      471524 :           default:;
    5344                 :             :           }
    5345                 :      471524 :         switch (TREE_CODE (_p1))
    5346                 :             :           {
    5347                 :      467968 :           CASE_CONVERT:
    5348                 :      467968 :             {
    5349                 :      467968 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5350                 :      467968 :               switch (TREE_CODE (_q40))
    5351                 :             :                 {
    5352                 :           0 :                 case BIT_XOR_EXPR:
    5353                 :           0 :                   {
    5354                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    5355                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    5356                 :           0 :                     if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
    5357                 :             :                       {
    5358                 :           0 :                         {
    5359                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
    5360                 :           0 :                           tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5361                 :           0 :                           if (res) return res;
    5362                 :             :                         }
    5363                 :             :                       }
    5364                 :           0 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    5365                 :             :                       {
    5366                 :           0 :                         {
    5367                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q20 };
    5368                 :           0 :                           tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5369                 :           0 :                           if (res) return res;
    5370                 :             :                         }
    5371                 :             :                       }
    5372                 :             :                     break;
    5373                 :             :                   }
    5374                 :             :                 default:;
    5375                 :             :                 }
    5376                 :             :               break;
    5377                 :             :             }
    5378                 :           2 :           case BIT_XOR_EXPR:
    5379                 :           2 :             {
    5380                 :           2 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5381                 :           2 :               tree _q41 = TREE_OPERAND (_p1, 1);
    5382                 :           2 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q20, 0))
    5383                 :             :                 {
    5384                 :           0 :                   {
    5385                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
    5386                 :           0 :                     tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5387                 :           0 :                     if (res) return res;
    5388                 :             :                   }
    5389                 :             :                 }
    5390                 :           2 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _q20, 0))
    5391                 :             :                 {
    5392                 :           0 :                   {
    5393                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
    5394                 :           0 :                     tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5395                 :           0 :                     if (res) return res;
    5396                 :             :                   }
    5397                 :             :                 }
    5398                 :             :               break;
    5399                 :             :             }
    5400                 :             :           default:;
    5401                 :             :           }
    5402                 :             :         break;
    5403                 :             :       }
    5404                 :      645265 :     default:;
    5405                 :             :     }
    5406                 :      645265 :   switch (TREE_CODE (_p1))
    5407                 :             :     {
    5408                 :      505861 :     CASE_CONVERT:
    5409                 :      505861 :       {
    5410                 :      505861 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5411                 :      505861 :         switch (TREE_CODE (_q30))
    5412                 :             :           {
    5413                 :           8 :           case BIT_XOR_EXPR:
    5414                 :           8 :             {
    5415                 :           8 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5416                 :           8 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5417                 :           8 :               if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
    5418                 :             :                 {
    5419                 :           0 :                   {
    5420                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _p0 };
    5421                 :           0 :                     tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5422                 :           0 :                     if (res) return res;
    5423                 :             :                   }
    5424                 :             :                 }
    5425                 :           8 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
    5426                 :             :                 {
    5427                 :           0 :                   {
    5428                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _p0 };
    5429                 :           0 :                     tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5430                 :           0 :                     if (res) return res;
    5431                 :             :                   }
    5432                 :             :                 }
    5433                 :             :               break;
    5434                 :             :             }
    5435                 :             :           default:;
    5436                 :             :           }
    5437                 :             :         break;
    5438                 :             :       }
    5439                 :          21 :     case BIT_XOR_EXPR:
    5440                 :          21 :       {
    5441                 :          21 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5442                 :          21 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5443                 :          21 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _p0, 0))
    5444                 :             :           {
    5445                 :           0 :             {
    5446                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
    5447                 :           0 :               tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5448                 :           0 :               if (res) return res;
    5449                 :             :             }
    5450                 :             :           }
    5451                 :          21 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || operand_equal_p (_q30, _p0, 0))
    5452                 :             :           {
    5453                 :           0 :             {
    5454                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _p0 };
    5455                 :           0 :               tree res = generic_simplify_148 (loc, type, _p0, _p1, captures);
    5456                 :           0 :               if (res) return res;
    5457                 :             :             }
    5458                 :             :           }
    5459                 :             :         break;
    5460                 :             :       }
    5461                 :      645265 :     default:;
    5462                 :             :     }
    5463                 :      645265 :   switch (TREE_CODE (_p0))
    5464                 :             :     {
    5465                 :      471524 :     CASE_CONVERT:
    5466                 :      471524 :       {
    5467                 :      471524 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5468                 :      471524 :         switch (TREE_CODE (_q20))
    5469                 :             :           {
    5470                 :       12502 :           case BIT_XOR_EXPR:
    5471                 :       12502 :             {
    5472                 :       12502 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5473                 :       12502 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5474                 :       12502 :               switch (TREE_CODE (_p1))
    5475                 :             :                 {
    5476                 :       12438 :                 CASE_CONVERT:
    5477                 :       12438 :                   {
    5478                 :       12438 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5479                 :       12438 :                     switch (TREE_CODE (_q60))
    5480                 :             :                       {
    5481                 :           0 :                       case BIT_XOR_EXPR:
    5482                 :           0 :                         {
    5483                 :           0 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    5484                 :           0 :                           tree _q71 = TREE_OPERAND (_q60, 1);
    5485                 :           0 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    5486                 :             :                             {
    5487                 :           0 :                               {
    5488                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q71 };
    5489                 :           0 :                                 tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5490                 :           0 :                                 if (res) return res;
    5491                 :             :                               }
    5492                 :             :                             }
    5493                 :           0 :                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    5494                 :             :                             {
    5495                 :           0 :                               {
    5496                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q70 };
    5497                 :           0 :                                 tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5498                 :           0 :                                 if (res) return res;
    5499                 :             :                               }
    5500                 :             :                             }
    5501                 :           0 :                           if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    5502                 :             :                             {
    5503                 :           0 :                               {
    5504                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q71 };
    5505                 :           0 :                                 tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5506                 :           0 :                                 if (res) return res;
    5507                 :             :                               }
    5508                 :             :                             }
    5509                 :           0 :                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    5510                 :             :                             {
    5511                 :           0 :                               {
    5512                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q70 };
    5513                 :           0 :                                 tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5514                 :           0 :                                 if (res) return res;
    5515                 :             :                               }
    5516                 :             :                             }
    5517                 :             :                           break;
    5518                 :             :                         }
    5519                 :             :                       default:;
    5520                 :             :                       }
    5521                 :             :                     break;
    5522                 :             :                   }
    5523                 :           0 :                 case BIT_XOR_EXPR:
    5524                 :           0 :                   {
    5525                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5526                 :           0 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    5527                 :           0 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    5528                 :             :                       {
    5529                 :           0 :                         {
    5530                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q61 };
    5531                 :           0 :                           tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5532                 :           0 :                           if (res) return res;
    5533                 :             :                         }
    5534                 :             :                       }
    5535                 :           0 :                     if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    5536                 :             :                       {
    5537                 :           0 :                         {
    5538                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q60 };
    5539                 :           0 :                           tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5540                 :           0 :                           if (res) return res;
    5541                 :             :                         }
    5542                 :             :                       }
    5543                 :           0 :                     if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
    5544                 :             :                       {
    5545                 :           0 :                         {
    5546                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q61 };
    5547                 :           0 :                           tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5548                 :           0 :                           if (res) return res;
    5549                 :             :                         }
    5550                 :             :                       }
    5551                 :           0 :                     if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
    5552                 :             :                       {
    5553                 :           0 :                         {
    5554                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q60 };
    5555                 :           0 :                           tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5556                 :           0 :                           if (res) return res;
    5557                 :             :                         }
    5558                 :             :                       }
    5559                 :             :                     break;
    5560                 :             :                   }
    5561                 :             :                 default:;
    5562                 :             :                 }
    5563                 :             :               break;
    5564                 :             :             }
    5565                 :      471524 :           default:;
    5566                 :             :           }
    5567                 :      471524 :         switch (TREE_CODE (_p1))
    5568                 :             :           {
    5569                 :      467968 :           CASE_CONVERT:
    5570                 :      467968 :             {
    5571                 :      467968 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5572                 :      467968 :               {
    5573                 :      467968 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    5574                 :      467968 :                 tree res = generic_simplify_92 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5575                 :      467968 :                 if (res) return res;
    5576                 :             :               }
    5577                 :      447809 :               break;
    5578                 :             :             }
    5579                 :      451365 :           default:;
    5580                 :             :           }
    5581                 :      451365 :         {
    5582                 :      451365 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
    5583                 :      451365 :           tree res = generic_simplify_93 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5584                 :      451365 :           if (res) return res;
    5585                 :             :         }
    5586                 :      451250 :         break;
    5587                 :             :       }
    5588                 :        3753 :     case BIT_XOR_EXPR:
    5589                 :        3753 :       {
    5590                 :        3753 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5591                 :        3753 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5592                 :        3753 :         switch (TREE_CODE (_p1))
    5593                 :             :           {
    5594                 :         224 :           CASE_CONVERT:
    5595                 :         224 :             {
    5596                 :         224 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5597                 :         224 :               switch (TREE_CODE (_q50))
    5598                 :             :                 {
    5599                 :           0 :                 case BIT_XOR_EXPR:
    5600                 :           0 :                   {
    5601                 :           0 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    5602                 :           0 :                     tree _q61 = TREE_OPERAND (_q50, 1);
    5603                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5604                 :             :                       {
    5605                 :           0 :                         {
    5606                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q61 };
    5607                 :           0 :                           tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5608                 :           0 :                           if (res) return res;
    5609                 :             :                         }
    5610                 :             :                       }
    5611                 :           0 :                     if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
    5612                 :             :                       {
    5613                 :           0 :                         {
    5614                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q60 };
    5615                 :           0 :                           tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5616                 :           0 :                           if (res) return res;
    5617                 :             :                         }
    5618                 :             :                       }
    5619                 :           0 :                     if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
    5620                 :             :                       {
    5621                 :           0 :                         {
    5622                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q61 };
    5623                 :           0 :                           tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5624                 :           0 :                           if (res) return res;
    5625                 :             :                         }
    5626                 :             :                       }
    5627                 :           0 :                     if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    5628                 :             :                       {
    5629                 :           0 :                         {
    5630                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q60 };
    5631                 :           0 :                           tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5632                 :           0 :                           if (res) return res;
    5633                 :             :                         }
    5634                 :             :                       }
    5635                 :             :                     break;
    5636                 :             :                   }
    5637                 :             :                 default:;
    5638                 :             :                 }
    5639                 :             :               break;
    5640                 :             :             }
    5641                 :          10 :           case BIT_XOR_EXPR:
    5642                 :          10 :             {
    5643                 :          10 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5644                 :          10 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5645                 :          10 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5646                 :             :                 {
    5647                 :           0 :                   {
    5648                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    5649                 :           0 :                     tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5650                 :           0 :                     if (res) return res;
    5651                 :             :                   }
    5652                 :             :                 }
    5653                 :          10 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5654                 :             :                 {
    5655                 :           0 :                   {
    5656                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5657                 :           0 :                     tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5658                 :           0 :                     if (res) return res;
    5659                 :             :                   }
    5660                 :             :                 }
    5661                 :          10 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5662                 :             :                 {
    5663                 :           0 :                   {
    5664                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    5665                 :           0 :                     tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5666                 :           0 :                     if (res) return res;
    5667                 :             :                   }
    5668                 :             :                 }
    5669                 :          10 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5670                 :             :                 {
    5671                 :           0 :                   {
    5672                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    5673                 :           0 :                     tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5674                 :           0 :                     if (res) return res;
    5675                 :             :                   }
    5676                 :             :                 }
    5677                 :             :               break;
    5678                 :             :             }
    5679                 :        3753 :           default:;
    5680                 :             :           }
    5681                 :        3753 :         if (CONSTANT_CLASS_P (_q21))
    5682                 :             :           {
    5683                 :          56 :             if (CONSTANT_CLASS_P (_p1))
    5684                 :             :               {
    5685                 :          30 :                 {
    5686                 :          30 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5687                 :          30 :                   tree res = generic_simplify_105 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5688                 :          30 :                   if (res) return res;
    5689                 :             :                 }
    5690                 :             :               }
    5691                 :             :           }
    5692                 :             :         break;
    5693                 :             :       }
    5694                 :        1887 :     case BIT_AND_EXPR:
    5695                 :        1887 :       {
    5696                 :        1887 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5697                 :        1887 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5698                 :        1887 :         if (tree_truth_valued_p (_q20))
    5699                 :             :           {
    5700                 :           0 :             if (tree_truth_valued_p (_q21))
    5701                 :             :               {
    5702                 :           0 :                 switch (TREE_CODE (_p1))
    5703                 :             :                   {
    5704                 :           0 :                   case EQ_EXPR:
    5705                 :           0 :                     {
    5706                 :           0 :                       tree _q50 = TREE_OPERAND (_p1, 0);
    5707                 :           0 :                       tree _q51 = TREE_OPERAND (_p1, 1);
    5708                 :           0 :                       if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5709                 :             :                         {
    5710                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5711                 :             :                             {
    5712                 :           0 :                               {
    5713                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5714                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1151;
    5715                 :           0 :                                 {
    5716                 :           0 :                                   tree res_op0;
    5717                 :           0 :                                   {
    5718                 :           0 :                                     tree _o1[2], _r1;
    5719                 :           0 :                                     _o1[0] = captures[0];
    5720                 :           0 :                                     _o1[1] = captures[1];
    5721                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5722                 :           0 :                                     res_op0 = _r1;
    5723                 :             :                                   }
    5724                 :           0 :                                   tree _r;
    5725                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5726                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 839, __FILE__, __LINE__, true);
    5727                 :           0 :                                   return _r;
    5728                 :             :                                 }
    5729                 :           0 : next_after_fail1151:;
    5730                 :             :                               }
    5731                 :           0 :                               {
    5732                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    5733                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1152;
    5734                 :           0 :                                 {
    5735                 :           0 :                                   tree res_op0;
    5736                 :           0 :                                   {
    5737                 :           0 :                                     tree _o1[2], _r1;
    5738                 :           0 :                                     _o1[0] = captures[0];
    5739                 :           0 :                                     _o1[1] = captures[1];
    5740                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5741                 :           0 :                                     res_op0 = _r1;
    5742                 :             :                                   }
    5743                 :           0 :                                   tree _r;
    5744                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5745                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 839, __FILE__, __LINE__, true);
    5746                 :           0 :                                   return _r;
    5747                 :             :                                 }
    5748                 :           0 : next_after_fail1152:;
    5749                 :             :                               }
    5750                 :             :                             }
    5751                 :             :                         }
    5752                 :           0 :                       if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5753                 :             :                         {
    5754                 :           0 :                           if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5755                 :             :                             {
    5756                 :           0 :                               {
    5757                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5758                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1153;
    5759                 :           0 :                                 {
    5760                 :           0 :                                   tree res_op0;
    5761                 :           0 :                                   {
    5762                 :           0 :                                     tree _o1[2], _r1;
    5763                 :           0 :                                     _o1[0] = captures[0];
    5764                 :           0 :                                     _o1[1] = captures[1];
    5765                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5766                 :           0 :                                     res_op0 = _r1;
    5767                 :             :                                   }
    5768                 :           0 :                                   tree _r;
    5769                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5770                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 839, __FILE__, __LINE__, true);
    5771                 :           0 :                                   return _r;
    5772                 :             :                                 }
    5773                 :           0 : next_after_fail1153:;
    5774                 :             :                               }
    5775                 :           0 :                               {
    5776                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    5777                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1154;
    5778                 :           0 :                                 {
    5779                 :           0 :                                   tree res_op0;
    5780                 :           0 :                                   {
    5781                 :           0 :                                     tree _o1[2], _r1;
    5782                 :           0 :                                     _o1[0] = captures[0];
    5783                 :           0 :                                     _o1[1] = captures[1];
    5784                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5785                 :           0 :                                     res_op0 = _r1;
    5786                 :             :                                   }
    5787                 :           0 :                                   tree _r;
    5788                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5789                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 839, __FILE__, __LINE__, true);
    5790                 :           0 :                                   return _r;
    5791                 :             :                                 }
    5792                 :           0 : next_after_fail1154:;
    5793                 :             :                               }
    5794                 :             :                             }
    5795                 :             :                         }
    5796                 :             :                       break;
    5797                 :             :                     }
    5798                 :             :                   default:;
    5799                 :             :                   }
    5800                 :             :               }
    5801                 :             :           }
    5802                 :             :         break;
    5803                 :             :       }
    5804                 :         124 :     case EQ_EXPR:
    5805                 :         124 :       {
    5806                 :         124 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5807                 :         124 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5808                 :         124 :         switch (TREE_CODE (_p1))
    5809                 :             :           {
    5810                 :           0 :           case BIT_AND_EXPR:
    5811                 :           0 :             {
    5812                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5813                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5814                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5815                 :             :                 {
    5816                 :           0 :                   if (tree_truth_valued_p (_q50))
    5817                 :             :                     {
    5818                 :           0 :                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5819                 :             :                         {
    5820                 :           0 :                           if (tree_truth_valued_p (_q51))
    5821                 :             :                             {
    5822                 :           0 :                               {
    5823                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5824                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1155;
    5825                 :           0 :                                 {
    5826                 :           0 :                                   tree res_op0;
    5827                 :           0 :                                   {
    5828                 :           0 :                                     tree _o1[2], _r1;
    5829                 :           0 :                                     _o1[0] = captures[0];
    5830                 :           0 :                                     _o1[1] = captures[1];
    5831                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5832                 :           0 :                                     res_op0 = _r1;
    5833                 :             :                                   }
    5834                 :           0 :                                   tree _r;
    5835                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5836                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 839, __FILE__, __LINE__, true);
    5837                 :           0 :                                   return _r;
    5838                 :             :                                 }
    5839                 :           0 : next_after_fail1155:;
    5840                 :             :                               }
    5841                 :           0 :                               {
    5842                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    5843                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1156;
    5844                 :           0 :                                 {
    5845                 :           0 :                                   tree res_op0;
    5846                 :           0 :                                   {
    5847                 :           0 :                                     tree _o1[2], _r1;
    5848                 :           0 :                                     _o1[0] = captures[0];
    5849                 :           0 :                                     _o1[1] = captures[1];
    5850                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5851                 :           0 :                                     res_op0 = _r1;
    5852                 :             :                                   }
    5853                 :           0 :                                   tree _r;
    5854                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5855                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 839, __FILE__, __LINE__, true);
    5856                 :           0 :                                   return _r;
    5857                 :             :                                 }
    5858                 :           0 : next_after_fail1156:;
    5859                 :             :                               }
    5860                 :             :                             }
    5861                 :             :                         }
    5862                 :             :                     }
    5863                 :             :                 }
    5864                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5865                 :             :                 {
    5866                 :           0 :                   if (tree_truth_valued_p (_q50))
    5867                 :             :                     {
    5868                 :           0 :                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5869                 :             :                         {
    5870                 :           0 :                           if (tree_truth_valued_p (_q51))
    5871                 :             :                             {
    5872                 :           0 :                               {
    5873                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    5874                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1157;
    5875                 :           0 :                                 {
    5876                 :           0 :                                   tree res_op0;
    5877                 :           0 :                                   {
    5878                 :           0 :                                     tree _o1[2], _r1;
    5879                 :           0 :                                     _o1[0] = captures[0];
    5880                 :           0 :                                     _o1[1] = captures[1];
    5881                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5882                 :           0 :                                     res_op0 = _r1;
    5883                 :             :                                   }
    5884                 :           0 :                                   tree _r;
    5885                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5886                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 839, __FILE__, __LINE__, true);
    5887                 :           0 :                                   return _r;
    5888                 :             :                                 }
    5889                 :           0 : next_after_fail1157:;
    5890                 :             :                               }
    5891                 :           0 :                               {
    5892                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5893                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1158;
    5894                 :           0 :                                 {
    5895                 :           0 :                                   tree res_op0;
    5896                 :           0 :                                   {
    5897                 :           0 :                                     tree _o1[2], _r1;
    5898                 :           0 :                                     _o1[0] = captures[0];
    5899                 :           0 :                                     _o1[1] = captures[1];
    5900                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5901                 :           0 :                                     res_op0 = _r1;
    5902                 :             :                                   }
    5903                 :           0 :                                   tree _r;
    5904                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5905                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 839, __FILE__, __LINE__, true);
    5906                 :           0 :                                   return _r;
    5907                 :             :                                 }
    5908                 :           0 : next_after_fail1158:;
    5909                 :             :                               }
    5910                 :             :                             }
    5911                 :             :                         }
    5912                 :             :                     }
    5913                 :             :                 }
    5914                 :             :               break;
    5915                 :             :             }
    5916                 :             :           default:;
    5917                 :             :           }
    5918                 :             :         break;
    5919                 :             :       }
    5920                 :      624961 :     default:;
    5921                 :             :     }
    5922                 :      624961 : {
    5923                 :      624961 :   tree _p0_pops[1];
    5924                 :      624961 :   if (tree_logical_inverted_value (_p0, _p0_pops))
    5925                 :             :     {
    5926                 :          43 :       tree _q20 = _p0_pops[0];
    5927                 :          43 :       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5928                 :             :         {
    5929                 :           4 :           if (tree_truth_valued_p (_p1))
    5930                 :             :             {
    5931                 :           4 :               {
    5932                 :           4 :                 tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5933                 :           4 :                 tree res = generic_simplify_106 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5934                 :           4 :                 if (res) return res;
    5935                 :             :               }
    5936                 :             :             }
    5937                 :             :         }
    5938                 :             : }
    5939                 :             : }
    5940                 :      624957 : {
    5941                 :      624957 :   tree _p0_pops[1];
    5942                 :      624957 :   if (tree_nop_convert (_p0, _p0_pops))
    5943                 :             :     {
    5944                 :      458607 :       tree _q20 = _p0_pops[0];
    5945                 :      458607 :       switch (TREE_CODE (_q20))
    5946                 :             :         {
    5947                 :          24 :         case BIT_NOT_EXPR:
    5948                 :          24 :           {
    5949                 :          24 :             tree _q30 = TREE_OPERAND (_q20, 0);
    5950                 :          24 :             {
    5951                 :          24 :               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _p1 };
    5952                 :          24 :               tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
    5953                 :          24 :               if (res) return res;
    5954                 :             :             }
    5955                 :           0 :             break;
    5956                 :             :           }
    5957                 :             :         default:;
    5958                 :             :         }
    5959                 :             : }
    5960                 :             : }
    5961                 :      624933 : if (tree_truth_valued_p (_p0))
    5962                 :             :   {
    5963                 :       29489 :     {
    5964                 :       29489 :       tree _p1_pops[1];
    5965                 :       29489 :       if (tree_logical_inverted_value (_p1, _p1_pops))
    5966                 :             :         {
    5967                 :           7 :           tree _q30 = _p1_pops[0];
    5968                 :           7 :           if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    5969                 :             :             {
    5970                 :           0 :               {
    5971                 :           0 :                 tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5972                 :           0 :                 tree res = generic_simplify_106 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5973                 :           0 :                 if (res) return res;
    5974                 :             :               }
    5975                 :             :             }
    5976                 :             : }
    5977                 :             :     }
    5978                 :             :   }
    5979                 :      624933 :   switch (TREE_CODE (_p1))
    5980                 :             :     {
    5981                 :          18 :     case BIT_NOT_EXPR:
    5982                 :          18 :       {
    5983                 :          18 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5984                 :          18 :         {
    5985                 :          18 :           tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0 };
    5986                 :          18 :           tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
    5987                 :          18 :           if (res) return res;
    5988                 :             :         }
    5989                 :           0 :         break;
    5990                 :             :       }
    5991                 :      624915 :     default:;
    5992                 :             :     }
    5993                 :      624915 : {
    5994                 :      624915 :   tree _p1_pops[1];
    5995                 :      624915 :   if (tree_nop_convert (_p1, _p1_pops))
    5996                 :             :     {
    5997                 :      495089 :       tree _q30 = _p1_pops[0];
    5998                 :      495089 :       switch (TREE_CODE (_q30))
    5999                 :             :         {
    6000                 :           0 :         case BIT_NOT_EXPR:
    6001                 :           0 :           {
    6002                 :           0 :             tree _q40 = TREE_OPERAND (_q30, 0);
    6003                 :           0 :             {
    6004                 :           0 :               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0 };
    6005                 :           0 :               tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
    6006                 :           0 :               if (res) return res;
    6007                 :             :             }
    6008                 :           0 :             break;
    6009                 :             :           }
    6010                 :             :         default:;
    6011                 :             :         }
    6012                 :             : }
    6013                 :             : }
    6014                 :      624915 :   switch (TREE_CODE (_p0))
    6015                 :             :     {
    6016                 :         504 :     case BIT_IOR_EXPR:
    6017                 :         504 :       {
    6018                 :         504 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6019                 :         504 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6020                 :         504 :         switch (TREE_CODE (_q21))
    6021                 :             :           {
    6022                 :          25 :           case INTEGER_CST:
    6023                 :          25 :             {
    6024                 :          25 :               switch (TREE_CODE (_p1))
    6025                 :             :                 {
    6026                 :          25 :                 case INTEGER_CST:
    6027                 :          25 :                   {
    6028                 :          25 :                     {
    6029                 :          25 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    6030                 :          25 :                       tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_XOR_EXPR);
    6031                 :          25 :                       if (res) return res;
    6032                 :             :                     }
    6033                 :          25 :                     break;
    6034                 :             :                   }
    6035                 :             :                 default:;
    6036                 :             :                 }
    6037                 :             :               break;
    6038                 :             :             }
    6039                 :             :           default:;
    6040                 :             :           }
    6041                 :             :         break;
    6042                 :             :       }
    6043                 :          98 :     case LT_EXPR:
    6044                 :          98 :       {
    6045                 :          98 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6046                 :          98 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6047                 :          98 :         switch (TREE_CODE (_p1))
    6048                 :             :           {
    6049                 :           0 :           case GT_EXPR:
    6050                 :           0 :             {
    6051                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6052                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6053                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6054                 :             :                 {
    6055                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6056                 :             :                     {
    6057                 :           0 :                       {
    6058                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6059                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6060                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    6061                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6062                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6063                 :             : )
    6064                 :             :                           {
    6065                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1159;
    6066                 :           0 :                             {
    6067                 :           0 :                               tree res_op0;
    6068                 :           0 :                               res_op0 = captures[0];
    6069                 :           0 :                               tree res_op1;
    6070                 :           0 :                               res_op1 = captures[1];
    6071                 :           0 :                               tree _r;
    6072                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6073                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6074                 :           0 :                               return _r;
    6075                 :             :                             }
    6076                 :           0 : next_after_fail1159:;
    6077                 :             :                           }
    6078                 :             :                       }
    6079                 :           0 :                       {
    6080                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6081                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6082                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    6083                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6084                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6085                 :             : )
    6086                 :             :                           {
    6087                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1160;
    6088                 :           0 :                             {
    6089                 :           0 :                               tree res_op0;
    6090                 :           0 :                               res_op0 = captures[0];
    6091                 :           0 :                               tree res_op1;
    6092                 :           0 :                               res_op1 = captures[1];
    6093                 :           0 :                               tree _r;
    6094                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6095                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6096                 :           0 :                               return _r;
    6097                 :             :                             }
    6098                 :           0 : next_after_fail1160:;
    6099                 :             :                           }
    6100                 :             :                       }
    6101                 :             :                     }
    6102                 :             :                 }
    6103                 :             :               break;
    6104                 :             :             }
    6105                 :           0 :           case EQ_EXPR:
    6106                 :           0 :             {
    6107                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6108                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6109                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6110                 :             :                 {
    6111                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6112                 :             :                     {
    6113                 :           0 :                       {
    6114                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6115                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6116                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    6117                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    6118                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6119                 :             : )
    6120                 :             :                           {
    6121                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1161;
    6122                 :           0 :                             {
    6123                 :           0 :                               tree res_op0;
    6124                 :           0 :                               res_op0 = captures[0];
    6125                 :           0 :                               tree res_op1;
    6126                 :           0 :                               res_op1 = captures[1];
    6127                 :           0 :                               tree _r;
    6128                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6129                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6130                 :           0 :                               return _r;
    6131                 :             :                             }
    6132                 :           0 : next_after_fail1161:;
    6133                 :             :                           }
    6134                 :             :                       }
    6135                 :             :                     }
    6136                 :             :                 }
    6137                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6138                 :             :                 {
    6139                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6140                 :             :                     {
    6141                 :           0 :                       {
    6142                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6143                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6144                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    6145                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    6146                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6147                 :             : )
    6148                 :             :                           {
    6149                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1162;
    6150                 :           0 :                             {
    6151                 :           0 :                               tree res_op0;
    6152                 :           0 :                               res_op0 = captures[0];
    6153                 :           0 :                               tree res_op1;
    6154                 :           0 :                               res_op1 = captures[1];
    6155                 :           0 :                               tree _r;
    6156                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6157                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6158                 :           0 :                               return _r;
    6159                 :             :                             }
    6160                 :           0 : next_after_fail1162:;
    6161                 :             :                           }
    6162                 :             :                       }
    6163                 :             :                     }
    6164                 :             :                 }
    6165                 :             :               break;
    6166                 :             :             }
    6167                 :           0 :           case NE_EXPR:
    6168                 :           0 :             {
    6169                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6170                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6171                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6172                 :             :                 {
    6173                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6174                 :             :                     {
    6175                 :           0 :                       {
    6176                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6177                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6178                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    6179                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    6180                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6181                 :             : )
    6182                 :             :                           {
    6183                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1163;
    6184                 :           0 :                             {
    6185                 :           0 :                               tree res_op0;
    6186                 :           0 :                               res_op0 = captures[0];
    6187                 :           0 :                               tree res_op1;
    6188                 :           0 :                               res_op1 = captures[1];
    6189                 :           0 :                               tree _r;
    6190                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6191                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6192                 :           0 :                               return _r;
    6193                 :             :                             }
    6194                 :           0 : next_after_fail1163:;
    6195                 :             :                           }
    6196                 :             :                       }
    6197                 :             :                     }
    6198                 :             :                 }
    6199                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6200                 :             :                 {
    6201                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6202                 :             :                     {
    6203                 :           0 :                       {
    6204                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6205                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6206                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    6207                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    6208                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6209                 :             : )
    6210                 :             :                           {
    6211                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1164;
    6212                 :           0 :                             {
    6213                 :           0 :                               tree res_op0;
    6214                 :           0 :                               res_op0 = captures[0];
    6215                 :           0 :                               tree res_op1;
    6216                 :           0 :                               res_op1 = captures[1];
    6217                 :           0 :                               tree _r;
    6218                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6219                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6220                 :           0 :                               return _r;
    6221                 :             :                             }
    6222                 :           0 : next_after_fail1164:;
    6223                 :             :                           }
    6224                 :             :                       }
    6225                 :             :                     }
    6226                 :             :                 }
    6227                 :             :               break;
    6228                 :             :             }
    6229                 :          17 :           case LT_EXPR:
    6230                 :          17 :             {
    6231                 :          17 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6232                 :          17 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6233                 :          17 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6234                 :             :                 {
    6235                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6236                 :             :                     {
    6237                 :           0 :                       {
    6238                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6239                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6240                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    6241                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6242                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6243                 :             : )
    6244                 :             :                           {
    6245                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1165;
    6246                 :           0 :                             {
    6247                 :           0 :                               tree res_op0;
    6248                 :           0 :                               res_op0 = captures[0];
    6249                 :           0 :                               tree res_op1;
    6250                 :           0 :                               res_op1 = captures[1];
    6251                 :           0 :                               tree _r;
    6252                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6253                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6254                 :           0 :                               return _r;
    6255                 :             :                             }
    6256                 :           0 : next_after_fail1165:;
    6257                 :             :                           }
    6258                 :             :                       }
    6259                 :           0 :                       {
    6260                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6261                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6262                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    6263                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6264                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6265                 :             : )
    6266                 :             :                           {
    6267                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1166;
    6268                 :           0 :                             {
    6269                 :           0 :                               tree res_op0;
    6270                 :           0 :                               res_op0 = captures[0];
    6271                 :           0 :                               tree res_op1;
    6272                 :           0 :                               res_op1 = captures[1];
    6273                 :           0 :                               tree _r;
    6274                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6275                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6276                 :           0 :                               return _r;
    6277                 :             :                             }
    6278                 :           0 : next_after_fail1166:;
    6279                 :             :                           }
    6280                 :             :                       }
    6281                 :             :                     }
    6282                 :             :                 }
    6283                 :             :               break;
    6284                 :             :             }
    6285                 :             :           default:;
    6286                 :             :           }
    6287                 :             :         break;
    6288                 :             :       }
    6289                 :          81 :     case LE_EXPR:
    6290                 :          81 :       {
    6291                 :          81 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6292                 :          81 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6293                 :          81 :         switch (TREE_CODE (_p1))
    6294                 :             :           {
    6295                 :           0 :           case GE_EXPR:
    6296                 :           0 :             {
    6297                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6298                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6299                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6300                 :             :                 {
    6301                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6302                 :             :                     {
    6303                 :           0 :                       {
    6304                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6305                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6306                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    6307                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6308                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6309                 :             : )
    6310                 :             :                           {
    6311                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1167;
    6312                 :           0 :                             {
    6313                 :           0 :                               tree res_op0;
    6314                 :           0 :                               res_op0 = captures[0];
    6315                 :           0 :                               tree res_op1;
    6316                 :           0 :                               res_op1 = captures[1];
    6317                 :           0 :                               tree _r;
    6318                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6319                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6320                 :           0 :                               return _r;
    6321                 :             :                             }
    6322                 :           0 : next_after_fail1167:;
    6323                 :             :                           }
    6324                 :             :                       }
    6325                 :           0 :                       {
    6326                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6327                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6328                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    6329                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6330                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6331                 :             : )
    6332                 :             :                           {
    6333                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1168;
    6334                 :           0 :                             {
    6335                 :           0 :                               tree res_op0;
    6336                 :           0 :                               res_op0 = captures[0];
    6337                 :           0 :                               tree res_op1;
    6338                 :           0 :                               res_op1 = captures[1];
    6339                 :           0 :                               tree _r;
    6340                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6341                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6342                 :           0 :                               return _r;
    6343                 :             :                             }
    6344                 :           0 : next_after_fail1168:;
    6345                 :             :                           }
    6346                 :             :                       }
    6347                 :             :                     }
    6348                 :             :                 }
    6349                 :             :               break;
    6350                 :             :             }
    6351                 :           0 :           case EQ_EXPR:
    6352                 :           0 :             {
    6353                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6354                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6355                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6356                 :             :                 {
    6357                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6358                 :             :                     {
    6359                 :           0 :                       {
    6360                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6361                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6362                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    6363                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    6364                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6365                 :             : )
    6366                 :             :                           {
    6367                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1169;
    6368                 :           0 :                             {
    6369                 :           0 :                               tree res_op0;
    6370                 :           0 :                               res_op0 = captures[0];
    6371                 :           0 :                               tree res_op1;
    6372                 :           0 :                               res_op1 = captures[1];
    6373                 :           0 :                               tree _r;
    6374                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6375                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6376                 :           0 :                               return _r;
    6377                 :             :                             }
    6378                 :           0 : next_after_fail1169:;
    6379                 :             :                           }
    6380                 :             :                       }
    6381                 :             :                     }
    6382                 :             :                 }
    6383                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6384                 :             :                 {
    6385                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6386                 :             :                     {
    6387                 :           0 :                       {
    6388                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6389                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6390                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    6391                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    6392                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6393                 :             : )
    6394                 :             :                           {
    6395                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1170;
    6396                 :           0 :                             {
    6397                 :           0 :                               tree res_op0;
    6398                 :           0 :                               res_op0 = captures[0];
    6399                 :           0 :                               tree res_op1;
    6400                 :           0 :                               res_op1 = captures[1];
    6401                 :           0 :                               tree _r;
    6402                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6403                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6404                 :           0 :                               return _r;
    6405                 :             :                             }
    6406                 :           0 : next_after_fail1170:;
    6407                 :             :                           }
    6408                 :             :                       }
    6409                 :             :                     }
    6410                 :             :                 }
    6411                 :             :               break;
    6412                 :             :             }
    6413                 :           0 :           case NE_EXPR:
    6414                 :           0 :             {
    6415                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6416                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6417                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6418                 :             :                 {
    6419                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6420                 :             :                     {
    6421                 :           0 :                       {
    6422                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6423                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6424                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    6425                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    6426                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6427                 :             : )
    6428                 :             :                           {
    6429                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1171;
    6430                 :           0 :                             {
    6431                 :           0 :                               tree res_op0;
    6432                 :           0 :                               res_op0 = captures[0];
    6433                 :           0 :                               tree res_op1;
    6434                 :           0 :                               res_op1 = captures[1];
    6435                 :           0 :                               tree _r;
    6436                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6437                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6438                 :           0 :                               return _r;
    6439                 :             :                             }
    6440                 :           0 : next_after_fail1171:;
    6441                 :             :                           }
    6442                 :             :                       }
    6443                 :             :                     }
    6444                 :             :                 }
    6445                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6446                 :             :                 {
    6447                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6448                 :             :                     {
    6449                 :           0 :                       {
    6450                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6451                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6452                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    6453                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    6454                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6455                 :             : )
    6456                 :             :                           {
    6457                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1172;
    6458                 :           0 :                             {
    6459                 :           0 :                               tree res_op0;
    6460                 :           0 :                               res_op0 = captures[0];
    6461                 :           0 :                               tree res_op1;
    6462                 :           0 :                               res_op1 = captures[1];
    6463                 :           0 :                               tree _r;
    6464                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6465                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6466                 :           0 :                               return _r;
    6467                 :             :                             }
    6468                 :           0 : next_after_fail1172:;
    6469                 :             :                           }
    6470                 :             :                       }
    6471                 :             :                     }
    6472                 :             :                 }
    6473                 :             :               break;
    6474                 :             :             }
    6475                 :           0 :           case LE_EXPR:
    6476                 :           0 :             {
    6477                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6478                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6479                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6480                 :             :                 {
    6481                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6482                 :             :                     {
    6483                 :           0 :                       {
    6484                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6485                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6486                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    6487                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6488                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6489                 :             : )
    6490                 :             :                           {
    6491                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1173;
    6492                 :           0 :                             {
    6493                 :           0 :                               tree res_op0;
    6494                 :           0 :                               res_op0 = captures[0];
    6495                 :           0 :                               tree res_op1;
    6496                 :           0 :                               res_op1 = captures[1];
    6497                 :           0 :                               tree _r;
    6498                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6499                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6500                 :           0 :                               return _r;
    6501                 :             :                             }
    6502                 :           0 : next_after_fail1173:;
    6503                 :             :                           }
    6504                 :             :                       }
    6505                 :           0 :                       {
    6506                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6507                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6508                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    6509                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6510                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6511                 :             : )
    6512                 :             :                           {
    6513                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1174;
    6514                 :           0 :                             {
    6515                 :           0 :                               tree res_op0;
    6516                 :           0 :                               res_op0 = captures[0];
    6517                 :           0 :                               tree res_op1;
    6518                 :           0 :                               res_op1 = captures[1];
    6519                 :           0 :                               tree _r;
    6520                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6521                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6522                 :           0 :                               return _r;
    6523                 :             :                             }
    6524                 :           0 : next_after_fail1174:;
    6525                 :             :                           }
    6526                 :             :                       }
    6527                 :             :                     }
    6528                 :             :                 }
    6529                 :             :               break;
    6530                 :             :             }
    6531                 :             :           default:;
    6532                 :             :           }
    6533                 :             :         break;
    6534                 :             :       }
    6535                 :         104 :     case GT_EXPR:
    6536                 :         104 :       {
    6537                 :         104 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6538                 :         104 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6539                 :         104 :         switch (TREE_CODE (_p1))
    6540                 :             :           {
    6541                 :           0 :           case GT_EXPR:
    6542                 :           0 :             {
    6543                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6544                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6545                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6546                 :             :                 {
    6547                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6548                 :             :                     {
    6549                 :           0 :                       {
    6550                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6551                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6552                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    6553                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6554                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6555                 :             : )
    6556                 :             :                           {
    6557                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1175;
    6558                 :           0 :                             {
    6559                 :           0 :                               tree res_op0;
    6560                 :           0 :                               res_op0 = captures[0];
    6561                 :           0 :                               tree res_op1;
    6562                 :           0 :                               res_op1 = captures[1];
    6563                 :           0 :                               tree _r;
    6564                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6565                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6566                 :           0 :                               return _r;
    6567                 :             :                             }
    6568                 :           0 : next_after_fail1175:;
    6569                 :             :                           }
    6570                 :             :                       }
    6571                 :           0 :                       {
    6572                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6573                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6574                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    6575                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6576                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6577                 :             : )
    6578                 :             :                           {
    6579                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1176;
    6580                 :           0 :                             {
    6581                 :           0 :                               tree res_op0;
    6582                 :           0 :                               res_op0 = captures[0];
    6583                 :           0 :                               tree res_op1;
    6584                 :           0 :                               res_op1 = captures[1];
    6585                 :           0 :                               tree _r;
    6586                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6587                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6588                 :           0 :                               return _r;
    6589                 :             :                             }
    6590                 :           0 : next_after_fail1176:;
    6591                 :             :                           }
    6592                 :             :                       }
    6593                 :             :                     }
    6594                 :             :                 }
    6595                 :             :               break;
    6596                 :             :             }
    6597                 :           0 :           case EQ_EXPR:
    6598                 :           0 :             {
    6599                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6600                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6601                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6602                 :             :                 {
    6603                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6604                 :             :                     {
    6605                 :           0 :                       {
    6606                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6607                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6608                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    6609                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    6610                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6611                 :             : )
    6612                 :             :                           {
    6613                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1177;
    6614                 :           0 :                             {
    6615                 :           0 :                               tree res_op0;
    6616                 :           0 :                               res_op0 = captures[0];
    6617                 :           0 :                               tree res_op1;
    6618                 :           0 :                               res_op1 = captures[1];
    6619                 :           0 :                               tree _r;
    6620                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6621                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6622                 :           0 :                               return _r;
    6623                 :             :                             }
    6624                 :           0 : next_after_fail1177:;
    6625                 :             :                           }
    6626                 :             :                       }
    6627                 :             :                     }
    6628                 :             :                 }
    6629                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6630                 :             :                 {
    6631                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6632                 :             :                     {
    6633                 :           0 :                       {
    6634                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6635                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6636                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    6637                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    6638                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6639                 :             : )
    6640                 :             :                           {
    6641                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1178;
    6642                 :           0 :                             {
    6643                 :           0 :                               tree res_op0;
    6644                 :           0 :                               res_op0 = captures[0];
    6645                 :           0 :                               tree res_op1;
    6646                 :           0 :                               res_op1 = captures[1];
    6647                 :           0 :                               tree _r;
    6648                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6649                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6650                 :           0 :                               return _r;
    6651                 :             :                             }
    6652                 :           0 : next_after_fail1178:;
    6653                 :             :                           }
    6654                 :             :                       }
    6655                 :             :                     }
    6656                 :             :                 }
    6657                 :             :               break;
    6658                 :             :             }
    6659                 :          12 :           case NE_EXPR:
    6660                 :          12 :             {
    6661                 :          12 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6662                 :          12 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6663                 :          12 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6664                 :             :                 {
    6665                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6666                 :             :                     {
    6667                 :           0 :                       {
    6668                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6669                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6670                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    6671                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    6672                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6673                 :             : )
    6674                 :             :                           {
    6675                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1179;
    6676                 :           0 :                             {
    6677                 :           0 :                               tree res_op0;
    6678                 :           0 :                               res_op0 = captures[0];
    6679                 :           0 :                               tree res_op1;
    6680                 :           0 :                               res_op1 = captures[1];
    6681                 :           0 :                               tree _r;
    6682                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6683                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6684                 :           0 :                               return _r;
    6685                 :             :                             }
    6686                 :           0 : next_after_fail1179:;
    6687                 :             :                           }
    6688                 :             :                       }
    6689                 :             :                     }
    6690                 :             :                 }
    6691                 :          12 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6692                 :             :                 {
    6693                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6694                 :             :                     {
    6695                 :           0 :                       {
    6696                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6697                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6698                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    6699                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    6700                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6701                 :             : )
    6702                 :             :                           {
    6703                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1180;
    6704                 :           0 :                             {
    6705                 :           0 :                               tree res_op0;
    6706                 :           0 :                               res_op0 = captures[0];
    6707                 :           0 :                               tree res_op1;
    6708                 :           0 :                               res_op1 = captures[1];
    6709                 :           0 :                               tree _r;
    6710                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6711                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6712                 :           0 :                               return _r;
    6713                 :             :                             }
    6714                 :           0 : next_after_fail1180:;
    6715                 :             :                           }
    6716                 :             :                       }
    6717                 :             :                     }
    6718                 :             :                 }
    6719                 :             :               break;
    6720                 :             :             }
    6721                 :           0 :           case LT_EXPR:
    6722                 :           0 :             {
    6723                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6724                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6725                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6726                 :             :                 {
    6727                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6728                 :             :                     {
    6729                 :           0 :                       {
    6730                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6731                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6732                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    6733                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6734                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6735                 :             : )
    6736                 :             :                           {
    6737                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1181;
    6738                 :           0 :                             {
    6739                 :           0 :                               tree res_op0;
    6740                 :           0 :                               res_op0 = captures[0];
    6741                 :           0 :                               tree res_op1;
    6742                 :           0 :                               res_op1 = captures[1];
    6743                 :           0 :                               tree _r;
    6744                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6745                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6746                 :           0 :                               return _r;
    6747                 :             :                             }
    6748                 :           0 : next_after_fail1181:;
    6749                 :             :                           }
    6750                 :             :                       }
    6751                 :           0 :                       {
    6752                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6753                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    6754                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    6755                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6756                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6757                 :             : )
    6758                 :             :                           {
    6759                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1182;
    6760                 :           0 :                             {
    6761                 :           0 :                               tree res_op0;
    6762                 :           0 :                               res_op0 = captures[0];
    6763                 :           0 :                               tree res_op1;
    6764                 :           0 :                               res_op1 = captures[1];
    6765                 :           0 :                               tree _r;
    6766                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6767                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6768                 :           0 :                               return _r;
    6769                 :             :                             }
    6770                 :           0 : next_after_fail1182:;
    6771                 :             :                           }
    6772                 :             :                       }
    6773                 :             :                     }
    6774                 :             :                 }
    6775                 :             :               break;
    6776                 :             :             }
    6777                 :             :           default:;
    6778                 :             :           }
    6779                 :             :         break;
    6780                 :             :       }
    6781                 :          70 :     case GE_EXPR:
    6782                 :          70 :       {
    6783                 :          70 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6784                 :          70 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6785                 :          70 :         switch (TREE_CODE (_p1))
    6786                 :             :           {
    6787                 :           1 :           case GE_EXPR:
    6788                 :           1 :             {
    6789                 :           1 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6790                 :           1 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6791                 :           1 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6792                 :             :                 {
    6793                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6794                 :             :                     {
    6795                 :           0 :                       {
    6796                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6797                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6798                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    6799                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6800                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6801                 :             : )
    6802                 :             :                           {
    6803                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1183;
    6804                 :           0 :                             {
    6805                 :           0 :                               tree res_op0;
    6806                 :           0 :                               res_op0 = captures[0];
    6807                 :           0 :                               tree res_op1;
    6808                 :           0 :                               res_op1 = captures[1];
    6809                 :           0 :                               tree _r;
    6810                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6811                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6812                 :           0 :                               return _r;
    6813                 :             :                             }
    6814                 :           0 : next_after_fail1183:;
    6815                 :             :                           }
    6816                 :             :                       }
    6817                 :           0 :                       {
    6818                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6819                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6820                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    6821                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6822                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6823                 :             : )
    6824                 :             :                           {
    6825                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1184;
    6826                 :           0 :                             {
    6827                 :           0 :                               tree res_op0;
    6828                 :           0 :                               res_op0 = captures[0];
    6829                 :           0 :                               tree res_op1;
    6830                 :           0 :                               res_op1 = captures[1];
    6831                 :           0 :                               tree _r;
    6832                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6833                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6834                 :           0 :                               return _r;
    6835                 :             :                             }
    6836                 :           0 : next_after_fail1184:;
    6837                 :             :                           }
    6838                 :             :                       }
    6839                 :             :                     }
    6840                 :             :                 }
    6841                 :             :               break;
    6842                 :             :             }
    6843                 :           0 :           case EQ_EXPR:
    6844                 :           0 :             {
    6845                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6846                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6847                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6848                 :             :                 {
    6849                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6850                 :             :                     {
    6851                 :           0 :                       {
    6852                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6853                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6854                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    6855                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    6856                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6857                 :             : )
    6858                 :             :                           {
    6859                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1185;
    6860                 :           0 :                             {
    6861                 :           0 :                               tree res_op0;
    6862                 :           0 :                               res_op0 = captures[0];
    6863                 :           0 :                               tree res_op1;
    6864                 :           0 :                               res_op1 = captures[1];
    6865                 :           0 :                               tree _r;
    6866                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6867                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6868                 :           0 :                               return _r;
    6869                 :             :                             }
    6870                 :           0 : next_after_fail1185:;
    6871                 :             :                           }
    6872                 :             :                       }
    6873                 :             :                     }
    6874                 :             :                 }
    6875                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6876                 :             :                 {
    6877                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6878                 :             :                     {
    6879                 :           0 :                       {
    6880                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6881                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6882                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    6883                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    6884                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6885                 :             : )
    6886                 :             :                           {
    6887                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1186;
    6888                 :           0 :                             {
    6889                 :           0 :                               tree res_op0;
    6890                 :           0 :                               res_op0 = captures[0];
    6891                 :           0 :                               tree res_op1;
    6892                 :           0 :                               res_op1 = captures[1];
    6893                 :           0 :                               tree _r;
    6894                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6895                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6896                 :           0 :                               return _r;
    6897                 :             :                             }
    6898                 :           0 : next_after_fail1186:;
    6899                 :             :                           }
    6900                 :             :                       }
    6901                 :             :                     }
    6902                 :             :                 }
    6903                 :             :               break;
    6904                 :             :             }
    6905                 :           8 :           case NE_EXPR:
    6906                 :           8 :             {
    6907                 :           8 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6908                 :           8 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6909                 :           8 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6910                 :             :                 {
    6911                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6912                 :             :                     {
    6913                 :           0 :                       {
    6914                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6915                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6916                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    6917                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    6918                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6919                 :             : )
    6920                 :             :                           {
    6921                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1187;
    6922                 :           0 :                             {
    6923                 :           0 :                               tree res_op0;
    6924                 :           0 :                               res_op0 = captures[0];
    6925                 :           0 :                               tree res_op1;
    6926                 :           0 :                               res_op1 = captures[1];
    6927                 :           0 :                               tree _r;
    6928                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6929                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6930                 :           0 :                               return _r;
    6931                 :             :                             }
    6932                 :           0 : next_after_fail1187:;
    6933                 :             :                           }
    6934                 :             :                       }
    6935                 :             :                     }
    6936                 :             :                 }
    6937                 :           8 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6938                 :             :                 {
    6939                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6940                 :             :                     {
    6941                 :           0 :                       {
    6942                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6943                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6944                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    6945                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    6946                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6947                 :             : )
    6948                 :             :                           {
    6949                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1188;
    6950                 :           0 :                             {
    6951                 :           0 :                               tree res_op0;
    6952                 :           0 :                               res_op0 = captures[0];
    6953                 :           0 :                               tree res_op1;
    6954                 :           0 :                               res_op1 = captures[1];
    6955                 :           0 :                               tree _r;
    6956                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6957                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6958                 :           0 :                               return _r;
    6959                 :             :                             }
    6960                 :           0 : next_after_fail1188:;
    6961                 :             :                           }
    6962                 :             :                       }
    6963                 :             :                     }
    6964                 :             :                 }
    6965                 :             :               break;
    6966                 :             :             }
    6967                 :           0 :           case LE_EXPR:
    6968                 :           0 :             {
    6969                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6970                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6971                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6972                 :             :                 {
    6973                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6974                 :             :                     {
    6975                 :           0 :                       {
    6976                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6977                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    6978                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    6979                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    6980                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6981                 :             : )
    6982                 :             :                           {
    6983                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1189;
    6984                 :           0 :                             {
    6985                 :           0 :                               tree res_op0;
    6986                 :           0 :                               res_op0 = captures[0];
    6987                 :           0 :                               tree res_op1;
    6988                 :           0 :                               res_op1 = captures[1];
    6989                 :           0 :                               tree _r;
    6990                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    6991                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    6992                 :           0 :                               return _r;
    6993                 :             :                             }
    6994                 :           0 : next_after_fail1189:;
    6995                 :             :                           }
    6996                 :             :                       }
    6997                 :           0 :                       {
    6998                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6999                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    7000                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    7001                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    7002                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7003                 :             : )
    7004                 :             :                           {
    7005                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1190;
    7006                 :           0 :                             {
    7007                 :           0 :                               tree res_op0;
    7008                 :           0 :                               res_op0 = captures[0];
    7009                 :           0 :                               tree res_op1;
    7010                 :           0 :                               res_op1 = captures[1];
    7011                 :           0 :                               tree _r;
    7012                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7013                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7014                 :           0 :                               return _r;
    7015                 :             :                             }
    7016                 :           0 : next_after_fail1190:;
    7017                 :             :                           }
    7018                 :             :                       }
    7019                 :             :                     }
    7020                 :             :                 }
    7021                 :             :               break;
    7022                 :             :             }
    7023                 :             :           default:;
    7024                 :             :           }
    7025                 :             :         break;
    7026                 :             :       }
    7027                 :         124 :     case EQ_EXPR:
    7028                 :         124 :       {
    7029                 :         124 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7030                 :         124 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7031                 :         124 :         switch (TREE_CODE (_p1))
    7032                 :             :           {
    7033                 :           0 :           case LT_EXPR:
    7034                 :           0 :             {
    7035                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7036                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7037                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7038                 :             :                 {
    7039                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7040                 :             :                     {
    7041                 :           0 :                       {
    7042                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7043                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    7044                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    7045                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    7046                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7047                 :             : )
    7048                 :             :                           {
    7049                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1191;
    7050                 :           0 :                             {
    7051                 :           0 :                               tree res_op0;
    7052                 :           0 :                               res_op0 = captures[0];
    7053                 :           0 :                               tree res_op1;
    7054                 :           0 :                               res_op1 = captures[1];
    7055                 :           0 :                               tree _r;
    7056                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7057                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7058                 :           0 :                               return _r;
    7059                 :             :                             }
    7060                 :           0 : next_after_fail1191:;
    7061                 :             :                           }
    7062                 :             :                       }
    7063                 :             :                     }
    7064                 :             :                 }
    7065                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7066                 :             :                 {
    7067                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7068                 :             :                     {
    7069                 :           0 :                       {
    7070                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7071                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    7072                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    7073                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    7074                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7075                 :             : )
    7076                 :             :                           {
    7077                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1192;
    7078                 :           0 :                             {
    7079                 :           0 :                               tree res_op0;
    7080                 :           0 :                               res_op0 = captures[0];
    7081                 :           0 :                               tree res_op1;
    7082                 :           0 :                               res_op1 = captures[1];
    7083                 :           0 :                               tree _r;
    7084                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7085                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7086                 :           0 :                               return _r;
    7087                 :             :                             }
    7088                 :           0 : next_after_fail1192:;
    7089                 :             :                           }
    7090                 :             :                       }
    7091                 :             :                     }
    7092                 :             :                 }
    7093                 :             :               break;
    7094                 :             :             }
    7095                 :           0 :           case LE_EXPR:
    7096                 :           0 :             {
    7097                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7098                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7099                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7100                 :             :                 {
    7101                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7102                 :             :                     {
    7103                 :           0 :                       {
    7104                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7105                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    7106                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    7107                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    7108                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7109                 :             : )
    7110                 :             :                           {
    7111                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1193;
    7112                 :           0 :                             {
    7113                 :           0 :                               tree res_op0;
    7114                 :           0 :                               res_op0 = captures[0];
    7115                 :           0 :                               tree res_op1;
    7116                 :           0 :                               res_op1 = captures[1];
    7117                 :           0 :                               tree _r;
    7118                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7119                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7120                 :           0 :                               return _r;
    7121                 :             :                             }
    7122                 :           0 : next_after_fail1193:;
    7123                 :             :                           }
    7124                 :             :                       }
    7125                 :             :                     }
    7126                 :             :                 }
    7127                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7128                 :             :                 {
    7129                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7130                 :             :                     {
    7131                 :           0 :                       {
    7132                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7133                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    7134                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    7135                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    7136                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7137                 :             : )
    7138                 :             :                           {
    7139                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1194;
    7140                 :           0 :                             {
    7141                 :           0 :                               tree res_op0;
    7142                 :           0 :                               res_op0 = captures[0];
    7143                 :           0 :                               tree res_op1;
    7144                 :           0 :                               res_op1 = captures[1];
    7145                 :           0 :                               tree _r;
    7146                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7147                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7148                 :           0 :                               return _r;
    7149                 :             :                             }
    7150                 :           0 : next_after_fail1194:;
    7151                 :             :                           }
    7152                 :             :                       }
    7153                 :             :                     }
    7154                 :             :                 }
    7155                 :             :               break;
    7156                 :             :             }
    7157                 :           0 :           case GT_EXPR:
    7158                 :           0 :             {
    7159                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7160                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7161                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7162                 :             :                 {
    7163                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7164                 :             :                     {
    7165                 :           0 :                       {
    7166                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7167                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    7168                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    7169                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    7170                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7171                 :             : )
    7172                 :             :                           {
    7173                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1195;
    7174                 :           0 :                             {
    7175                 :           0 :                               tree res_op0;
    7176                 :           0 :                               res_op0 = captures[0];
    7177                 :           0 :                               tree res_op1;
    7178                 :           0 :                               res_op1 = captures[1];
    7179                 :           0 :                               tree _r;
    7180                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7181                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7182                 :           0 :                               return _r;
    7183                 :             :                             }
    7184                 :           0 : next_after_fail1195:;
    7185                 :             :                           }
    7186                 :             :                       }
    7187                 :             :                     }
    7188                 :             :                 }
    7189                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7190                 :             :                 {
    7191                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7192                 :             :                     {
    7193                 :           0 :                       {
    7194                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7195                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    7196                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    7197                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    7198                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7199                 :             : )
    7200                 :             :                           {
    7201                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1196;
    7202                 :           0 :                             {
    7203                 :           0 :                               tree res_op0;
    7204                 :           0 :                               res_op0 = captures[0];
    7205                 :           0 :                               tree res_op1;
    7206                 :           0 :                               res_op1 = captures[1];
    7207                 :           0 :                               tree _r;
    7208                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7209                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7210                 :           0 :                               return _r;
    7211                 :             :                             }
    7212                 :           0 : next_after_fail1196:;
    7213                 :             :                           }
    7214                 :             :                       }
    7215                 :             :                     }
    7216                 :             :                 }
    7217                 :             :               break;
    7218                 :             :             }
    7219                 :           2 :           case GE_EXPR:
    7220                 :           2 :             {
    7221                 :           2 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7222                 :           2 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7223                 :           2 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7224                 :             :                 {
    7225                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7226                 :             :                     {
    7227                 :           0 :                       {
    7228                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7229                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    7230                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    7231                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    7232                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7233                 :             : )
    7234                 :             :                           {
    7235                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1197;
    7236                 :           0 :                             {
    7237                 :           0 :                               tree res_op0;
    7238                 :           0 :                               res_op0 = captures[0];
    7239                 :           0 :                               tree res_op1;
    7240                 :           0 :                               res_op1 = captures[1];
    7241                 :           0 :                               tree _r;
    7242                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7243                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7244                 :           0 :                               return _r;
    7245                 :             :                             }
    7246                 :           0 : next_after_fail1197:;
    7247                 :             :                           }
    7248                 :             :                       }
    7249                 :             :                     }
    7250                 :             :                 }
    7251                 :           2 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7252                 :             :                 {
    7253                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7254                 :             :                     {
    7255                 :           0 :                       {
    7256                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7257                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    7258                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    7259                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    7260                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7261                 :             : )
    7262                 :             :                           {
    7263                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1198;
    7264                 :           0 :                             {
    7265                 :           0 :                               tree res_op0;
    7266                 :           0 :                               res_op0 = captures[0];
    7267                 :           0 :                               tree res_op1;
    7268                 :           0 :                               res_op1 = captures[1];
    7269                 :           0 :                               tree _r;
    7270                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7271                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7272                 :           0 :                               return _r;
    7273                 :             :                             }
    7274                 :           0 : next_after_fail1198:;
    7275                 :             :                           }
    7276                 :             :                       }
    7277                 :             :                     }
    7278                 :             :                 }
    7279                 :             :               break;
    7280                 :             :             }
    7281                 :             :           default:;
    7282                 :             :           }
    7283                 :             :         break;
    7284                 :             :       }
    7285                 :          82 :     case NE_EXPR:
    7286                 :          82 :       {
    7287                 :          82 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7288                 :          82 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7289                 :          82 :         switch (TREE_CODE (_p1))
    7290                 :             :           {
    7291                 :           0 :           case LT_EXPR:
    7292                 :           0 :             {
    7293                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7294                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7295                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7296                 :             :                 {
    7297                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7298                 :             :                     {
    7299                 :           0 :                       {
    7300                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7301                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    7302                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    7303                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    7304                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7305                 :             : )
    7306                 :             :                           {
    7307                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1199;
    7308                 :           0 :                             {
    7309                 :           0 :                               tree res_op0;
    7310                 :           0 :                               res_op0 = captures[0];
    7311                 :           0 :                               tree res_op1;
    7312                 :           0 :                               res_op1 = captures[1];
    7313                 :           0 :                               tree _r;
    7314                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7315                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7316                 :           0 :                               return _r;
    7317                 :             :                             }
    7318                 :           0 : next_after_fail1199:;
    7319                 :             :                           }
    7320                 :             :                       }
    7321                 :             :                     }
    7322                 :             :                 }
    7323                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7324                 :             :                 {
    7325                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7326                 :             :                     {
    7327                 :           0 :                       {
    7328                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7329                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    7330                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    7331                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    7332                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7333                 :             : )
    7334                 :             :                           {
    7335                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1200;
    7336                 :           0 :                             {
    7337                 :           0 :                               tree res_op0;
    7338                 :           0 :                               res_op0 = captures[0];
    7339                 :           0 :                               tree res_op1;
    7340                 :           0 :                               res_op1 = captures[1];
    7341                 :           0 :                               tree _r;
    7342                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7343                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7344                 :           0 :                               return _r;
    7345                 :             :                             }
    7346                 :           0 : next_after_fail1200:;
    7347                 :             :                           }
    7348                 :             :                       }
    7349                 :             :                     }
    7350                 :             :                 }
    7351                 :             :               break;
    7352                 :             :             }
    7353                 :           0 :           case LE_EXPR:
    7354                 :           0 :             {
    7355                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7356                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7357                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7358                 :             :                 {
    7359                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7360                 :             :                     {
    7361                 :           0 :                       {
    7362                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7363                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    7364                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    7365                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    7366                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7367                 :             : )
    7368                 :             :                           {
    7369                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1201;
    7370                 :           0 :                             {
    7371                 :           0 :                               tree res_op0;
    7372                 :           0 :                               res_op0 = captures[0];
    7373                 :           0 :                               tree res_op1;
    7374                 :           0 :                               res_op1 = captures[1];
    7375                 :           0 :                               tree _r;
    7376                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7377                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7378                 :           0 :                               return _r;
    7379                 :             :                             }
    7380                 :           0 : next_after_fail1201:;
    7381                 :             :                           }
    7382                 :             :                       }
    7383                 :             :                     }
    7384                 :             :                 }
    7385                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7386                 :             :                 {
    7387                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7388                 :             :                     {
    7389                 :           0 :                       {
    7390                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7391                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    7392                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    7393                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    7394                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7395                 :             : )
    7396                 :             :                           {
    7397                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1202;
    7398                 :           0 :                             {
    7399                 :           0 :                               tree res_op0;
    7400                 :           0 :                               res_op0 = captures[0];
    7401                 :           0 :                               tree res_op1;
    7402                 :           0 :                               res_op1 = captures[1];
    7403                 :           0 :                               tree _r;
    7404                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7405                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7406                 :           0 :                               return _r;
    7407                 :             :                             }
    7408                 :           0 : next_after_fail1202:;
    7409                 :             :                           }
    7410                 :             :                       }
    7411                 :             :                     }
    7412                 :             :                 }
    7413                 :             :               break;
    7414                 :             :             }
    7415                 :           0 :           case GT_EXPR:
    7416                 :           0 :             {
    7417                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7418                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7419                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7420                 :             :                 {
    7421                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7422                 :             :                     {
    7423                 :           0 :                       {
    7424                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7425                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    7426                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    7427                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    7428                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7429                 :             : )
    7430                 :             :                           {
    7431                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1203;
    7432                 :           0 :                             {
    7433                 :           0 :                               tree res_op0;
    7434                 :           0 :                               res_op0 = captures[0];
    7435                 :           0 :                               tree res_op1;
    7436                 :           0 :                               res_op1 = captures[1];
    7437                 :           0 :                               tree _r;
    7438                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7439                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7440                 :           0 :                               return _r;
    7441                 :             :                             }
    7442                 :           0 : next_after_fail1203:;
    7443                 :             :                           }
    7444                 :             :                       }
    7445                 :             :                     }
    7446                 :             :                 }
    7447                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7448                 :             :                 {
    7449                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7450                 :             :                     {
    7451                 :           0 :                       {
    7452                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7453                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    7454                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    7455                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    7456                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7457                 :             : )
    7458                 :             :                           {
    7459                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1204;
    7460                 :           0 :                             {
    7461                 :           0 :                               tree res_op0;
    7462                 :           0 :                               res_op0 = captures[0];
    7463                 :           0 :                               tree res_op1;
    7464                 :           0 :                               res_op1 = captures[1];
    7465                 :           0 :                               tree _r;
    7466                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7467                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7468                 :           0 :                               return _r;
    7469                 :             :                             }
    7470                 :           0 : next_after_fail1204:;
    7471                 :             :                           }
    7472                 :             :                       }
    7473                 :             :                     }
    7474                 :             :                 }
    7475                 :             :               break;
    7476                 :             :             }
    7477                 :           0 :           case GE_EXPR:
    7478                 :           0 :             {
    7479                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7480                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7481                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7482                 :             :                 {
    7483                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7484                 :             :                     {
    7485                 :           0 :                       {
    7486                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7487                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    7488                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    7489                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    7490                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7491                 :             : )
    7492                 :             :                           {
    7493                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1205;
    7494                 :           0 :                             {
    7495                 :           0 :                               tree res_op0;
    7496                 :           0 :                               res_op0 = captures[0];
    7497                 :           0 :                               tree res_op1;
    7498                 :           0 :                               res_op1 = captures[1];
    7499                 :           0 :                               tree _r;
    7500                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7501                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7502                 :           0 :                               return _r;
    7503                 :             :                             }
    7504                 :           0 : next_after_fail1205:;
    7505                 :             :                           }
    7506                 :             :                       }
    7507                 :             :                     }
    7508                 :             :                 }
    7509                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7510                 :             :                 {
    7511                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7512                 :             :                     {
    7513                 :           0 :                       {
    7514                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7515                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    7516                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    7517                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    7518                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7519                 :             : )
    7520                 :             :                           {
    7521                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1206;
    7522                 :           0 :                             {
    7523                 :           0 :                               tree res_op0;
    7524                 :           0 :                               res_op0 = captures[0];
    7525                 :           0 :                               tree res_op1;
    7526                 :           0 :                               res_op1 = captures[1];
    7527                 :           0 :                               tree _r;
    7528                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    7529                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    7530                 :           0 :                               return _r;
    7531                 :             :                             }
    7532                 :           0 : next_after_fail1206:;
    7533                 :             :                           }
    7534                 :             :                       }
    7535                 :             :                     }
    7536                 :             :                 }
    7537                 :             :               break;
    7538                 :             :             }
    7539                 :             :           default:;
    7540                 :             :           }
    7541                 :             :         break;
    7542                 :             :       }
    7543                 :         518 :     case MULT_EXPR:
    7544                 :         518 :       {
    7545                 :         518 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7546                 :         518 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7547                 :         518 :         switch (TREE_CODE (_q21))
    7548                 :             :           {
    7549                 :         498 :           case INTEGER_CST:
    7550                 :         498 :             {
    7551                 :         498 :               switch (TREE_CODE (_p1))
    7552                 :             :                 {
    7553                 :          12 :                 case MULT_EXPR:
    7554                 :          12 :                   {
    7555                 :          12 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    7556                 :          12 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    7557                 :          12 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7558                 :             :                       {
    7559                 :           0 :                         switch (TREE_CODE (_q51))
    7560                 :             :                           {
    7561                 :           0 :                           case INTEGER_CST:
    7562                 :           0 :                             {
    7563                 :           0 :                               {
    7564                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
    7565                 :           0 :                                 tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    7566                 :           0 :                                 if (res) return res;
    7567                 :             :                               }
    7568                 :           0 :                               break;
    7569                 :             :                             }
    7570                 :             :                           default:;
    7571                 :             :                           }
    7572                 :             :                       }
    7573                 :             :                     break;
    7574                 :             :                   }
    7575                 :           0 :                 case LSHIFT_EXPR:
    7576                 :           0 :                   {
    7577                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    7578                 :           0 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    7579                 :           0 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7580                 :             :                       {
    7581                 :           0 :                         switch (TREE_CODE (_q51))
    7582                 :             :                           {
    7583                 :           0 :                           case INTEGER_CST:
    7584                 :           0 :                             {
    7585                 :           0 :                               {
    7586                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
    7587                 :           0 :                                 tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    7588                 :           0 :                                 if (res) return res;
    7589                 :             :                               }
    7590                 :           0 :                               break;
    7591                 :             :                             }
    7592                 :             :                           default:;
    7593                 :             :                           }
    7594                 :             :                       }
    7595                 :             :                     break;
    7596                 :             :                   }
    7597                 :         498 :                 default:;
    7598                 :             :                 }
    7599                 :         498 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7600                 :             :                 {
    7601                 :          18 :                   {
    7602                 :          18 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7603                 :          18 :                     tree res = generic_simplify_131 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    7604                 :          18 :                     if (res) return res;
    7605                 :             :                   }
    7606                 :             :                 }
    7607                 :             :               break;
    7608                 :             :             }
    7609                 :             :           default:;
    7610                 :             :           }
    7611                 :             :         break;
    7612                 :             :       }
    7613                 :        2812 :     case LSHIFT_EXPR:
    7614                 :        2812 :       {
    7615                 :        2812 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7616                 :        2812 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7617                 :        2812 :         switch (TREE_CODE (_q21))
    7618                 :             :           {
    7619                 :        1043 :           case INTEGER_CST:
    7620                 :        1043 :             {
    7621                 :        1043 :               switch (TREE_CODE (_p1))
    7622                 :             :                 {
    7623                 :           0 :                 case MULT_EXPR:
    7624                 :           0 :                   {
    7625                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    7626                 :           0 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    7627                 :           0 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7628                 :             :                       {
    7629                 :           0 :                         switch (TREE_CODE (_q51))
    7630                 :             :                           {
    7631                 :           0 :                           case INTEGER_CST:
    7632                 :           0 :                             {
    7633                 :           0 :                               {
    7634                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q21 };
    7635                 :           0 :                                 tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    7636                 :           0 :                                 if (res) return res;
    7637                 :             :                               }
    7638                 :           0 :                               break;
    7639                 :             :                             }
    7640                 :             :                           default:;
    7641                 :             :                           }
    7642                 :             :                       }
    7643                 :             :                     break;
    7644                 :             :                   }
    7645                 :             :                 default:;
    7646                 :             :                 }
    7647                 :             :               break;
    7648                 :             :             }
    7649                 :             :           default:;
    7650                 :             :           }
    7651                 :             :         break;
    7652                 :             :       }
    7653                 :      624915 :     default:;
    7654                 :             :     }
    7655                 :      624915 :   switch (TREE_CODE (_p1))
    7656                 :             :     {
    7657                 :         285 :     case MULT_EXPR:
    7658                 :         285 :       {
    7659                 :         285 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7660                 :         285 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7661                 :         285 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7662                 :             :           {
    7663                 :           0 :             switch (TREE_CODE (_q31))
    7664                 :             :               {
    7665                 :           0 :               case INTEGER_CST:
    7666                 :           0 :                 {
    7667                 :           0 :                   {
    7668                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
    7669                 :           0 :                     tree res = generic_simplify_131 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    7670                 :           0 :                     if (res) return res;
    7671                 :             :                   }
    7672                 :           0 :                   break;
    7673                 :             :                 }
    7674                 :             :               default:;
    7675                 :             :               }
    7676                 :             :           }
    7677                 :             :         break;
    7678                 :             :       }
    7679                 :      624915 :     default:;
    7680                 :             :     }
    7681                 :      624915 :   switch (TREE_CODE (_p0))
    7682                 :             :     {
    7683                 :        2812 :     case LSHIFT_EXPR:
    7684                 :        2812 :       {
    7685                 :        2812 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7686                 :        2812 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7687                 :        2812 :         switch (TREE_CODE (_q21))
    7688                 :             :           {
    7689                 :        1043 :           case INTEGER_CST:
    7690                 :        1043 :             {
    7691                 :        1043 :               switch (TREE_CODE (_p1))
    7692                 :             :                 {
    7693                 :           9 :                 case LSHIFT_EXPR:
    7694                 :           9 :                   {
    7695                 :           9 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    7696                 :           9 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    7697                 :           9 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7698                 :             :                       {
    7699                 :           3 :                         switch (TREE_CODE (_q51))
    7700                 :             :                           {
    7701                 :           3 :                           case INTEGER_CST:
    7702                 :           3 :                             {
    7703                 :           3 :                               {
    7704                 :           3 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
    7705                 :           3 :                                 tree res = generic_simplify_132 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    7706                 :           3 :                                 if (res) return res;
    7707                 :             :                               }
    7708                 :           1 :                               break;
    7709                 :             :                             }
    7710                 :             :                           default:;
    7711                 :             :                           }
    7712                 :             :                       }
    7713                 :             :                     break;
    7714                 :             :                   }
    7715                 :        1041 :                 default:;
    7716                 :             :                 }
    7717                 :        1041 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7718                 :             :                 {
    7719                 :          57 :                   {
    7720                 :          57 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7721                 :          57 :                     tree res = generic_simplify_133 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    7722                 :          57 :                     if (res) return res;
    7723                 :             :                   }
    7724                 :             :                 }
    7725                 :             :               break;
    7726                 :             :             }
    7727                 :             :           default:;
    7728                 :             :           }
    7729                 :             :         break;
    7730                 :             :       }
    7731                 :      624913 :     default:;
    7732                 :             :     }
    7733                 :      624913 :   switch (TREE_CODE (_p1))
    7734                 :             :     {
    7735                 :        2446 :     case LSHIFT_EXPR:
    7736                 :        2446 :       {
    7737                 :        2446 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7738                 :        2446 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7739                 :        2446 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7740                 :             :           {
    7741                 :           3 :             switch (TREE_CODE (_q31))
    7742                 :             :               {
    7743                 :           3 :               case INTEGER_CST:
    7744                 :           3 :                 {
    7745                 :           3 :                   {
    7746                 :           3 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
    7747                 :           3 :                     tree res = generic_simplify_133 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    7748                 :           3 :                     if (res) return res;
    7749                 :             :                   }
    7750                 :           0 :                   break;
    7751                 :             :                 }
    7752                 :             :               default:;
    7753                 :             :               }
    7754                 :             :           }
    7755                 :             :         break;
    7756                 :             :       }
    7757                 :         285 :     case MULT_EXPR:
    7758                 :         285 :       {
    7759                 :         285 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7760                 :         285 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7761                 :         285 :         switch (TREE_CODE (_q30))
    7762                 :             :           {
    7763                 :           0 :           case BIT_XOR_EXPR:
    7764                 :           0 :             {
    7765                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7766                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7767                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    7768                 :             :                 {
    7769                 :           0 :                   if (tree_zero_one_valued_p (_q31))
    7770                 :             :                     {
    7771                 :           0 :                       {
    7772                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q41, _q31 };
    7773                 :           0 :                         tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    7774                 :           0 :                         if (res) return res;
    7775                 :             :                       }
    7776                 :             :                     }
    7777                 :             :                 }
    7778                 :           0 :               if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    7779                 :             :                 {
    7780                 :           0 :                   if (tree_zero_one_valued_p (_q31))
    7781                 :             :                     {
    7782                 :           0 :                       {
    7783                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q31 };
    7784                 :           0 :                         tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    7785                 :           0 :                         if (res) return res;
    7786                 :             :                       }
    7787                 :             :                     }
    7788                 :             :                 }
    7789                 :             :               break;
    7790                 :             :             }
    7791                 :         285 :           default:;
    7792                 :             :           }
    7793                 :         285 :       if (tree_zero_one_valued_p (_q30))
    7794                 :             :         {
    7795                 :          17 :           switch (TREE_CODE (_q31))
    7796                 :             :             {
    7797                 :           0 :             case BIT_XOR_EXPR:
    7798                 :           0 :               {
    7799                 :           0 :                 tree _q50 = TREE_OPERAND (_q31, 0);
    7800                 :           0 :                 tree _q51 = TREE_OPERAND (_q31, 1);
    7801                 :           0 :                 if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    7802                 :             :                   {
    7803                 :           0 :                     {
    7804                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q51, _q30 };
    7805                 :           0 :                       tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    7806                 :           0 :                       if (res) return res;
    7807                 :             :                     }
    7808                 :             :                   }
    7809                 :           0 :                 if ((_q51 == _p0 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _p0, 0) && types_match (_q51, _p0)))
    7810                 :             :                   {
    7811                 :           0 :                     {
    7812                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q50, _q30 };
    7813                 :           0 :                       tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    7814                 :           0 :                       if (res) return res;
    7815                 :             :                     }
    7816                 :             :                   }
    7817                 :             :                 break;
    7818                 :             :               }
    7819                 :             :             default:;
    7820                 :             :             }
    7821                 :             :         }
    7822                 :             :         break;
    7823                 :             :       }
    7824                 :      624910 :     default:;
    7825                 :             :     }
    7826                 :      624910 :   switch (TREE_CODE (_p0))
    7827                 :             :     {
    7828                 :         518 :     case MULT_EXPR:
    7829                 :         518 :       {
    7830                 :         518 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7831                 :         518 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7832                 :         518 :         switch (TREE_CODE (_q20))
    7833                 :             :           {
    7834                 :           0 :           case BIT_XOR_EXPR:
    7835                 :           0 :             {
    7836                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7837                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7838                 :           0 :               if (tree_zero_one_valued_p (_q21))
    7839                 :             :                 {
    7840                 :           0 :                   if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    7841                 :             :                     {
    7842                 :           0 :                       {
    7843                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q21 };
    7844                 :           0 :                         tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    7845                 :           0 :                         if (res) return res;
    7846                 :             :                       }
    7847                 :             :                     }
    7848                 :           0 :                   if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    7849                 :             :                     {
    7850                 :           0 :                       {
    7851                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q21 };
    7852                 :           0 :                         tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    7853                 :           0 :                         if (res) return res;
    7854                 :             :                       }
    7855                 :             :                     }
    7856                 :             :                 }
    7857                 :             :               break;
    7858                 :             :             }
    7859                 :         518 :           default:;
    7860                 :             :           }
    7861                 :         518 :       if (tree_zero_one_valued_p (_q20))
    7862                 :             :         {
    7863                 :           4 :           switch (TREE_CODE (_q21))
    7864                 :             :             {
    7865                 :           2 :             case BIT_XOR_EXPR:
    7866                 :           2 :               {
    7867                 :           2 :                 tree _q40 = TREE_OPERAND (_q21, 0);
    7868                 :           2 :                 tree _q41 = TREE_OPERAND (_q21, 1);
    7869                 :           2 :                 if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    7870                 :             :                   {
    7871                 :           2 :                     {
    7872                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
    7873                 :           2 :                       tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    7874                 :           2 :                       if (res) return res;
    7875                 :             :                     }
    7876                 :             :                   }
    7877                 :           0 :                 if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
    7878                 :             :                   {
    7879                 :           0 :                     {
    7880                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
    7881                 :           0 :                       tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    7882                 :           0 :                       if (res) return res;
    7883                 :             :                     }
    7884                 :             :                   }
    7885                 :             :                 break;
    7886                 :             :               }
    7887                 :             :             default:;
    7888                 :             :             }
    7889                 :             :         }
    7890                 :             :         break;
    7891                 :             :       }
    7892                 :           1 :     case VEC_COND_EXPR:
    7893                 :           1 :       {
    7894                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7895                 :           1 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7896                 :           1 :         tree _q22 = TREE_OPERAND (_p0, 2);
    7897                 :           1 :         switch (TREE_CODE (_p1))
    7898                 :             :           {
    7899                 :           0 :           case VEC_COND_EXPR:
    7900                 :           0 :             {
    7901                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    7902                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    7903                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    7904                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7905                 :             :                 {
    7906                 :           0 :                   {
    7907                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    7908                 :           0 :                     if (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
    7909                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    7910                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    7911                 :             :  || (optimize_vectors_before_lowering_p ()
    7912                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    7913                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
    7914                 :             : )
    7915                 :             :                       {
    7916                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1207;
    7917                 :           0 :                         {
    7918                 :           0 :                           tree res_op0;
    7919                 :           0 :                           res_op0 = captures[1];
    7920                 :           0 :                           tree res_op1;
    7921                 :           0 :                           {
    7922                 :           0 :                             tree _o1[2], _r1;
    7923                 :           0 :                             _o1[0] = captures[2];
    7924                 :           0 :                             _o1[1] = captures[5];
    7925                 :           0 :                             _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7926                 :           0 :                             if (EXPR_P (_r1))
    7927                 :           0 :                               goto next_after_fail1207;
    7928                 :           0 :                             res_op1 = _r1;
    7929                 :             :                           }
    7930                 :           0 :                           tree res_op2;
    7931                 :           0 :                           {
    7932                 :           0 :                             tree _o1[2], _r1;
    7933                 :           0 :                             _o1[0] = captures[3];
    7934                 :           0 :                             _o1[1] = captures[6];
    7935                 :           0 :                             _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7936                 :           0 :                             if (EXPR_P (_r1))
    7937                 :           0 :                               goto next_after_fail1207;
    7938                 :           0 :                             res_op2 = _r1;
    7939                 :             :                           }
    7940                 :           0 :                           tree _r;
    7941                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7942                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
    7943                 :           0 :                           return _r;
    7944                 :             :                         }
    7945                 :           0 : next_after_fail1207:;
    7946                 :             :                       }
    7947                 :             :                   }
    7948                 :             :                 }
    7949                 :             :               break;
    7950                 :             :             }
    7951                 :           1 :           default:;
    7952                 :             :           }
    7953                 :           1 :         {
    7954                 :           1 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    7955                 :           1 :           if (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
    7956                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    7957                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    7958                 :             :  || (optimize_vectors_before_lowering_p ()
    7959                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    7960                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
    7961                 :             : )
    7962                 :             :             {
    7963                 :           1 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1208;
    7964                 :           1 :               {
    7965                 :           1 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1208;
    7966                 :           0 :                 tree res_op0;
    7967                 :           0 :                 res_op0 = captures[1];
    7968                 :           0 :                 tree res_op1;
    7969                 :           0 :                 {
    7970                 :           0 :                   tree _o1[2], _r1;
    7971                 :           0 :                   _o1[0] = captures[2];
    7972                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
    7973                 :           0 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7974                 :           0 :                   if (EXPR_P (_r1))
    7975                 :           0 :                     goto next_after_fail1208;
    7976                 :           0 :                   res_op1 = _r1;
    7977                 :             :                 }
    7978                 :           0 :                 tree res_op2;
    7979                 :           0 :                 {
    7980                 :           0 :                   tree _o1[2], _r1;
    7981                 :           0 :                   _o1[0] = captures[3];
    7982                 :           0 :                   _o1[1] = captures[4];
    7983                 :           0 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7984                 :           0 :                   if (EXPR_P (_r1))
    7985                 :           0 :                     goto next_after_fail1208;
    7986                 :           0 :                   res_op2 = _r1;
    7987                 :             :                 }
    7988                 :           0 :                 tree _r;
    7989                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7990                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
    7991                 :           0 :                 return _r;
    7992                 :             :               }
    7993                 :           1 : next_after_fail1208:;
    7994                 :             :             }
    7995                 :             :         }
    7996                 :           1 :         break;
    7997                 :             :       }
    7998                 :      624908 :     default:;
    7999                 :             :     }
    8000                 :      624908 :   switch (TREE_CODE (_p1))
    8001                 :             :     {
    8002                 :           0 :     case VEC_COND_EXPR:
    8003                 :           0 :       {
    8004                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8005                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8006                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    8007                 :           0 :         {
    8008                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    8009                 :           0 :           if (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
    8010                 :             :  || types_match (type, TREE_TYPE (captures[3]))
    8011                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
    8012                 :             :  || (optimize_vectors_before_lowering_p ()
    8013                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
    8014                 :             :  TREE_TYPE (captures[2]), ERROR_MARK))
    8015                 :             : )
    8016                 :             :             {
    8017                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1209;
    8018                 :           0 :               {
    8019                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1209;
    8020                 :           0 :                 tree res_op0;
    8021                 :           0 :                 res_op0 = captures[2];
    8022                 :           0 :                 tree res_op1;
    8023                 :           0 :                 {
    8024                 :           0 :                   tree _o1[2], _r1;
    8025                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    8026                 :           0 :                   _o1[1] = captures[3];
    8027                 :           0 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8028                 :           0 :                   if (EXPR_P (_r1))
    8029                 :           0 :                     goto next_after_fail1209;
    8030                 :           0 :                   res_op1 = _r1;
    8031                 :             :                 }
    8032                 :           0 :                 tree res_op2;
    8033                 :           0 :                 {
    8034                 :           0 :                   tree _o1[2], _r1;
    8035                 :           0 :                   _o1[0] = captures[0];
    8036                 :           0 :                   _o1[1] = captures[4];
    8037                 :           0 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8038                 :           0 :                   if (EXPR_P (_r1))
    8039                 :           0 :                     goto next_after_fail1209;
    8040                 :           0 :                   res_op2 = _r1;
    8041                 :             :                 }
    8042                 :           0 :                 tree _r;
    8043                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8044                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
    8045                 :           0 :                 return _r;
    8046                 :             :               }
    8047                 :           0 : next_after_fail1209:;
    8048                 :             :             }
    8049                 :             :         }
    8050                 :           0 :         break;
    8051                 :             :       }
    8052                 :      624908 :     default:;
    8053                 :             :     }
    8054                 :      624908 :   switch (TREE_CODE (_p0))
    8055                 :             :     {
    8056                 :          98 :     case LT_EXPR:
    8057                 :          98 :       {
    8058                 :          98 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8059                 :          98 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8060                 :          98 :         if (integer_truep (_p1))
    8061                 :             :           {
    8062                 :          14 :             {
    8063                 :          14 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8064                 :          14 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
    8065                 :          14 :               if (res) return res;
    8066                 :             :             }
    8067                 :             :           }
    8068                 :          84 :         if (integer_zerop (_q21))
    8069                 :             :           {
    8070                 :          24 :             switch (TREE_CODE (_p1))
    8071                 :             :               {
    8072                 :          17 :               case LT_EXPR:
    8073                 :          17 :                 {
    8074                 :          17 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    8075                 :          17 :                   tree _q51 = TREE_OPERAND (_p1, 1);
    8076                 :          17 :                   if (integer_zerop (_q51))
    8077                 :             :                     {
    8078                 :          17 :                       {
    8079                 :          17 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
    8080                 :          17 :                         tree res = generic_simplify_157 (loc, type, _p0, _p1, captures, LT_EXPR);
    8081                 :          17 :                         if (res) return res;
    8082                 :             :                       }
    8083                 :             :                     }
    8084                 :             :                   break;
    8085                 :             :                 }
    8086                 :           0 :               case GE_EXPR:
    8087                 :           0 :                 {
    8088                 :           0 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    8089                 :           0 :                   tree _q51 = TREE_OPERAND (_p1, 1);
    8090                 :           0 :                   if (integer_zerop (_q51))
    8091                 :             :                     {
    8092                 :           0 :                       {
    8093                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
    8094                 :           0 :                         tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
    8095                 :           0 :                         if (res) return res;
    8096                 :             :                       }
    8097                 :             :                     }
    8098                 :             :                   break;
    8099                 :             :                 }
    8100                 :             :               default:;
    8101                 :             :               }
    8102                 :             :           }
    8103                 :             :         break;
    8104                 :             :       }
    8105                 :          81 :     case LE_EXPR:
    8106                 :          81 :       {
    8107                 :          81 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8108                 :          81 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8109                 :          81 :         if (integer_truep (_p1))
    8110                 :             :           {
    8111                 :          19 :             {
    8112                 :          19 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8113                 :          19 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
    8114                 :          19 :               if (res) return res;
    8115                 :             :             }
    8116                 :             :           }
    8117                 :             :         break;
    8118                 :             :       }
    8119                 :         124 :     case EQ_EXPR:
    8120                 :         124 :       {
    8121                 :         124 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8122                 :         124 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8123                 :         124 :         if (integer_truep (_p1))
    8124                 :             :           {
    8125                 :          18 :             {
    8126                 :          18 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8127                 :          18 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
    8128                 :          18 :               if (res) return res;
    8129                 :             :             }
    8130                 :             :           }
    8131                 :             :         break;
    8132                 :             :       }
    8133                 :          82 :     case NE_EXPR:
    8134                 :          82 :       {
    8135                 :          82 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8136                 :          82 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8137                 :          82 :         if (integer_truep (_p1))
    8138                 :             :           {
    8139                 :           7 :             {
    8140                 :           7 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8141                 :           7 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
    8142                 :           7 :               if (res) return res;
    8143                 :             :             }
    8144                 :             :           }
    8145                 :             :         break;
    8146                 :             :       }
    8147                 :          70 :     case GE_EXPR:
    8148                 :          70 :       {
    8149                 :          70 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8150                 :          70 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8151                 :          70 :         if (integer_truep (_p1))
    8152                 :             :           {
    8153                 :           0 :             {
    8154                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8155                 :           0 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
    8156                 :           0 :               if (res) return res;
    8157                 :             :             }
    8158                 :             :           }
    8159                 :          70 :         if (integer_zerop (_q21))
    8160                 :             :           {
    8161                 :          26 :             switch (TREE_CODE (_p1))
    8162                 :             :               {
    8163                 :           1 :               case GE_EXPR:
    8164                 :           1 :                 {
    8165                 :           1 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    8166                 :           1 :                   tree _q51 = TREE_OPERAND (_p1, 1);
    8167                 :           1 :                   if (integer_zerop (_q51))
    8168                 :             :                     {
    8169                 :           1 :                       {
    8170                 :           1 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
    8171                 :           1 :                         tree res = generic_simplify_157 (loc, type, _p0, _p1, captures, GE_EXPR);
    8172                 :           1 :                         if (res) return res;
    8173                 :             :                       }
    8174                 :             :                     }
    8175                 :             :                   break;
    8176                 :             :                 }
    8177                 :           5 :               case LT_EXPR:
    8178                 :           5 :                 {
    8179                 :           5 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    8180                 :           5 :                   tree _q51 = TREE_OPERAND (_p1, 1);
    8181                 :           5 :                   if (integer_zerop (_q51))
    8182                 :             :                     {
    8183                 :           5 :                       {
    8184                 :           5 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q50, _p0, _q20 };
    8185                 :           5 :                         tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
    8186                 :           5 :                         if (res) return res;
    8187                 :             :                       }
    8188                 :             :                     }
    8189                 :             :                   break;
    8190                 :             :                 }
    8191                 :             :               default:;
    8192                 :             :               }
    8193                 :             :           }
    8194                 :             :         break;
    8195                 :             :       }
    8196                 :         104 :     case GT_EXPR:
    8197                 :         104 :       {
    8198                 :         104 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8199                 :         104 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8200                 :         104 :         if (integer_truep (_p1))
    8201                 :             :           {
    8202                 :          18 :             {
    8203                 :          18 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8204                 :          18 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
    8205                 :          18 :               if (res) return res;
    8206                 :             :             }
    8207                 :             :           }
    8208                 :             :         break;
    8209                 :             :       }
    8210                 :           0 :     case UNORDERED_EXPR:
    8211                 :           0 :       {
    8212                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8213                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8214                 :           0 :         if (integer_truep (_p1))
    8215                 :             :           {
    8216                 :           0 :             {
    8217                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8218                 :           0 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
    8219                 :           0 :               if (res) return res;
    8220                 :             :             }
    8221                 :             :           }
    8222                 :             :         break;
    8223                 :             :       }
    8224                 :           0 :     case ORDERED_EXPR:
    8225                 :           0 :       {
    8226                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8227                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8228                 :           0 :         if (integer_truep (_p1))
    8229                 :             :           {
    8230                 :           0 :             {
    8231                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8232                 :           0 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
    8233                 :           0 :               if (res) return res;
    8234                 :             :             }
    8235                 :             :           }
    8236                 :             :         break;
    8237                 :             :       }
    8238                 :           0 :     case UNLT_EXPR:
    8239                 :           0 :       {
    8240                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8241                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8242                 :           0 :         if (integer_truep (_p1))
    8243                 :             :           {
    8244                 :           0 :             {
    8245                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8246                 :           0 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
    8247                 :           0 :               if (res) return res;
    8248                 :             :             }
    8249                 :             :           }
    8250                 :             :         break;
    8251                 :             :       }
    8252                 :           0 :     case UNLE_EXPR:
    8253                 :           0 :       {
    8254                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8255                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8256                 :           0 :         if (integer_truep (_p1))
    8257                 :             :           {
    8258                 :           0 :             {
    8259                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8260                 :           0 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
    8261                 :           0 :               if (res) return res;
    8262                 :             :             }
    8263                 :             :           }
    8264                 :             :         break;
    8265                 :             :       }
    8266                 :           0 :     case UNGT_EXPR:
    8267                 :           0 :       {
    8268                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8269                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8270                 :           0 :         if (integer_truep (_p1))
    8271                 :             :           {
    8272                 :           0 :             {
    8273                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8274                 :           0 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
    8275                 :           0 :               if (res) return res;
    8276                 :             :             }
    8277                 :             :           }
    8278                 :             :         break;
    8279                 :             :       }
    8280                 :           0 :     case UNGE_EXPR:
    8281                 :           0 :       {
    8282                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8283                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8284                 :           0 :         if (integer_truep (_p1))
    8285                 :             :           {
    8286                 :           0 :             {
    8287                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8288                 :           0 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
    8289                 :           0 :               if (res) return res;
    8290                 :             :             }
    8291                 :             :           }
    8292                 :             :         break;
    8293                 :             :       }
    8294                 :           0 :     case UNEQ_EXPR:
    8295                 :           0 :       {
    8296                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8297                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8298                 :           0 :         if (integer_truep (_p1))
    8299                 :             :           {
    8300                 :           0 :             {
    8301                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8302                 :           0 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
    8303                 :           0 :               if (res) return res;
    8304                 :             :             }
    8305                 :             :           }
    8306                 :             :         break;
    8307                 :             :       }
    8308                 :           0 :     case LTGT_EXPR:
    8309                 :           0 :       {
    8310                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8311                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8312                 :           0 :         if (integer_truep (_p1))
    8313                 :             :           {
    8314                 :           0 :             {
    8315                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8316                 :           0 :               tree res = generic_simplify_156 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
    8317                 :           0 :               if (res) return res;
    8318                 :             :             }
    8319                 :             :           }
    8320                 :             :         break;
    8321                 :             :       }
    8322                 :           7 :     case VEC_PERM_EXPR:
    8323                 :           7 :       {
    8324                 :           7 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8325                 :           7 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8326                 :           7 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8327                 :           7 :         if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
    8328                 :             :           {
    8329                 :           0 :             switch (TREE_CODE (_p1))
    8330                 :             :               {
    8331                 :           0 :               case VEC_PERM_EXPR:
    8332                 :           0 :                 {
    8333                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    8334                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    8335                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    8336                 :           0 :                   if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
    8337                 :             :                     {
    8338                 :           0 :                       if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    8339                 :             :                         {
    8340                 :           0 :                           {
    8341                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
    8342                 :           0 :                             if (VECTOR_INTEGER_TYPE_P (type)
    8343                 :             : )
    8344                 :             :                               {
    8345                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1210;
    8346                 :           0 :                                 {
    8347                 :           0 :                                   tree res_op0;
    8348                 :           0 :                                   {
    8349                 :           0 :                                     tree _o1[2], _r1;
    8350                 :           0 :                                     _o1[0] = captures[0];
    8351                 :           0 :                                     _o1[1] = captures[2];
    8352                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8353                 :           0 :                                     captures[3] = _r1;
    8354                 :             :                                   }
    8355                 :           0 :                                   res_op0 = unshare_expr (captures[3]);
    8356                 :           0 :                                   tree res_op1;
    8357                 :           0 :                                   res_op1 = captures[3];
    8358                 :           0 :                                   tree res_op2;
    8359                 :           0 :                                   res_op2 = captures[1];
    8360                 :           0 :                                   tree _r;
    8361                 :           0 :                                   _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
    8362                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 796, __FILE__, __LINE__, true);
    8363                 :           0 :                                   return _r;
    8364                 :             :                                 }
    8365                 :           0 : next_after_fail1210:;
    8366                 :             :                               }
    8367                 :             :                           }
    8368                 :             :                         }
    8369                 :             :                     }
    8370                 :             :                   break;
    8371                 :             :                 }
    8372                 :             :               default:;
    8373                 :             :               }
    8374                 :             :           }
    8375                 :             :         break;
    8376                 :             :       }
    8377                 :        2922 :     case CALL_EXPR:
    8378                 :        2922 :       switch (get_call_combined_fn (_p0))
    8379                 :             :         {
    8380                 :           1 :         case CFN_PARITY:
    8381                 :           1 :           if (call_expr_nargs (_p0) == 1)
    8382                 :             :     {
    8383                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8384                 :           1 :               switch (TREE_CODE (_p1))
    8385                 :             :                 {
    8386                 :           1 :                 case CALL_EXPR:
    8387                 :           1 :                   switch (get_call_combined_fn (_p1))
    8388                 :             :                     {
    8389                 :           1 :                     case CFN_PARITY:
    8390                 :           1 :                       if (call_expr_nargs (_p1) == 1)
    8391                 :             :     {
    8392                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8393                 :           1 :                           {
    8394                 :           1 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8395                 :           1 :                             tree res = generic_simplify_159 (loc, type, _p0, _p1, captures, CFN_PARITY);
    8396                 :           1 :                             if (res) return res;
    8397                 :             :                           }
    8398                 :             :                         }
    8399                 :             :                       break;
    8400                 :             :                     default:;
    8401                 :             :                     }
    8402                 :             :                   break;
    8403                 :             :                 default:;
    8404                 :             :                 }
    8405                 :             :             }
    8406                 :             :           break;
    8407                 :           1 :         case CFN_BUILT_IN_PARITYL:
    8408                 :           1 :           if (call_expr_nargs (_p0) == 1)
    8409                 :             :     {
    8410                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8411                 :           1 :               switch (TREE_CODE (_p1))
    8412                 :             :                 {
    8413                 :           1 :                 case CALL_EXPR:
    8414                 :           1 :                   switch (get_call_combined_fn (_p1))
    8415                 :             :                     {
    8416                 :           1 :                     case CFN_BUILT_IN_PARITYL:
    8417                 :           1 :                       if (call_expr_nargs (_p1) == 1)
    8418                 :             :     {
    8419                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8420                 :           1 :                           {
    8421                 :           1 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8422                 :           1 :                             tree res = generic_simplify_159 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYL);
    8423                 :           1 :                             if (res) return res;
    8424                 :             :                           }
    8425                 :             :                         }
    8426                 :             :                       break;
    8427                 :             :                     default:;
    8428                 :             :                     }
    8429                 :             :                   break;
    8430                 :             :                 default:;
    8431                 :             :                 }
    8432                 :             :             }
    8433                 :             :           break;
    8434                 :           0 :         case CFN_BUILT_IN_PARITYIMAX:
    8435                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8436                 :             :     {
    8437                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8438                 :           0 :               switch (TREE_CODE (_p1))
    8439                 :             :                 {
    8440                 :           0 :                 case CALL_EXPR:
    8441                 :           0 :                   switch (get_call_combined_fn (_p1))
    8442                 :             :                     {
    8443                 :           0 :                     case CFN_BUILT_IN_PARITYIMAX:
    8444                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8445                 :             :     {
    8446                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8447                 :           0 :                           {
    8448                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8449                 :           0 :                             tree res = generic_simplify_159 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYIMAX);
    8450                 :           0 :                             if (res) return res;
    8451                 :             :                           }
    8452                 :             :                         }
    8453                 :             :                       break;
    8454                 :             :                     default:;
    8455                 :             :                     }
    8456                 :             :                   break;
    8457                 :             :                 default:;
    8458                 :             :                 }
    8459                 :             :             }
    8460                 :             :           break;
    8461                 :           1 :         case CFN_BUILT_IN_PARITY:
    8462                 :           1 :           if (call_expr_nargs (_p0) == 1)
    8463                 :             :     {
    8464                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8465                 :           1 :               switch (TREE_CODE (_p1))
    8466                 :             :                 {
    8467                 :           1 :                 case CALL_EXPR:
    8468                 :           1 :                   switch (get_call_combined_fn (_p1))
    8469                 :             :                     {
    8470                 :           1 :                     case CFN_BUILT_IN_PARITY:
    8471                 :           1 :                       if (call_expr_nargs (_p1) == 1)
    8472                 :             :     {
    8473                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8474                 :           1 :                           {
    8475                 :           1 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8476                 :           1 :                             tree res = generic_simplify_159 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITY);
    8477                 :           1 :                             if (res) return res;
    8478                 :             :                           }
    8479                 :             :                         }
    8480                 :             :                       break;
    8481                 :             :                     default:;
    8482                 :             :                     }
    8483                 :             :                   break;
    8484                 :             :                 default:;
    8485                 :             :                 }
    8486                 :             :             }
    8487                 :             :           break;
    8488                 :           8 :         case CFN_BUILT_IN_PARITYLL:
    8489                 :           8 :           if (call_expr_nargs (_p0) == 1)
    8490                 :             :     {
    8491                 :           8 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8492                 :           8 :               switch (TREE_CODE (_p1))
    8493                 :             :                 {
    8494                 :           8 :                 case CALL_EXPR:
    8495                 :           8 :                   switch (get_call_combined_fn (_p1))
    8496                 :             :                     {
    8497                 :           8 :                     case CFN_BUILT_IN_PARITYLL:
    8498                 :           8 :                       if (call_expr_nargs (_p1) == 1)
    8499                 :             :     {
    8500                 :           8 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8501                 :           8 :                           {
    8502                 :           8 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8503                 :           8 :                             tree res = generic_simplify_159 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYLL);
    8504                 :           8 :                             if (res) return res;
    8505                 :             :                           }
    8506                 :             :                         }
    8507                 :             :                       break;
    8508                 :             :                     default:;
    8509                 :             :                     }
    8510                 :             :                   break;
    8511                 :             :                 default:;
    8512                 :             :                 }
    8513                 :             :             }
    8514                 :             :           break;
    8515                 :             :         default:;
    8516                 :             :         }
    8517                 :             :       break;
    8518                 :             :     default:;
    8519                 :             :     }
    8520                 :             :   return NULL_TREE;
    8521                 :             : }
    8522                 :             : 
    8523                 :             : tree
    8524                 :      206922 : generic_simplify_ORDERED_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    8525                 :             : {
    8526                 :      206922 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    8527                 :      206922 :   switch (TREE_CODE (_p0))
    8528                 :             :     {
    8529                 :           0 :     case VEC_COND_EXPR:
    8530                 :           0 :       {
    8531                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8532                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8533                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8534                 :           0 :         switch (TREE_CODE (_p1))
    8535                 :             :           {
    8536                 :           0 :           case VEC_COND_EXPR:
    8537                 :           0 :             {
    8538                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    8539                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    8540                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    8541                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    8542                 :             :                 {
    8543                 :           0 :                   {
    8544                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    8545                 :           0 :                     if (TREE_CODE_CLASS (ORDERED_EXPR) != tcc_comparison
    8546                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
    8547                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    8548                 :             :  || (optimize_vectors_before_lowering_p ()
    8549                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    8550                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
    8551                 :             : )
    8552                 :             :                       {
    8553                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1560;
    8554                 :           0 :                         {
    8555                 :           0 :                           tree res_op0;
    8556                 :           0 :                           res_op0 = captures[1];
    8557                 :           0 :                           tree res_op1;
    8558                 :           0 :                           {
    8559                 :           0 :                             tree _o1[2], _r1;
    8560                 :           0 :                             _o1[0] = captures[2];
    8561                 :           0 :                             _o1[1] = captures[5];
    8562                 :           0 :                             _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
    8563                 :           0 :                             if (EXPR_P (_r1))
    8564                 :           0 :                               goto next_after_fail1560;
    8565                 :           0 :                             res_op1 = _r1;
    8566                 :             :                           }
    8567                 :           0 :                           tree res_op2;
    8568                 :           0 :                           {
    8569                 :           0 :                             tree _o1[2], _r1;
    8570                 :           0 :                             _o1[0] = captures[3];
    8571                 :           0 :                             _o1[1] = captures[6];
    8572                 :           0 :                             _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
    8573                 :           0 :                             if (EXPR_P (_r1))
    8574                 :           0 :                               goto next_after_fail1560;
    8575                 :           0 :                             res_op2 = _r1;
    8576                 :             :                           }
    8577                 :           0 :                           tree _r;
    8578                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8579                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
    8580                 :           0 :                           return _r;
    8581                 :             :                         }
    8582                 :           0 : next_after_fail1560:;
    8583                 :             :                       }
    8584                 :             :                   }
    8585                 :             :                 }
    8586                 :             :               break;
    8587                 :             :             }
    8588                 :           0 :           default:;
    8589                 :             :           }
    8590                 :           0 :         {
    8591                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    8592                 :           0 :           if (TREE_CODE_CLASS (ORDERED_EXPR) != tcc_comparison
    8593                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
    8594                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    8595                 :             :  || (optimize_vectors_before_lowering_p ()
    8596                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    8597                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
    8598                 :             : )
    8599                 :             :             {
    8600                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1561;
    8601                 :           0 :               {
    8602                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1561;
    8603                 :           0 :                 tree res_op0;
    8604                 :           0 :                 res_op0 = captures[1];
    8605                 :           0 :                 tree res_op1;
    8606                 :           0 :                 {
    8607                 :           0 :                   tree _o1[2], _r1;
    8608                 :           0 :                   _o1[0] = captures[2];
    8609                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
    8610                 :           0 :                   _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
    8611                 :           0 :                   if (EXPR_P (_r1))
    8612                 :           0 :                     goto next_after_fail1561;
    8613                 :           0 :                   res_op1 = _r1;
    8614                 :             :                 }
    8615                 :           0 :                 tree res_op2;
    8616                 :           0 :                 {
    8617                 :           0 :                   tree _o1[2], _r1;
    8618                 :           0 :                   _o1[0] = captures[3];
    8619                 :           0 :                   _o1[1] = captures[4];
    8620                 :           0 :                   _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
    8621                 :           0 :                   if (EXPR_P (_r1))
    8622                 :           0 :                     goto next_after_fail1561;
    8623                 :           0 :                   res_op2 = _r1;
    8624                 :             :                 }
    8625                 :           0 :                 tree _r;
    8626                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8627                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
    8628                 :           0 :                 return _r;
    8629                 :             :               }
    8630                 :           0 : next_after_fail1561:;
    8631                 :             :             }
    8632                 :             :         }
    8633                 :           0 :         break;
    8634                 :             :       }
    8635                 :      206922 :     default:;
    8636                 :             :     }
    8637                 :      206922 :   switch (TREE_CODE (_p1))
    8638                 :             :     {
    8639                 :           0 :     case VEC_COND_EXPR:
    8640                 :           0 :       {
    8641                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8642                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8643                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    8644                 :           0 :         {
    8645                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    8646                 :           0 :           if (TREE_CODE_CLASS (ORDERED_EXPR) != tcc_comparison
    8647                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
    8648                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
    8649                 :             :  || (optimize_vectors_before_lowering_p ()
    8650                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
    8651                 :           0 :  TREE_TYPE (captures[2]), ERROR_MARK))
    8652                 :             : )
    8653                 :             :             {
    8654                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1562;
    8655                 :           0 :               {
    8656                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1562;
    8657                 :           0 :                 tree res_op0;
    8658                 :           0 :                 res_op0 = captures[2];
    8659                 :           0 :                 tree res_op1;
    8660                 :           0 :                 {
    8661                 :           0 :                   tree _o1[2], _r1;
    8662                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    8663                 :           0 :                   _o1[1] = captures[3];
    8664                 :           0 :                   _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
    8665                 :           0 :                   if (EXPR_P (_r1))
    8666                 :           0 :                     goto next_after_fail1562;
    8667                 :           0 :                   res_op1 = _r1;
    8668                 :             :                 }
    8669                 :           0 :                 tree res_op2;
    8670                 :           0 :                 {
    8671                 :           0 :                   tree _o1[2], _r1;
    8672                 :           0 :                   _o1[0] = captures[0];
    8673                 :           0 :                   _o1[1] = captures[4];
    8674                 :           0 :                   _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
    8675                 :           0 :                   if (EXPR_P (_r1))
    8676                 :           0 :                     goto next_after_fail1562;
    8677                 :           0 :                   res_op2 = _r1;
    8678                 :             :                 }
    8679                 :           0 :                 tree _r;
    8680                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8681                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
    8682                 :           0 :                 return _r;
    8683                 :             :               }
    8684                 :           0 : next_after_fail1562:;
    8685                 :             :             }
    8686                 :             :         }
    8687                 :           0 :         break;
    8688                 :             :       }
    8689                 :      206922 :     default:;
    8690                 :             :     }
    8691                 :      206922 :   switch (TREE_CODE (_p0))
    8692                 :             :     {
    8693                 :           0 :     case FLOAT_EXPR:
    8694                 :           0 :       {
    8695                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8696                 :           0 :         switch (TREE_CODE (_p1))
    8697                 :             :           {
    8698                 :           0 :           case FLOAT_EXPR:
    8699                 :           0 :             {
    8700                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    8701                 :           0 :               {
    8702                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    8703                 :           0 :                 tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, ORDERED_EXPR, ORDERED_EXPR);
    8704                 :           0 :                 if (res) return res;
    8705                 :             :               }
    8706                 :           0 :               break;
    8707                 :             :             }
    8708                 :             :           default:;
    8709                 :             :           }
    8710                 :             :         break;
    8711                 :             :       }
    8712                 :           0 :     case NEGATE_EXPR:
    8713                 :           0 :       {
    8714                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8715                 :           0 :         switch (TREE_CODE (_p1))
    8716                 :             :           {
    8717                 :           0 :           case NEGATE_EXPR:
    8718                 :           0 :             {
    8719                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    8720                 :           0 :               {
    8721                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    8722                 :           0 :                 tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, ORDERED_EXPR, ORDERED_EXPR);
    8723                 :           0 :                 if (res) return res;
    8724                 :             :               }
    8725                 :           0 :               break;
    8726                 :             :             }
    8727                 :           0 :           default:;
    8728                 :             :           }
    8729                 :           0 :       if (CONSTANT_CLASS_P (_p1))
    8730                 :             :         {
    8731                 :           0 :           {
    8732                 :           0 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8733                 :           0 :             tree res = generic_simplify_240 (loc, type, _p0, _p1, captures, ORDERED_EXPR, ORDERED_EXPR);
    8734                 :           0 :             if (res) return res;
    8735                 :             :           }
    8736                 :             :         }
    8737                 :             :         break;
    8738                 :             :       }
    8739                 :      206922 :     default:;
    8740                 :             :     }
    8741                 :      206922 :   switch (TREE_CODE (_p1))
    8742                 :             :     {
    8743                 :         102 :     case REAL_CST:
    8744                 :         102 :       {
    8745                 :         102 :         {
    8746                 :         102 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    8747                 :         102 :           tree res = generic_simplify_503 (loc, type, _p0, _p1, captures, ORDERED_EXPR);
    8748                 :         102 :           if (res) return res;
    8749                 :             :         }
    8750                 :         102 :         break;
    8751                 :             :       }
    8752                 :      206922 :     default:;
    8753                 :             :     }
    8754                 :      206922 :   {
    8755                 :      206922 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    8756                 :      206922 :     if (tree_expr_nan_p (captures[0]) || tree_expr_nan_p (captures[1])
    8757                 :             : )
    8758                 :             :       {
    8759                 :           0 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1563;
    8760                 :           0 :         {
    8761                 :           0 :           tree _r;
    8762                 :           0 :           _r =  constant_boolean_node (false, type);
    8763                 :           0 :           if (TREE_SIDE_EFFECTS (captures[0]))
    8764                 :           0 :             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    8765                 :           0 :           if (TREE_SIDE_EFFECTS (captures[1]))
    8766                 :           0 :             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    8767                 :           0 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 929, __FILE__, __LINE__, true);
    8768                 :           0 :           return _r;
    8769                 :             :         }
    8770                 :           0 : next_after_fail1563:;
    8771                 :             :       }
    8772                 :             :     else
    8773                 :             :       {
    8774                 :      206922 :         if (!tree_expr_maybe_nan_p (captures[0]) && !tree_expr_maybe_nan_p (captures[1])
    8775                 :             : )
    8776                 :             :           {
    8777                 :          10 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1564;
    8778                 :          10 :             {
    8779                 :          10 :               tree _r;
    8780                 :          10 :               _r =  constant_boolean_node (true, type);
    8781                 :          10 :               if (TREE_SIDE_EFFECTS (captures[0]))
    8782                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    8783                 :          10 :               if (TREE_SIDE_EFFECTS (captures[1]))
    8784                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    8785                 :          10 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 930, __FILE__, __LINE__, true);
    8786                 :          10 :               return _r;
    8787                 :             :             }
    8788                 :           0 : next_after_fail1564:;
    8789                 :             :           }
    8790                 :             :       }
    8791                 :             :   }
    8792                 :      206912 :   return NULL_TREE;
    8793                 :             : }
    8794                 :             : 
    8795                 :             : tree
    8796                 :     1404905 : generic_simplify_UNGT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    8797                 :             : {
    8798                 :     1404905 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    8799                 :     1404905 :   switch (TREE_CODE (_p0))
    8800                 :             :     {
    8801                 :           0 :     case VEC_COND_EXPR:
    8802                 :           0 :       {
    8803                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8804                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8805                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8806                 :           0 :         switch (TREE_CODE (_p1))
    8807                 :             :           {
    8808                 :           0 :           case VEC_COND_EXPR:
    8809                 :           0 :             {
    8810                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    8811                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    8812                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    8813                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    8814                 :             :                 {
    8815                 :           0 :                   {
    8816                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    8817                 :           0 :                     if (TREE_CODE_CLASS (UNGT_EXPR) != tcc_comparison
    8818                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
    8819                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    8820                 :             :  || (optimize_vectors_before_lowering_p ()
    8821                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    8822                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
    8823                 :             : )
    8824                 :             :                       {
    8825                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1571;
    8826                 :           0 :                         {
    8827                 :           0 :                           tree res_op0;
    8828                 :           0 :                           res_op0 = captures[1];
    8829                 :           0 :                           tree res_op1;
    8830                 :           0 :                           {
    8831                 :           0 :                             tree _o1[2], _r1;
    8832                 :           0 :                             _o1[0] = captures[2];
    8833                 :           0 :                             _o1[1] = captures[5];
    8834                 :           0 :                             _r1 = fold_build2_loc (loc, UNGT_EXPR, type, _o1[0], _o1[1]);
    8835                 :           0 :                             if (EXPR_P (_r1))
    8836                 :           0 :                               goto next_after_fail1571;
    8837                 :           0 :                             res_op1 = _r1;
    8838                 :             :                           }
    8839                 :           0 :                           tree res_op2;
    8840                 :           0 :                           {
    8841                 :           0 :                             tree _o1[2], _r1;
    8842                 :           0 :                             _o1[0] = captures[3];
    8843                 :           0 :                             _o1[1] = captures[6];
    8844                 :           0 :                             _r1 = fold_build2_loc (loc, UNGT_EXPR, type, _o1[0], _o1[1]);
    8845                 :           0 :                             if (EXPR_P (_r1))
    8846                 :           0 :                               goto next_after_fail1571;
    8847                 :           0 :                             res_op2 = _r1;
    8848                 :             :                           }
    8849                 :           0 :                           tree _r;
    8850                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8851                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
    8852                 :           0 :                           return _r;
    8853                 :             :                         }
    8854                 :           0 : next_after_fail1571:;
    8855                 :             :                       }
    8856                 :             :                   }
    8857                 :             :                 }
    8858                 :             :               break;
    8859                 :             :             }
    8860                 :           0 :           default:;
    8861                 :             :           }
    8862                 :           0 :         {
    8863                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    8864                 :           0 :           if (TREE_CODE_CLASS (UNGT_EXPR) != tcc_comparison
    8865                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
    8866                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    8867                 :             :  || (optimize_vectors_before_lowering_p ()
    8868                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    8869                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
    8870                 :             : )
    8871                 :             :             {
    8872                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1572;
    8873                 :           0 :               {
    8874                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1572;
    8875                 :           0 :                 tree res_op0;
    8876                 :           0 :                 res_op0 = captures[1];
    8877                 :           0 :                 tree res_op1;
    8878                 :           0 :                 {
    8879                 :           0 :                   tree _o1[2], _r1;
    8880                 :           0 :                   _o1[0] = captures[2];
    8881                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
    8882                 :           0 :                   _r1 = fold_build2_loc (loc, UNGT_EXPR, type, _o1[0], _o1[1]);
    8883                 :           0 :                   if (EXPR_P (_r1))
    8884                 :           0 :                     goto next_after_fail1572;
    8885                 :           0 :                   res_op1 = _r1;
    8886                 :             :                 }
    8887                 :           0 :                 tree res_op2;
    8888                 :           0 :                 {
    8889                 :           0 :                   tree _o1[2], _r1;
    8890                 :           0 :                   _o1[0] = captures[3];
    8891                 :           0 :                   _o1[1] = captures[4];
    8892                 :           0 :                   _r1 = fold_build2_loc (loc, UNGT_EXPR, type, _o1[0], _o1[1]);
    8893                 :           0 :                   if (EXPR_P (_r1))
    8894                 :           0 :                     goto next_after_fail1572;
    8895                 :           0 :                   res_op2 = _r1;
    8896                 :             :                 }
    8897                 :           0 :                 tree _r;
    8898                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8899                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
    8900                 :           0 :                 return _r;
    8901                 :             :               }
    8902                 :           0 : next_after_fail1572:;
    8903                 :             :             }
    8904                 :             :         }
    8905                 :           0 :         break;
    8906                 :             :       }
    8907                 :     1404905 :     default:;
    8908                 :             :     }
    8909                 :     1404905 :   switch (TREE_CODE (_p1))
    8910                 :             :     {
    8911                 :           0 :     case VEC_COND_EXPR:
    8912                 :           0 :       {
    8913                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8914                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8915                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    8916                 :           0 :         {
    8917                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    8918                 :           0 :           if (TREE_CODE_CLASS (UNGT_EXPR) != tcc_comparison
    8919                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
    8920                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
    8921                 :             :  || (optimize_vectors_before_lowering_p ()
    8922                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
    8923                 :           0 :  TREE_TYPE (captures[2]), ERROR_MARK))
    8924                 :             : )
    8925                 :             :             {
    8926                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1573;
    8927                 :           0 :               {
    8928                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1573;
    8929                 :           0 :                 tree res_op0;
    8930                 :           0 :                 res_op0 = captures[2];
    8931                 :           0 :                 tree res_op1;
    8932                 :           0 :                 {
    8933                 :           0 :                   tree _o1[2], _r1;
    8934                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    8935                 :           0 :                   _o1[1] = captures[3];
    8936                 :           0 :                   _r1 = fold_build2_loc (loc, UNGT_EXPR, type, _o1[0], _o1[1]);
    8937                 :           0 :                   if (EXPR_P (_r1))
    8938                 :           0 :                     goto next_after_fail1573;
    8939                 :           0 :                   res_op1 = _r1;
    8940                 :             :                 }
    8941                 :           0 :                 tree res_op2;
    8942                 :           0 :                 {
    8943                 :           0 :                   tree _o1[2], _r1;
    8944                 :           0 :                   _o1[0] = captures[0];
    8945                 :           0 :                   _o1[1] = captures[4];
    8946                 :           0 :                   _r1 = fold_build2_loc (loc, UNGT_EXPR, type, _o1[0], _o1[1]);
    8947                 :           0 :                   if (EXPR_P (_r1))
    8948                 :           0 :                     goto next_after_fail1573;
    8949                 :           0 :                   res_op2 = _r1;
    8950                 :             :                 }
    8951                 :           0 :                 tree _r;
    8952                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8953                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
    8954                 :           0 :                 return _r;
    8955                 :             :               }
    8956                 :           0 : next_after_fail1573:;
    8957                 :             :             }
    8958                 :             :         }
    8959                 :           0 :         break;
    8960                 :             :       }
    8961                 :     1404905 :     default:;
    8962                 :             :     }
    8963                 :     1404905 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    8964                 :             :     {
    8965                 :           0 :       {
    8966                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8967                 :           0 :         tree res = generic_simplify_504 (loc, type, _p0, _p1, captures, UNGT_EXPR);
    8968                 :           0 :         if (res) return res;
    8969                 :             :       }
    8970                 :             :     }
    8971                 :     1404905 :   switch (TREE_CODE (_p0))
    8972                 :             :     {
    8973                 :         321 :     case FLOAT_EXPR:
    8974                 :         321 :       {
    8975                 :         321 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8976                 :         321 :         switch (TREE_CODE (_p1))
    8977                 :             :           {
    8978                 :           0 :           case FLOAT_EXPR:
    8979                 :           0 :             {
    8980                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    8981                 :           0 :               {
    8982                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    8983                 :           0 :                 tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, UNGT_EXPR, GT_EXPR);
    8984                 :           0 :                 if (res) return res;
    8985                 :             :               }
    8986                 :           0 :               break;
    8987                 :             :             }
    8988                 :             :           default:;
    8989                 :             :           }
    8990                 :             :         break;
    8991                 :             :       }
    8992                 :           0 :     case NEGATE_EXPR:
    8993                 :           0 :       {
    8994                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8995                 :           0 :         switch (TREE_CODE (_p1))
    8996                 :             :           {
    8997                 :           0 :           case NEGATE_EXPR:
    8998                 :           0 :             {
    8999                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9000                 :           0 :               {
    9001                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9002                 :           0 :                 tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, UNGT_EXPR, UNLT_EXPR);
    9003                 :           0 :                 if (res) return res;
    9004                 :             :               }
    9005                 :           0 :               break;
    9006                 :             :             }
    9007                 :           0 :           default:;
    9008                 :             :           }
    9009                 :           0 :       if (CONSTANT_CLASS_P (_p1))
    9010                 :             :         {
    9011                 :           0 :           {
    9012                 :           0 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9013                 :           0 :             tree res = generic_simplify_240 (loc, type, _p0, _p1, captures, UNGT_EXPR, UNLT_EXPR);
    9014                 :           0 :             if (res) return res;
    9015                 :             :           }
    9016                 :             :         }
    9017                 :             :         break;
    9018                 :             :       }
    9019                 :     1404905 :     default:;
    9020                 :             :     }
    9021                 :     1404905 :   switch (TREE_CODE (_p1))
    9022                 :             :     {
    9023                 :     1031713 :     case REAL_CST:
    9024                 :     1031713 :       {
    9025                 :     1031713 :         {
    9026                 :     1031713 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9027                 :     1031713 :           tree res = generic_simplify_503 (loc, type, _p0, _p1, captures, UNGT_EXPR);
    9028                 :     1031713 :           if (res) return res;
    9029                 :             :         }
    9030                 :     1031711 :         break;
    9031                 :             :       }
    9032                 :             :     default:;
    9033                 :             :     }
    9034                 :             :   return NULL_TREE;
    9035                 :             : }
    9036                 :             : 
    9037                 :             : tree
    9038                 :     8056378 : generic_simplify_TRUTH_OR_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    9039                 :             : {
    9040                 :     8056378 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    9041                 :     8056378 :   switch (TREE_CODE (_p0))
    9042                 :             :     {
    9043                 :     1163386 :     case LE_EXPR:
    9044                 :     1163386 :       {
    9045                 :     1163386 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9046                 :     1163386 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9047                 :     1163386 :         switch (TREE_CODE (_q20))
    9048                 :             :           {
    9049                 :        2693 :           case POINTER_PLUS_EXPR:
    9050                 :        2693 :             {
    9051                 :        2693 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9052                 :        2693 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9053                 :        2693 :               switch (TREE_CODE (_q31))
    9054                 :             :                 {
    9055                 :        2542 :                 case INTEGER_CST:
    9056                 :        2542 :                   {
    9057                 :        2542 :                     switch (TREE_CODE (_p1))
    9058                 :             :                       {
    9059                 :         629 :                       case LE_EXPR:
    9060                 :         629 :                         {
    9061                 :         629 :                           tree _q70 = TREE_OPERAND (_p1, 0);
    9062                 :         629 :                           tree _q71 = TREE_OPERAND (_p1, 1);
    9063                 :         629 :                           switch (TREE_CODE (_q70))
    9064                 :             :                             {
    9065                 :         308 :                             case POINTER_PLUS_EXPR:
    9066                 :         308 :                               {
    9067                 :         308 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
    9068                 :         308 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
    9069                 :         308 :                                 if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
    9070                 :             :                                   {
    9071                 :         283 :                                     if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
    9072                 :             :                                       {
    9073                 :         160 :                                         if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    9074                 :             :                                           {
    9075                 :         158 :                                             {
    9076                 :         158 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q70 };
    9077                 :         158 :                                               const enum tree_code cmp = LE_EXPR;
    9078                 :         158 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
    9079                 :         157 :  && TYPE_OVERFLOW_WRAPS (sizetype)
    9080                 :         315 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
    9081                 :             : )
    9082                 :             :                                                 {
    9083                 :         157 :                                                   {
    9084                 :         157 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
    9085                 :         157 :  offset_int rhs = off * 2;
    9086                 :         157 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
    9087                 :             : )
    9088                 :             :                                                         {
    9089                 :         157 :                                                           {
    9090                 :         157 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
    9091                 :         157 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
    9092                 :         157 :                                                               if (cmp == LT_EXPR
    9093                 :             : )
    9094                 :             :                                                                 {
    9095                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1600;
    9096                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1600;
    9097                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1600;
    9098                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1600;
    9099                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1600;
    9100                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1600;
    9101                 :             :                                                                   {
    9102                 :             :                                                                     tree res_op0;
    9103                 :             :                                                                     {
    9104                 :             :                                                                       tree _o1[1], _r1;
    9105                 :             :                                                                       {
    9106                 :             :                                                                         tree _o2[2], _r2;
    9107                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
    9108                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9109                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9110                 :             :                                                                         _o1[0] = _r2;
    9111                 :             :                                                                       }
    9112                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9113                 :             :                                                                         {
    9114                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9115                 :             :                                                                         }
    9116                 :             :                                                                       else
    9117                 :             :                                                                         _r1 = _o1[0];
    9118                 :             :                                                                       res_op0 = _r1;
    9119                 :             :                                                                     }
    9120                 :             :                                                                     tree res_op1;
    9121                 :             :                                                                     res_op1 =  rhs_tree;
    9122                 :             :                                                                     tree _r;
    9123                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9124                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
    9125                 :         157 :                                                                     return _r;
    9126                 :             :                                                                   }
    9127                 :             : next_after_fail1600:;
    9128                 :             :                                                                 }
    9129                 :             :                                                               else
    9130                 :             :                                                                 {
    9131                 :         157 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1601;
    9132                 :         157 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1601;
    9133                 :         157 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1601;
    9134                 :         157 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1601;
    9135                 :         157 :                                                                   {
    9136                 :         157 :                                                                     tree res_op0;
    9137                 :         157 :                                                                     {
    9138                 :         157 :                                                                       tree _o1[1], _r1;
    9139                 :         157 :                                                                       {
    9140                 :         157 :                                                                         tree _o2[2], _r2;
    9141                 :         157 :                                                                         {
    9142                 :         157 :                                                                           tree _o3[2], _r3;
    9143                 :         157 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
    9144                 :         157 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
    9145                 :         157 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    9146                 :         157 :                                                                           _o2[0] = _r3;
    9147                 :             :                                                                         }
    9148                 :         157 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9149                 :         157 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9150                 :         157 :                                                                         _o1[0] = _r2;
    9151                 :             :                                                                       }
    9152                 :         157 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9153                 :             :                                                                         {
    9154                 :         157 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9155                 :             :                                                                         }
    9156                 :             :                                                                       else
    9157                 :             :                                                                         _r1 = _o1[0];
    9158                 :         157 :                                                                       res_op0 = _r1;
    9159                 :             :                                                                     }
    9160                 :         157 :                                                                     tree res_op1;
    9161                 :         157 :                                                                     res_op1 =  rhs_tree;
    9162                 :         157 :                                                                     tree _r;
    9163                 :         157 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9164                 :         157 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
    9165                 :         157 :                                                                     return _r;
    9166                 :             :                                                                   }
    9167                 :           0 : next_after_fail1601:;
    9168                 :             :                                                                 }
    9169                 :             :                                                           }
    9170                 :             :                                                         }
    9171                 :             :                                                   }
    9172                 :             :                                                 }
    9173                 :             :                                             }
    9174                 :             :                                           }
    9175                 :             :                                       }
    9176                 :             :                                   }
    9177                 :             :                                 break;
    9178                 :             :                               }
    9179                 :             :                             default:;
    9180                 :             :                             }
    9181                 :             :                           break;
    9182                 :             :                         }
    9183                 :         225 :                       case GE_EXPR:
    9184                 :         225 :                         {
    9185                 :         225 :                           tree _q70 = TREE_OPERAND (_p1, 0);
    9186                 :         225 :                           tree _q71 = TREE_OPERAND (_p1, 1);
    9187                 :         225 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9188                 :             :                             {
    9189                 :          15 :                               switch (TREE_CODE (_q71))
    9190                 :             :                                 {
    9191                 :          15 :                                 case POINTER_PLUS_EXPR:
    9192                 :          15 :                                   {
    9193                 :          15 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
    9194                 :          15 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
    9195                 :          15 :                                     if ((_q90 == _q21 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q21, 0) && types_match (_q90, _q21)))
    9196                 :             :                                       {
    9197                 :          13 :                                         if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    9198                 :             :                                           {
    9199                 :           9 :                                             {
    9200                 :           9 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q71 };
    9201                 :           9 :                                               const enum tree_code cmp = LE_EXPR;
    9202                 :           9 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
    9203                 :           9 :  && TYPE_OVERFLOW_WRAPS (sizetype)
    9204                 :          18 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
    9205                 :             : )
    9206                 :             :                                                 {
    9207                 :           9 :                                                   {
    9208                 :           9 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
    9209                 :           9 :  offset_int rhs = off * 2;
    9210                 :           9 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
    9211                 :             : )
    9212                 :             :                                                         {
    9213                 :           9 :                                                           {
    9214                 :           9 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
    9215                 :           9 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
    9216                 :           9 :                                                               if (cmp == LT_EXPR
    9217                 :             : )
    9218                 :             :                                                                 {
    9219                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1602;
    9220                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1602;
    9221                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1602;
    9222                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1602;
    9223                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1602;
    9224                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1602;
    9225                 :             :                                                                   {
    9226                 :             :                                                                     tree res_op0;
    9227                 :             :                                                                     {
    9228                 :             :                                                                       tree _o1[1], _r1;
    9229                 :             :                                                                       {
    9230                 :             :                                                                         tree _o2[2], _r2;
    9231                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
    9232                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9233                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9234                 :             :                                                                         _o1[0] = _r2;
    9235                 :             :                                                                       }
    9236                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9237                 :             :                                                                         {
    9238                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9239                 :             :                                                                         }
    9240                 :             :                                                                       else
    9241                 :             :                                                                         _r1 = _o1[0];
    9242                 :             :                                                                       res_op0 = _r1;
    9243                 :             :                                                                     }
    9244                 :             :                                                                     tree res_op1;
    9245                 :             :                                                                     res_op1 =  rhs_tree;
    9246                 :             :                                                                     tree _r;
    9247                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9248                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
    9249                 :           9 :                                                                     return _r;
    9250                 :             :                                                                   }
    9251                 :             : next_after_fail1602:;
    9252                 :             :                                                                 }
    9253                 :             :                                                               else
    9254                 :             :                                                                 {
    9255                 :           9 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1603;
    9256                 :           9 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1603;
    9257                 :           9 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1603;
    9258                 :           9 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1603;
    9259                 :           9 :                                                                   {
    9260                 :           9 :                                                                     tree res_op0;
    9261                 :           9 :                                                                     {
    9262                 :           9 :                                                                       tree _o1[1], _r1;
    9263                 :           9 :                                                                       {
    9264                 :           9 :                                                                         tree _o2[2], _r2;
    9265                 :           9 :                                                                         {
    9266                 :           9 :                                                                           tree _o3[2], _r3;
    9267                 :           9 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
    9268                 :           9 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
    9269                 :           9 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    9270                 :           9 :                                                                           _o2[0] = _r3;
    9271                 :             :                                                                         }
    9272                 :           9 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9273                 :           9 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9274                 :           9 :                                                                         _o1[0] = _r2;
    9275                 :             :                                                                       }
    9276                 :           9 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9277                 :             :                                                                         {
    9278                 :           9 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9279                 :             :                                                                         }
    9280                 :             :                                                                       else
    9281                 :             :                                                                         _r1 = _o1[0];
    9282                 :           9 :                                                                       res_op0 = _r1;
    9283                 :             :                                                                     }
    9284                 :           9 :                                                                     tree res_op1;
    9285                 :           9 :                                                                     res_op1 =  rhs_tree;
    9286                 :           9 :                                                                     tree _r;
    9287                 :           9 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9288                 :           9 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
    9289                 :           9 :                                                                     return _r;
    9290                 :             :                                                                   }
    9291                 :           0 : next_after_fail1603:;
    9292                 :             :                                                                 }
    9293                 :             :                                                           }
    9294                 :             :                                                         }
    9295                 :             :                                                   }
    9296                 :             :                                                 }
    9297                 :             :                                             }
    9298                 :             :                                           }
    9299                 :             :                                       }
    9300                 :             :                                     break;
    9301                 :             :                                   }
    9302                 :             :                                 default:;
    9303                 :             :                                 }
    9304                 :             :                             }
    9305                 :             :                           break;
    9306                 :             :                         }
    9307                 :             :                       default:;
    9308                 :             :                       }
    9309                 :             :                     break;
    9310                 :             :                   }
    9311                 :             :                 default:;
    9312                 :             :                 }
    9313                 :             :               break;
    9314                 :             :             }
    9315                 :             :           default:;
    9316                 :             :           }
    9317                 :             :         break;
    9318                 :             :       }
    9319                 :      951283 :     case LT_EXPR:
    9320                 :      951283 :       {
    9321                 :      951283 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9322                 :      951283 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9323                 :      951283 :         switch (TREE_CODE (_q20))
    9324                 :             :           {
    9325                 :         720 :           case POINTER_PLUS_EXPR:
    9326                 :         720 :             {
    9327                 :         720 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9328                 :         720 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9329                 :         720 :               switch (TREE_CODE (_q31))
    9330                 :             :                 {
    9331                 :         542 :                 case INTEGER_CST:
    9332                 :         542 :                   {
    9333                 :         542 :                     switch (TREE_CODE (_p1))
    9334                 :             :                       {
    9335                 :           8 :                       case LT_EXPR:
    9336                 :           8 :                         {
    9337                 :           8 :                           tree _q70 = TREE_OPERAND (_p1, 0);
    9338                 :           8 :                           tree _q71 = TREE_OPERAND (_p1, 1);
    9339                 :           8 :                           switch (TREE_CODE (_q70))
    9340                 :             :                             {
    9341                 :           4 :                             case POINTER_PLUS_EXPR:
    9342                 :           4 :                               {
    9343                 :           4 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
    9344                 :           4 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
    9345                 :           4 :                                 if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
    9346                 :             :                                   {
    9347                 :           1 :                                     if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
    9348                 :             :                                       {
    9349                 :           1 :                                         if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    9350                 :             :                                           {
    9351                 :           1 :                                             {
    9352                 :           1 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q70 };
    9353                 :           1 :                                               const enum tree_code cmp = LT_EXPR;
    9354                 :           1 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
    9355                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
    9356                 :           1 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
    9357                 :             : )
    9358                 :             :                                                 {
    9359                 :           0 :                                                   {
    9360                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
    9361                 :           0 :  offset_int rhs = off * 2;
    9362                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
    9363                 :             : )
    9364                 :             :                                                         {
    9365                 :           0 :                                                           {
    9366                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
    9367                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
    9368                 :           0 :                                                               if (cmp == LT_EXPR
    9369                 :             : )
    9370                 :             :                                                                 {
    9371                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1604;
    9372                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1604;
    9373                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1604;
    9374                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1604;
    9375                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1604;
    9376                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1604;
    9377                 :           0 :                                                                   {
    9378                 :           0 :                                                                     tree res_op0;
    9379                 :           0 :                                                                     {
    9380                 :           0 :                                                                       tree _o1[1], _r1;
    9381                 :           0 :                                                                       {
    9382                 :           0 :                                                                         tree _o2[2], _r2;
    9383                 :           0 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
    9384                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9385                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9386                 :           0 :                                                                         _o1[0] = _r2;
    9387                 :             :                                                                       }
    9388                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9389                 :             :                                                                         {
    9390                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9391                 :             :                                                                         }
    9392                 :             :                                                                       else
    9393                 :             :                                                                         _r1 = _o1[0];
    9394                 :           0 :                                                                       res_op0 = _r1;
    9395                 :             :                                                                     }
    9396                 :           0 :                                                                     tree res_op1;
    9397                 :           0 :                                                                     res_op1 =  rhs_tree;
    9398                 :           0 :                                                                     tree _r;
    9399                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9400                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
    9401                 :           0 :                                                                     return _r;
    9402                 :             :                                                                   }
    9403                 :           0 : next_after_fail1604:;
    9404                 :             :                                                                 }
    9405                 :             :                                                               else
    9406                 :             :                                                                 {
    9407                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1605;
    9408                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1605;
    9409                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1605;
    9410                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1605;
    9411                 :             :                                                                   {
    9412                 :             :                                                                     tree res_op0;
    9413                 :             :                                                                     {
    9414                 :             :                                                                       tree _o1[1], _r1;
    9415                 :             :                                                                       {
    9416                 :             :                                                                         tree _o2[2], _r2;
    9417                 :             :                                                                         {
    9418                 :             :                                                                           tree _o3[2], _r3;
    9419                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
    9420                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
    9421                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    9422                 :             :                                                                           _o2[0] = _r3;
    9423                 :             :                                                                         }
    9424                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9425                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9426                 :             :                                                                         _o1[0] = _r2;
    9427                 :             :                                                                       }
    9428                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9429                 :             :                                                                         {
    9430                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9431                 :             :                                                                         }
    9432                 :             :                                                                       else
    9433                 :             :                                                                         _r1 = _o1[0];
    9434                 :             :                                                                       res_op0 = _r1;
    9435                 :             :                                                                     }
    9436                 :             :                                                                     tree res_op1;
    9437                 :             :                                                                     res_op1 =  rhs_tree;
    9438                 :             :                                                                     tree _r;
    9439                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9440                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
    9441                 :             :                                                                     return _r;
    9442                 :             :                                                                   }
    9443                 :             : next_after_fail1605:;
    9444                 :             :                                                                 }
    9445                 :             :                                                           }
    9446                 :             :                                                         }
    9447                 :             :                                                   }
    9448                 :             :                                                 }
    9449                 :             :                                             }
    9450                 :             :                                           }
    9451                 :             :                                       }
    9452                 :             :                                   }
    9453                 :             :                                 break;
    9454                 :             :                               }
    9455                 :             :                             default:;
    9456                 :             :                             }
    9457                 :             :                           break;
    9458                 :             :                         }
    9459                 :         174 :                       case GT_EXPR:
    9460                 :         174 :                         {
    9461                 :         174 :                           tree _q70 = TREE_OPERAND (_p1, 0);
    9462                 :         174 :                           tree _q71 = TREE_OPERAND (_p1, 1);
    9463                 :         174 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9464                 :             :                             {
    9465                 :           0 :                               switch (TREE_CODE (_q71))
    9466                 :             :                                 {
    9467                 :           0 :                                 case POINTER_PLUS_EXPR:
    9468                 :           0 :                                   {
    9469                 :           0 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
    9470                 :           0 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
    9471                 :           0 :                                     if ((_q90 == _q21 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q21, 0) && types_match (_q90, _q21)))
    9472                 :             :                                       {
    9473                 :           0 :                                         if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    9474                 :             :                                           {
    9475                 :           0 :                                             {
    9476                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q71 };
    9477                 :           0 :                                               const enum tree_code cmp = LT_EXPR;
    9478                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
    9479                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
    9480                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
    9481                 :             : )
    9482                 :             :                                                 {
    9483                 :           0 :                                                   {
    9484                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
    9485                 :           0 :  offset_int rhs = off * 2;
    9486                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
    9487                 :             : )
    9488                 :             :                                                         {
    9489                 :           0 :                                                           {
    9490                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
    9491                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
    9492                 :           0 :                                                               if (cmp == LT_EXPR
    9493                 :             : )
    9494                 :             :                                                                 {
    9495                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1606;
    9496                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1606;
    9497                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1606;
    9498                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1606;
    9499                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1606;
    9500                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1606;
    9501                 :           0 :                                                                   {
    9502                 :           0 :                                                                     tree res_op0;
    9503                 :           0 :                                                                     {
    9504                 :           0 :                                                                       tree _o1[1], _r1;
    9505                 :           0 :                                                                       {
    9506                 :           0 :                                                                         tree _o2[2], _r2;
    9507                 :           0 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
    9508                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9509                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9510                 :           0 :                                                                         _o1[0] = _r2;
    9511                 :             :                                                                       }
    9512                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9513                 :             :                                                                         {
    9514                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9515                 :             :                                                                         }
    9516                 :             :                                                                       else
    9517                 :             :                                                                         _r1 = _o1[0];
    9518                 :           0 :                                                                       res_op0 = _r1;
    9519                 :             :                                                                     }
    9520                 :           0 :                                                                     tree res_op1;
    9521                 :           0 :                                                                     res_op1 =  rhs_tree;
    9522                 :           0 :                                                                     tree _r;
    9523                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9524                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
    9525                 :           0 :                                                                     return _r;
    9526                 :             :                                                                   }
    9527                 :           0 : next_after_fail1606:;
    9528                 :             :                                                                 }
    9529                 :             :                                                               else
    9530                 :             :                                                                 {
    9531                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1607;
    9532                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1607;
    9533                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1607;
    9534                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1607;
    9535                 :             :                                                                   {
    9536                 :             :                                                                     tree res_op0;
    9537                 :             :                                                                     {
    9538                 :             :                                                                       tree _o1[1], _r1;
    9539                 :             :                                                                       {
    9540                 :             :                                                                         tree _o2[2], _r2;
    9541                 :             :                                                                         {
    9542                 :             :                                                                           tree _o3[2], _r3;
    9543                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
    9544                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
    9545                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    9546                 :             :                                                                           _o2[0] = _r3;
    9547                 :             :                                                                         }
    9548                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9549                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9550                 :             :                                                                         _o1[0] = _r2;
    9551                 :             :                                                                       }
    9552                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9553                 :             :                                                                         {
    9554                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9555                 :             :                                                                         }
    9556                 :             :                                                                       else
    9557                 :             :                                                                         _r1 = _o1[0];
    9558                 :             :                                                                       res_op0 = _r1;
    9559                 :             :                                                                     }
    9560                 :             :                                                                     tree res_op1;
    9561                 :             :                                                                     res_op1 =  rhs_tree;
    9562                 :             :                                                                     tree _r;
    9563                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9564                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
    9565                 :             :                                                                     return _r;
    9566                 :             :                                                                   }
    9567                 :             : next_after_fail1607:;
    9568                 :             :                                                                 }
    9569                 :             :                                                           }
    9570                 :             :                                                         }
    9571                 :             :                                                   }
    9572                 :             :                                                 }
    9573                 :             :                                             }
    9574                 :             :                                           }
    9575                 :             :                                       }
    9576                 :             :                                     break;
    9577                 :             :                                   }
    9578                 :             :                                 default:;
    9579                 :             :                                 }
    9580                 :             :                             }
    9581                 :             :                           break;
    9582                 :             :                         }
    9583                 :             :                       default:;
    9584                 :             :                       }
    9585                 :             :                     break;
    9586                 :             :                   }
    9587                 :             :                 default:;
    9588                 :             :                 }
    9589                 :             :               break;
    9590                 :             :             }
    9591                 :             :           default:;
    9592                 :             :           }
    9593                 :             :         break;
    9594                 :             :       }
    9595                 :      727054 :     case GE_EXPR:
    9596                 :      727054 :       {
    9597                 :      727054 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9598                 :      727054 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9599                 :      727054 :         switch (TREE_CODE (_q21))
    9600                 :             :           {
    9601                 :          91 :           case POINTER_PLUS_EXPR:
    9602                 :          91 :             {
    9603                 :          91 :               tree _q40 = TREE_OPERAND (_q21, 0);
    9604                 :          91 :               tree _q41 = TREE_OPERAND (_q21, 1);
    9605                 :          91 :               switch (TREE_CODE (_q41))
    9606                 :             :                 {
    9607                 :          91 :                 case INTEGER_CST:
    9608                 :          91 :                   {
    9609                 :          91 :                     switch (TREE_CODE (_p1))
    9610                 :             :                       {
    9611                 :          53 :                       case LE_EXPR:
    9612                 :          53 :                         {
    9613                 :          53 :                           tree _q70 = TREE_OPERAND (_p1, 0);
    9614                 :          53 :                           tree _q71 = TREE_OPERAND (_p1, 1);
    9615                 :          53 :                           switch (TREE_CODE (_q70))
    9616                 :             :                             {
    9617                 :          43 :                             case POINTER_PLUS_EXPR:
    9618                 :          43 :                               {
    9619                 :          43 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
    9620                 :          43 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
    9621                 :          43 :                                 if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9622                 :             :                                   {
    9623                 :          30 :                                     if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
    9624                 :             :                                       {
    9625                 :           5 :                                         if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
    9626                 :             :                                           {
    9627                 :           5 :                                             {
    9628                 :           5 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q70 };
    9629                 :           5 :                                               const enum tree_code cmp = LE_EXPR;
    9630                 :           5 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
    9631                 :           5 :  && TYPE_OVERFLOW_WRAPS (sizetype)
    9632                 :          10 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
    9633                 :             : )
    9634                 :             :                                                 {
    9635                 :           5 :                                                   {
    9636                 :           5 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
    9637                 :           5 :  offset_int rhs = off * 2;
    9638                 :           5 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
    9639                 :             : )
    9640                 :             :                                                         {
    9641                 :           5 :                                                           {
    9642                 :           5 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
    9643                 :           5 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
    9644                 :           5 :                                                               if (cmp == LT_EXPR
    9645                 :             : )
    9646                 :             :                                                                 {
    9647                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1608;
    9648                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1608;
    9649                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1608;
    9650                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1608;
    9651                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1608;
    9652                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1608;
    9653                 :             :                                                                   {
    9654                 :             :                                                                     tree res_op0;
    9655                 :             :                                                                     {
    9656                 :             :                                                                       tree _o1[1], _r1;
    9657                 :             :                                                                       {
    9658                 :             :                                                                         tree _o2[2], _r2;
    9659                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
    9660                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9661                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9662                 :             :                                                                         _o1[0] = _r2;
    9663                 :             :                                                                       }
    9664                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9665                 :             :                                                                         {
    9666                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9667                 :             :                                                                         }
    9668                 :             :                                                                       else
    9669                 :             :                                                                         _r1 = _o1[0];
    9670                 :             :                                                                       res_op0 = _r1;
    9671                 :             :                                                                     }
    9672                 :             :                                                                     tree res_op1;
    9673                 :             :                                                                     res_op1 =  rhs_tree;
    9674                 :             :                                                                     tree _r;
    9675                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9676                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
    9677                 :           5 :                                                                     return _r;
    9678                 :             :                                                                   }
    9679                 :             : next_after_fail1608:;
    9680                 :             :                                                                 }
    9681                 :             :                                                               else
    9682                 :             :                                                                 {
    9683                 :           5 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1609;
    9684                 :           5 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1609;
    9685                 :           5 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1609;
    9686                 :           5 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1609;
    9687                 :           5 :                                                                   {
    9688                 :           5 :                                                                     tree res_op0;
    9689                 :           5 :                                                                     {
    9690                 :           5 :                                                                       tree _o1[1], _r1;
    9691                 :           5 :                                                                       {
    9692                 :           5 :                                                                         tree _o2[2], _r2;
    9693                 :           5 :                                                                         {
    9694                 :           5 :                                                                           tree _o3[2], _r3;
    9695                 :           5 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
    9696                 :           5 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
    9697                 :           5 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    9698                 :           5 :                                                                           _o2[0] = _r3;
    9699                 :             :                                                                         }
    9700                 :           5 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9701                 :           5 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9702                 :           5 :                                                                         _o1[0] = _r2;
    9703                 :             :                                                                       }
    9704                 :           5 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9705                 :             :                                                                         {
    9706                 :           5 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9707                 :             :                                                                         }
    9708                 :             :                                                                       else
    9709                 :             :                                                                         _r1 = _o1[0];
    9710                 :           5 :                                                                       res_op0 = _r1;
    9711                 :             :                                                                     }
    9712                 :           5 :                                                                     tree res_op1;
    9713                 :           5 :                                                                     res_op1 =  rhs_tree;
    9714                 :           5 :                                                                     tree _r;
    9715                 :           5 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9716                 :           5 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
    9717                 :           5 :                                                                     return _r;
    9718                 :             :                                                                   }
    9719                 :           0 : next_after_fail1609:;
    9720                 :             :                                                                 }
    9721                 :             :                                                           }
    9722                 :             :                                                         }
    9723                 :             :                                                   }
    9724                 :             :                                                 }
    9725                 :             :                                             }
    9726                 :             :                                           }
    9727                 :             :                                       }
    9728                 :             :                                   }
    9729                 :             :                                 break;
    9730                 :             :                               }
    9731                 :             :                             default:;
    9732                 :             :                             }
    9733                 :             :                           break;
    9734                 :             :                         }
    9735                 :           0 :                       case GE_EXPR:
    9736                 :           0 :                         {
    9737                 :           0 :                           tree _q70 = TREE_OPERAND (_p1, 0);
    9738                 :           0 :                           tree _q71 = TREE_OPERAND (_p1, 1);
    9739                 :           0 :                           if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    9740                 :             :                             {
    9741                 :           0 :                               switch (TREE_CODE (_q71))
    9742                 :             :                                 {
    9743                 :           0 :                                 case POINTER_PLUS_EXPR:
    9744                 :           0 :                                   {
    9745                 :           0 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
    9746                 :           0 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
    9747                 :           0 :                                     if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
    9748                 :             :                                       {
    9749                 :           0 :                                         if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
    9750                 :             :                                           {
    9751                 :           0 :                                             {
    9752                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q71 };
    9753                 :           0 :                                               const enum tree_code cmp = LE_EXPR;
    9754                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
    9755                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
    9756                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
    9757                 :             : )
    9758                 :             :                                                 {
    9759                 :           0 :                                                   {
    9760                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
    9761                 :           0 :  offset_int rhs = off * 2;
    9762                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
    9763                 :             : )
    9764                 :             :                                                         {
    9765                 :           0 :                                                           {
    9766                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
    9767                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
    9768                 :           0 :                                                               if (cmp == LT_EXPR
    9769                 :             : )
    9770                 :             :                                                                 {
    9771                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1610;
    9772                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1610;
    9773                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1610;
    9774                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1610;
    9775                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1610;
    9776                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1610;
    9777                 :             :                                                                   {
    9778                 :             :                                                                     tree res_op0;
    9779                 :             :                                                                     {
    9780                 :             :                                                                       tree _o1[1], _r1;
    9781                 :             :                                                                       {
    9782                 :             :                                                                         tree _o2[2], _r2;
    9783                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
    9784                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9785                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9786                 :             :                                                                         _o1[0] = _r2;
    9787                 :             :                                                                       }
    9788                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9789                 :             :                                                                         {
    9790                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9791                 :             :                                                                         }
    9792                 :             :                                                                       else
    9793                 :             :                                                                         _r1 = _o1[0];
    9794                 :             :                                                                       res_op0 = _r1;
    9795                 :             :                                                                     }
    9796                 :             :                                                                     tree res_op1;
    9797                 :             :                                                                     res_op1 =  rhs_tree;
    9798                 :             :                                                                     tree _r;
    9799                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9800                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
    9801                 :           0 :                                                                     return _r;
    9802                 :             :                                                                   }
    9803                 :             : next_after_fail1610:;
    9804                 :             :                                                                 }
    9805                 :             :                                                               else
    9806                 :             :                                                                 {
    9807                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1611;
    9808                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1611;
    9809                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1611;
    9810                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1611;
    9811                 :           0 :                                                                   {
    9812                 :           0 :                                                                     tree res_op0;
    9813                 :           0 :                                                                     {
    9814                 :           0 :                                                                       tree _o1[1], _r1;
    9815                 :           0 :                                                                       {
    9816                 :           0 :                                                                         tree _o2[2], _r2;
    9817                 :           0 :                                                                         {
    9818                 :           0 :                                                                           tree _o3[2], _r3;
    9819                 :           0 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
    9820                 :           0 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
    9821                 :           0 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    9822                 :           0 :                                                                           _o2[0] = _r3;
    9823                 :             :                                                                         }
    9824                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9825                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9826                 :           0 :                                                                         _o1[0] = _r2;
    9827                 :             :                                                                       }
    9828                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9829                 :             :                                                                         {
    9830                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9831                 :             :                                                                         }
    9832                 :             :                                                                       else
    9833                 :             :                                                                         _r1 = _o1[0];
    9834                 :           0 :                                                                       res_op0 = _r1;
    9835                 :             :                                                                     }
    9836                 :           0 :                                                                     tree res_op1;
    9837                 :           0 :                                                                     res_op1 =  rhs_tree;
    9838                 :           0 :                                                                     tree _r;
    9839                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9840                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
    9841                 :           0 :                                                                     return _r;
    9842                 :             :                                                                   }
    9843                 :           0 : next_after_fail1611:;
    9844                 :             :                                                                 }
    9845                 :             :                                                           }
    9846                 :             :                                                         }
    9847                 :             :                                                   }
    9848                 :             :                                                 }
    9849                 :             :                                             }
    9850                 :             :                                           }
    9851                 :             :                                       }
    9852                 :             :                                     break;
    9853                 :             :                                   }
    9854                 :             :                                 default:;
    9855                 :             :                                 }
    9856                 :             :                             }
    9857                 :             :                           break;
    9858                 :             :                         }
    9859                 :             :                       default:;
    9860                 :             :                       }
    9861                 :             :                     break;
    9862                 :             :                   }
    9863                 :             :                 default:;
    9864                 :             :                 }
    9865                 :             :               break;
    9866                 :             :             }
    9867                 :             :           default:;
    9868                 :             :           }
    9869                 :             :         break;
    9870                 :             :       }
    9871                 :      953329 :     case GT_EXPR:
    9872                 :      953329 :       {
    9873                 :      953329 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9874                 :      953329 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9875                 :      953329 :         switch (TREE_CODE (_q21))
    9876                 :             :           {
    9877                 :         645 :           case POINTER_PLUS_EXPR:
    9878                 :         645 :             {
    9879                 :         645 :               tree _q40 = TREE_OPERAND (_q21, 0);
    9880                 :         645 :               tree _q41 = TREE_OPERAND (_q21, 1);
    9881                 :         645 :               switch (TREE_CODE (_q41))
    9882                 :             :                 {
    9883                 :         645 :                 case INTEGER_CST:
    9884                 :         645 :                   {
    9885                 :         645 :                     switch (TREE_CODE (_p1))
    9886                 :             :                       {
    9887                 :           0 :                       case LT_EXPR:
    9888                 :           0 :                         {
    9889                 :           0 :                           tree _q70 = TREE_OPERAND (_p1, 0);
    9890                 :           0 :                           tree _q71 = TREE_OPERAND (_p1, 1);
    9891                 :           0 :                           switch (TREE_CODE (_q70))
    9892                 :             :                             {
    9893                 :           0 :                             case POINTER_PLUS_EXPR:
    9894                 :           0 :                               {
    9895                 :           0 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
    9896                 :           0 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
    9897                 :           0 :                                 if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9898                 :             :                                   {
    9899                 :           0 :                                     if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
    9900                 :             :                                       {
    9901                 :           0 :                                         if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
    9902                 :             :                                           {
    9903                 :           0 :                                             {
    9904                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q70 };
    9905                 :           0 :                                               const enum tree_code cmp = LT_EXPR;
    9906                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
    9907                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
    9908                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
    9909                 :             : )
    9910                 :             :                                                 {
    9911                 :           0 :                                                   {
    9912                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
    9913                 :           0 :  offset_int rhs = off * 2;
    9914                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
    9915                 :             : )
    9916                 :             :                                                         {
    9917                 :           0 :                                                           {
    9918                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
    9919                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
    9920                 :           0 :                                                               if (cmp == LT_EXPR
    9921                 :             : )
    9922                 :             :                                                                 {
    9923                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1612;
    9924                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1612;
    9925                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1612;
    9926                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1612;
    9927                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1612;
    9928                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1612;
    9929                 :           0 :                                                                   {
    9930                 :           0 :                                                                     tree res_op0;
    9931                 :           0 :                                                                     {
    9932                 :           0 :                                                                       tree _o1[1], _r1;
    9933                 :           0 :                                                                       {
    9934                 :           0 :                                                                         tree _o2[2], _r2;
    9935                 :           0 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
    9936                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9937                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9938                 :           0 :                                                                         _o1[0] = _r2;
    9939                 :             :                                                                       }
    9940                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9941                 :             :                                                                         {
    9942                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9943                 :             :                                                                         }
    9944                 :             :                                                                       else
    9945                 :             :                                                                         _r1 = _o1[0];
    9946                 :           0 :                                                                       res_op0 = _r1;
    9947                 :             :                                                                     }
    9948                 :           0 :                                                                     tree res_op1;
    9949                 :           0 :                                                                     res_op1 =  rhs_tree;
    9950                 :           0 :                                                                     tree _r;
    9951                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9952                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
    9953                 :           0 :                                                                     return _r;
    9954                 :             :                                                                   }
    9955                 :           0 : next_after_fail1612:;
    9956                 :             :                                                                 }
    9957                 :             :                                                               else
    9958                 :             :                                                                 {
    9959                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1613;
    9960                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1613;
    9961                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1613;
    9962                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1613;
    9963                 :             :                                                                   {
    9964                 :             :                                                                     tree res_op0;
    9965                 :             :                                                                     {
    9966                 :             :                                                                       tree _o1[1], _r1;
    9967                 :             :                                                                       {
    9968                 :             :                                                                         tree _o2[2], _r2;
    9969                 :             :                                                                         {
    9970                 :             :                                                                           tree _o3[2], _r3;
    9971                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
    9972                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
    9973                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    9974                 :             :                                                                           _o2[0] = _r3;
    9975                 :             :                                                                         }
    9976                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
    9977                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
    9978                 :             :                                                                         _o1[0] = _r2;
    9979                 :             :                                                                       }
    9980                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
    9981                 :             :                                                                         {
    9982                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
    9983                 :             :                                                                         }
    9984                 :             :                                                                       else
    9985                 :             :                                                                         _r1 = _o1[0];
    9986                 :             :                                                                       res_op0 = _r1;
    9987                 :             :                                                                     }
    9988                 :             :                                                                     tree res_op1;
    9989                 :             :                                                                     res_op1 =  rhs_tree;
    9990                 :             :                                                                     tree _r;
    9991                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    9992                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
    9993                 :             :                                                                     return _r;
    9994                 :             :                                                                   }
    9995                 :             : next_after_fail1613:;
    9996                 :             :                                                                 }
    9997                 :             :                                                           }
    9998                 :             :                                                         }
    9999                 :             :                                                   }
   10000                 :             :                                                 }
   10001                 :             :                                             }
   10002                 :             :                                           }
   10003                 :             :                                       }
   10004                 :             :                                   }
   10005                 :             :                                 break;
   10006                 :             :                               }
   10007                 :             :                             default:;
   10008                 :             :                             }
   10009                 :             :                           break;
   10010                 :             :                         }
   10011                 :         327 :                       case GT_EXPR:
   10012                 :         327 :                         {
   10013                 :         327 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   10014                 :         327 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   10015                 :         327 :                           if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
   10016                 :             :                             {
   10017                 :           0 :                               switch (TREE_CODE (_q71))
   10018                 :             :                                 {
   10019                 :           0 :                                 case POINTER_PLUS_EXPR:
   10020                 :           0 :                                   {
   10021                 :           0 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
   10022                 :           0 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
   10023                 :           0 :                                     if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
   10024                 :             :                                       {
   10025                 :           0 :                                         if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
   10026                 :             :                                           {
   10027                 :           0 :                                             {
   10028                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q71 };
   10029                 :           0 :                                               const enum tree_code cmp = LT_EXPR;
   10030                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   10031                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   10032                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   10033                 :             : )
   10034                 :             :                                                 {
   10035                 :           0 :                                                   {
   10036                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   10037                 :           0 :  offset_int rhs = off * 2;
   10038                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   10039                 :             : )
   10040                 :             :                                                         {
   10041                 :           0 :                                                           {
   10042                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   10043                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   10044                 :           0 :                                                               if (cmp == LT_EXPR
   10045                 :             : )
   10046                 :             :                                                                 {
   10047                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1614;
   10048                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1614;
   10049                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1614;
   10050                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1614;
   10051                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1614;
   10052                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1614;
   10053                 :           0 :                                                                   {
   10054                 :           0 :                                                                     tree res_op0;
   10055                 :           0 :                                                                     {
   10056                 :           0 :                                                                       tree _o1[1], _r1;
   10057                 :           0 :                                                                       {
   10058                 :           0 :                                                                         tree _o2[2], _r2;
   10059                 :           0 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   10060                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   10061                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   10062                 :           0 :                                                                         _o1[0] = _r2;
   10063                 :             :                                                                       }
   10064                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   10065                 :             :                                                                         {
   10066                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   10067                 :             :                                                                         }
   10068                 :             :                                                                       else
   10069                 :             :                                                                         _r1 = _o1[0];
   10070                 :           0 :                                                                       res_op0 = _r1;
   10071                 :             :                                                                     }
   10072                 :           0 :                                                                     tree res_op1;
   10073                 :           0 :                                                                     res_op1 =  rhs_tree;
   10074                 :           0 :                                                                     tree _r;
   10075                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   10076                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
   10077                 :           0 :                                                                     return _r;
   10078                 :             :                                                                   }
   10079                 :           0 : next_after_fail1614:;
   10080                 :             :                                                                 }
   10081                 :             :                                                               else
   10082                 :             :                                                                 {
   10083                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1615;
   10084                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1615;
   10085                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1615;
   10086                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1615;
   10087                 :             :                                                                   {
   10088                 :             :                                                                     tree res_op0;
   10089                 :             :                                                                     {
   10090                 :             :                                                                       tree _o1[1], _r1;
   10091                 :             :                                                                       {
   10092                 :             :                                                                         tree _o2[2], _r2;
   10093                 :             :                                                                         {
   10094                 :             :                                                                           tree _o3[2], _r3;
   10095                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   10096                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   10097                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   10098                 :             :                                                                           _o2[0] = _r3;
   10099                 :             :                                                                         }
   10100                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   10101                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   10102                 :             :                                                                         _o1[0] = _r2;
   10103                 :             :                                                                       }
   10104                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   10105                 :             :                                                                         {
   10106                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   10107                 :             :                                                                         }
   10108                 :             :                                                                       else
   10109                 :             :                                                                         _r1 = _o1[0];
   10110                 :             :                                                                       res_op0 = _r1;
   10111                 :             :                                                                     }
   10112                 :             :                                                                     tree res_op1;
   10113                 :             :                                                                     res_op1 =  rhs_tree;
   10114                 :             :                                                                     tree _r;
   10115                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   10116                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
   10117                 :             :                                                                     return _r;
   10118                 :             :                                                                   }
   10119                 :             : next_after_fail1615:;
   10120                 :             :                                                                 }
   10121                 :             :                                                           }
   10122                 :             :                                                         }
   10123                 :             :                                                   }
   10124                 :             :                                                 }
   10125                 :             :                                             }
   10126                 :             :                                           }
   10127                 :             :                                       }
   10128                 :             :                                     break;
   10129                 :             :                                   }
   10130                 :             :                                 default:;
   10131                 :             :                                 }
   10132                 :             :                             }
   10133                 :             :                           break;
   10134                 :             :                         }
   10135                 :             :                       default:;
   10136                 :             :                       }
   10137                 :             :                     break;
   10138                 :             :                   }
   10139                 :             :                 default:;
   10140                 :             :                 }
   10141                 :             :               break;
   10142                 :             :             }
   10143                 :             :           default:;
   10144                 :             :           }
   10145                 :             :         break;
   10146                 :             :       }
   10147                 :             :     default:;
   10148                 :             :     }
   10149                 :             :   return NULL_TREE;
   10150                 :             : }
   10151                 :             : #pragma GCC diagnostic pop
        

Generated by: LCOV version 2.1-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.