LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - generic-match-4.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 52.8 % 9779 5167
Test Date: 2024-04-13 14:00:49 Functions: 61.8 % 68 42
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                 :    49998256 : tree_with_possible_nonzero_bits (tree t)
      11                 :             : {
      12                 :    49998256 :   const tree type = TREE_TYPE (t);
      13                 :    49998256 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :    49998256 :   if (TREE_SIDE_EFFECTS (t)) return false;
      15                 :    49998256 :   switch (TREE_CODE (t))
      16                 :             :     {
      17                 :      783667 :     case INTEGER_CST:
      18                 :      783667 :       {
      19                 :      783667 :         {
      20                 :      783667 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      21                 :      783667 :           {
      22                 :      783667 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 22, __FILE__, __LINE__, false);
      23                 :      783667 :             return true;
      24                 :             :           }
      25                 :             :         }
      26                 :    21823535 :         break;
      27                 :             :       }
      28                 :    21823535 :     case SSA_NAME:
      29                 :    21823535 :       {
      30                 :    21823535 :         {
      31                 :    21823535 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      32                 :    21823535 :           if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
      33                 :             : )
      34                 :             :             {
      35                 :    21303955 :               {
      36                 :    21303955 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 23, __FILE__, __LINE__, false);
      37                 :    21303955 :                 return true;
      38                 :             :               }
      39                 :             :             }
      40                 :             :         }
      41                 :             :         break;
      42                 :             :       }
      43                 :             :     default:;
      44                 :             :     }
      45                 :             :   return false;
      46                 :             : }
      47                 :             : 
      48                 :             : bool
      49                 :           0 : tree_compositional_complex (tree t)
      50                 :             : {
      51                 :           0 :   const tree type = TREE_TYPE (t);
      52                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      53                 :           0 :   if (TREE_SIDE_EFFECTS (t)) return false;
      54                 :           0 :   switch (TREE_CODE (t))
      55                 :             :     {
      56                 :           0 :     CASE_CONVERT:
      57                 :           0 :       {
      58                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
      59                 :           0 :         switch (TREE_CODE (_p0))
      60                 :             :           {
      61                 :           0 :           case COMPLEX_EXPR:
      62                 :           0 :             {
      63                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
      64                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
      65                 :           0 :               {
      66                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
      67                 :           0 :                 {
      68                 :           0 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 30, __FILE__, __LINE__, false);
      69                 :           0 :                   return true;
      70                 :             :                 }
      71                 :             :               }
      72                 :             :               break;
      73                 :             :             }
      74                 :             :           default:;
      75                 :             :           }
      76                 :             :         break;
      77                 :             :       }
      78                 :           0 :     case COMPLEX_EXPR:
      79                 :           0 :       {
      80                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
      81                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
      82                 :           0 :         {
      83                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      84                 :           0 :           {
      85                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 30, __FILE__, __LINE__, false);
      86                 :           0 :             return true;
      87                 :             :           }
      88                 :             :         }
      89                 :             :         break;
      90                 :             :       }
      91                 :             :     default:;
      92                 :             :     }
      93                 :             :   return false;
      94                 :             : }
      95                 :             : 
      96                 :             : tree
      97                 :        5342 : generic_simplify_2 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
      98                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
      99                 :             : {
     100                 :        5342 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     101                 :        5342 :   if (fold_real_zero_addition_p (type, captures[0], captures[1], 0)
     102                 :             : )
     103                 :             :     {
     104                 :          95 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail82;
     105                 :          95 :       {
     106                 :          95 :         tree res_op0;
     107                 :          95 :         res_op0 = captures[0];
     108                 :          95 :         tree _r;
     109                 :          95 :         _r = non_lvalue_loc (loc, res_op0);
     110                 :          95 :         if (TREE_SIDE_EFFECTS (captures[1]))
     111                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     112                 :          95 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 41, __FILE__, __LINE__, true);
     113                 :          95 :         return _r;
     114                 :             :       }
     115                 :           0 : next_after_fail82:;
     116                 :             :     }
     117                 :             :   return NULL_TREE;
     118                 :             : }
     119                 :             : 
     120                 :             : tree
     121                 :           0 : generic_simplify_8 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     122                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     123                 :             :  const enum tree_code ARG_UNUSED (op))
     124                 :             : {
     125                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     126                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail89;
     127                 :           0 :   {
     128                 :           0 :     tree res_op0;
     129                 :           0 :     res_op0 = captures[0];
     130                 :           0 :     tree res_op1;
     131                 :           0 :     res_op1 = captures[1];
     132                 :           0 :     tree _r;
     133                 :           0 :     _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
     134                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 48, __FILE__, __LINE__, true);
     135                 :             :     return _r;
     136                 :             :   }
     137                 :           0 : next_after_fail89:;
     138                 :           0 :   return NULL_TREE;
     139                 :             : }
     140                 :             : 
     141                 :             : tree
     142                 :           2 : generic_simplify_11 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     143                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     144                 :             : {
     145                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     146                 :           2 :   if (!TYPE_OVERFLOW_SANITIZED (type) && !TYPE_OVERFLOW_TRAPS (type)
     147                 :           2 :  && !TYPE_SATURATING (type) && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
     148                 :           2 :  && !TYPE_OVERFLOW_TRAPS (TREE_TYPE (captures[0]))
     149                 :           4 :  && !TYPE_SATURATING (TREE_TYPE (captures[0]))
     150                 :             : )
     151                 :             :     {
     152                 :           2 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail92;
     153                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail92;
     154                 :           2 :       {
     155                 :           2 :         tree res_op0;
     156                 :           2 :         {
     157                 :           2 :           tree _o1[1], _r1;
     158                 :           2 :           {
     159                 :           2 :             tree _o2[2], _r2;
     160                 :           2 :             _o2[0] = captures[1];
     161                 :           2 :             _o2[1] = captures[2];
     162                 :           2 :             _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
     163                 :           2 :             _o1[0] = _r2;
     164                 :             :           }
     165                 :           2 :           if (TREE_TYPE (_o1[0]) != type)
     166                 :             :             {
     167                 :           1 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
     168                 :             :             }
     169                 :             :           else
     170                 :             :             _r1 = _o1[0];
     171                 :           2 :           res_op0 = _r1;
     172                 :             :         }
     173                 :           2 :         tree _r;
     174                 :           2 :         _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
     175                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 51, __FILE__, __LINE__, true);
     176                 :           2 :         return _r;
     177                 :             :       }
     178                 :             : next_after_fail92:;
     179                 :             :     }
     180                 :             :   return NULL_TREE;
     181                 :             : }
     182                 :             : 
     183                 :             : tree
     184                 :        1242 : generic_simplify_20 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     185                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     186                 :             : {
     187                 :        1242 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     188                 :        1242 :   if (!TYPE_SATURATING (type)
     189                 :             : )
     190                 :             :     {
     191                 :        1242 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     192                 :        2484 :  && !FIXED_POINT_TYPE_P (type)
     193                 :             : )
     194                 :             :         {
     195                 :        1242 :           if (!TYPE_OVERFLOW_TRAPS (type)
     196                 :             : )
     197                 :             :             {
     198                 :        1242 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail109;
     199                 :        1242 :               {
     200                 :        1242 :                 tree res_op0;
     201                 :        1242 :                 res_op0 =  build_all_ones_cst (TREE_TYPE (captures[0]));
     202                 :        1242 :                 tree _r;
     203                 :        1242 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     204                 :        1242 :                 if (TREE_SIDE_EFFECTS (captures[0]))
     205                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
     206                 :        1242 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 68, __FILE__, __LINE__, true);
     207                 :        1242 :                 return _r;
     208                 :             :               }
     209                 :           0 : next_after_fail109:;
     210                 :             :             }
     211                 :             :         }
     212                 :             :     }
     213                 :             :   return NULL_TREE;
     214                 :             : }
     215                 :             : 
     216                 :             : tree
     217                 :           9 : generic_simplify_25 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     218                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     219                 :             : {
     220                 :           9 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     221                 :           9 :   if (INTEGRAL_TYPE_P (type)
     222                 :           9 :  && (
     223                 :             : 
     224                 :           9 :  || !TREE_SIDE_EFFECTS (captures[1]))
     225                 :             : )
     226                 :             :     {
     227                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail115;
     228                 :           2 :       {
     229                 :           2 :         tree res_op0;
     230                 :           2 :         {
     231                 :           2 :           tree _o1[1], _r1;
     232                 :           2 :           _o1[0] = captures[2];
     233                 :           2 :           if (TREE_TYPE (_o1[0]) != boolean_type_node)
     234                 :             :             {
     235                 :           2 :               _r1 = fold_build1_loc (loc, NOP_EXPR, boolean_type_node, _o1[0]);
     236                 :             :             }
     237                 :             :           else
     238                 :             :             _r1 = _o1[0];
     239                 :           2 :           res_op0 = _r1;
     240                 :             :         }
     241                 :           2 :         tree res_op1;
     242                 :           2 :         res_op1 = captures[1];
     243                 :           2 :         tree res_op2;
     244                 :           2 :         res_op2 = captures[0];
     245                 :           2 :         tree _r;
     246                 :           2 :         _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
     247                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 74, __FILE__, __LINE__, true);
     248                 :           2 :         return _r;
     249                 :             :       }
     250                 :           0 : next_after_fail115:;
     251                 :             :     }
     252                 :             :   return NULL_TREE;
     253                 :             : }
     254                 :             : 
     255                 :             : tree
     256                 :           4 : generic_simplify_30 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     257                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     258                 :             :  const combined_fn ARG_UNUSED (POPCOUNT))
     259                 :             : {
     260                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     261                 :           4 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail120;
     262                 :           4 :   {
     263                 :           4 :     tree res_op0;
     264                 :           4 :     {
     265                 :           4 :       tree _o1[1], _r1;
     266                 :           4 :       _o1[0] = captures[2];
     267                 :           4 :       _r1 = maybe_build_call_expr_loc (loc, POPCOUNT, type, 1, _o1[0]);
     268                 :           4 :       if (!_r1)
     269                 :           0 :         goto next_after_fail120;
     270                 :           4 :       res_op0 = _r1;
     271                 :             :     }
     272                 :           4 :     tree res_op1;
     273                 :           4 :     {
     274                 :           4 :       tree _o1[1], _r1;
     275                 :           4 :       _o1[0] = captures[3];
     276                 :           4 :       _r1 = maybe_build_call_expr_loc (loc, POPCOUNT, type, 1, _o1[0]);
     277                 :           4 :       if (!_r1)
     278                 :           0 :         goto next_after_fail120;
     279                 :           4 :       res_op1 = _r1;
     280                 :             :     }
     281                 :           4 :     tree _r;
     282                 :           4 :     _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
     283                 :           4 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 79, __FILE__, __LINE__, true);
     284                 :             :     return _r;
     285                 :             :   }
     286                 :             : next_after_fail120:;
     287                 :             :   return NULL_TREE;
     288                 :             : }
     289                 :             : 
     290                 :             : tree
     291                 :           2 : generic_simplify_38 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     292                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     293                 :             : {
     294                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     295                 :           2 :   if (!TYPE_OVERFLOW_SANITIZED (type) && !TYPE_OVERFLOW_TRAPS (type)
     296                 :           2 :  && !TYPE_SATURATING (type) && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[2]))
     297                 :           2 :  && !TYPE_OVERFLOW_TRAPS (TREE_TYPE (captures[2]))
     298                 :           4 :  && !TYPE_SATURATING (TREE_TYPE (captures[2]))
     299                 :             : )
     300                 :             :     {
     301                 :           2 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail128;
     302                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail128;
     303                 :           2 :       {
     304                 :           2 :         tree res_op0;
     305                 :           2 :         {
     306                 :           2 :           tree _o1[1], _r1;
     307                 :           2 :           {
     308                 :           2 :             tree _o2[2], _r2;
     309                 :           2 :             _o2[0] = captures[0];
     310                 :           2 :             _o2[1] = captures[1];
     311                 :           2 :             _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
     312                 :           2 :             _o1[0] = _r2;
     313                 :             :           }
     314                 :           2 :           if (TREE_TYPE (_o1[0]) != type)
     315                 :             :             {
     316                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
     317                 :             :             }
     318                 :             :           else
     319                 :             :             _r1 = _o1[0];
     320                 :           2 :           res_op0 = _r1;
     321                 :             :         }
     322                 :           2 :         tree _r;
     323                 :           2 :         _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
     324                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, true);
     325                 :           2 :         return _r;
     326                 :             :       }
     327                 :             : next_after_fail128:;
     328                 :             :     }
     329                 :             :   return NULL_TREE;
     330                 :             : }
     331                 :             : 
     332                 :             : tree
     333                 :         135 : generic_simplify_47 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     334                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     335                 :             : {
     336                 :         135 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     337                 :         135 :   if (!TYPE_SATURATING (type)
     338                 :             : )
     339                 :             :     {
     340                 :         135 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     341                 :         270 :  && !FIXED_POINT_TYPE_P (type)
     342                 :             : )
     343                 :             :         {
     344                 :         135 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail139;
     345                 :         135 :           {
     346                 :         135 :             tree res_op0;
     347                 :         135 :             res_op0 = captures[1];
     348                 :         135 :             tree _r;
     349                 :         135 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
     350                 :         135 :             if (TREE_SIDE_EFFECTS (captures[0]))
     351                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
     352                 :         135 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 97, __FILE__, __LINE__, true);
     353                 :         135 :             return _r;
     354                 :             :           }
     355                 :           0 : next_after_fail139:;
     356                 :             :         }
     357                 :             :     }
     358                 :             :   return NULL_TREE;
     359                 :             : }
     360                 :             : 
     361                 :             : tree
     362                 :      124766 : generic_simplify_53 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     363                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     364                 :             : {
     365                 :      124766 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     366                 :      124766 :   if (!TYPE_SATURATING (type)
     367                 :             : )
     368                 :             :     {
     369                 :      124766 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     370                 :      249532 :  && !FIXED_POINT_TYPE_P (type)
     371                 :             : )
     372                 :             :         {
     373                 :      124766 :           if (INTEGRAL_TYPE_P (type)
     374                 :      124766 :  && TYPE_OVERFLOW_UNDEFINED (type)
     375                 :          63 :  && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
     376                 :      124829 :  && element_precision (type) <= element_precision (TREE_TYPE (captures[2]))
     377                 :             : )
     378                 :             :             {
     379                 :          63 :               {
     380                 :          63 :  tree utype = unsigned_type_for (type);
     381                 :          63 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail148;
     382                 :          63 :                   {
     383                 :          63 :                     tree res_op0;
     384                 :          63 :                     {
     385                 :          63 :                       tree _o1[2], _r1;
     386                 :          63 :                       {
     387                 :          63 :                         tree _o2[1], _r2;
     388                 :          63 :                         _o2[0] = captures[1];
     389                 :          63 :                         if (TREE_TYPE (_o2[0]) != utype)
     390                 :             :                           {
     391                 :          63 :                             _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
     392                 :             :                           }
     393                 :             :                         else
     394                 :             :                           _r2 = _o2[0];
     395                 :          63 :                         _o1[0] = _r2;
     396                 :             :                       }
     397                 :          63 :                       {
     398                 :          63 :                         tree _o2[1], _r2;
     399                 :          63 :                         _o2[0] = captures[2];
     400                 :          63 :                         if (TREE_TYPE (_o2[0]) != utype)
     401                 :             :                           {
     402                 :          63 :                             _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
     403                 :             :                           }
     404                 :             :                         else
     405                 :             :                           _r2 = _o2[0];
     406                 :          63 :                         _o1[1] = _r2;
     407                 :             :                       }
     408                 :          63 :                       _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     409                 :          63 :                       res_op0 = _r1;
     410                 :             :                     }
     411                 :          63 :                     tree _r;
     412                 :          63 :                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     413                 :          63 :                     if (TREE_SIDE_EFFECTS (captures[3]))
     414                 :           2 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
     415                 :          63 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 106, __FILE__, __LINE__, true);
     416                 :          63 :                     return _r;
     417                 :             :                   }
     418                 :           0 : next_after_fail148:;
     419                 :             :               }
     420                 :             :             }
     421                 :             :           else
     422                 :             :             {
     423                 :      124703 :               if (((element_precision (type) <= element_precision (TREE_TYPE (captures[1])))
     424                 :      124703 :  == (element_precision (type) <= element_precision (TREE_TYPE (captures[2]))))
     425                 :      124703 :  && (element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
     426                 :           2 :  || (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     427                 :           2 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
     428                 :           2 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
     429                 :           0 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))))
     430                 :             : )
     431                 :             :                 {
     432                 :      111490 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail149;
     433                 :      111490 :                   {
     434                 :      111490 :                     tree res_op0;
     435                 :      111490 :                     {
     436                 :      111490 :                       tree _o1[1], _r1;
     437                 :      111490 :                       _o1[0] = captures[1];
     438                 :      111490 :                       if (TREE_TYPE (_o1[0]) != type)
     439                 :             :                         {
     440                 :      111490 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
     441                 :             :                         }
     442                 :             :                       else
     443                 :             :                         _r1 = _o1[0];
     444                 :      111490 :                       res_op0 = _r1;
     445                 :             :                     }
     446                 :      111490 :                     tree res_op1;
     447                 :      111490 :                     {
     448                 :      111490 :                       tree _o1[1], _r1;
     449                 :      111490 :                       _o1[0] = captures[2];
     450                 :      111490 :                       if (TREE_TYPE (_o1[0]) != type)
     451                 :             :                         {
     452                 :      111490 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
     453                 :             :                         }
     454                 :             :                       else
     455                 :             :                         _r1 = _o1[0];
     456                 :      111490 :                       res_op1 = _r1;
     457                 :             :                     }
     458                 :      111490 :                     tree _r;
     459                 :      111490 :                     _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
     460                 :      111490 :                     if (TREE_SIDE_EFFECTS (captures[3]))
     461                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
     462                 :      111490 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 107, __FILE__, __LINE__, true);
     463                 :      111490 :                     return _r;
     464                 :             :                   }
     465                 :           0 : next_after_fail149:;
     466                 :             :                 }
     467                 :             :             }
     468                 :             :         }
     469                 :             :     }
     470                 :             :   return NULL_TREE;
     471                 :             : }
     472                 :             : 
     473                 :             : tree
     474                 :           0 : generic_simplify_80 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     475                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     476                 :             :  const enum tree_code ARG_UNUSED (op))
     477                 :             : {
     478                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     479                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail176;
     480                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail176;
     481                 :           0 :   {
     482                 :           0 :     tree _r;
     483                 :           0 :     _r = captures[0];
     484                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 122, __FILE__, __LINE__, true);
     485                 :             :     return _r;
     486                 :             :   }
     487                 :             : next_after_fail176:;
     488                 :             :   return NULL_TREE;
     489                 :             : }
     490                 :             : 
     491                 :             : tree
     492                 :           0 : generic_simplify_86 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     493                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     494                 :             : {
     495                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     496                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail182;
     497                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail182;
     498                 :           0 :   {
     499                 :           0 :     tree _r;
     500                 :           0 :     _r = captures[0];
     501                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 131, __FILE__, __LINE__, true);
     502                 :             :     return _r;
     503                 :             :   }
     504                 :             : next_after_fail182:;
     505                 :             :   return NULL_TREE;
     506                 :             : }
     507                 :             : 
     508                 :             : tree
     509                 :     1646763 : generic_simplify_92 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     510                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     511                 :             :  const enum tree_code ARG_UNUSED (bitop))
     512                 :             : {
     513                 :     1646763 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     514                 :     1646763 :   if (((TREE_CODE (captures[3]) == INTEGER_CST
     515                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     516                 :           0 :  && (int_fits_type_p (captures[3], TREE_TYPE (captures[1]))
     517                 :           0 :  || tree_nop_conversion_p (TREE_TYPE (captures[1]), type)))
     518                 :     1646763 :  || types_match (captures[1], captures[3]))
     519                 :     1562967 :  && !POINTER_TYPE_P (TREE_TYPE (captures[1]))
     520                 :     1562651 :  && !VECTOR_TYPE_P (TREE_TYPE (captures[1]))
     521                 :     1562651 :  && TREE_CODE (TREE_TYPE (captures[1])) != OFFSET_TYPE
     522                 :     1562651 :  && (bitop != BIT_AND_EXPR ||
     523                 :             : 
     524                 :             : )
     525                 :     1646763 :  && (
     526                 :      887613 :  TYPE_PRECISION (TREE_TYPE (captures[1])) < TYPE_PRECISION (type)
     527                 :             :  || (
     528                 :             : 
     529                 :             :  && TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (type))
     530                 :      866488 :  || GET_MODE_CLASS (TYPE_MODE (type)) != MODE_INT
     531                 :      866488 :  || !type_has_mode_precision_p (type)
     532                 :      866488 :  || (
     533                 :             : 
     534                 :             :  && TREE_CODE (captures[3]) != INTEGER_CST
     535                 :             :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
     536                 :             :  && single_use (captures[0])
     537                 :             :  && single_use (captures[2])))
     538                 :             : )
     539                 :             :     {
     540                 :       21125 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail192;
     541                 :       21125 :       {
     542                 :       21125 :         tree res_op0;
     543                 :       21125 :         {
     544                 :       21125 :           tree _o1[2], _r1;
     545                 :       21125 :           _o1[0] = captures[1];
     546                 :       21125 :           {
     547                 :       21125 :             tree _o2[1], _r2;
     548                 :       21125 :             _o2[0] = captures[3];
     549                 :       21125 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
     550                 :             :               {
     551                 :       12401 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
     552                 :             :               }
     553                 :             :             else
     554                 :             :               _r2 = _o2[0];
     555                 :       21125 :             _o1[1] = _r2;
     556                 :             :           }
     557                 :       21125 :           _r1 = fold_build2_loc (loc, bitop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     558                 :       21125 :           res_op0 = _r1;
     559                 :             :         }
     560                 :       21125 :         tree _r;
     561                 :       21125 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     562                 :       21125 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 137, __FILE__, __LINE__, true);
     563                 :       21125 :         return _r;
     564                 :             :       }
     565                 :           0 : next_after_fail192:;
     566                 :             :     }
     567                 :             :   return NULL_TREE;
     568                 :             : }
     569                 :             : 
     570                 :             : tree
     571                 :         633 : generic_simplify_105 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     572                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     573                 :             :  const enum tree_code ARG_UNUSED (bitop))
     574                 :             : {
     575                 :         633 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     576                 :         633 :   if (!CONSTANT_CLASS_P (captures[0])
     577                 :             : )
     578                 :             :     {
     579                 :         633 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail206;
     580                 :         633 :       {
     581                 :         633 :         tree res_op0;
     582                 :         633 :         res_op0 = captures[0];
     583                 :         633 :         tree res_op1;
     584                 :         633 :         {
     585                 :         633 :           tree _o1[2], _r1;
     586                 :         633 :           _o1[0] = captures[1];
     587                 :         633 :           _o1[1] = captures[2];
     588                 :         633 :           _r1 = fold_build2_loc (loc, bitop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     589                 :         633 :           if (EXPR_P (_r1))
     590                 :           0 :             goto next_after_fail206;
     591                 :         633 :           res_op1 = _r1;
     592                 :             :         }
     593                 :         633 :         tree _r;
     594                 :         633 :         _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
     595                 :         633 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 145, __FILE__, __LINE__, true);
     596                 :         633 :         return _r;
     597                 :             :       }
     598                 :             : next_after_fail206:;
     599                 :             :     }
     600                 :             :   else
     601                 :             :     {
     602                 :           0 :       {
     603                 :           0 :  tree cst1 = const_binop (bitop, type, captures[0], captures[2]);
     604                 :           0 :           if (cst1
     605                 :             : )
     606                 :             :             {
     607                 :           0 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail207;
     608                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail207;
     609                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail207;
     610                 :           0 :               {
     611                 :           0 :                 tree res_op0;
     612                 :           0 :                 res_op0 = captures[1];
     613                 :           0 :                 tree res_op1;
     614                 :           0 :                 res_op1 =  cst1;
     615                 :           0 :                 tree _r;
     616                 :           0 :                 _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
     617                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 146, __FILE__, __LINE__, true);
     618                 :           0 :                 return _r;
     619                 :             :               }
     620                 :             : next_after_fail207:;
     621                 :             :             }
     622                 :             :           else
     623                 :             :             {
     624                 :           0 :               {
     625                 :           0 :  tree cst2 = const_binop (bitop, type, captures[1], captures[2]);
     626                 :           0 :                   if (cst2
     627                 :             : )
     628                 :             :                     {
     629                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail208;
     630                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail208;
     631                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail208;
     632                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail208;
     633                 :           0 :                       {
     634                 :           0 :                         tree res_op0;
     635                 :           0 :                         res_op0 = captures[0];
     636                 :           0 :                         tree res_op1;
     637                 :           0 :                         res_op1 =  cst2;
     638                 :           0 :                         tree _r;
     639                 :           0 :                         _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
     640                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 147, __FILE__, __LINE__, true);
     641                 :           0 :                         return _r;
     642                 :             :                       }
     643                 :             : next_after_fail208:;
     644                 :             :                     }
     645                 :             :               }
     646                 :             :             }
     647                 :             :       }
     648                 :             :     }
     649                 :             :   return NULL_TREE;
     650                 :             : }
     651                 :             : 
     652                 :             : tree
     653                 :           0 : generic_simplify_122 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     654                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     655                 :             :  const enum tree_code ARG_UNUSED (eqne))
     656                 :             : {
     657                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     658                 :           0 :   if (eqne == EQ_EXPR
     659                 :             : )
     660                 :             :     {
     661                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail247;
     662                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail247;
     663                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail247;
     664                 :           0 :       {
     665                 :           0 :         tree _r;
     666                 :           0 :         _r = captures[0];
     667                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 177, __FILE__, __LINE__, true);
     668                 :           0 :         return _r;
     669                 :             :       }
     670                 :             : next_after_fail247:;
     671                 :             :     }
     672                 :             :   else
     673                 :             :     {
     674                 :           0 :       if (eqne == NE_EXPR
     675                 :             : )
     676                 :             :         {
     677                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail248;
     678                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail248;
     679                 :           0 :           {
     680                 :           0 :             tree _r;
     681                 :           0 :             _r =  constant_boolean_node (true, type);
     682                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
     683                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
     684                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 178, __FILE__, __LINE__, true);
     685                 :           0 :             return _r;
     686                 :             :           }
     687                 :             : next_after_fail248:;
     688                 :             :         }
     689                 :             :     }
     690                 :             :   return NULL_TREE;
     691                 :             : }
     692                 :             : 
     693                 :             : tree
     694                 :           0 : generic_simplify_129 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     695                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     696                 :             :  const enum tree_code ARG_UNUSED (op))
     697                 :             : {
     698                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     699                 :           0 :   if (INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_WRAPS (type)
     700                 :           0 :  && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[3])) == 0
     701                 :             : )
     702                 :             :     {
     703                 :           0 :       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail268;
     704                 :           0 :       if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail268;
     705                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail268;
     706                 :           0 :       {
     707                 :           0 :         tree res_op0;
     708                 :           0 :         res_op0 = captures[1];
     709                 :           0 :         tree res_op1;
     710                 :           0 :         res_op1 =  wide_int_to_tree (type, wi::to_wide (captures[2]) + wi::to_wide (captures[4]));
     711                 :           0 :         tree _r;
     712                 :           0 :         _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
     713                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 180, __FILE__, __LINE__, true);
     714                 :           0 :         return _r;
     715                 :             :       }
     716                 :             : next_after_fail268:;
     717                 :             :     }
     718                 :             :   return NULL_TREE;
     719                 :             : }
     720                 :             : 
     721                 :             : tree
     722                 :           0 : generic_simplify_134 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     723                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     724                 :             : {
     725                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     726                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail273;
     727                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail273;
     728                 :           0 :   {
     729                 :           0 :     tree _r;
     730                 :           0 :     _r = captures[1];
     731                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 185, __FILE__, __LINE__, true);
     732                 :             :     return _r;
     733                 :             :   }
     734                 :             : next_after_fail273:;
     735                 :             :   return NULL_TREE;
     736                 :             : }
     737                 :             : 
     738                 :             : tree
     739                 :           0 : generic_simplify_137 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     740                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     741                 :             : {
     742                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     743                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail276;
     744                 :           0 :   {
     745                 :           0 :     tree res_op0;
     746                 :           0 :     {
     747                 :           0 :       tree _o1[2], _r1;
     748                 :           0 :       _o1[0] = captures[1];
     749                 :           0 :       _o1[1] = captures[2];
     750                 :           0 :       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     751                 :           0 :       res_op0 = _r1;
     752                 :             :     }
     753                 :           0 :     tree _r;
     754                 :           0 :     _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
     755                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 187, __FILE__, __LINE__, true);
     756                 :             :     return _r;
     757                 :             :   }
     758                 :           0 : next_after_fail276:;
     759                 :           0 :   return NULL_TREE;
     760                 :             : }
     761                 :             : 
     762                 :             : tree
     763                 :         160 : generic_simplify_140 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     764                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     765                 :             : {
     766                 :         160 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     767                 :         160 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail279;
     768                 :         160 :   {
     769                 :         160 :     if (! tree_invariant_p (captures[3])) goto next_after_fail279;
     770                 :          15 :     tree res_op0;
     771                 :          15 :     {
     772                 :          15 :       tree _o1[2], _r1;
     773                 :          15 :       _o1[0] = captures[2];
     774                 :          15 :       _o1[1] = unshare_expr (captures[3]);
     775                 :          15 :       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     776                 :          15 :       res_op0 = _r1;
     777                 :             :     }
     778                 :          15 :     tree res_op1;
     779                 :          15 :     {
     780                 :          15 :       tree _o1[2], _r1;
     781                 :          15 :       _o1[0] = captures[4];
     782                 :          15 :       _o1[1] = captures[3];
     783                 :          15 :       _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     784                 :          15 :       if (EXPR_P (_r1))
     785                 :          14 :         goto next_after_fail279;
     786                 :           1 :       res_op1 = _r1;
     787                 :             :     }
     788                 :           1 :     tree _r;
     789                 :           1 :     _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
     790                 :           1 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 190, __FILE__, __LINE__, true);
     791                 :             :     return _r;
     792                 :             :   }
     793                 :             : next_after_fail279:;
     794                 :             :   return NULL_TREE;
     795                 :             : }
     796                 :             : 
     797                 :             : tree
     798                 :          10 : generic_simplify_149 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     799                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     800                 :             : {
     801                 :          10 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     802                 :          10 :   if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
     803                 :          10 :  && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
     804                 :             : )
     805                 :             :     {
     806                 :          10 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail288;
     807                 :          10 :       {
     808                 :          10 :         tree res_op0;
     809                 :          10 :         {
     810                 :          10 :           tree _o1[1], _r1;
     811                 :          10 :           _o1[0] = captures[0];
     812                 :          10 :           if (TREE_TYPE (_o1[0]) != type)
     813                 :             :             {
     814                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
     815                 :             :             }
     816                 :             :           else
     817                 :             :             _r1 = _o1[0];
     818                 :          10 :           res_op0 = _r1;
     819                 :             :         }
     820                 :          10 :         tree res_op1;
     821                 :          10 :         {
     822                 :          10 :           tree _o1[1], _r1;
     823                 :          10 :           _o1[0] = captures[1];
     824                 :          10 :           if (TREE_TYPE (_o1[0]) != type)
     825                 :             :             {
     826                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
     827                 :             :             }
     828                 :             :           else
     829                 :             :             _r1 = _o1[0];
     830                 :          10 :           res_op1 = _r1;
     831                 :             :         }
     832                 :          10 :         tree _r;
     833                 :          10 :         _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
     834                 :          10 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 199, __FILE__, __LINE__, true);
     835                 :          10 :         return _r;
     836                 :             :       }
     837                 :           0 : next_after_fail288:;
     838                 :             :     }
     839                 :             :   return NULL_TREE;
     840                 :             : }
     841                 :             : 
     842                 :             : tree
     843                 :          18 : generic_simplify_157 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     844                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     845                 :             :  const enum tree_code ARG_UNUSED (cmp))
     846                 :             : {
     847                 :          18 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     848                 :          36 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     849                 :          18 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     850                 :          36 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[3]))
     851                 :             : )
     852                 :             :     {
     853                 :          18 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail297;
     854                 :          18 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail297;
     855                 :          18 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail297;
     856                 :          18 :       {
     857                 :          18 :         tree res_op0;
     858                 :          18 :         {
     859                 :          18 :           tree _o1[2], _r1;
     860                 :          18 :           _o1[0] = captures[1];
     861                 :          18 :           _o1[1] = captures[3];
     862                 :          18 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     863                 :          18 :           res_op0 = _r1;
     864                 :             :         }
     865                 :          18 :         tree res_op1;
     866                 :          18 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
     867                 :          18 :         tree _r;
     868                 :          18 :         _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
     869                 :          18 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 207, __FILE__, __LINE__, true);
     870                 :          18 :         return _r;
     871                 :             :       }
     872                 :             : next_after_fail297:;
     873                 :             :     }
     874                 :             :   return NULL_TREE;
     875                 :             : }
     876                 :             : 
     877                 :             : tree
     878                 :           3 : generic_simplify_167 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     879                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     880                 :             : {
     881                 :           3 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     882                 :           3 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail308;
     883                 :           3 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail308;
     884                 :           3 :   {
     885                 :           3 :     tree _r;
     886                 :           3 :     _r =  build_zero_cst (type);
     887                 :           3 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 216, __FILE__, __LINE__, true);
     888                 :             :     return _r;
     889                 :             :   }
     890                 :             : next_after_fail308:;
     891                 :             :   return NULL_TREE;
     892                 :             : }
     893                 :             : 
     894                 :             : tree
     895                 :       30993 : generic_simplify_174 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     896                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     897                 :             : {
     898                 :       30993 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     899                 :       30993 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail317;
     900                 :       30993 :   {
     901                 :       30993 :     tree res_op0;
     902                 :       30993 :     res_op0 = captures[0];
     903                 :       30993 :     tree _r;
     904                 :       30993 :     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     905                 :       30993 :     if (TREE_SIDE_EFFECTS (captures[2]))
     906                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
     907                 :       30993 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 221, __FILE__, __LINE__, true);
     908                 :             :     return _r;
     909                 :             :   }
     910                 :           0 : next_after_fail317:;
     911                 :           0 :   return NULL_TREE;
     912                 :             : }
     913                 :             : 
     914                 :             : tree
     915                 :          38 : generic_simplify_180 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     916                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     917                 :             :  const combined_fn ARG_UNUSED (POW))
     918                 :             : {
     919                 :          38 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     920                 :          38 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
     921                 :             : )
     922                 :             :     {
     923                 :          38 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail324;
     924                 :          38 :       {
     925                 :          38 :         tree res_op0;
     926                 :          38 :         res_op0 = captures[1];
     927                 :          38 :         tree res_op1;
     928                 :          38 :         {
     929                 :          38 :           tree _o1[2], _r1;
     930                 :          38 :           _o1[0] = captures[2];
     931                 :          38 :           _o1[1] = captures[4];
     932                 :          38 :           _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     933                 :          38 :           res_op1 = _r1;
     934                 :             :         }
     935                 :          38 :         tree _r;
     936                 :          38 :         _r = maybe_build_call_expr_loc (loc, POW, type, 2, res_op0, res_op1);
     937                 :          38 :         if (!_r)
     938                 :           0 :           goto next_after_fail324;
     939                 :          38 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 228, __FILE__, __LINE__, true);
     940                 :          38 :         return _r;
     941                 :             :       }
     942                 :             : next_after_fail324:;
     943                 :             :     }
     944                 :             :   return NULL_TREE;
     945                 :             : }
     946                 :             : 
     947                 :             : tree
     948                 :      110633 : generic_simplify_190 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     949                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     950                 :             :  const enum tree_code ARG_UNUSED (op))
     951                 :             : {
     952                 :      110633 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     953                 :      221266 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
     954                 :      219718 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
     955                 :       97239 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2])))
     956                 :             :  && (CONSTANT_CLASS_P (captures[2]) || (single_use (captures[1]) && single_use (captures[0])))
     957                 :      109849 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
     958                 :      330341 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[3]))
     959                 :             : )
     960                 :             :     {
     961                 :      109841 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail337;
     962                 :      109841 :       {
     963                 :      109841 :         tree res_op0;
     964                 :      109841 :         res_op0 = captures[2];
     965                 :      109841 :         tree res_op1;
     966                 :      109841 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[2]));
     967                 :      109841 :         tree _r;
     968                 :      109841 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
     969                 :      109841 :         if (TREE_SIDE_EFFECTS (captures[3]))
     970                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
     971                 :      109841 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 240, __FILE__, __LINE__, true);
     972                 :      109841 :         return _r;
     973                 :             :       }
     974                 :           0 : next_after_fail337:;
     975                 :             :     }
     976                 :             :   return NULL_TREE;
     977                 :             : }
     978                 :             : 
     979                 :             : tree
     980                 :        1292 : generic_simplify_200 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     981                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     982                 :             :  const enum tree_code ARG_UNUSED (cmp),
     983                 :             :  const enum tree_code ARG_UNUSED (ocmp))
     984                 :             : {
     985                 :        1292 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     986                 :        1292 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
     987                 :         372 :  && TREE_CODE (TREE_TYPE (captures[0])) != COMPLEX_TYPE
     988                 :        1642 :  && (VECTOR_TYPE_P (type) || !VECTOR_TYPE_P (TREE_TYPE (captures[0])))
     989                 :             : )
     990                 :             :     {
     991                 :         350 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail360;
     992                 :         350 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail360;
     993                 :         350 :       {
     994                 :         350 :         tree res_op0;
     995                 :         350 :         res_op0 = captures[0];
     996                 :         350 :         tree res_op1;
     997                 :         350 :         res_op1 = captures[1];
     998                 :         350 :         tree _r;
     999                 :         350 :         _r = fold_build2_loc (loc, ocmp, type, res_op0, res_op1);
    1000                 :         350 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 262, __FILE__, __LINE__, true);
    1001                 :         350 :         return _r;
    1002                 :             :       }
    1003                 :             : next_after_fail360:;
    1004                 :             :     }
    1005                 :             :   return NULL_TREE;
    1006                 :             : }
    1007                 :             : 
    1008                 :             : tree
    1009                 :           6 : generic_simplify_207 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1010                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1011                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1012                 :             :  const enum tree_code ARG_UNUSED (icmp))
    1013                 :             : {
    1014                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1015                 :           6 :   {
    1016                 :           6 :  int c1 = wi::clz (wi::to_wide (captures[0]));
    1017                 :           6 :  int c2 = wi::clz (wi::to_wide (captures[2]));
    1018                 :           6 :       if (c1 < c2
    1019                 :             : )
    1020                 :             :         {
    1021                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail369;
    1022                 :           0 :           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail369;
    1023                 :           0 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail369;
    1024                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail369;
    1025                 :           0 :           {
    1026                 :           0 :             tree _r;
    1027                 :           0 :             _r =  constant_boolean_node (cmp == NE_EXPR ? false : true, type);
    1028                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1029                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1030                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 271, __FILE__, __LINE__, true);
    1031                 :           0 :             return _r;
    1032                 :             :           }
    1033                 :             : next_after_fail369:;
    1034                 :             :         }
    1035                 :             :       else
    1036                 :             :         {
    1037                 :           6 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail370;
    1038                 :           6 :           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail370;
    1039                 :           6 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail370;
    1040                 :           6 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail370;
    1041                 :           6 :           {
    1042                 :           6 :             tree res_op0;
    1043                 :           6 :             res_op0 = captures[1];
    1044                 :           6 :             tree res_op1;
    1045                 :           6 :             res_op1 =  build_int_cst (TREE_TYPE (captures[1]), c1 - c2);
    1046                 :           6 :             tree _r;
    1047                 :           6 :             _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    1048                 :           6 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 272, __FILE__, __LINE__, true);
    1049                 :           6 :             return _r;
    1050                 :             :           }
    1051                 :             : next_after_fail370:;
    1052                 :             :         }
    1053                 :             :   }
    1054                 :             :   return NULL_TREE;
    1055                 :             : }
    1056                 :             : 
    1057                 :             : tree
    1058                 :          14 : generic_simplify_218 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1059                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1060                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1061                 :             :  const combined_fn ARG_UNUSED (bswap))
    1062                 :             : {
    1063                 :          14 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1064                 :          14 :   {
    1065                 :          14 :  tree ctype = TREE_TYPE (captures[0]);
    1066                 :          14 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail390;
    1067                 :          14 :       {
    1068                 :          14 :         tree res_op0;
    1069                 :          14 :         {
    1070                 :          14 :           tree _o1[1], _r1;
    1071                 :          14 :           _o1[0] = captures[1];
    1072                 :          14 :           if (TREE_TYPE (_o1[0]) != ctype)
    1073                 :             :             {
    1074                 :          10 :               _r1 = fold_build1_loc (loc, NOP_EXPR, ctype, _o1[0]);
    1075                 :             :             }
    1076                 :             :           else
    1077                 :             :             _r1 = _o1[0];
    1078                 :          14 :           res_op0 = _r1;
    1079                 :             :         }
    1080                 :          14 :         tree res_op1;
    1081                 :          14 :         {
    1082                 :          14 :           tree _o1[1], _r1;
    1083                 :          14 :           _o1[0] = captures[2];
    1084                 :          14 :           if (TREE_TYPE (_o1[0]) != ctype)
    1085                 :             :             {
    1086                 :          10 :               _r1 = fold_build1_loc (loc, NOP_EXPR, ctype, _o1[0]);
    1087                 :             :             }
    1088                 :             :           else
    1089                 :             :             _r1 = _o1[0];
    1090                 :          14 :           res_op1 = _r1;
    1091                 :             :         }
    1092                 :          14 :         tree _r;
    1093                 :          14 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1094                 :          14 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 292, __FILE__, __LINE__, true);
    1095                 :             :         return _r;
    1096                 :             :       }
    1097                 :           0 : next_after_fail390:;
    1098                 :             :   }
    1099                 :           0 :   return NULL_TREE;
    1100                 :             : }
    1101                 :             : 
    1102                 :             : tree
    1103                 :       47267 : generic_simplify_225 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1104                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1105                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1106                 :             : {
    1107                 :       47267 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1108                 :       94534 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1109                 :       94534 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    1110                 :      108786 :  && wi::to_wide (captures[1]) != 0
    1111                 :             : )
    1112                 :             :     {
    1113                 :       14252 :       {
    1114                 :       14252 :  widest_int quot;
    1115                 :       14252 :           if (wi::multiple_of_p (wi::to_widest (captures[2]), wi::to_widest (captures[1]),
    1116                 :       14252 :  TYPE_SIGN (TREE_TYPE (captures[0])), &quot)
    1117                 :             : )
    1118                 :             :             {
    1119                 :       10542 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail400;
    1120                 :       10542 :               {
    1121                 :       10542 :                 tree res_op0;
    1122                 :       10542 :                 res_op0 = captures[0];
    1123                 :       10542 :                 tree res_op1;
    1124                 :       10542 :                 res_op1 =  wide_int_to_tree (TREE_TYPE (captures[0]), quot);
    1125                 :       10542 :                 tree _r;
    1126                 :       10542 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1127                 :       10542 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    1128                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1129                 :       10542 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    1130                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1131                 :       10542 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 301, __FILE__, __LINE__, true);
    1132                 :       10542 :                 return _r;
    1133                 :             :               }
    1134                 :           0 : next_after_fail400:;
    1135                 :             :             }
    1136                 :             :           else
    1137                 :             :             {
    1138                 :        3710 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail401;
    1139                 :        3710 :               {
    1140                 :        3710 :                 tree _r;
    1141                 :        3710 :                 _r =  constant_boolean_node (cmp == NE_EXPR, type);
    1142                 :        3710 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    1143                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1144                 :        3710 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    1145                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1146                 :        3710 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    1147                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1148                 :        3710 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 302, __FILE__, __LINE__, true);
    1149                 :        3710 :                 return _r;
    1150                 :             :               }
    1151                 :           0 : next_after_fail401:;
    1152                 :             :             }
    1153                 :       14252 :       }
    1154                 :             :     }
    1155                 :             :   else
    1156                 :             :     {
    1157                 :       66030 :       if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1158                 :       33015 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0]))
    1159                 :       66030 :  && (wi::bit_and (wi::to_wide (captures[1]), 1) == 1)
    1160                 :             : )
    1161                 :             :         {
    1162                 :        1207 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail402;
    1163                 :        1207 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail402;
    1164                 :        1207 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail402;
    1165                 :        1207 :           {
    1166                 :        1207 :             tree res_op0;
    1167                 :        1207 :             res_op0 = captures[0];
    1168                 :        1207 :             tree res_op1;
    1169                 :        1207 :  tree itype = TREE_TYPE (captures[0]);
    1170                 :        1207 :  int p = TYPE_PRECISION (itype);
    1171                 :        1207 :  wide_int m = wi::one (p + 1) << p;
    1172                 :        1207 :  wide_int a = wide_int::from (wi::to_wide (captures[1]), p + 1, UNSIGNED);
    1173                 :        1207 :  wide_int i = wide_int::from (wi::mod_inv (a, m),
    1174                 :        2414 :  p, TYPE_SIGN (itype));     res_op1 = 
    1175                 :        1207 :  wide_int_to_tree (itype, wi::mul (i, wi::to_wide (captures[2])));
    1176                 :        1207 :             tree _r;
    1177                 :        1207 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1178                 :        1207 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 303, __FILE__, __LINE__, true);
    1179                 :        1207 :             return _r;
    1180                 :        1207 :           }
    1181                 :             : next_after_fail402:;
    1182                 :             :         }
    1183                 :             :     }
    1184                 :             :   return NULL_TREE;
    1185                 :             : }
    1186                 :             : 
    1187                 :             : tree
    1188                 :     2560957 : generic_simplify_241 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1189                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1190                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1191                 :             : {
    1192                 :     2560957 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1193                 :     5121896 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1194                 :     1350421 :  && !(targetm.have_canonicalize_funcptr_for_compare ()
    1195                 :           0 :  && ((POINTER_TYPE_P (TREE_TYPE (captures[1]))
    1196                 :           0 :  && FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[1]))))
    1197                 :           0 :  || (POINTER_TYPE_P (TREE_TYPE (captures[3]))
    1198                 :           0 :  && FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[3]))))))
    1199                 :     2560957 :  && single_use (captures[0])
    1200                 :             : )
    1201                 :             :     {
    1202                 :     1350421 :       if (TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (TREE_TYPE (captures[0]))
    1203                 :      804302 :  && (TREE_CODE (captures[3]) == INTEGER_CST
    1204                 :      804302 :  || captures[2] != captures[3])
    1205                 :      804302 :  && (TYPE_UNSIGNED (TREE_TYPE (captures[1])) == TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1206                 :             :  || cmp == NE_EXPR
    1207                 :      244736 :  || cmp == EQ_EXPR)
    1208                 :      594854 :  && !POINTER_TYPE_P (TREE_TYPE (captures[1]))
    1209                 :     1841314 :  && (TREE_CODE (TREE_TYPE (captures[1])) != BOOLEAN_TYPE
    1210                 :         390 :  || TREE_CODE (TREE_TYPE (captures[3])) == BOOLEAN_TYPE)
    1211                 :             : )
    1212                 :             :         {
    1213                 :      490893 :           if (TREE_CODE (captures[2]) == INTEGER_CST
    1214                 :             : )
    1215                 :             :             {
    1216                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail460;
    1217                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail460;
    1218                 :           0 :               {
    1219                 :           0 :                 tree res_op0;
    1220                 :           0 :                 res_op0 = captures[1];
    1221                 :           0 :                 tree res_op1;
    1222                 :           0 :                 res_op1 =  force_fit_type (TREE_TYPE (captures[1]),
    1223                 :           0 :  wide_int::from (wi::to_wide (captures[2]),
    1224                 :           0 :  MAX (TYPE_PRECISION (TREE_TYPE (captures[2])),
    1225                 :             :  TYPE_PRECISION (TREE_TYPE (captures[1]))),
    1226                 :           0 :  TYPE_SIGN (TREE_TYPE (captures[2]))),
    1227                 :           0 :  0, TREE_OVERFLOW (captures[2]));
    1228                 :           0 :                 tree _r;
    1229                 :           0 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1230                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[3]))
    1231                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1232                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 360, __FILE__, __LINE__, true);
    1233                 :           0 :                 return _r;
    1234                 :             :               }
    1235                 :             : next_after_fail460:;
    1236                 :             :             }
    1237                 :             :           else
    1238                 :             :             {
    1239                 :      490893 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail461;
    1240                 :      474162 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail461;
    1241                 :      474162 :               {
    1242                 :      474162 :                 tree res_op0;
    1243                 :      474162 :                 res_op0 = captures[1];
    1244                 :      474162 :                 tree res_op1;
    1245                 :      474162 :                 {
    1246                 :      474162 :                   tree _o1[1], _r1;
    1247                 :      474162 :                   _o1[0] = captures[2];
    1248                 :      474162 :                   if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    1249                 :             :                     {
    1250                 :      474162 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    1251                 :             :                     }
    1252                 :             :                   else
    1253                 :             :                     _r1 = _o1[0];
    1254                 :      474162 :                   res_op1 = _r1;
    1255                 :             :                 }
    1256                 :      474162 :                 tree _r;
    1257                 :      474162 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1258                 :      474162 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 361, __FILE__, __LINE__, true);
    1259                 :      474162 :                 return _r;
    1260                 :             :               }
    1261                 :             : next_after_fail461:;
    1262                 :             :             }
    1263                 :             :         }
    1264                 :             :       else
    1265                 :             :         {
    1266                 :      859528 :           if (TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (TREE_TYPE (captures[1]))
    1267                 :             : )
    1268                 :             :             {
    1269                 :      489577 :               if ((cmp == EQ_EXPR || cmp == NE_EXPR
    1270                 :      144431 :  || TYPE_UNSIGNED (TREE_TYPE (captures[0])) == TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    1271                 :       79110 :  || (!TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1272                 :       78270 :  && TYPE_UNSIGNED (TREE_TYPE (captures[1]))))
    1273                 :      633168 :  && (types_match (TREE_TYPE (captures[3]), TREE_TYPE (captures[1]))
    1274                 :       92125 :  || ((TYPE_PRECISION (TREE_TYPE (captures[1]))
    1275                 :       92125 :  >= TYPE_PRECISION (TREE_TYPE (captures[3])))
    1276                 :       46143 :  && (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    1277                 :       46143 :  == TYPE_UNSIGNED (TREE_TYPE (captures[3]))))
    1278                 :       57373 :  || (TREE_CODE (captures[2]) == INTEGER_CST
    1279                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1280                 :           0 :  && int_fits_type_p (captures[2], TREE_TYPE (captures[1]))))
    1281                 :             : )
    1282                 :             :                 {
    1283                 :      431364 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail462;
    1284                 :      431364 :                   {
    1285                 :      431364 :                     tree res_op0;
    1286                 :      431364 :                     res_op0 = captures[1];
    1287                 :      431364 :                     tree res_op1;
    1288                 :      431364 :                     {
    1289                 :      431364 :                       tree _o1[1], _r1;
    1290                 :      431364 :                       _o1[0] = captures[3];
    1291                 :      431364 :                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    1292                 :             :                         {
    1293                 :      107592 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    1294                 :             :                         }
    1295                 :             :                       else
    1296                 :             :                         _r1 = _o1[0];
    1297                 :      431364 :                       res_op1 = _r1;
    1298                 :             :                     }
    1299                 :      431364 :                     tree _r;
    1300                 :      431364 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1301                 :      431364 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 362, __FILE__, __LINE__, true);
    1302                 :      431364 :                     return _r;
    1303                 :             :                   }
    1304                 :           0 : next_after_fail462:;
    1305                 :             :                 }
    1306                 :             :               else
    1307                 :             :                 {
    1308                 :       58213 :                   if (TREE_CODE (captures[2]) == INTEGER_CST
    1309                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1310                 :       58213 :  && !int_fits_type_p (captures[2], TREE_TYPE (captures[1]))
    1311                 :             : )
    1312                 :             :                     {
    1313                 :           0 :                       {
    1314                 :           0 :  tree min = lower_bound_in_type (TREE_TYPE (captures[3]), TREE_TYPE (captures[1]));
    1315                 :           0 :  tree max = upper_bound_in_type (TREE_TYPE (captures[3]), TREE_TYPE (captures[1]));
    1316                 :           0 :  bool above = integer_nonzerop (const_binop (LT_EXPR, type, max, captures[2]));
    1317                 :           0 :  bool below = integer_nonzerop (const_binop (LT_EXPR, type, captures[2], min));
    1318                 :           0 :                           if (above || below
    1319                 :             : )
    1320                 :             :                             {
    1321                 :           0 :                               if (cmp == EQ_EXPR || cmp == NE_EXPR
    1322                 :             : )
    1323                 :             :                                 {
    1324                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail463;
    1325                 :           0 :                                   {
    1326                 :           0 :                                     tree _r;
    1327                 :           0 :                                     _r =  constant_boolean_node (cmp == EQ_EXPR ? false : true, type);
    1328                 :           0 :                                     if (TREE_SIDE_EFFECTS (captures[1]))
    1329                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1330                 :           0 :                                     if (TREE_SIDE_EFFECTS (captures[3]))
    1331                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1332                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 363, __FILE__, __LINE__, true);
    1333                 :           0 :                                     return _r;
    1334                 :             :                                   }
    1335                 :           0 : next_after_fail463:;
    1336                 :             :                                 }
    1337                 :             :                               else
    1338                 :             :                                 {
    1339                 :           0 :                                   if (cmp == LT_EXPR || cmp == LE_EXPR
    1340                 :             : )
    1341                 :             :                                     {
    1342                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail464;
    1343                 :           0 :                                       {
    1344                 :           0 :                                         tree _r;
    1345                 :           0 :                                         _r =  constant_boolean_node (above ? true : false, type);
    1346                 :           0 :                                         if (TREE_SIDE_EFFECTS (captures[1]))
    1347                 :           0 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1348                 :           0 :                                         if (TREE_SIDE_EFFECTS (captures[3]))
    1349                 :           0 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1350                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 364, __FILE__, __LINE__, true);
    1351                 :           0 :                                         return _r;
    1352                 :             :                                       }
    1353                 :           0 : next_after_fail464:;
    1354                 :             :                                     }
    1355                 :             :                                   else
    1356                 :             :                                     {
    1357                 :           0 :                                       if (cmp == GT_EXPR || cmp == GE_EXPR
    1358                 :             : )
    1359                 :             :                                         {
    1360                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail465;
    1361                 :           0 :                                           {
    1362                 :           0 :                                             tree _r;
    1363                 :           0 :                                             _r =  constant_boolean_node (above ? false : true, type);
    1364                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[1]))
    1365                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1366                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[3]))
    1367                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1368                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 365, __FILE__, __LINE__, true);
    1369                 :           0 :                                             return _r;
    1370                 :             :                                           }
    1371                 :           0 : next_after_fail465:;
    1372                 :             :                                         }
    1373                 :             :                                     }
    1374                 :             :                                 }
    1375                 :             :                             }
    1376                 :             :                       }
    1377                 :             :                     }
    1378                 :             :                 }
    1379                 :             :             }
    1380                 :             :         }
    1381                 :             :     }
    1382                 :             :   else
    1383                 :             :     {
    1384                 :     2378423 :       if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
    1385                 :       85320 :  && (DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    1386                 :       42660 :  == DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[1])))
    1387                 :     1295846 :  && (DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    1388                 :       42655 :  == DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[3])))
    1389                 :             : )
    1390                 :             :         {
    1391                 :       42650 :           {
    1392                 :       42650 :  tree type1 = TREE_TYPE (captures[3]);
    1393                 :       42650 :  if (TREE_CODE (captures[3]) == REAL_CST && !DECIMAL_FLOAT_TYPE_P (type1))
    1394                 :             :  {
    1395                 :           0 :  REAL_VALUE_TYPE orig = TREE_REAL_CST (captures[3]);
    1396                 :           0 :  if (TYPE_PRECISION (type1) > TYPE_PRECISION (float_type_node)
    1397                 :           0 :  && exact_real_truncate (TYPE_MODE (float_type_node), &orig))
    1398                 :           0 :  type1 = float_type_node;
    1399                 :           0 :  if (TYPE_PRECISION (type1) > TYPE_PRECISION (double_type_node)
    1400                 :           0 :  && exact_real_truncate (TYPE_MODE (double_type_node), &orig))
    1401                 :           0 :  type1 = double_type_node;
    1402                 :             :  }
    1403                 :       42650 :  tree newtype
    1404                 :       42650 :  = (element_precision (TREE_TYPE (captures[1])) > element_precision (type1)
    1405                 :       42650 :  ? TREE_TYPE (captures[1]) : type1);
    1406                 :       42650 :               if (element_precision (TREE_TYPE (captures[0])) > element_precision (newtype)
    1407                 :       42650 :  && (!VECTOR_TYPE_P (type) || is_truth_type_for (newtype, type))
    1408                 :             : )
    1409                 :             :                 {
    1410                 :        1528 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail466;
    1411                 :        1528 :                   {
    1412                 :        1528 :                     tree res_op0;
    1413                 :        1528 :                     {
    1414                 :        1528 :                       tree _o1[1], _r1;
    1415                 :        1528 :                       _o1[0] = captures[1];
    1416                 :        1528 :                       if (TREE_TYPE (_o1[0]) != newtype)
    1417                 :             :                         {
    1418                 :           9 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    1419                 :             :                         }
    1420                 :             :                       else
    1421                 :             :                         _r1 = _o1[0];
    1422                 :        1528 :                       res_op0 = _r1;
    1423                 :             :                     }
    1424                 :        1528 :                     tree res_op1;
    1425                 :        1528 :                     {
    1426                 :        1528 :                       tree _o1[1], _r1;
    1427                 :        1528 :                       _o1[0] = captures[3];
    1428                 :        1528 :                       if (TREE_TYPE (_o1[0]) != newtype)
    1429                 :             :                         {
    1430                 :           0 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    1431                 :             :                         }
    1432                 :             :                       else
    1433                 :             :                         _r1 = _o1[0];
    1434                 :        1528 :                       res_op1 = _r1;
    1435                 :             :                     }
    1436                 :        1528 :                     tree _r;
    1437                 :        1528 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1438                 :        1528 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 366, __FILE__, __LINE__, true);
    1439                 :        1528 :                     return _r;
    1440                 :             :                   }
    1441                 :           0 : next_after_fail466:;
    1442                 :             :                 }
    1443                 :             :           }
    1444                 :             :         }
    1445                 :             :     }
    1446                 :             :   return NULL_TREE;
    1447                 :             : }
    1448                 :             : 
    1449                 :             : tree
    1450                 :          45 : generic_simplify_270 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1451                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1452                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1453                 :             :  const enum tree_code ARG_UNUSED (rep),
    1454                 :             :  const combined_fn ARG_UNUSED (popcount))
    1455                 :             : {
    1456                 :          45 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1457                 :          45 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail527;
    1458                 :          45 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail527;
    1459                 :          45 :   {
    1460                 :          45 :     tree res_op0;
    1461                 :          45 :     res_op0 = captures[0];
    1462                 :          45 :     tree res_op1;
    1463                 :          45 :     res_op1 =  build_zero_cst (TREE_TYPE (captures[0]));
    1464                 :          45 :     tree _r;
    1465                 :          45 :     _r = fold_build2_loc (loc, rep, type, res_op0, res_op1);
    1466                 :          45 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 410, __FILE__, __LINE__, true);
    1467                 :             :     return _r;
    1468                 :             :   }
    1469                 :             : next_after_fail527:;
    1470                 :             :   return NULL_TREE;
    1471                 :             : }
    1472                 :             : 
    1473                 :             : tree
    1474                 :           0 : generic_simplify_275 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1475                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1476                 :             :  const combined_fn ARG_UNUSED (COPYSIGN_ALL))
    1477                 :             : {
    1478                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1479                 :           0 :   if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[0]))
    1480                 :             : )
    1481                 :             :     {
    1482                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail535;
    1483                 :           0 :       {
    1484                 :           0 :         tree res_op0;
    1485                 :           0 :         {
    1486                 :           0 :           tree _o1[1], _r1;
    1487                 :           0 :           _o1[0] = captures[0];
    1488                 :           0 :           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1489                 :           0 :           res_op0 = _r1;
    1490                 :             :         }
    1491                 :           0 :         tree res_op1;
    1492                 :           0 :         res_op1 = captures[1];
    1493                 :           0 :         tree _r;
    1494                 :           0 :         _r = maybe_build_call_expr_loc (loc, COPYSIGN_ALL, type, 2, res_op0, res_op1);
    1495                 :           0 :         if (!_r)
    1496                 :           0 :           goto next_after_fail535;
    1497                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 418, __FILE__, __LINE__, true);
    1498                 :           0 :         return _r;
    1499                 :             :       }
    1500                 :             : next_after_fail535:;
    1501                 :             :     }
    1502                 :             :   return NULL_TREE;
    1503                 :             : }
    1504                 :             : 
    1505                 :             : tree
    1506                 :          26 : generic_simplify_282 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1507                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1508                 :             : {
    1509                 :          26 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1510                 :          33 :   if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (captures[0]))
    1511                 :          19 :  && (!VECTOR_TYPE_P (type)
    1512                 :           0 :  || target_supports_op_p (type, RSHIFT_EXPR, optab_vector)
    1513                 :           0 :  || target_supports_op_p (type, RSHIFT_EXPR, optab_scalar))
    1514                 :          45 :  && (useless_type_conversion_p (type, TREE_TYPE (captures[2]))
    1515                 :           7 :  || (element_precision (type) >= element_precision (TREE_TYPE (captures[2]))
    1516                 :           7 :  && (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    1517                 :          14 :  || (element_precision (type)
    1518                 :           7 :  == element_precision (TREE_TYPE (captures[2])))
    1519                 :           7 :  || (INTEGRAL_TYPE_P (type)
    1520                 :          14 :  && (tree_nonzero_bits (captures[0])
    1521                 :          54 :  & wi::mask (element_precision (TREE_TYPE (captures[2])) - 1,
    1522                 :             :  true,
    1523                 :          40 :  element_precision (type))) == 0))))
    1524                 :             : )
    1525                 :             :     {
    1526                 :          12 :       if (!VECTOR_TYPE_P (type)
    1527                 :          12 :  && useless_type_conversion_p (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    1528                 :          24 :  && element_precision (TREE_TYPE (captures[1])) < element_precision (type)
    1529                 :             : )
    1530                 :             :         {
    1531                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail543;
    1532                 :           0 :           {
    1533                 :           0 :             tree res_op0;
    1534                 :           0 :             {
    1535                 :           0 :               tree _o1[2], _r1;
    1536                 :           0 :               _o1[0] = captures[1];
    1537                 :           0 :               _o1[1] = captures[3];
    1538                 :           0 :               _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1539                 :           0 :               res_op0 = _r1;
    1540                 :             :             }
    1541                 :           0 :             tree _r;
    1542                 :           0 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1543                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
    1544                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1545                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 424, __FILE__, __LINE__, true);
    1546                 :           0 :             return _r;
    1547                 :             :           }
    1548                 :           0 : next_after_fail543:;
    1549                 :             :         }
    1550                 :             :       else
    1551                 :             :         {
    1552                 :          12 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail544;
    1553                 :          12 :           {
    1554                 :          12 :             tree res_op0;
    1555                 :          12 :             res_op0 = captures[0];
    1556                 :          12 :             tree res_op1;
    1557                 :          12 :             res_op1 = captures[3];
    1558                 :          12 :             tree _r;
    1559                 :          12 :             _r = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1);
    1560                 :          12 :             if (TREE_SIDE_EFFECTS (captures[2]))
    1561                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1562                 :          12 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 425, __FILE__, __LINE__, true);
    1563                 :          12 :             return _r;
    1564                 :             :           }
    1565                 :           0 : next_after_fail544:;
    1566                 :             :         }
    1567                 :             :     }
    1568                 :             :   return NULL_TREE;
    1569                 :             : }
    1570                 :             : 
    1571                 :             : tree
    1572                 :           0 : generic_simplify_302 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1573                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1574                 :             : {
    1575                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1576                 :           0 :   if (SCALAR_FLOAT_TYPE_P (type)
    1577                 :           0 :  && ! HONOR_NANS (type)
    1578                 :           0 :  && ! HONOR_INFINITIES (type)
    1579                 :             : )
    1580                 :             :     {
    1581                 :           0 :       if (types_match (type, float_type_node)
    1582                 :             : )
    1583                 :             :         {
    1584                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail565;
    1585                 :           0 :           {
    1586                 :           0 :             tree res_op0;
    1587                 :           0 :             res_op0 =  build_one_cst (type);
    1588                 :           0 :             tree res_op1;
    1589                 :           0 :             {
    1590                 :           0 :               tree _o1[1], _r1;
    1591                 :           0 :               _o1[0] = captures[0];
    1592                 :           0 :               if (TREE_TYPE (_o1[0]) != type)
    1593                 :             :                 {
    1594                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1595                 :             :                 }
    1596                 :             :               else
    1597                 :             :                 _r1 = _o1[0];
    1598                 :           0 :               res_op1 = _r1;
    1599                 :             :             }
    1600                 :           0 :             tree _r;
    1601                 :           0 :             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGNF, type, 2, res_op0, res_op1);
    1602                 :           0 :             if (!_r)
    1603                 :           0 :               goto next_after_fail565;
    1604                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 446, __FILE__, __LINE__, true);
    1605                 :           0 :             return _r;
    1606                 :             :           }
    1607                 :             : next_after_fail565:;
    1608                 :             :         }
    1609                 :             :       else
    1610                 :             :         {
    1611                 :           0 :           if (types_match (type, double_type_node)
    1612                 :             : )
    1613                 :             :             {
    1614                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail566;
    1615                 :           0 :               {
    1616                 :           0 :                 tree res_op0;
    1617                 :           0 :                 res_op0 =  build_one_cst (type);
    1618                 :           0 :                 tree res_op1;
    1619                 :           0 :                 {
    1620                 :           0 :                   tree _o1[1], _r1;
    1621                 :           0 :                   _o1[0] = captures[0];
    1622                 :           0 :                   if (TREE_TYPE (_o1[0]) != type)
    1623                 :             :                     {
    1624                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1625                 :             :                     }
    1626                 :             :                   else
    1627                 :             :                     _r1 = _o1[0];
    1628                 :           0 :                   res_op1 = _r1;
    1629                 :             :                 }
    1630                 :           0 :                 tree _r;
    1631                 :           0 :                 _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGN, type, 2, res_op0, res_op1);
    1632                 :           0 :                 if (!_r)
    1633                 :           0 :                   goto next_after_fail566;
    1634                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 447, __FILE__, __LINE__, true);
    1635                 :           0 :                 return _r;
    1636                 :             :               }
    1637                 :             : next_after_fail566:;
    1638                 :             :             }
    1639                 :             :           else
    1640                 :             :             {
    1641                 :           0 :               if (types_match (type, long_double_type_node)
    1642                 :             : )
    1643                 :             :                 {
    1644                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail567;
    1645                 :           0 :                   {
    1646                 :           0 :                     tree res_op0;
    1647                 :           0 :                     res_op0 =  build_one_cst (type);
    1648                 :           0 :                     tree res_op1;
    1649                 :           0 :                     {
    1650                 :           0 :                       tree _o1[1], _r1;
    1651                 :           0 :                       _o1[0] = captures[0];
    1652                 :           0 :                       if (TREE_TYPE (_o1[0]) != type)
    1653                 :             :                         {
    1654                 :           0 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1655                 :             :                         }
    1656                 :             :                       else
    1657                 :             :                         _r1 = _o1[0];
    1658                 :           0 :                       res_op1 = _r1;
    1659                 :             :                     }
    1660                 :           0 :                     tree _r;
    1661                 :           0 :                     _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGNL, type, 2, res_op0, res_op1);
    1662                 :           0 :                     if (!_r)
    1663                 :           0 :                       goto next_after_fail567;
    1664                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 448, __FILE__, __LINE__, true);
    1665                 :           0 :                     return _r;
    1666                 :             :                   }
    1667                 :             : next_after_fail567:;
    1668                 :             :                 }
    1669                 :             :             }
    1670                 :             :         }
    1671                 :             :     }
    1672                 :             :   return NULL_TREE;
    1673                 :             : }
    1674                 :             : 
    1675                 :             : tree
    1676                 :     7515007 : generic_simplify_322 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1677                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1678                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1679                 :             :  const enum tree_code ARG_UNUSED (acmp))
    1680                 :             : {
    1681                 :     7515007 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1682                 :     7515007 :   {
    1683                 :     7515007 :  tree cst = uniform_integer_cst_p (captures[1]);
    1684                 :     7515007 :       if (tree_int_cst_sgn (cst) == 1
    1685                 :             : )
    1686                 :             :         {
    1687                 :     3491855 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail590;
    1688                 :     3491855 :           {
    1689                 :     3491855 :             tree res_op0;
    1690                 :     3491855 :             res_op0 = captures[0];
    1691                 :     3491855 :             tree res_op1;
    1692                 :     3491855 :             res_op1 =  build_uniform_cst (TREE_TYPE (captures[1]),
    1693                 :     3491855 :  wide_int_to_tree (TREE_TYPE (cst),
    1694                 :     3491855 :  wi::to_wide (cst) - 1));
    1695                 :     3491855 :             tree _r;
    1696                 :     3491855 :             _r = fold_build2_loc (loc, acmp, type, res_op0, res_op1);
    1697                 :     3491855 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1698                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1699                 :     3491855 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 471, __FILE__, __LINE__, true);
    1700                 :     3491855 :             return _r;
    1701                 :             :           }
    1702                 :           0 : next_after_fail590:;
    1703                 :             :         }
    1704                 :             :   }
    1705                 :             :   return NULL_TREE;
    1706                 :             : }
    1707                 :             : 
    1708                 :             : tree
    1709                 :           0 : generic_simplify_331 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1710                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1711                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1712                 :             :  const enum tree_code ARG_UNUSED (out))
    1713                 :             : {
    1714                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1715                 :           0 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    1716                 :           0 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    1717                 :             : )
    1718                 :             :     {
    1719                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail631;
    1720                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail631;
    1721                 :           0 :       {
    1722                 :           0 :         tree res_op0;
    1723                 :           0 :         {
    1724                 :           0 :           tree _o1[1], _r1;
    1725                 :           0 :           _o1[0] = captures[0];
    1726                 :           0 :           _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    1727                 :           0 :           res_op0 = _r1;
    1728                 :             :         }
    1729                 :           0 :         tree res_op1;
    1730                 :           0 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    1731                 :           0 :         tree _r;
    1732                 :           0 :         _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    1733                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 495, __FILE__, __LINE__, true);
    1734                 :           0 :         return _r;
    1735                 :             :       }
    1736                 :             : next_after_fail631:;
    1737                 :             :     }
    1738                 :             :   return NULL_TREE;
    1739                 :             : }
    1740                 :             : 
    1741                 :             : tree
    1742                 :      594235 : generic_simplify_338 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1743                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1744                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1745                 :             :  const enum tree_code ARG_UNUSED (icmp))
    1746                 :             : {
    1747                 :      594235 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1748                 :     1186880 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1749                 :      594235 :  && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1750                 :      242217 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) > 1
    1751                 :      836452 :  && (wi::to_wide (captures[2])
    1752                 :     1078669 :  == wi::max_value (TYPE_PRECISION (TREE_TYPE (captures[0])), SIGNED) - 1)
    1753                 :             : )
    1754                 :             :     {
    1755                 :          59 :       {
    1756                 :          59 :  tree stype = signed_type_for (TREE_TYPE (captures[0]));
    1757                 :          59 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail644;
    1758                 :          59 :           {
    1759                 :          59 :             tree res_op0;
    1760                 :          59 :             {
    1761                 :          59 :               tree _o1[1], _r1;
    1762                 :          59 :               _o1[0] = captures[0];
    1763                 :          59 :               if (TREE_TYPE (_o1[0]) != stype)
    1764                 :             :                 {
    1765                 :          59 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
    1766                 :             :                 }
    1767                 :             :               else
    1768                 :             :                 _r1 = _o1[0];
    1769                 :          59 :               res_op0 = _r1;
    1770                 :             :             }
    1771                 :          59 :             tree res_op1;
    1772                 :          59 :             res_op1 =  build_int_cst (stype, 0);
    1773                 :          59 :             tree _r;
    1774                 :          59 :             _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    1775                 :          59 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1776                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1777                 :          59 :             if (TREE_SIDE_EFFECTS (captures[2]))
    1778                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1779                 :          59 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 508, __FILE__, __LINE__, true);
    1780                 :          59 :             return _r;
    1781                 :             :           }
    1782                 :           0 : next_after_fail644:;
    1783                 :             :       }
    1784                 :             :     }
    1785                 :             :   return NULL_TREE;
    1786                 :             : }
    1787                 :             : 
    1788                 :             : tree
    1789                 :           0 : generic_simplify_344 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1790                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1791                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1792                 :             :  const enum tree_code ARG_UNUSED (out))
    1793                 :             : {
    1794                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1795                 :           0 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[2])) && !VECTOR_TYPE_P (TREE_TYPE (captures[2]))
    1796                 :             : )
    1797                 :             :     {
    1798                 :           0 :       {
    1799                 :           0 :  tree t = TREE_TYPE (captures[2]), cpx = build_complex_type (t);
    1800                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail650;
    1801                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail650;
    1802                 :           0 :           {
    1803                 :           0 :             tree res_op0;
    1804                 :           0 :             {
    1805                 :           0 :               tree _o1[1], _r1;
    1806                 :           0 :               {
    1807                 :           0 :                 tree _o2[2], _r2;
    1808                 :           0 :                 _o2[0] = captures[2];
    1809                 :           0 :                 _o2[1] = captures[1];
    1810                 :           0 :                 _r2 = maybe_build_call_expr_loc (loc, CFN_MUL_OVERFLOW, cpx, 2, _o2[0], _o2[1]);
    1811                 :           0 :                 if (!_r2)
    1812                 :           0 :                   goto next_after_fail650;
    1813                 :           0 :                 _o1[0] = _r2;
    1814                 :             :               }
    1815                 :           0 :               _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    1816                 :           0 :               res_op0 = _r1;
    1817                 :             :             }
    1818                 :           0 :             tree res_op1;
    1819                 :           0 :             res_op1 =  build_zero_cst (t);
    1820                 :           0 :             tree _r;
    1821                 :           0 :             _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    1822                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 497, __FILE__, __LINE__, true);
    1823                 :           0 :             return _r;
    1824                 :             :           }
    1825                 :             : next_after_fail650:;
    1826                 :             :       }
    1827                 :             :     }
    1828                 :             :   return NULL_TREE;
    1829                 :             : }
    1830                 :             : 
    1831                 :             : tree
    1832                 :           0 : generic_simplify_353 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1833                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1834                 :             :  const enum tree_code ARG_UNUSED (shiftrotate))
    1835                 :             : {
    1836                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1837                 :           0 :   {
    1838                 :           0 :  tree tem = uniform_vector_p (captures[1]);
    1839                 :           0 :       if (tem
    1840                 :             : )
    1841                 :             :         {
    1842                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail663;
    1843                 :           0 :           {
    1844                 :           0 :             tree res_op0;
    1845                 :           0 :             res_op0 = captures[0];
    1846                 :           0 :             tree res_op1;
    1847                 :           0 :             res_op1 =  tem;
    1848                 :           0 :             tree _r;
    1849                 :           0 :             _r = fold_build2_loc (loc, shiftrotate, type, res_op0, res_op1);
    1850                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1851                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1852                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 522, __FILE__, __LINE__, true);
    1853                 :           0 :             return _r;
    1854                 :             :           }
    1855                 :           0 : next_after_fail663:;
    1856                 :             :         }
    1857                 :             :   }
    1858                 :             :   return NULL_TREE;
    1859                 :             : }
    1860                 :             : 
    1861                 :             : tree
    1862                 :        2051 : generic_simplify_360 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1863                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    1864                 :             :  const enum tree_code ARG_UNUSED (eqne))
    1865                 :             : {
    1866                 :        2051 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1867                 :        2051 :   if ((integer_zerop (captures[1]) || integer_onep (captures[1]))
    1868                 :             : )
    1869                 :             :     {
    1870                 :        2049 :       if ((eqne == EQ_EXPR) ^ integer_zerop (captures[1])
    1871                 :             : )
    1872                 :             :         {
    1873                 :        1552 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail677;
    1874                 :        1552 :           {
    1875                 :        1552 :             tree res_op0;
    1876                 :        1552 :             res_op0 = captures[0];
    1877                 :        1552 :             tree _r;
    1878                 :        1552 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1879                 :        1552 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1880                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1881                 :        1552 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 535, __FILE__, __LINE__, true);
    1882                 :        1552 :             return _r;
    1883                 :             :           }
    1884                 :           0 : next_after_fail677:;
    1885                 :             :         }
    1886                 :             :       else
    1887                 :             :         {
    1888                 :         497 :           if (types_match (type, TREE_TYPE (captures[0]))
    1889                 :             : )
    1890                 :             :             {
    1891                 :          34 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail678;
    1892                 :          34 :               {
    1893                 :          34 :                 tree res_op0;
    1894                 :          34 :                 res_op0 = captures[0];
    1895                 :          34 :                 tree res_op1;
    1896                 :          34 :                 res_op1 =  build_one_cst (type);
    1897                 :          34 :                 tree _r;
    1898                 :          34 :                 _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    1899                 :          34 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    1900                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1901                 :          34 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 536, __FILE__, __LINE__, true);
    1902                 :          34 :                 return _r;
    1903                 :             :               }
    1904                 :           0 : next_after_fail678:;
    1905                 :             :             }
    1906                 :             :         }
    1907                 :             :     }
    1908                 :             :   return NULL_TREE;
    1909                 :             : }
    1910                 :             : 
    1911                 :             : tree
    1912                 :     1794347 : generic_simplify_364 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1913                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    1914                 :             :  const enum tree_code ARG_UNUSED (op))
    1915                 :             : {
    1916                 :     1794347 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1917                 :     1794347 :   if (INTEGRAL_TYPE_P (type)
    1918                 :     1666693 :  && op != MULT_EXPR
    1919                 :     1666693 :  && op != RDIV_EXPR
    1920                 :     1009624 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    1921                 :     1009624 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1922                 :     1009624 :  && type_has_mode_precision_p (TREE_TYPE (captures[2]))
    1923                 :     1009266 :  && type_has_mode_precision_p (TREE_TYPE (captures[4]))
    1924                 :     1008878 :  && type_has_mode_precision_p (type)
    1925                 :     1005073 :  && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2]))
    1926                 :           0 :  && types_match (captures[2], type)
    1927                 :     1794347 :  && (types_match (captures[2], captures[4])
    1928                 :           0 :  || poly_int_tree_p (captures[3]))
    1929                 :             : )
    1930                 :             :     {
    1931                 :           0 :       if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2]))
    1932                 :             : )
    1933                 :             :         {
    1934                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail688;
    1935                 :           0 :           {
    1936                 :           0 :             tree res_op0;
    1937                 :           0 :             res_op0 = captures[2];
    1938                 :           0 :             tree res_op1;
    1939                 :           0 :             {
    1940                 :           0 :               tree _o1[1], _r1;
    1941                 :           0 :               _o1[0] = captures[4];
    1942                 :           0 :               if (TREE_TYPE (_o1[0]) != type)
    1943                 :             :                 {
    1944                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1945                 :             :                 }
    1946                 :             :               else
    1947                 :             :                 _r1 = _o1[0];
    1948                 :           0 :               res_op1 = _r1;
    1949                 :             :             }
    1950                 :           0 :             tree _r;
    1951                 :           0 :             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1952                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 538, __FILE__, __LINE__, true);
    1953                 :           0 :             return _r;
    1954                 :             :           }
    1955                 :           0 : next_after_fail688:;
    1956                 :             :         }
    1957                 :             :       else
    1958                 :             :         {
    1959                 :           0 :           {
    1960                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
    1961                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail689;
    1962                 :           0 :               {
    1963                 :           0 :                 tree res_op0;
    1964                 :           0 :                 {
    1965                 :           0 :                   tree _o1[2], _r1;
    1966                 :           0 :                   {
    1967                 :           0 :                     tree _o2[1], _r2;
    1968                 :           0 :                     _o2[0] = captures[2];
    1969                 :           0 :                     if (TREE_TYPE (_o2[0]) != utype)
    1970                 :             :                       {
    1971                 :           0 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    1972                 :             :                       }
    1973                 :             :                     else
    1974                 :             :                       _r2 = _o2[0];
    1975                 :           0 :                     _o1[0] = _r2;
    1976                 :             :                   }
    1977                 :           0 :                   {
    1978                 :           0 :                     tree _o2[1], _r2;
    1979                 :           0 :                     _o2[0] = captures[4];
    1980                 :           0 :                     if (TREE_TYPE (_o2[0]) != utype)
    1981                 :             :                       {
    1982                 :           0 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    1983                 :             :                       }
    1984                 :             :                     else
    1985                 :             :                       _r2 = _o2[0];
    1986                 :           0 :                     _o1[1] = _r2;
    1987                 :             :                   }
    1988                 :           0 :                   _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1989                 :           0 :                   res_op0 = _r1;
    1990                 :             :                 }
    1991                 :           0 :                 tree _r;
    1992                 :           0 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1993                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 539, __FILE__, __LINE__, true);
    1994                 :           0 :                 return _r;
    1995                 :             :               }
    1996                 :           0 : next_after_fail689:;
    1997                 :             :           }
    1998                 :             :         }
    1999                 :             :     }
    2000                 :             :   else
    2001                 :             :     {
    2002                 :     1779293 :       if (FLOAT_TYPE_P (type)
    2003                 :     1809401 :  && DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    2004                 :       15054 :  == DECIMAL_FLOAT_TYPE_P (type)
    2005                 :             : )
    2006                 :             :         {
    2007                 :       15026 :           {
    2008                 :       15026 :  tree arg0 = strip_float_extensions (captures[2]);
    2009                 :       15026 :  tree arg1 = strip_float_extensions (captures[4]);
    2010                 :       15026 :  tree itype = TREE_TYPE (captures[0]);
    2011                 :       15026 :  tree ty1 = TREE_TYPE (arg0);
    2012                 :       15026 :  tree ty2 = TREE_TYPE (arg1);
    2013                 :       15026 :  enum tree_code code = TREE_CODE (itype);
    2014                 :           0 :               if (FLOAT_TYPE_P (ty1)
    2015                 :       15026 :  && FLOAT_TYPE_P (ty2)
    2016                 :             : )
    2017                 :             :                 {
    2018                 :       15026 :                   {
    2019                 :       15026 :  tree newtype = type;
    2020                 :       15026 :  if (TYPE_MODE (ty1) == SDmode
    2021                 :       15015 :  || TYPE_MODE (ty2) == SDmode
    2022                 :       30041 :  || TYPE_MODE (type) == SDmode)
    2023                 :          11 :  newtype = dfloat32_type_node;
    2024                 :       15026 :  if (TYPE_MODE (ty1) == DDmode
    2025                 :       15019 :  || TYPE_MODE (ty2) == DDmode
    2026                 :       30045 :  || TYPE_MODE (type) == DDmode)
    2027                 :           7 :  newtype = dfloat64_type_node;
    2028                 :       15026 :  if (TYPE_MODE (ty1) == TDmode
    2029                 :       15026 :  || TYPE_MODE (ty2) == TDmode
    2030                 :       30052 :  || TYPE_MODE (type) == TDmode)
    2031                 :          18 :  newtype = dfloat128_type_node;
    2032                 :       15026 :                       if ((newtype == dfloat32_type_node
    2033                 :       15026 :  || newtype == dfloat64_type_node
    2034                 :       15026 :  || newtype == dfloat128_type_node)
    2035                 :          18 :  && newtype == type
    2036                 :       15032 :  && types_match (newtype, type)
    2037                 :             : )
    2038                 :             :                         {
    2039                 :           6 :                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail690;
    2040                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail690;
    2041                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail690;
    2042                 :           0 :                           {
    2043                 :           0 :                             tree res_op0;
    2044                 :           0 :                             {
    2045                 :           0 :                               tree _o1[1], _r1;
    2046                 :           0 :                               _o1[0] = captures[2];
    2047                 :           0 :                               if (TREE_TYPE (_o1[0]) != newtype)
    2048                 :             :                                 {
    2049                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    2050                 :             :                                 }
    2051                 :             :                               else
    2052                 :             :                                 _r1 = _o1[0];
    2053                 :           0 :                               res_op0 = _r1;
    2054                 :             :                             }
    2055                 :           0 :                             tree res_op1;
    2056                 :           0 :                             {
    2057                 :           0 :                               tree _o1[1], _r1;
    2058                 :           0 :                               _o1[0] = captures[4];
    2059                 :           0 :                               if (TREE_TYPE (_o1[0]) != newtype)
    2060                 :             :                                 {
    2061                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    2062                 :             :                                 }
    2063                 :             :                               else
    2064                 :             :                                 _r1 = _o1[0];
    2065                 :           0 :                               res_op1 = _r1;
    2066                 :             :                             }
    2067                 :           0 :                             tree _r;
    2068                 :           0 :                             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2069                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 540, __FILE__, __LINE__, true);
    2070                 :           0 :                             return _r;
    2071                 :             :                           }
    2072                 :             : next_after_fail690:;
    2073                 :             :                         }
    2074                 :             :                       else
    2075                 :             :                         {
    2076                 :       15020 :                           {
    2077                 :       15020 :  if (element_precision (ty1) > element_precision (newtype))
    2078                 :         776 :  newtype = ty1;
    2079                 :       15020 :  if (element_precision (ty2) > element_precision (newtype))
    2080                 :           1 :  newtype = ty2;
    2081                 :       15020 :                               if (element_precision (newtype) < element_precision (itype)
    2082                 :       13890 :  && (!VECTOR_MODE_P (TYPE_MODE (newtype))
    2083                 :           0 :  || target_supports_op_p (newtype, op, optab_default))
    2084                 :       13890 :  && (flag_unsafe_math_optimizations
    2085                 :       13886 :  || (element_precision (newtype) == element_precision (type)
    2086                 :       13882 :  && real_can_shorten_arithmetic (element_mode (itype),
    2087                 :             :  element_mode (type))
    2088                 :        5461 :  && !excess_precision_type (newtype)))
    2089                 :       15681 :  && !types_match (itype, newtype)
    2090                 :             : )
    2091                 :             :                                 {
    2092                 :         661 :                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail691;
    2093                 :         661 :                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail691;
    2094                 :         654 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail691;
    2095                 :         654 :                                   {
    2096                 :         654 :                                     tree res_op0;
    2097                 :         654 :                                     {
    2098                 :         654 :                                       tree _o1[2], _r1;
    2099                 :         654 :                                       {
    2100                 :         654 :                                         tree _o2[1], _r2;
    2101                 :         654 :                                         _o2[0] = captures[2];
    2102                 :         654 :                                         if (TREE_TYPE (_o2[0]) != newtype)
    2103                 :             :                                           {
    2104                 :         654 :                                             _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
    2105                 :             :                                           }
    2106                 :             :                                         else
    2107                 :             :                                           _r2 = _o2[0];
    2108                 :         654 :                                         _o1[0] = _r2;
    2109                 :             :                                       }
    2110                 :         654 :                                       {
    2111                 :         654 :                                         tree _o2[1], _r2;
    2112                 :         654 :                                         _o2[0] = captures[4];
    2113                 :         654 :                                         if (TREE_TYPE (_o2[0]) != newtype)
    2114                 :             :                                           {
    2115                 :         604 :                                             _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
    2116                 :             :                                           }
    2117                 :             :                                         else
    2118                 :             :                                           _r2 = _o2[0];
    2119                 :         654 :                                         _o1[1] = _r2;
    2120                 :             :                                       }
    2121                 :         654 :                                       _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2122                 :         654 :                                       res_op0 = _r1;
    2123                 :             :                                     }
    2124                 :         654 :                                     tree _r;
    2125                 :         654 :                                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2126                 :         654 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 541, __FILE__, __LINE__, true);
    2127                 :         654 :                                     return _r;
    2128                 :             :                                   }
    2129                 :             : next_after_fail691:;
    2130                 :             :                                 }
    2131                 :             :                           }
    2132                 :             :                         }
    2133                 :             :                   }
    2134                 :             :                 }
    2135                 :             :           }
    2136                 :             :         }
    2137                 :             :     }
    2138                 :             :   return NULL_TREE;
    2139                 :             : }
    2140                 :             : 
    2141                 :             : tree
    2142                 :        1663 : generic_simplify_393 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2143                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2144                 :             : {
    2145                 :        1663 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2146                 :        1663 :   {
    2147                 :        1663 :  bool wascmp;
    2148                 :        1663 :       if (bitwise_inverted_equal_p (captures[0], captures[2], wascmp)
    2149                 :        1663 :  || bitwise_inverted_equal_p (captures[1], captures[2], wascmp)
    2150                 :             : )
    2151                 :             :         {
    2152                 :           8 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail723;
    2153                 :           8 :           {
    2154                 :           8 :             tree _r;
    2155                 :           8 :             _r =  wascmp ? constant_boolean_node (false, type) : build_zero_cst (type);
    2156                 :           8 :             if (TREE_SIDE_EFFECTS (captures[0]))
    2157                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2158                 :           8 :             if (TREE_SIDE_EFFECTS (captures[1]))
    2159                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2160                 :           8 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2161                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2162                 :           8 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 568, __FILE__, __LINE__, true);
    2163                 :           8 :             return _r;
    2164                 :             :           }
    2165                 :           0 : next_after_fail723:;
    2166                 :             :         }
    2167                 :             :   }
    2168                 :        1655 :   return NULL_TREE;
    2169                 :             : }
    2170                 :             : 
    2171                 :             : tree
    2172                 :           0 : generic_simplify_403 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2173                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2174                 :             :  const enum tree_code ARG_UNUSED (eqne))
    2175                 :             : {
    2176                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2177                 :           0 :   if (eqne == EQ_EXPR
    2178                 :             : )
    2179                 :             :     {
    2180                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail739;
    2181                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail739;
    2182                 :           0 :       {
    2183                 :           0 :         tree _r;
    2184                 :           0 :         _r =  constant_boolean_node (false, type);
    2185                 :           0 :         if (TREE_SIDE_EFFECTS (captures[2]))
    2186                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2187                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 580, __FILE__, __LINE__, true);
    2188                 :           0 :         return _r;
    2189                 :             :       }
    2190                 :             : next_after_fail739:;
    2191                 :             :     }
    2192                 :             :   else
    2193                 :             :     {
    2194                 :           0 :       if (eqne == NE_EXPR
    2195                 :             : )
    2196                 :             :         {
    2197                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail740;
    2198                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail740;
    2199                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail740;
    2200                 :           0 :           {
    2201                 :           0 :             tree _r;
    2202                 :           0 :             _r = captures[0];
    2203                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 581, __FILE__, __LINE__, true);
    2204                 :           0 :             return _r;
    2205                 :             :           }
    2206                 :             : next_after_fail740:;
    2207                 :             :         }
    2208                 :             :     }
    2209                 :             :   return NULL_TREE;
    2210                 :             : }
    2211                 :             : 
    2212                 :             : tree
    2213                 :           0 : generic_simplify_409 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2214                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2215                 :             :  const enum tree_code ARG_UNUSED (eqne))
    2216                 :             : {
    2217                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2218                 :           0 :   if (eqne == EQ_EXPR
    2219                 :             : )
    2220                 :             :     {
    2221                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail765;
    2222                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail765;
    2223                 :           0 :       {
    2224                 :           0 :         tree _r;
    2225                 :           0 :         _r =  constant_boolean_node (false, type);
    2226                 :           0 :         if (TREE_SIDE_EFFECTS (captures[2]))
    2227                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2228                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 580, __FILE__, __LINE__, true);
    2229                 :           0 :         return _r;
    2230                 :             :       }
    2231                 :             : next_after_fail765:;
    2232                 :             :     }
    2233                 :             :   else
    2234                 :             :     {
    2235                 :           0 :       if (eqne == NE_EXPR
    2236                 :             : )
    2237                 :             :         {
    2238                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail766;
    2239                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail766;
    2240                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail766;
    2241                 :           0 :           {
    2242                 :           0 :             tree _r;
    2243                 :           0 :             _r = captures[0];
    2244                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 581, __FILE__, __LINE__, true);
    2245                 :           0 :             return _r;
    2246                 :             :           }
    2247                 :             : next_after_fail766:;
    2248                 :             :         }
    2249                 :             :     }
    2250                 :             :   return NULL_TREE;
    2251                 :             : }
    2252                 :             : 
    2253                 :             : tree
    2254                 :           0 : generic_simplify_414 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2255                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2256                 :             : {
    2257                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2258                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail783;
    2259                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail783;
    2260                 :           0 :   {
    2261                 :           0 :     tree _r;
    2262                 :           0 :     _r = captures[2];
    2263                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    2264                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2265                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 596, __FILE__, __LINE__, true);
    2266                 :             :     return _r;
    2267                 :             :   }
    2268                 :             : next_after_fail783:;
    2269                 :             :   return NULL_TREE;
    2270                 :             : }
    2271                 :             : 
    2272                 :             : tree
    2273                 :       42501 : generic_simplify_417 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2274                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2275                 :             :  const enum tree_code ARG_UNUSED (shift))
    2276                 :             : {
    2277                 :       42501 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2278                 :       42501 :   if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    2279                 :       42501 :  && TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT
    2280                 :       42501 :  && tree_fits_uhwi_p (captures[4])
    2281                 :       42501 :  && tree_to_uhwi (captures[4]) > 0
    2282                 :       85001 :  && tree_to_uhwi (captures[4]) < TYPE_PRECISION (type)
    2283                 :             : )
    2284                 :             :     {
    2285                 :       42500 :       {
    2286                 :       42500 :  unsigned int shiftc = tree_to_uhwi (captures[4]);
    2287                 :       42500 :  unsigned HOST_WIDE_INT mask = TREE_INT_CST_LOW (captures[5]);
    2288                 :       42500 :  unsigned HOST_WIDE_INT newmask, zerobits = 0;
    2289                 :       42500 :  tree shift_type = TREE_TYPE (captures[2]);
    2290                 :       42500 :  unsigned int prec;
    2291                 :       42500 :  if (shift == LSHIFT_EXPR)
    2292                 :        4016 :  zerobits = ((HOST_WIDE_INT_1U << shiftc) - 1);
    2293                 :       38484 :  else if (shift == RSHIFT_EXPR
    2294                 :       38484 :  && type_has_mode_precision_p (shift_type))
    2295                 :             :  {
    2296                 :       38484 :  prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
    2297                 :       38484 :  tree arg00 = captures[3];
    2298                 :       38484 :  if (captures[2] != captures[3]
    2299                 :       38484 :  && TYPE_UNSIGNED (TREE_TYPE (captures[3])))
    2300                 :             :  {
    2301                 :       38226 :  tree inner_type = TREE_TYPE (captures[3]);
    2302                 :       38226 :  if (type_has_mode_precision_p (inner_type)
    2303                 :       38226 :  && TYPE_PRECISION (inner_type) < prec)
    2304                 :             :  {
    2305                 :          49 :  prec = TYPE_PRECISION (inner_type);
    2306                 :          49 :  if (shiftc < prec)
    2307                 :          48 :  shift_type = inner_type;
    2308                 :             :  }
    2309                 :             :  }
    2310                 :       38484 :  zerobits = HOST_WIDE_INT_M1U;
    2311                 :       38484 :  if (shiftc < prec)
    2312                 :             :  {
    2313                 :       38483 :  zerobits >>= HOST_BITS_PER_WIDE_INT - shiftc;
    2314                 :       38483 :  zerobits <<= prec - shiftc;
    2315                 :             :  }
    2316                 :       38484 :  if (!TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    2317                 :       38484 :  && prec == TYPE_PRECISION (TREE_TYPE (captures[2])))
    2318                 :             :  {
    2319                 :         878 :  if ((mask & zerobits) == 0)
    2320                 :         871 :  shift_type = unsigned_type_for (TREE_TYPE (captures[2]));
    2321                 :             :  else
    2322                 :             :  zerobits = 0;
    2323                 :             :  }
    2324                 :             :  }
    2325                 :       42500 :           if ((mask & zerobits) == mask
    2326                 :             : )
    2327                 :             :             {
    2328                 :           1 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail786;
    2329                 :           1 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail786;
    2330                 :           1 :               if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail786;
    2331                 :           1 :               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail786;
    2332                 :           1 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail786;
    2333                 :           1 :               {
    2334                 :           1 :                 tree _r;
    2335                 :           1 :                 _r =  build_int_cst (type, 0);
    2336                 :           1 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 572, __FILE__, __LINE__, true);
    2337                 :           1 :                 return _r;
    2338                 :             :               }
    2339                 :             : next_after_fail786:;
    2340                 :             :             }
    2341                 :             :           else
    2342                 :             :             {
    2343                 :       42499 :               {
    2344                 :       42499 :  newmask = mask | zerobits;
    2345                 :       42499 :                   if (newmask != mask && (newmask & (newmask + 1)) == 0
    2346                 :             : )
    2347                 :             :                     {
    2348                 :             :                       {
    2349                 :        6418 :  for (prec = BITS_PER_UNIT;
    2350                 :        9651 :  prec < HOST_BITS_PER_WIDE_INT; prec <<= 1)
    2351                 :        7753 :  if (newmask == (HOST_WIDE_INT_1U << prec) - 1)
    2352                 :             :  break;
    2353                 :        3233 :                           if (prec < HOST_BITS_PER_WIDE_INT
    2354                 :        1898 :  || newmask == HOST_WIDE_INT_M1U
    2355                 :             : )
    2356                 :             :                             {
    2357                 :        1724 :                               {
    2358                 :        1724 :  tree newmaskt = build_int_cst_type (TREE_TYPE (captures[5]), newmask);
    2359                 :        1724 :                                   if (!tree_int_cst_equal (newmaskt, captures[5])
    2360                 :             : )
    2361                 :             :                                     {
    2362                 :        1724 :                                       if (shift_type != TREE_TYPE (captures[2])
    2363                 :             : )
    2364                 :             :                                         {
    2365                 :          45 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail787;
    2366                 :          45 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail787;
    2367                 :          45 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail787;
    2368                 :          45 :                                           {
    2369                 :          45 :                                             tree res_op0;
    2370                 :          45 :                                             {
    2371                 :          45 :                                               tree _o1[1], _r1;
    2372                 :          45 :                                               {
    2373                 :          45 :                                                 tree _o2[2], _r2;
    2374                 :          45 :                                                 {
    2375                 :          45 :                                                   tree _o3[1], _r3;
    2376                 :          45 :                                                   _o3[0] = captures[2];
    2377                 :          45 :                                                   if (TREE_TYPE (_o3[0]) != shift_type)
    2378                 :             :                                                     {
    2379                 :          45 :                                                       _r3 = fold_build1_loc (loc, NOP_EXPR, shift_type, _o3[0]);
    2380                 :             :                                                     }
    2381                 :             :                                                   else
    2382                 :             :                                                     _r3 = _o3[0];
    2383                 :          45 :                                                   _o2[0] = _r3;
    2384                 :             :                                                 }
    2385                 :          45 :                                                 _o2[1] = captures[4];
    2386                 :          45 :                                                 _r2 = fold_build2_loc (loc, shift, shift_type, _o2[0], _o2[1]);
    2387                 :          45 :                                                 _o1[0] = _r2;
    2388                 :             :                                               }
    2389                 :          45 :                                               if (TREE_TYPE (_o1[0]) != type)
    2390                 :             :                                                 {
    2391                 :          45 :                                                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2392                 :             :                                                 }
    2393                 :             :                                               else
    2394                 :             :                                                 _r1 = _o1[0];
    2395                 :          45 :                                               res_op0 = _r1;
    2396                 :             :                                             }
    2397                 :          45 :                                             tree res_op1;
    2398                 :          45 :                                             res_op1 =  newmaskt;
    2399                 :          45 :                                             tree _r;
    2400                 :          45 :                                             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    2401                 :          45 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 573, __FILE__, __LINE__, true);
    2402                 :          45 :                                             return _r;
    2403                 :             :                                           }
    2404                 :             : next_after_fail787:;
    2405                 :             :                                         }
    2406                 :             :                                       else
    2407                 :             :                                         {
    2408                 :        1679 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail788;
    2409                 :         816 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail788;
    2410                 :         816 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail788;
    2411                 :         816 :                                           {
    2412                 :         816 :                                             tree res_op0;
    2413                 :         816 :                                             res_op0 = captures[0];
    2414                 :         816 :                                             tree res_op1;
    2415                 :         816 :                                             res_op1 =  newmaskt;
    2416                 :         816 :                                             tree _r;
    2417                 :         816 :                                             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    2418                 :         816 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 574, __FILE__, __LINE__, true);
    2419                 :         816 :                                             return _r;
    2420                 :             :                                           }
    2421                 :             : next_after_fail788:;
    2422                 :             :                                         }
    2423                 :             :                                     }
    2424                 :             :                               }
    2425                 :             :                             }
    2426                 :             :                       }
    2427                 :             :                     }
    2428                 :             :               }
    2429                 :             :             }
    2430                 :             :       }
    2431                 :             :     }
    2432                 :             :   return NULL_TREE;
    2433                 :             : }
    2434                 :             : 
    2435                 :             : tree
    2436                 :        1786 : generic_simplify_438 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2437                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    2438                 :             : {
    2439                 :        1786 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2440                 :        1786 :   if (! TYPE_UNSIGNED (type)
    2441                 :        1171 :  && ! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    2442                 :        1786 :  && single_use (captures[0])
    2443                 :             : )
    2444                 :             :     {
    2445                 :        1171 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail813;
    2446                 :        1171 :       {
    2447                 :        1171 :         tree res_op0;
    2448                 :        1171 :         res_op0 = captures[1];
    2449                 :        1171 :         tree res_op1;
    2450                 :        1171 :         {
    2451                 :        1171 :           tree _o1[1], _r1;
    2452                 :        1171 :           _o1[0] = captures[2];
    2453                 :        1171 :           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    2454                 :        1171 :           res_op1 = _r1;
    2455                 :             :         }
    2456                 :        1171 :         tree _r;
    2457                 :        1171 :         _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    2458                 :        1171 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 617, __FILE__, __LINE__, true);
    2459                 :        1171 :         return _r;
    2460                 :             :       }
    2461                 :           0 : next_after_fail813:;
    2462                 :             :     }
    2463                 :             :   return NULL_TREE;
    2464                 :             : }
    2465                 :             : 
    2466                 :             : tree
    2467                 :           0 : generic_simplify_445 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2468                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2469                 :             :  const enum tree_code ARG_UNUSED (minmax))
    2470                 :             : {
    2471                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2472                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail821;
    2473                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail821;
    2474                 :           0 :   {
    2475                 :           0 :     tree _r;
    2476                 :           0 :     _r = captures[0];
    2477                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 624, __FILE__, __LINE__, true);
    2478                 :             :     return _r;
    2479                 :             :   }
    2480                 :             : next_after_fail821:;
    2481                 :             :   return NULL_TREE;
    2482                 :             : }
    2483                 :             : 
    2484                 :             : tree
    2485                 :           2 : generic_simplify_454 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2486                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2487                 :             : {
    2488                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2489                 :           2 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail842;
    2490                 :           2 :   {
    2491                 :           2 :     tree _r;
    2492                 :           2 :     _r = captures[1];
    2493                 :           2 :     if (TREE_SIDE_EFFECTS (captures[0]))
    2494                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2495                 :           2 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 633, __FILE__, __LINE__, true);
    2496                 :             :     return _r;
    2497                 :             :   }
    2498                 :           0 : next_after_fail842:;
    2499                 :           0 :   return NULL_TREE;
    2500                 :             : }
    2501                 :             : 
    2502                 :             : tree
    2503                 :           0 : generic_simplify_459 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2504                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2505                 :             :  const combined_fn ARG_UNUSED (FMAX_ALL))
    2506                 :             : {
    2507                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2508                 :           0 :   if (flag_finite_math_only
    2509                 :             : )
    2510                 :             :     {
    2511                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail847;
    2512                 :           0 :       {
    2513                 :           0 :         tree res_op0;
    2514                 :           0 :         res_op0 = captures[0];
    2515                 :           0 :         tree res_op1;
    2516                 :           0 :         res_op1 = captures[1];
    2517                 :           0 :         tree _r;
    2518                 :           0 :         _r = fold_build2_loc (loc, MAX_EXPR, type, res_op0, res_op1);
    2519                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 638, __FILE__, __LINE__, true);
    2520                 :           0 :         return _r;
    2521                 :             :       }
    2522                 :           0 : next_after_fail847:;
    2523                 :             :     }
    2524                 :             :   return NULL_TREE;
    2525                 :             : }
    2526                 :             : 
    2527                 :             : tree
    2528                 :           3 : generic_simplify_464 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2529                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    2530                 :             :  const enum tree_code ARG_UNUSED (op))
    2531                 :             : {
    2532                 :           3 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2533                 :           3 :   if (INTEGRAL_TYPE_P (type)
    2534                 :           3 :  && TYPE_PRECISION (type) > 1
    2535                 :           6 :  && (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])))
    2536                 :             : )
    2537                 :             :     {
    2538                 :           3 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail857;
    2539                 :           3 :       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail857;
    2540                 :           3 :       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail857;
    2541                 :           3 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail857;
    2542                 :           3 :       {
    2543                 :           3 :         tree res_op0;
    2544                 :           3 :         {
    2545                 :           3 :           tree _o1[2], _r1;
    2546                 :           3 :           {
    2547                 :           3 :             tree _o2[1], _r2;
    2548                 :           3 :             _o2[0] = captures[0];
    2549                 :           3 :             if (TREE_TYPE (_o2[0]) != type)
    2550                 :             :               {
    2551                 :           0 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
    2552                 :             :               }
    2553                 :             :             else
    2554                 :             :               _r2 = _o2[0];
    2555                 :           3 :             _o1[0] = _r2;
    2556                 :             :           }
    2557                 :           3 :           _o1[1] = captures[2];
    2558                 :           3 :           _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2559                 :           3 :           res_op0 = _r1;
    2560                 :             :         }
    2561                 :           3 :         tree res_op1;
    2562                 :           3 :         res_op1 = captures[1];
    2563                 :           3 :         tree _r;
    2564                 :           3 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2565                 :           3 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 648, __FILE__, __LINE__, true);
    2566                 :           3 :         return _r;
    2567                 :             :       }
    2568                 :             : next_after_fail857:;
    2569                 :             :     }
    2570                 :             :   return NULL_TREE;
    2571                 :             : }
    2572                 :             : 
    2573                 :             : tree
    2574                 :           0 : generic_simplify_474 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2575                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    2576                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2577                 :             : {
    2578                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2579                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail867;
    2580                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail867;
    2581                 :           0 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail867;
    2582                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail867;
    2583                 :           0 :   {
    2584                 :           0 :     tree _r;
    2585                 :           0 :     _r = captures[3];
    2586                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 658, __FILE__, __LINE__, true);
    2587                 :             :     return _r;
    2588                 :             :   }
    2589                 :             : next_after_fail867:;
    2590                 :             :   return NULL_TREE;
    2591                 :             : }
    2592                 :             : 
    2593                 :             : tree
    2594                 :          17 : generic_simplify_481 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2595                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    2596                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2597                 :             : {
    2598                 :          17 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2599                 :          17 :   if (INTEGRAL_TYPE_P (type)
    2600                 :          17 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2601                 :          17 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2602                 :          34 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (type)
    2603                 :             : )
    2604                 :             :     {
    2605                 :          17 :       {
    2606                 :          17 :  tree shifter = build_int_cst (integer_type_node, TYPE_PRECISION (type) - 1);
    2607                 :          17 :           if (cmp == GE_EXPR
    2608                 :             : )
    2609                 :             :             {
    2610                 :           9 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail876;
    2611                 :           9 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail876;
    2612                 :           9 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail876;
    2613                 :           9 :               {
    2614                 :           9 :                 tree res_op0;
    2615                 :           9 :                 {
    2616                 :           9 :                   tree _o1[1], _r1;
    2617                 :           9 :                   {
    2618                 :           9 :                     tree _o2[2], _r2;
    2619                 :           9 :                     _o2[0] = captures[0];
    2620                 :           9 :                     _o2[1] = shifter;
    2621                 :           9 :                     _r2 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    2622                 :           9 :                     _o1[0] = _r2;
    2623                 :             :                   }
    2624                 :           9 :                   if (TREE_TYPE (_o1[0]) != type)
    2625                 :             :                     {
    2626                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2627                 :             :                     }
    2628                 :             :                   else
    2629                 :             :                     _r1 = _o1[0];
    2630                 :           9 :                   res_op0 = _r1;
    2631                 :             :                 }
    2632                 :           9 :                 tree res_op1;
    2633                 :           9 :                 res_op1 = captures[1];
    2634                 :           9 :                 tree _r;
    2635                 :           9 :                 _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    2636                 :           9 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 666, __FILE__, __LINE__, true);
    2637                 :           9 :                 return _r;
    2638                 :             :               }
    2639                 :             : next_after_fail876:;
    2640                 :             :             }
    2641                 :             :           else
    2642                 :             :             {
    2643                 :           8 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail877;
    2644                 :           8 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail877;
    2645                 :           8 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail877;
    2646                 :           8 :               {
    2647                 :           8 :                 tree res_op0;
    2648                 :           8 :                 {
    2649                 :           8 :                   tree _o1[2], _r1;
    2650                 :           8 :                   {
    2651                 :           8 :                     tree _o2[1], _r2;
    2652                 :           8 :                     {
    2653                 :           8 :                       tree _o3[2], _r3;
    2654                 :           8 :                       _o3[0] = captures[0];
    2655                 :           8 :                       _o3[1] = shifter;
    2656                 :           8 :                       _r3 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    2657                 :           8 :                       _o2[0] = _r3;
    2658                 :             :                     }
    2659                 :           8 :                     if (TREE_TYPE (_o2[0]) != type)
    2660                 :             :                       {
    2661                 :           0 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
    2662                 :             :                       }
    2663                 :             :                     else
    2664                 :             :                       _r2 = _o2[0];
    2665                 :           8 :                     _o1[0] = _r2;
    2666                 :             :                   }
    2667                 :           8 :                   _o1[1] = captures[1];
    2668                 :           8 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2669                 :           8 :                   res_op0 = _r1;
    2670                 :             :                 }
    2671                 :           8 :                 tree _r;
    2672                 :           8 :                 _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    2673                 :           8 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 667, __FILE__, __LINE__, true);
    2674                 :           8 :                 return _r;
    2675                 :             :               }
    2676                 :             : next_after_fail877:;
    2677                 :             :             }
    2678                 :             :       }
    2679                 :             :     }
    2680                 :             :   return NULL_TREE;
    2681                 :             : }
    2682                 :             : 
    2683                 :             : tree
    2684                 :           0 : generic_simplify_501 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2685                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    2686                 :             :  const combined_fn ARG_UNUSED (cond_op))
    2687                 :             : {
    2688                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2689                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail899;
    2690                 :           0 :   {
    2691                 :           0 :     tree res_op0;
    2692                 :           0 :     {
    2693                 :           0 :       tree _o1[2], _r1;
    2694                 :           0 :       _o1[0] = captures[2];
    2695                 :           0 :       _o1[1] = captures[0];
    2696                 :           0 :       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2697                 :           0 :       res_op0 = _r1;
    2698                 :             :     }
    2699                 :           0 :     tree res_op1;
    2700                 :           0 :     res_op1 = captures[3];
    2701                 :           0 :     tree res_op2;
    2702                 :           0 :     res_op2 = captures[4];
    2703                 :           0 :     tree res_op3;
    2704                 :           0 :     res_op3 = captures[5];
    2705                 :           0 :     tree _r;
    2706                 :           0 :     _r = maybe_build_call_expr_loc (loc, cond_op, type, 4, res_op0, res_op1, res_op2, res_op3);
    2707                 :           0 :     if (!_r)
    2708                 :           0 :       goto next_after_fail899;
    2709                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 684, __FILE__, __LINE__, true);
    2710                 :             :     return _r;
    2711                 :             :   }
    2712                 :             : next_after_fail899:;
    2713                 :             :   return NULL_TREE;
    2714                 :             : }
    2715                 :             : 
    2716                 :             : tree
    2717                 :           0 : generic_simplify_508 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2718                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2719                 :             :  const combined_fn ARG_UNUSED (logs),
    2720                 :             :  const combined_fn ARG_UNUSED (pows))
    2721                 :             : {
    2722                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2723                 :           0 :   if (flag_unsafe_math_optimizations
    2724                 :             : )
    2725                 :             :     {
    2726                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail906;
    2727                 :           0 :       {
    2728                 :           0 :         tree res_op0;
    2729                 :           0 :         res_op0 = captures[1];
    2730                 :           0 :         tree res_op1;
    2731                 :           0 :         {
    2732                 :           0 :           tree _o1[1], _r1;
    2733                 :           0 :           _o1[0] = captures[0];
    2734                 :           0 :           _r1 = maybe_build_call_expr_loc (loc, logs, TREE_TYPE (_o1[0]), 1, _o1[0]);
    2735                 :           0 :           if (!_r1)
    2736                 :           0 :             goto next_after_fail906;
    2737                 :           0 :           res_op1 = _r1;
    2738                 :             :         }
    2739                 :           0 :         tree _r;
    2740                 :           0 :         _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    2741                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 691, __FILE__, __LINE__, true);
    2742                 :           0 :         return _r;
    2743                 :             :       }
    2744                 :             : next_after_fail906:;
    2745                 :             :     }
    2746                 :             :   return NULL_TREE;
    2747                 :             : }
    2748                 :             : 
    2749                 :             : tree
    2750                 :           0 : generic_simplify_518 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2751                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2752                 :             : {
    2753                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2754                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail916;
    2755                 :           0 :   {
    2756                 :           0 :     tree _r;
    2757                 :           0 :     _r = captures[0];
    2758                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    2759                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2760                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 701, __FILE__, __LINE__, true);
    2761                 :             :     return _r;
    2762                 :             :   }
    2763                 :           0 : next_after_fail916:;
    2764                 :           0 :   return NULL_TREE;
    2765                 :             : }
    2766                 :             : 
    2767                 :             : tree
    2768                 :           0 : generic_simplify_526 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2769                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2770                 :             :  const combined_fn ARG_UNUSED (SIGNBIT))
    2771                 :             : {
    2772                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2773                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail924;
    2774                 :           0 :   {
    2775                 :           0 :     tree _r;
    2776                 :           0 :     _r =  integer_zero_node;
    2777                 :           0 :     if (TREE_SIDE_EFFECTS (captures[0]))
    2778                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2779                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 709, __FILE__, __LINE__, true);
    2780                 :             :     return _r;
    2781                 :             :   }
    2782                 :           0 : next_after_fail924:;
    2783                 :           0 :   return NULL_TREE;
    2784                 :             : }
    2785                 :             : 
    2786                 :             : tree
    2787                 :           0 : generic_simplify_533 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2788                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
    2789                 :             : {
    2790                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2791                 :           0 :   if (canonicalize_math_after_vectorization_p ()
    2792                 :             : )
    2793                 :             :     {
    2794                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail931;
    2795                 :             :       {
    2796                 :             :         tree res_op0;
    2797                 :             :         res_op0 = captures[0];
    2798                 :             :         tree res_op1;
    2799                 :             :         res_op1 = captures[1];
    2800                 :             :         tree res_op2;
    2801                 :             :         res_op2 = captures[2];
    2802                 :             :         tree _r;
    2803                 :             :         _r = maybe_build_call_expr_loc (loc, CFN_FMA, type, 3, res_op0, res_op1, res_op2);
    2804                 :             :         if (!_r)
    2805                 :             :           goto next_after_fail931;
    2806                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 716, __FILE__, __LINE__, true);
    2807                 :             :         return _r;
    2808                 :             :       }
    2809                 :           0 : next_after_fail931:;
    2810                 :             :     }
    2811                 :           0 :   return NULL_TREE;
    2812                 :             : }
    2813                 :             : 
    2814                 :             : tree
    2815                 :           0 : generic_simplify_543 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2816                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2817                 :             :  const combined_fn ARG_UNUSED (bswap),
    2818                 :             :  const combined_fn ARG_UNUSED (parity))
    2819                 :             : {
    2820                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2821                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2822                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2823                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[0]))
    2824                 :           0 :  >= TYPE_PRECISION (TREE_TYPE (captures[1]))
    2825                 :             : )
    2826                 :             :     {
    2827                 :           0 :       {
    2828                 :           0 :  tree type0 = TREE_TYPE (captures[0]);
    2829                 :           0 :  tree type1 = TREE_TYPE (captures[1]);
    2830                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail942;
    2831                 :           0 :           {
    2832                 :           0 :             tree res_op0;
    2833                 :           0 :             {
    2834                 :           0 :               tree _o1[1], _r1;
    2835                 :           0 :               {
    2836                 :           0 :                 tree _o2[1], _r2;
    2837                 :           0 :                 _o2[0] = captures[2];
    2838                 :           0 :                 if (TREE_TYPE (_o2[0]) != type1)
    2839                 :             :                   {
    2840                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, type1, _o2[0]);
    2841                 :             :                   }
    2842                 :             :                 else
    2843                 :             :                   _r2 = _o2[0];
    2844                 :           0 :                 _o1[0] = _r2;
    2845                 :             :               }
    2846                 :           0 :               if (TREE_TYPE (_o1[0]) != type0)
    2847                 :             :                 {
    2848                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
    2849                 :             :                 }
    2850                 :             :               else
    2851                 :             :                 _r1 = _o1[0];
    2852                 :           0 :               res_op0 = _r1;
    2853                 :             :             }
    2854                 :           0 :             tree _r;
    2855                 :           0 :             _r = maybe_build_call_expr_loc (loc, parity, type, 1, res_op0);
    2856                 :           0 :             if (!_r)
    2857                 :           0 :               goto next_after_fail942;
    2858                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 725, __FILE__, __LINE__, true);
    2859                 :           0 :             return _r;
    2860                 :             :           }
    2861                 :             : next_after_fail942:;
    2862                 :             :       }
    2863                 :             :     }
    2864                 :             :   return NULL_TREE;
    2865                 :             : }
    2866                 :             : 
    2867                 :             : tree
    2868                 :     2341839 : generic_simplify_BIT_NOT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    2869                 :             : {
    2870                 :     2341839 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2871                 :     2341839 :   switch (TREE_CODE (_p0))
    2872                 :             :     {
    2873                 :         409 :     case BIT_AND_EXPR:
    2874                 :         409 :       {
    2875                 :         409 :         tree _q20 = TREE_OPERAND (_p0, 0);
    2876                 :         409 :         tree _q21 = TREE_OPERAND (_p0, 1);
    2877                 :         409 :         switch (TREE_CODE (_q20))
    2878                 :             :           {
    2879                 :          33 :           case BIT_NOT_EXPR:
    2880                 :          33 :             {
    2881                 :          33 :               tree _q30 = TREE_OPERAND (_q20, 0);
    2882                 :          33 :               {
    2883                 :          33 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q21 };
    2884                 :          33 :                 tree res = generic_simplify_423 (loc, type, _p0, captures);
    2885                 :          33 :                 if (res) return res;
    2886                 :             :               }
    2887                 :           0 :               break;
    2888                 :             :             }
    2889                 :         376 :           default:;
    2890                 :             :           }
    2891                 :         376 :         switch (TREE_CODE (_q21))
    2892                 :             :           {
    2893                 :           8 :           case BIT_NOT_EXPR:
    2894                 :           8 :             {
    2895                 :           8 :               tree _q40 = TREE_OPERAND (_q21, 0);
    2896                 :           8 :               {
    2897                 :           8 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q20 };
    2898                 :           8 :                 tree res = generic_simplify_423 (loc, type, _p0, captures);
    2899                 :           8 :                 if (res) return res;
    2900                 :             :               }
    2901                 :           0 :               break;
    2902                 :             :             }
    2903                 :             :           default:;
    2904                 :             :           }
    2905                 :             :         break;
    2906                 :             :       }
    2907                 :         474 :     case BIT_IOR_EXPR:
    2908                 :         474 :       {
    2909                 :         474 :         tree _q20 = TREE_OPERAND (_p0, 0);
    2910                 :         474 :         tree _q21 = TREE_OPERAND (_p0, 1);
    2911                 :         474 :         switch (TREE_CODE (_q20))
    2912                 :             :           {
    2913                 :          68 :           case BIT_NOT_EXPR:
    2914                 :          68 :             {
    2915                 :          68 :               tree _q30 = TREE_OPERAND (_q20, 0);
    2916                 :          68 :               {
    2917                 :          68 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q21 };
    2918                 :          68 :                 tree res = generic_simplify_424 (loc, type, _p0, captures);
    2919                 :          68 :                 if (res) return res;
    2920                 :             :               }
    2921                 :           0 :               break;
    2922                 :             :             }
    2923                 :         406 :           default:;
    2924                 :             :           }
    2925                 :         406 :         switch (TREE_CODE (_q21))
    2926                 :             :           {
    2927                 :          40 :           case BIT_NOT_EXPR:
    2928                 :          40 :             {
    2929                 :          40 :               tree _q40 = TREE_OPERAND (_q21, 0);
    2930                 :          40 :               {
    2931                 :          40 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q20 };
    2932                 :          40 :                 tree res = generic_simplify_424 (loc, type, _p0, captures);
    2933                 :          40 :                 if (res) return res;
    2934                 :             :               }
    2935                 :           0 :               break;
    2936                 :             :             }
    2937                 :             :           default:;
    2938                 :             :           }
    2939                 :             :         break;
    2940                 :             :       }
    2941                 :         137 :     case MINUS_EXPR:
    2942                 :         137 :       {
    2943                 :         137 :         tree _q20 = TREE_OPERAND (_p0, 0);
    2944                 :         137 :         tree _q21 = TREE_OPERAND (_p0, 1);
    2945                 :         137 :         switch (TREE_CODE (_q20))
    2946                 :             :           {
    2947                 :           1 :           case BIT_NOT_EXPR:
    2948                 :           1 :             {
    2949                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    2950                 :           1 :               {
    2951                 :           1 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    2952                 :           1 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail978;
    2953                 :           1 :                 {
    2954                 :           1 :                   tree res_op0;
    2955                 :           1 :                   res_op0 = captures[0];
    2956                 :           1 :                   tree res_op1;
    2957                 :           1 :                   res_op1 = captures[1];
    2958                 :           1 :                   tree _r;
    2959                 :           1 :                   _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    2960                 :           1 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 752, __FILE__, __LINE__, true);
    2961                 :           1 :                   return _r;
    2962                 :             :                 }
    2963                 :           0 : next_after_fail978:;
    2964                 :             :               }
    2965                 :           0 :               break;
    2966                 :             :             }
    2967                 :         136 :           default:;
    2968                 :             :           }
    2969                 :         136 :         {
    2970                 :         136 :           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    2971                 :         136 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail979;
    2972                 :         136 :           {
    2973                 :         136 :             tree res_op0;
    2974                 :         136 :             {
    2975                 :         136 :               tree _o1[1], _r1;
    2976                 :         136 :               _o1[0] = captures[1];
    2977                 :         136 :               _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    2978                 :         136 :               res_op0 = _r1;
    2979                 :             :             }
    2980                 :         136 :             tree res_op1;
    2981                 :         136 :             res_op1 = captures[2];
    2982                 :         136 :             tree _r;
    2983                 :         136 :             _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    2984                 :         136 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 753, __FILE__, __LINE__, true);
    2985                 :         136 :             return _r;
    2986                 :             :           }
    2987                 :           0 : next_after_fail979:;
    2988                 :             :         }
    2989                 :           0 :         if (integer_each_onep (_q21))
    2990                 :             :           {
    2991                 :           0 :             {
    2992                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    2993                 :           0 :               tree res = generic_simplify_425 (loc, type, _p0, captures);
    2994                 :           0 :               if (res) return res;
    2995                 :             :             }
    2996                 :             :           }
    2997                 :             :         break;
    2998                 :             :       }
    2999                 :       80346 :     case PLUS_EXPR:
    3000                 :       80346 :       {
    3001                 :       80346 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3002                 :       80346 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3003                 :       80346 :         switch (TREE_CODE (_q20))
    3004                 :             :           {
    3005                 :          16 :           case BIT_NOT_EXPR:
    3006                 :          16 :             {
    3007                 :          16 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3008                 :          16 :               {
    3009                 :          16 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    3010                 :          16 :                 tree res = generic_simplify_426 (loc, type, _p0, captures);
    3011                 :          16 :                 if (res) return res;
    3012                 :             :               }
    3013                 :           0 :               break;
    3014                 :             :             }
    3015                 :       80330 :           default:;
    3016                 :             :           }
    3017                 :       80330 :         switch (TREE_CODE (_q21))
    3018                 :             :           {
    3019                 :           1 :           case BIT_NOT_EXPR:
    3020                 :           1 :             {
    3021                 :           1 :               tree _q40 = TREE_OPERAND (_q21, 0);
    3022                 :           1 :               {
    3023                 :           1 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    3024                 :           1 :                 tree res = generic_simplify_426 (loc, type, _p0, captures);
    3025                 :           1 :                 if (res) return res;
    3026                 :             :               }
    3027                 :           0 :               break;
    3028                 :             :             }
    3029                 :       70198 :           case INTEGER_CST:
    3030                 :       70198 :             {
    3031                 :       70198 :               {
    3032                 :       70198 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    3033                 :       70198 :                 if ((INTEGRAL_TYPE_P (type)
    3034                 :       70198 :  && TYPE_UNSIGNED (type))
    3035                 :       78948 :  || (!TYPE_OVERFLOW_SANITIZED (type)
    3036                 :        8742 :  && may_negate_without_overflow_p (captures[2]))
    3037                 :             : )
    3038                 :             :                   {
    3039                 :       70183 :                     if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail980;
    3040                 :       70183 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail980;
    3041                 :       70183 :                     {
    3042                 :       70183 :                       tree res_op0;
    3043                 :       70183 :                       {
    3044                 :       70183 :                         tree _o1[1], _r1;
    3045                 :       70183 :                         _o1[0] = captures[1];
    3046                 :       70183 :                         _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3047                 :       70183 :                         res_op0 = _r1;
    3048                 :             :                       }
    3049                 :       70183 :                       tree res_op1;
    3050                 :       70183 :                       res_op1 =  const_unop (NEGATE_EXPR, type, captures[2]);
    3051                 :       70183 :                       tree _r;
    3052                 :       70183 :                       _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    3053                 :       70183 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 754, __FILE__, __LINE__, true);
    3054                 :       70183 :                       return _r;
    3055                 :             :                     }
    3056                 :          15 : next_after_fail980:;
    3057                 :             :                   }
    3058                 :             :               }
    3059                 :          15 :               break;
    3060                 :             :             }
    3061                 :       10146 :           default:;
    3062                 :             :           }
    3063                 :       10146 :       if (integer_all_onesp (_q21))
    3064                 :             :         {
    3065                 :           0 :           {
    3066                 :           0 :             tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    3067                 :           0 :             tree res = generic_simplify_427 (loc, type, _p0, captures);
    3068                 :           0 :             if (res) return res;
    3069                 :             :           }
    3070                 :             :         }
    3071                 :             :         break;
    3072                 :             :       }
    3073                 :         366 :     case RSHIFT_EXPR:
    3074                 :         366 :       {
    3075                 :         366 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3076                 :         366 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3077                 :         366 :         {
    3078                 :         366 :           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    3079                 :         366 :           if (!TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    3080                 :             : )
    3081                 :             :             {
    3082                 :         291 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail981;
    3083                 :         291 :               {
    3084                 :         291 :                 tree res_op0;
    3085                 :         291 :                 {
    3086                 :         291 :                   tree _o1[1], _r1;
    3087                 :         291 :                   _o1[0] = captures[1];
    3088                 :         291 :                   _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3089                 :         291 :                   if (EXPR_P (_r1))
    3090                 :         265 :                     goto next_after_fail981;
    3091                 :          26 :                   res_op0 = _r1;
    3092                 :             :                 }
    3093                 :          26 :                 tree res_op1;
    3094                 :          26 :                 res_op1 = captures[2];
    3095                 :          26 :                 tree _r;
    3096                 :          26 :                 _r = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1);
    3097                 :          26 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 755, __FILE__, __LINE__, true);
    3098                 :          26 :                 return _r;
    3099                 :             :               }
    3100                 :         325 : next_after_fail981:;
    3101                 :             :             }
    3102                 :             :           else
    3103                 :             :             {
    3104                 :         150 :               if (INTEGRAL_TYPE_P (type)
    3105                 :         150 :  && !wi::neg_p (tree_nonzero_bits (captures[1]))
    3106                 :             : )
    3107                 :             :                 {
    3108                 :          15 :                   {
    3109                 :          15 :  tree stype = signed_type_for (TREE_TYPE (captures[1]));
    3110                 :          15 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail982;
    3111                 :          15 :                       {
    3112                 :          15 :                         tree res_op0;
    3113                 :          15 :                         {
    3114                 :          15 :                           tree _o1[2], _r1;
    3115                 :          15 :                           {
    3116                 :          15 :                             tree _o2[1], _r2;
    3117                 :          15 :                             {
    3118                 :          15 :                               tree _o3[1], _r3;
    3119                 :          15 :                               _o3[0] = captures[1];
    3120                 :          15 :                               if (TREE_TYPE (_o3[0]) != stype)
    3121                 :             :                                 {
    3122                 :          15 :                                   _r3 = fold_build1_loc (loc, NOP_EXPR, stype, _o3[0]);
    3123                 :             :                                 }
    3124                 :             :                               else
    3125                 :             :                                 _r3 = _o3[0];
    3126                 :          15 :                               _o2[0] = _r3;
    3127                 :             :                             }
    3128                 :          15 :                             _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    3129                 :          15 :                             if (EXPR_P (_r2))
    3130                 :           0 :                               goto next_after_fail982;
    3131                 :          15 :                             _o1[0] = _r2;
    3132                 :             :                           }
    3133                 :          15 :                           _o1[1] = captures[2];
    3134                 :          15 :                           _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3135                 :          15 :                           res_op0 = _r1;
    3136                 :             :                         }
    3137                 :          15 :                         tree _r;
    3138                 :          15 :                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3139                 :          15 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 756, __FILE__, __LINE__, true);
    3140                 :          15 :                         return _r;
    3141                 :             :                       }
    3142                 :         325 : next_after_fail982:;
    3143                 :             :                   }
    3144                 :             :                 }
    3145                 :             :             }
    3146                 :             :         }
    3147                 :         325 :         switch (TREE_CODE (_q20))
    3148                 :             :           {
    3149                 :          12 :           CASE_CONVERT:
    3150                 :          12 :             {
    3151                 :          12 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3152                 :          12 :               switch (TREE_CODE (_q30))
    3153                 :             :                 {
    3154                 :           2 :                 case BIT_NOT_EXPR:
    3155                 :           2 :                   {
    3156                 :           2 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    3157                 :           2 :                     {
    3158                 :           2 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40, _q21 };
    3159                 :           2 :                       tree res = generic_simplify_428 (loc, type, _p0, captures);
    3160                 :           2 :                       if (res) return res;
    3161                 :             :                     }
    3162                 :           1 :                     break;
    3163                 :             :                   }
    3164                 :             :                 default:;
    3165                 :             :                 }
    3166                 :             :               break;
    3167                 :             :             }
    3168                 :           9 :           case BIT_NOT_EXPR:
    3169                 :           9 :             {
    3170                 :           9 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3171                 :           9 :               {
    3172                 :           9 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q30, _q21 };
    3173                 :           9 :                 tree res = generic_simplify_428 (loc, type, _p0, captures);
    3174                 :           9 :                 if (res) return res;
    3175                 :             :               }
    3176                 :           8 :               break;
    3177                 :             :             }
    3178                 :             :           default:;
    3179                 :             :           }
    3180                 :             :         break;
    3181                 :             :       }
    3182                 :          76 :     case BIT_NOT_EXPR:
    3183                 :          76 :       {
    3184                 :          76 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3185                 :          76 :         {
    3186                 :          76 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    3187                 :          76 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail983;
    3188                 :          76 :           {
    3189                 :          76 :             tree _r;
    3190                 :          76 :             _r = captures[0];
    3191                 :          76 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 757, __FILE__, __LINE__, true);
    3192                 :     2341839 :             return _r;
    3193                 :             :           }
    3194                 :           0 : next_after_fail983:;
    3195                 :             :         }
    3196                 :           0 :         break;
    3197                 :             :       }
    3198                 :      834206 :     CASE_CONVERT:
    3199                 :      834206 :       {
    3200                 :      834206 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3201                 :      834206 :         switch (TREE_CODE (_q20))
    3202                 :             :           {
    3203                 :          25 :           case NEGATE_EXPR:
    3204                 :          25 :             {
    3205                 :          25 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3206                 :          25 :               {
    3207                 :          25 :                 tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    3208                 :          25 :                 tree res = generic_simplify_429 (loc, type, _p0, captures);
    3209                 :          25 :                 if (res) return res;
    3210                 :             :               }
    3211                 :           0 :               break;
    3212                 :             :             }
    3213                 :         156 :           case MINUS_EXPR:
    3214                 :         156 :             {
    3215                 :         156 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3216                 :         156 :               tree _q31 = TREE_OPERAND (_q20, 1);
    3217                 :         156 :               if (integer_each_onep (_q31))
    3218                 :             :                 {
    3219                 :          28 :                   {
    3220                 :          28 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    3221                 :          28 :                     tree res = generic_simplify_425 (loc, type, _p0, captures);
    3222                 :          28 :                     if (res) return res;
    3223                 :             :                   }
    3224                 :             :                 }
    3225                 :             :               break;
    3226                 :             :             }
    3227                 :       43576 :           case PLUS_EXPR:
    3228                 :       43576 :             {
    3229                 :       43576 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3230                 :       43576 :               tree _q31 = TREE_OPERAND (_q20, 1);
    3231                 :       43576 :               if (integer_all_onesp (_q31))
    3232                 :             :                 {
    3233                 :        3766 :                   {
    3234                 :        3766 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    3235                 :        3766 :                     tree res = generic_simplify_427 (loc, type, _p0, captures);
    3236                 :        3766 :                     if (res) return res;
    3237                 :             :                   }
    3238                 :             :                 }
    3239                 :             :               break;
    3240                 :             :             }
    3241                 :         145 :           case BIT_XOR_EXPR:
    3242                 :         145 :             {
    3243                 :         145 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3244                 :         145 :               tree _q31 = TREE_OPERAND (_q20, 1);
    3245                 :         145 :               switch (TREE_CODE (_q31))
    3246                 :             :                 {
    3247                 :           7 :                 case INTEGER_CST:
    3248                 :           7 :                   {
    3249                 :           7 :                     {
    3250                 :           7 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    3251                 :           7 :                       tree res = generic_simplify_430 (loc, type, _p0, captures);
    3252                 :           7 :                       if (res) return res;
    3253                 :             :                     }
    3254                 :           0 :                     break;
    3255                 :             :                   }
    3256                 :         138 :                 default:;
    3257                 :             :                 }
    3258                 :         138 :               switch (TREE_CODE (_q30))
    3259                 :             :                 {
    3260                 :           0 :                 case BIT_NOT_EXPR:
    3261                 :           0 :                   {
    3262                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    3263                 :           0 :                     {
    3264                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q31 };
    3265                 :           0 :                       tree res = generic_simplify_431 (loc, type, _p0, captures);
    3266                 :           0 :                       if (res) return res;
    3267                 :             :                     }
    3268                 :           0 :                     break;
    3269                 :             :                   }
    3270                 :         138 :                 default:;
    3271                 :             :                 }
    3272                 :         138 :               switch (TREE_CODE (_q31))
    3273                 :             :                 {
    3274                 :           0 :                 case BIT_NOT_EXPR:
    3275                 :           0 :                   {
    3276                 :           0 :                     tree _q50 = TREE_OPERAND (_q31, 0);
    3277                 :           0 :                     {
    3278                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
    3279                 :           0 :                       tree res = generic_simplify_431 (loc, type, _p0, captures);
    3280                 :           0 :                       if (res) return res;
    3281                 :             :                     }
    3282                 :           0 :                     break;
    3283                 :             :                   }
    3284                 :             :                 default:;
    3285                 :             :                 }
    3286                 :             :               break;
    3287                 :             :             }
    3288                 :          94 :           case RSHIFT_EXPR:
    3289                 :          94 :             {
    3290                 :          94 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3291                 :          94 :               tree _q31 = TREE_OPERAND (_q20, 1);
    3292                 :          94 :               switch (TREE_CODE (_q30))
    3293                 :             :                 {
    3294                 :          17 :                 CASE_CONVERT:
    3295                 :          17 :                   {
    3296                 :          17 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    3297                 :          17 :                     switch (TREE_CODE (_q40))
    3298                 :             :                       {
    3299                 :           1 :                       case BIT_NOT_EXPR:
    3300                 :           1 :                         {
    3301                 :           1 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    3302                 :           1 :                           {
    3303                 :           1 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50, _q31 };
    3304                 :           1 :                             tree res = generic_simplify_432 (loc, type, _p0, captures);
    3305                 :           1 :                             if (res) return res;
    3306                 :             :                           }
    3307                 :           0 :                           break;
    3308                 :             :                         }
    3309                 :             :                       default:;
    3310                 :             :                       }
    3311                 :             :                     break;
    3312                 :             :                   }
    3313                 :           3 :                 case BIT_NOT_EXPR:
    3314                 :           3 :                   {
    3315                 :           3 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    3316                 :           3 :                     {
    3317                 :           3 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q31 };
    3318                 :           3 :                       tree res = generic_simplify_432 (loc, type, _p0, captures);
    3319                 :           3 :                       if (res) return res;
    3320                 :             :                     }
    3321                 :           1 :                     break;
    3322                 :             :                   }
    3323                 :             :                 default:;
    3324                 :             :                 }
    3325                 :             :               break;
    3326                 :             :             }
    3327                 :           0 :           case LROTATE_EXPR:
    3328                 :           0 :             {
    3329                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3330                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    3331                 :           0 :               switch (TREE_CODE (_q30))
    3332                 :             :                 {
    3333                 :           0 :                 CASE_CONVERT:
    3334                 :           0 :                   {
    3335                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    3336                 :           0 :                     switch (TREE_CODE (_q40))
    3337                 :             :                       {
    3338                 :           0 :                       case BIT_NOT_EXPR:
    3339                 :           0 :                         {
    3340                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    3341                 :           0 :                           {
    3342                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50, _q31 };
    3343                 :           0 :                             tree res = generic_simplify_433 (loc, type, _p0, captures, LROTATE_EXPR);
    3344                 :           0 :                             if (res) return res;
    3345                 :             :                           }
    3346                 :           0 :                           break;
    3347                 :             :                         }
    3348                 :             :                       default:;
    3349                 :             :                       }
    3350                 :             :                     break;
    3351                 :             :                   }
    3352                 :           0 :                 case BIT_NOT_EXPR:
    3353                 :           0 :                   {
    3354                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    3355                 :           0 :                     {
    3356                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q31 };
    3357                 :           0 :                       tree res = generic_simplify_433 (loc, type, _p0, captures, LROTATE_EXPR);
    3358                 :           0 :                       if (res) return res;
    3359                 :             :                     }
    3360                 :           0 :                     break;
    3361                 :             :                   }
    3362                 :             :                 default:;
    3363                 :             :                 }
    3364                 :             :               break;
    3365                 :             :             }
    3366                 :           0 :           case RROTATE_EXPR:
    3367                 :           0 :             {
    3368                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3369                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    3370                 :           0 :               switch (TREE_CODE (_q30))
    3371                 :             :                 {
    3372                 :           0 :                 CASE_CONVERT:
    3373                 :           0 :                   {
    3374                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    3375                 :           0 :                     switch (TREE_CODE (_q40))
    3376                 :             :                       {
    3377                 :           0 :                       case BIT_NOT_EXPR:
    3378                 :           0 :                         {
    3379                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    3380                 :           0 :                           {
    3381                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50, _q31 };
    3382                 :           0 :                             tree res = generic_simplify_433 (loc, type, _p0, captures, RROTATE_EXPR);
    3383                 :           0 :                             if (res) return res;
    3384                 :             :                           }
    3385                 :           0 :                           break;
    3386                 :             :                         }
    3387                 :             :                       default:;
    3388                 :             :                       }
    3389                 :             :                     break;
    3390                 :             :                   }
    3391                 :           0 :                 case BIT_NOT_EXPR:
    3392                 :           0 :                   {
    3393                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    3394                 :           0 :                     {
    3395                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q31 };
    3396                 :           0 :                       tree res = generic_simplify_433 (loc, type, _p0, captures, RROTATE_EXPR);
    3397                 :           0 :                       if (res) return res;
    3398                 :             :                     }
    3399                 :           0 :                     break;
    3400                 :             :                   }
    3401                 :             :                 default:;
    3402                 :             :                 }
    3403                 :             :               break;
    3404                 :             :             }
    3405                 :             :           default:;
    3406                 :             :           }
    3407                 :             :         break;
    3408                 :             :       }
    3409                 :         133 :     case NEGATE_EXPR:
    3410                 :         133 :       {
    3411                 :         133 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3412                 :         133 :         {
    3413                 :         133 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    3414                 :         133 :           tree res = generic_simplify_429 (loc, type, _p0, captures);
    3415                 :         133 :           if (res) return res;
    3416                 :             :         }
    3417                 :           0 :         break;
    3418                 :             :       }
    3419                 :         540 :     case BIT_XOR_EXPR:
    3420                 :         540 :       {
    3421                 :         540 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3422                 :         540 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3423                 :         540 :         switch (TREE_CODE (_q21))
    3424                 :             :           {
    3425                 :          22 :           case INTEGER_CST:
    3426                 :          22 :             {
    3427                 :          22 :               {
    3428                 :          22 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3429                 :          22 :                 tree res = generic_simplify_430 (loc, type, _p0, captures);
    3430                 :          22 :                 if (res) return res;
    3431                 :             :               }
    3432                 :           0 :               break;
    3433                 :             :             }
    3434                 :         518 :           default:;
    3435                 :             :           }
    3436                 :         518 :         switch (TREE_CODE (_q20))
    3437                 :             :           {
    3438                 :           0 :           case BIT_NOT_EXPR:
    3439                 :           0 :             {
    3440                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3441                 :           0 :               {
    3442                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    3443                 :           0 :                 tree res = generic_simplify_431 (loc, type, _p0, captures);
    3444                 :           0 :                 if (res) return res;
    3445                 :             :               }
    3446                 :           0 :               break;
    3447                 :             :             }
    3448                 :         518 :           default:;
    3449                 :             :           }
    3450                 :         518 :         switch (TREE_CODE (_q21))
    3451                 :             :           {
    3452                 :           0 :           case BIT_NOT_EXPR:
    3453                 :           0 :             {
    3454                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
    3455                 :           0 :               {
    3456                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    3457                 :           0 :                 tree res = generic_simplify_431 (loc, type, _p0, captures);
    3458                 :           0 :                 if (res) return res;
    3459                 :             :               }
    3460                 :           0 :               break;
    3461                 :             :             }
    3462                 :         518 :           default:;
    3463                 :             :           }
    3464                 :         518 :         if (tree_truth_valued_p (_q20))
    3465                 :             :           {
    3466                 :          31 :             if (tree_truth_valued_p (_q21))
    3467                 :             :               {
    3468                 :           7 :                 {
    3469                 :           7 :                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    3470                 :          14 :                   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3471                 :          14 :  && TYPE_PRECISION (TREE_TYPE (captures[1])) == 1
    3472                 :             : )
    3473                 :             :                     {
    3474                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail984;
    3475                 :           0 :                       {
    3476                 :           0 :                         tree res_op0;
    3477                 :           0 :                         {
    3478                 :           0 :                           tree _o1[2], _r1;
    3479                 :           0 :                           _o1[0] = captures[1];
    3480                 :           0 :                           _o1[1] = captures[2];
    3481                 :           0 :                           _r1 = fold_build2_loc (loc, EQ_EXPR, boolean_type_node, _o1[0], _o1[1]);
    3482                 :           0 :                           res_op0 = _r1;
    3483                 :             :                         }
    3484                 :           0 :                         tree _r;
    3485                 :           0 :                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3486                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 758, __FILE__, __LINE__, true);
    3487                 :           0 :                         return _r;
    3488                 :             :                       }
    3489                 :           0 : next_after_fail984:;
    3490                 :             :                     }
    3491                 :             :                 }
    3492                 :             :               }
    3493                 :             :           }
    3494                 :             :         break;
    3495                 :             :       }
    3496                 :           0 :     case MIN_EXPR:
    3497                 :           0 :       {
    3498                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3499                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3500                 :           0 :         switch (TREE_CODE (_q20))
    3501                 :             :           {
    3502                 :           0 :           case BIT_NOT_EXPR:
    3503                 :           0 :             {
    3504                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3505                 :           0 :               {
    3506                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q21 };
    3507                 :           0 :                 tree res = generic_simplify_434 (loc, type, _p0, captures, MIN_EXPR, MAX_EXPR);
    3508                 :           0 :                 if (res) return res;
    3509                 :             :               }
    3510                 :           0 :               break;
    3511                 :             :             }
    3512                 :           0 :           default:;
    3513                 :             :           }
    3514                 :           0 :         switch (TREE_CODE (_q21))
    3515                 :             :           {
    3516                 :           0 :           case BIT_NOT_EXPR:
    3517                 :           0 :             {
    3518                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
    3519                 :           0 :               {
    3520                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q20 };
    3521                 :           0 :                 tree res = generic_simplify_434 (loc, type, _p0, captures, MIN_EXPR, MAX_EXPR);
    3522                 :           0 :                 if (res) return res;
    3523                 :             :               }
    3524                 :           0 :               break;
    3525                 :             :             }
    3526                 :             :           default:;
    3527                 :             :           }
    3528                 :             :         break;
    3529                 :             :       }
    3530                 :           0 :     case MAX_EXPR:
    3531                 :           0 :       {
    3532                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3533                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3534                 :           0 :         switch (TREE_CODE (_q20))
    3535                 :             :           {
    3536                 :           0 :           case BIT_NOT_EXPR:
    3537                 :           0 :             {
    3538                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3539                 :           0 :               {
    3540                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q21 };
    3541                 :           0 :                 tree res = generic_simplify_434 (loc, type, _p0, captures, MAX_EXPR, MIN_EXPR);
    3542                 :           0 :                 if (res) return res;
    3543                 :             :               }
    3544                 :           0 :               break;
    3545                 :             :             }
    3546                 :           0 :           default:;
    3547                 :             :           }
    3548                 :           0 :         switch (TREE_CODE (_q21))
    3549                 :             :           {
    3550                 :           0 :           case BIT_NOT_EXPR:
    3551                 :           0 :             {
    3552                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
    3553                 :           0 :               {
    3554                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q20 };
    3555                 :           0 :                 tree res = generic_simplify_434 (loc, type, _p0, captures, MAX_EXPR, MIN_EXPR);
    3556                 :           0 :                 if (res) return res;
    3557                 :             :               }
    3558                 :           0 :               break;
    3559                 :             :             }
    3560                 :             :           default:;
    3561                 :             :           }
    3562                 :             :         break;
    3563                 :             :       }
    3564                 :           1 :     case LROTATE_EXPR:
    3565                 :           1 :       {
    3566                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3567                 :           1 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3568                 :           1 :         switch (TREE_CODE (_q20))
    3569                 :             :           {
    3570                 :           0 :           CASE_CONVERT:
    3571                 :           0 :             {
    3572                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3573                 :           0 :               switch (TREE_CODE (_q30))
    3574                 :             :                 {
    3575                 :           0 :                 case BIT_NOT_EXPR:
    3576                 :           0 :                   {
    3577                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    3578                 :           0 :                     {
    3579                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40, _q21 };
    3580                 :           0 :                       tree res = generic_simplify_435 (loc, type, _p0, captures, LROTATE_EXPR);
    3581                 :           0 :                       if (res) return res;
    3582                 :             :                     }
    3583                 :           0 :                     break;
    3584                 :             :                   }
    3585                 :             :                 default:;
    3586                 :             :                 }
    3587                 :             :               break;
    3588                 :             :             }
    3589                 :           1 :           case BIT_NOT_EXPR:
    3590                 :           1 :             {
    3591                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3592                 :           1 :               {
    3593                 :           1 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q30, _q21 };
    3594                 :           1 :                 tree res = generic_simplify_435 (loc, type, _p0, captures, LROTATE_EXPR);
    3595                 :           1 :                 if (res) return res;
    3596                 :             :               }
    3597                 :           0 :               break;
    3598                 :             :             }
    3599                 :             :           default:;
    3600                 :             :           }
    3601                 :             :         break;
    3602                 :             :       }
    3603                 :           1 :     case RROTATE_EXPR:
    3604                 :           1 :       {
    3605                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3606                 :           1 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3607                 :           1 :         switch (TREE_CODE (_q20))
    3608                 :             :           {
    3609                 :           0 :           CASE_CONVERT:
    3610                 :           0 :             {
    3611                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3612                 :           0 :               switch (TREE_CODE (_q30))
    3613                 :             :                 {
    3614                 :           0 :                 case BIT_NOT_EXPR:
    3615                 :           0 :                   {
    3616                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    3617                 :           0 :                     {
    3618                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40, _q21 };
    3619                 :           0 :                       tree res = generic_simplify_435 (loc, type, _p0, captures, RROTATE_EXPR);
    3620                 :           0 :                       if (res) return res;
    3621                 :             :                     }
    3622                 :           0 :                     break;
    3623                 :             :                   }
    3624                 :             :                 default:;
    3625                 :             :                 }
    3626                 :             :               break;
    3627                 :             :             }
    3628                 :           1 :           case BIT_NOT_EXPR:
    3629                 :           1 :             {
    3630                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3631                 :           1 :               {
    3632                 :           1 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q30, _q21 };
    3633                 :           1 :                 tree res = generic_simplify_435 (loc, type, _p0, captures, RROTATE_EXPR);
    3634                 :           1 :                 if (res) return res;
    3635                 :             :               }
    3636                 :           0 :               break;
    3637                 :             :             }
    3638                 :             :           default:;
    3639                 :             :           }
    3640                 :             :         break;
    3641                 :             :       }
    3642                 :          31 :     case VEC_COND_EXPR:
    3643                 :          31 :       {
    3644                 :          31 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3645                 :          31 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3646                 :          31 :         tree _q22 = TREE_OPERAND (_p0, 2);
    3647                 :          31 :         {
    3648                 :          31 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    3649                 :          31 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail985;
    3650                 :          31 :           {
    3651                 :          31 :             tree res_op0;
    3652                 :          31 :             res_op0 = captures[1];
    3653                 :          31 :             tree res_op1;
    3654                 :          31 :             {
    3655                 :          31 :               tree _o1[1], _r1;
    3656                 :          31 :               _o1[0] = captures[2];
    3657                 :          31 :               _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3658                 :          31 :               if (EXPR_P (_r1))
    3659                 :           0 :                 goto next_after_fail985;
    3660                 :          31 :               res_op1 = _r1;
    3661                 :             :             }
    3662                 :          31 :             tree res_op2;
    3663                 :          31 :             {
    3664                 :          31 :               tree _o1[1], _r1;
    3665                 :          31 :               _o1[0] = captures[3];
    3666                 :          31 :               _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3667                 :          31 :               if (EXPR_P (_r1))
    3668                 :           0 :                 goto next_after_fail985;
    3669                 :          31 :               res_op2 = _r1;
    3670                 :             :             }
    3671                 :          31 :             tree _r;
    3672                 :          31 :             _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    3673                 :          31 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 734, __FILE__, __LINE__, true);
    3674                 :          31 :             return _r;
    3675                 :             :           }
    3676                 :           0 : next_after_fail985:;
    3677                 :             :         }
    3678                 :           0 :         break;
    3679                 :             :       }
    3680                 :           3 :     case LT_EXPR:
    3681                 :           3 :       {
    3682                 :           3 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3683                 :           3 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3684                 :           3 :         {
    3685                 :           3 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3686                 :           3 :           tree res = generic_simplify_436 (loc, type, _p0, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
    3687                 :           3 :           if (res) return res;
    3688                 :             :         }
    3689                 :           3 :         break;
    3690                 :             :       }
    3691                 :           0 :     case LE_EXPR:
    3692                 :           0 :       {
    3693                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3694                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3695                 :           0 :         {
    3696                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3697                 :           0 :           tree res = generic_simplify_436 (loc, type, _p0, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
    3698                 :           0 :           if (res) return res;
    3699                 :             :         }
    3700                 :           0 :         break;
    3701                 :             :       }
    3702                 :          62 :     case EQ_EXPR:
    3703                 :          62 :       {
    3704                 :          62 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3705                 :          62 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3706                 :          62 :         {
    3707                 :          62 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3708                 :          62 :           tree res = generic_simplify_436 (loc, type, _p0, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
    3709                 :          62 :           if (res) return res;
    3710                 :             :         }
    3711                 :          61 :         break;
    3712                 :             :       }
    3713                 :         119 :     case NE_EXPR:
    3714                 :         119 :       {
    3715                 :         119 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3716                 :         119 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3717                 :         119 :         {
    3718                 :         119 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3719                 :         119 :           tree res = generic_simplify_436 (loc, type, _p0, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
    3720                 :         119 :           if (res) return res;
    3721                 :             :         }
    3722                 :         113 :         break;
    3723                 :             :       }
    3724                 :           0 :     case GE_EXPR:
    3725                 :           0 :       {
    3726                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3727                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3728                 :           0 :         {
    3729                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3730                 :           0 :           tree res = generic_simplify_436 (loc, type, _p0, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
    3731                 :           0 :           if (res) return res;
    3732                 :             :         }
    3733                 :           0 :         break;
    3734                 :             :       }
    3735                 :          56 :     case GT_EXPR:
    3736                 :          56 :       {
    3737                 :          56 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3738                 :          56 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3739                 :          56 :         {
    3740                 :          56 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3741                 :          56 :           tree res = generic_simplify_436 (loc, type, _p0, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
    3742                 :          56 :           if (res) return res;
    3743                 :             :         }
    3744                 :          56 :         break;
    3745                 :             :       }
    3746                 :           0 :     case UNORDERED_EXPR:
    3747                 :           0 :       {
    3748                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3749                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3750                 :           0 :         {
    3751                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3752                 :           0 :           tree res = generic_simplify_436 (loc, type, _p0, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
    3753                 :           0 :           if (res) return res;
    3754                 :             :         }
    3755                 :           0 :         break;
    3756                 :             :       }
    3757                 :           0 :     case ORDERED_EXPR:
    3758                 :           0 :       {
    3759                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3760                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3761                 :           0 :         {
    3762                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3763                 :           0 :           tree res = generic_simplify_436 (loc, type, _p0, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
    3764                 :           0 :           if (res) return res;
    3765                 :             :         }
    3766                 :           0 :         break;
    3767                 :             :       }
    3768                 :           0 :     case UNLT_EXPR:
    3769                 :           0 :       {
    3770                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3771                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3772                 :           0 :         {
    3773                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3774                 :           0 :           tree res = generic_simplify_436 (loc, type, _p0, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
    3775                 :           0 :           if (res) return res;
    3776                 :             :         }
    3777                 :           0 :         break;
    3778                 :             :       }
    3779                 :           0 :     case UNLE_EXPR:
    3780                 :           0 :       {
    3781                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3782                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3783                 :           0 :         {
    3784                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3785                 :           0 :           tree res = generic_simplify_436 (loc, type, _p0, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
    3786                 :           0 :           if (res) return res;
    3787                 :             :         }
    3788                 :           0 :         break;
    3789                 :             :       }
    3790                 :           0 :     case UNGT_EXPR:
    3791                 :           0 :       {
    3792                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3793                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3794                 :           0 :         {
    3795                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3796                 :           0 :           tree res = generic_simplify_436 (loc, type, _p0, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
    3797                 :           0 :           if (res) return res;
    3798                 :             :         }
    3799                 :           0 :         break;
    3800                 :             :       }
    3801                 :           0 :     case UNGE_EXPR:
    3802                 :           0 :       {
    3803                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3804                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3805                 :           0 :         {
    3806                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3807                 :           0 :           tree res = generic_simplify_436 (loc, type, _p0, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
    3808                 :           0 :           if (res) return res;
    3809                 :             :         }
    3810                 :           0 :         break;
    3811                 :             :       }
    3812                 :           0 :     case UNEQ_EXPR:
    3813                 :           0 :       {
    3814                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3815                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3816                 :           0 :         {
    3817                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3818                 :           0 :           tree res = generic_simplify_436 (loc, type, _p0, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
    3819                 :           0 :           if (res) return res;
    3820                 :             :         }
    3821                 :           0 :         break;
    3822                 :             :       }
    3823                 :           0 :     case LTGT_EXPR:
    3824                 :           0 :       {
    3825                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3826                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3827                 :           0 :         {
    3828                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3829                 :           0 :           tree res = generic_simplify_436 (loc, type, _p0, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
    3830                 :           0 :           if (res) return res;
    3831                 :             :         }
    3832                 :           0 :         break;
    3833                 :             :       }
    3834                 :             :     default:;
    3835                 :             :     }
    3836                 :             :   return NULL_TREE;
    3837                 :             : }
    3838                 :             : 
    3839                 :             : tree
    3840                 :     1825595 : generic_simplify_TRUNC_DIV_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    3841                 :             : {
    3842                 :     1825595 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3843                 :     1825595 :   if (integer_onep (_p1))
    3844                 :             :     {
    3845                 :       16493 :       {
    3846                 :       16493 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    3847                 :       16493 :         tree res = generic_simplify_164 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    3848                 :       16493 :         if (res) return res;
    3849                 :             :       }
    3850                 :             :     }
    3851                 :     1809102 :   switch (TREE_CODE (_p0))
    3852                 :             :     {
    3853                 :       84269 :     CASE_CONVERT:
    3854                 :       84269 :       {
    3855                 :       84269 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3856                 :       84269 :         switch (TREE_CODE (_p1))
    3857                 :             :           {
    3858                 :       33866 :           CASE_CONVERT:
    3859                 :       33866 :             {
    3860                 :       33866 :               tree _q40 = TREE_OPERAND (_p1, 0);
    3861                 :       33866 :               switch (TREE_CODE (_q40))
    3862                 :             :                 {
    3863                 :           0 :                 case LSHIFT_EXPR:
    3864                 :           0 :                   {
    3865                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    3866                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    3867                 :           0 :                     if (integer_onep (_q50))
    3868                 :             :                       {
    3869                 :           0 :                         {
    3870                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q50, _q51 };
    3871                 :           0 :                           tree res = generic_simplify_281 (loc, type, _p0, _p1, captures);
    3872                 :           0 :                           if (res) return res;
    3873                 :             :                         }
    3874                 :             :                       }
    3875                 :             :                     break;
    3876                 :             :                   }
    3877                 :             :                 default:;
    3878                 :             :                 }
    3879                 :             :               break;
    3880                 :             :             }
    3881                 :           8 :           case LSHIFT_EXPR:
    3882                 :           8 :             {
    3883                 :           8 :               tree _q40 = TREE_OPERAND (_p1, 0);
    3884                 :           8 :               tree _q41 = TREE_OPERAND (_p1, 1);
    3885                 :           8 :               if (integer_onep (_q40))
    3886                 :             :                 {
    3887                 :           7 :                   {
    3888                 :           7 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q41 };
    3889                 :           7 :                     tree res = generic_simplify_281 (loc, type, _p0, _p1, captures);
    3890                 :           7 :                     if (res) return res;
    3891                 :             :                   }
    3892                 :             :                 }
    3893                 :             :               break;
    3894                 :             :             }
    3895                 :             :           default:;
    3896                 :             :           }
    3897                 :             :         break;
    3898                 :             :       }
    3899                 :     1809102 :     default:;
    3900                 :             :     }
    3901                 :     1809102 :   switch (TREE_CODE (_p1))
    3902                 :             :     {
    3903                 :      104920 :     CASE_CONVERT:
    3904                 :      104920 :       {
    3905                 :      104920 :         tree _q30 = TREE_OPERAND (_p1, 0);
    3906                 :      104920 :         switch (TREE_CODE (_q30))
    3907                 :             :           {
    3908                 :           7 :           case LSHIFT_EXPR:
    3909                 :           7 :             {
    3910                 :           7 :               tree _q40 = TREE_OPERAND (_q30, 0);
    3911                 :           7 :               tree _q41 = TREE_OPERAND (_q30, 1);
    3912                 :           7 :               if (integer_onep (_q40))
    3913                 :             :                 {
    3914                 :           7 :                   {
    3915                 :           7 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q40, _q41 };
    3916                 :           7 :                     tree res = generic_simplify_282 (loc, type, _p0, _p1, captures);
    3917                 :           7 :                     if (res) return res;
    3918                 :             :                   }
    3919                 :             :                 }
    3920                 :             :               break;
    3921                 :             :             }
    3922                 :             :           default:;
    3923                 :             :           }
    3924                 :             :         break;
    3925                 :             :       }
    3926                 :          36 :     case LSHIFT_EXPR:
    3927                 :          36 :       {
    3928                 :          36 :         tree _q30 = TREE_OPERAND (_p1, 0);
    3929                 :          36 :         tree _q31 = TREE_OPERAND (_p1, 1);
    3930                 :          36 :         if (integer_onep (_q30))
    3931                 :             :           {
    3932                 :          19 :             {
    3933                 :          19 :               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q30, _q31 };
    3934                 :          19 :               tree res = generic_simplify_282 (loc, type, _p0, _p1, captures);
    3935                 :          19 :               if (res) return res;
    3936                 :             :             }
    3937                 :             :           }
    3938                 :             :         break;
    3939                 :             :       }
    3940                 :     1809090 :     default:;
    3941                 :             :     }
    3942                 :     1809090 :   if (integer_zerop (_p0))
    3943                 :             :     {
    3944                 :        2479 :       {
    3945                 :        2479 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    3946                 :        2479 :         tree res = generic_simplify_283 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    3947                 :        2479 :         if (res) return res;
    3948                 :             :       }
    3949                 :             :     }
    3950                 :     1807431 :   switch (TREE_CODE (_p1))
    3951                 :             :     {
    3952                 :       11801 :     case SSA_NAME:
    3953                 :       11801 :       {
    3954                 :       11801 :         {
    3955                 :       11801 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    3956                 :       11801 :           tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    3957                 :       11801 :           if (res) return res;
    3958                 :             :         }
    3959                 :       11801 :         break;
    3960                 :             :       }
    3961                 :     1807431 :     default:;
    3962                 :             :     }
    3963                 :     1807431 : if (integer_minus_onep (_p1))
    3964                 :             :   {
    3965                 :        2260 :     {
    3966                 :        2260 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    3967                 :        2260 :       tree res = generic_simplify_284 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    3968                 :        2260 :       if (res) return res;
    3969                 :             :     }
    3970                 :             :   }
    3971                 :     1805773 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    3972                 :             :     {
    3973                 :        1096 :       {
    3974                 :        1096 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    3975                 :        1096 :         tree res = generic_simplify_286 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    3976                 :        1096 :         if (res) return res;
    3977                 :             :       }
    3978                 :             :     }
    3979                 :     1805653 :   switch (TREE_CODE (_p1))
    3980                 :             :     {
    3981                 :           1 :     case ABS_EXPR:
    3982                 :           1 :       {
    3983                 :           1 :         tree _q30 = TREE_OPERAND (_p1, 0);
    3984                 :           1 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    3985                 :             :           {
    3986                 :           1 :             {
    3987                 :           1 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    3988                 :           1 :               tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    3989                 :           1 :               if (res) return res;
    3990                 :             :             }
    3991                 :             :           }
    3992                 :             :         break;
    3993                 :             :       }
    3994                 :     1805652 :     default:;
    3995                 :             :     }
    3996                 :     1805652 :   switch (TREE_CODE (_p0))
    3997                 :             :     {
    3998                 :           0 :     case ABS_EXPR:
    3999                 :           0 :       {
    4000                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4001                 :           0 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    4002                 :             :           {
    4003                 :           0 :             {
    4004                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4005                 :           0 :               tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    4006                 :           0 :               if (res) return res;
    4007                 :             :             }
    4008                 :             :           }
    4009                 :             :         break;
    4010                 :             :       }
    4011                 :     1805652 :     default:;
    4012                 :             :     }
    4013                 :     1805652 :   switch (TREE_CODE (_p1))
    4014                 :             :     {
    4015                 :         614 :     case NEGATE_EXPR:
    4016                 :         614 :       {
    4017                 :         614 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4018                 :         614 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    4019                 :             :           {
    4020                 :           1 :             {
    4021                 :           1 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4022                 :           1 :               tree res = generic_simplify_288 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    4023                 :           1 :               if (res) return res;
    4024                 :             :             }
    4025                 :             :           }
    4026                 :             :         break;
    4027                 :             :       }
    4028                 :     1805651 :     default:;
    4029                 :             :     }
    4030                 :     1805651 :   switch (TREE_CODE (_p0))
    4031                 :             :     {
    4032                 :         367 :     case NEGATE_EXPR:
    4033                 :         367 :       {
    4034                 :         367 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4035                 :         367 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    4036                 :             :           {
    4037                 :           0 :             {
    4038                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4039                 :           0 :               tree res = generic_simplify_288 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    4040                 :           0 :               if (res) return res;
    4041                 :             :             }
    4042                 :             :           }
    4043                 :             :         break;
    4044                 :             :       }
    4045                 :        2049 :     case TRUNC_DIV_EXPR:
    4046                 :        2049 :       {
    4047                 :        2049 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4048                 :        2049 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4049                 :        2049 :         switch (TREE_CODE (_q21))
    4050                 :             :           {
    4051                 :        1969 :           case INTEGER_CST:
    4052                 :        1969 :             {
    4053                 :        1969 :               switch (TREE_CODE (_p1))
    4054                 :             :                 {
    4055                 :        1968 :                 case INTEGER_CST:
    4056                 :        1968 :                   {
    4057                 :        1968 :                     {
    4058                 :        1968 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    4059                 :        1968 :                       tree res = generic_simplify_289 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    4060                 :        1968 :                       if (res) return res;
    4061                 :             :                     }
    4062                 :        1968 :                     break;
    4063                 :             :                   }
    4064                 :             :                 default:;
    4065                 :             :                 }
    4066                 :             :               break;
    4067                 :             :             }
    4068                 :             :           default:;
    4069                 :             :           }
    4070                 :             :         break;
    4071                 :             :       }
    4072                 :       84222 :     CASE_CONVERT:
    4073                 :       84222 :       {
    4074                 :       84222 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4075                 :       84222 :         switch (TREE_CODE (_q20))
    4076                 :             :           {
    4077                 :           0 :           case BIT_AND_EXPR:
    4078                 :           0 :             {
    4079                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4080                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4081                 :           0 :               switch (TREE_CODE (_q31))
    4082                 :             :                 {
    4083                 :           0 :                 case INTEGER_CST:
    4084                 :           0 :                   {
    4085                 :           0 :                     switch (TREE_CODE (_p1))
    4086                 :             :                       {
    4087                 :           0 :                       case INTEGER_CST:
    4088                 :           0 :                         {
    4089                 :           0 :                           {
    4090                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    4091                 :           0 :                             tree res = generic_simplify_290 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    4092                 :           0 :                             if (res) return res;
    4093                 :             :                           }
    4094                 :           0 :                           break;
    4095                 :             :                         }
    4096                 :             :                       default:;
    4097                 :             :                       }
    4098                 :             :                     break;
    4099                 :             :                   }
    4100                 :             :                 default:;
    4101                 :             :                 }
    4102                 :             :               break;
    4103                 :             :             }
    4104                 :             :           default:;
    4105                 :             :           }
    4106                 :             :         break;
    4107                 :             :       }
    4108                 :       38837 :     case BIT_AND_EXPR:
    4109                 :       38837 :       {
    4110                 :       38837 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4111                 :       38837 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4112                 :       38837 :         switch (TREE_CODE (_q21))
    4113                 :             :           {
    4114                 :       38811 :           case INTEGER_CST:
    4115                 :       38811 :             {
    4116                 :       38811 :               switch (TREE_CODE (_p1))
    4117                 :             :                 {
    4118                 :       38807 :                 case INTEGER_CST:
    4119                 :       38807 :                   {
    4120                 :       38807 :                     {
    4121                 :       38807 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4122                 :       38807 :                       tree res = generic_simplify_290 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    4123                 :       38807 :                       if (res) return res;
    4124                 :             :                     }
    4125                 :       38806 :                     break;
    4126                 :             :                   }
    4127                 :             :                 default:;
    4128                 :             :                 }
    4129                 :             :               break;
    4130                 :             :             }
    4131                 :             :           default:;
    4132                 :             :           }
    4133                 :             :         break;
    4134                 :             :       }
    4135                 :       35084 :     case MULT_EXPR:
    4136                 :       35084 :       {
    4137                 :       35084 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4138                 :       35084 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4139                 :       35084 :         if (integer_pow2p (_q21))
    4140                 :             :           {
    4141                 :        5780 :             if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    4142                 :             :               {
    4143                 :        5574 :                 {
    4144                 :        5574 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4145                 :        5574 :                   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    4146                 :             : )
    4147                 :             :                     {
    4148                 :        5491 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1421;
    4149                 :        5491 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1421;
    4150                 :        5491 :                       {
    4151                 :        5491 :                         tree res_op0;
    4152                 :        5491 :                         res_op0 = captures[0];
    4153                 :        5491 :                         tree res_op1;
    4154                 :        5491 :                         res_op1 =  wide_int_to_tree
    4155                 :       10982 :  (type, wi::mask (TYPE_PRECISION (type)
    4156                 :        5491 :  - wi::exact_log2 (wi::to_wide (captures[1])),
    4157                 :        5491 :  false, TYPE_PRECISION (type)));
    4158                 :        5491 :                         tree _r;
    4159                 :        5491 :                         _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    4160                 :        5491 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 883, __FILE__, __LINE__, true);
    4161                 :        5491 :                         return _r;
    4162                 :             :                       }
    4163                 :          83 : next_after_fail1421:;
    4164                 :             :                     }
    4165                 :             :                 }
    4166                 :             :               }
    4167                 :             :           }
    4168                 :       29593 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    4169                 :             :           {
    4170                 :          99 :             {
    4171                 :          99 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4172                 :          99 :               tree res = generic_simplify_291 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    4173                 :          99 :               if (res) return res;
    4174                 :             :             }
    4175                 :             :           }
    4176                 :       29503 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    4177                 :             :           {
    4178                 :          25 :             {
    4179                 :          25 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    4180                 :          25 :               tree res = generic_simplify_291 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    4181                 :          25 :               if (res) return res;
    4182                 :             :             }
    4183                 :             :           }
    4184                 :       29494 :         switch (TREE_CODE (_q21))
    4185                 :             :           {
    4186                 :       29207 :           case INTEGER_CST:
    4187                 :       29207 :             {
    4188                 :       29207 :               switch (TREE_CODE (_p1))
    4189                 :             :                 {
    4190                 :           3 :                 case MULT_EXPR:
    4191                 :           3 :                   {
    4192                 :           3 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    4193                 :           3 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    4194                 :           3 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4195                 :             :                       {
    4196                 :           3 :                         switch (TREE_CODE (_q51))
    4197                 :             :                           {
    4198                 :           3 :                           case INTEGER_CST:
    4199                 :           3 :                             {
    4200                 :           3 :                               {
    4201                 :           3 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    4202                 :           3 :                                 tree res = generic_simplify_292 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR);
    4203                 :           3 :                                 if (res) return res;
    4204                 :             :                               }
    4205                 :           0 :                               break;
    4206                 :             :                             }
    4207                 :             :                           default:;
    4208                 :             :                           }
    4209                 :             :                       }
    4210                 :             :                     break;
    4211                 :             :                   }
    4212                 :             :                 default:;
    4213                 :             :                 }
    4214                 :             :               break;
    4215                 :             :             }
    4216                 :             :           default:;
    4217                 :             :           }
    4218                 :             :         break;
    4219                 :             :       }
    4220                 :           0 :     case VEC_COND_EXPR:
    4221                 :           0 :       {
    4222                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4223                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4224                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    4225                 :           0 :         switch (TREE_CODE (_p1))
    4226                 :             :           {
    4227                 :           0 :           case VEC_COND_EXPR:
    4228                 :           0 :             {
    4229                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    4230                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    4231                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    4232                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4233                 :             :                 {
    4234                 :           0 :                   {
    4235                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    4236                 :           0 :                     if (TREE_CODE_CLASS (TRUNC_DIV_EXPR) != tcc_comparison
    4237                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    4238                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    4239                 :             :  || (optimize_vectors_before_lowering_p ()
    4240                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    4241                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
    4242                 :             : )
    4243                 :             :                       {
    4244                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1422;
    4245                 :           0 :                         {
    4246                 :           0 :                           tree res_op0;
    4247                 :           0 :                           res_op0 = captures[1];
    4248                 :           0 :                           tree res_op1;
    4249                 :           0 :                           {
    4250                 :           0 :                             tree _o1[2], _r1;
    4251                 :           0 :                             _o1[0] = captures[2];
    4252                 :           0 :                             _o1[1] = captures[5];
    4253                 :           0 :                             _r1 = fold_build2_loc (loc, TRUNC_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4254                 :           0 :                             if (EXPR_P (_r1))
    4255                 :           0 :                               goto next_after_fail1422;
    4256                 :           0 :                             res_op1 = _r1;
    4257                 :             :                           }
    4258                 :           0 :                           tree res_op2;
    4259                 :           0 :                           {
    4260                 :           0 :                             tree _o1[2], _r1;
    4261                 :           0 :                             _o1[0] = captures[3];
    4262                 :           0 :                             _o1[1] = captures[6];
    4263                 :           0 :                             _r1 = fold_build2_loc (loc, TRUNC_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4264                 :           0 :                             if (EXPR_P (_r1))
    4265                 :           0 :                               goto next_after_fail1422;
    4266                 :           0 :                             res_op2 = _r1;
    4267                 :             :                           }
    4268                 :           0 :                           tree _r;
    4269                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4270                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
    4271                 :           0 :                           return _r;
    4272                 :             :                         }
    4273                 :           0 : next_after_fail1422:;
    4274                 :             :                       }
    4275                 :             :                   }
    4276                 :             :                 }
    4277                 :             :               break;
    4278                 :             :             }
    4279                 :           0 :           default:;
    4280                 :             :           }
    4281                 :           0 :         {
    4282                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    4283                 :           0 :           if (TREE_CODE_CLASS (TRUNC_DIV_EXPR) != tcc_comparison
    4284                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    4285                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    4286                 :             :  || (optimize_vectors_before_lowering_p ()
    4287                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    4288                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
    4289                 :             : )
    4290                 :             :             {
    4291                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1423;
    4292                 :           0 :               {
    4293                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1423;
    4294                 :           0 :                 tree res_op0;
    4295                 :           0 :                 res_op0 = captures[1];
    4296                 :           0 :                 tree res_op1;
    4297                 :           0 :                 {
    4298                 :           0 :                   tree _o1[2], _r1;
    4299                 :           0 :                   _o1[0] = captures[2];
    4300                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
    4301                 :           0 :                   _r1 = fold_build2_loc (loc, TRUNC_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4302                 :           0 :                   if (EXPR_P (_r1))
    4303                 :           0 :                     goto next_after_fail1423;
    4304                 :           0 :                   res_op1 = _r1;
    4305                 :             :                 }
    4306                 :           0 :                 tree res_op2;
    4307                 :           0 :                 {
    4308                 :           0 :                   tree _o1[2], _r1;
    4309                 :           0 :                   _o1[0] = captures[3];
    4310                 :           0 :                   _o1[1] = captures[4];
    4311                 :           0 :                   _r1 = fold_build2_loc (loc, TRUNC_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4312                 :           0 :                   if (EXPR_P (_r1))
    4313                 :           0 :                     goto next_after_fail1423;
    4314                 :           0 :                   res_op2 = _r1;
    4315                 :             :                 }
    4316                 :           0 :                 tree _r;
    4317                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4318                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
    4319                 :           0 :                 return _r;
    4320                 :             :               }
    4321                 :           0 : next_after_fail1423:;
    4322                 :             :             }
    4323                 :             :         }
    4324                 :           0 :         break;
    4325                 :             :       }
    4326                 :     1800057 :     default:;
    4327                 :             :     }
    4328                 :     1800057 : if (integer_onep (_p0))
    4329                 :             :   {
    4330                 :        1229 :     {
    4331                 :        1229 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    4332                 :        1229 :       if (INTEGRAL_TYPE_P (type)
    4333                 :        1225 :  && TYPE_PRECISION (type) > 1
    4334                 :        1225 :  && !integer_zerop (captures[1])
    4335                 :        1620 :  && (!flag_non_call_exceptions || tree_expr_nonzero_p (captures[1]))
    4336                 :             : )
    4337                 :             :         {
    4338                 :         334 :           if (TYPE_UNSIGNED (type)
    4339                 :             : )
    4340                 :             :             {
    4341                 :          40 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1424;
    4342                 :          40 :               {
    4343                 :          40 :                 tree res_op0;
    4344                 :          40 :                 {
    4345                 :          40 :                   tree _o1[2], _r1;
    4346                 :          40 :                   _o1[0] = captures[1];
    4347                 :          40 :                   _o1[1] =  build_one_cst (type);
    4348                 :          40 :                   _r1 = fold_build2_loc (loc, EQ_EXPR, boolean_type_node, _o1[0], _o1[1]);
    4349                 :          40 :                   res_op0 = _r1;
    4350                 :             :                 }
    4351                 :          40 :                 tree _r;
    4352                 :          40 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4353                 :          40 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    4354                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    4355                 :          40 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 884, __FILE__, __LINE__, true);
    4356                 :          40 :                 return _r;
    4357                 :             :               }
    4358                 :           0 : next_after_fail1424:;
    4359                 :             :             }
    4360                 :             :           else
    4361                 :             :             {
    4362                 :         294 :               if (!canonicalize_math_p ()
    4363                 :             : )
    4364                 :             :                 {
    4365                 :           0 :                   {
    4366                 :           0 :  tree utype = unsigned_type_for (type);
    4367                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1425;
    4368                 :           0 :                       {
    4369                 :           0 :                         if (! tree_invariant_p (captures[1])) goto next_after_fail1425;
    4370                 :           0 :                         tree res_op0;
    4371                 :           0 :                         {
    4372                 :           0 :                           tree _o1[2], _r1;
    4373                 :           0 :                           {
    4374                 :           0 :                             tree _o2[2], _r2;
    4375                 :           0 :                             {
    4376                 :           0 :                               tree _o3[1], _r3;
    4377                 :           0 :                               _o3[0] = unshare_expr (captures[1]);
    4378                 :           0 :                               if (TREE_TYPE (_o3[0]) != utype)
    4379                 :             :                                 {
    4380                 :           0 :                                   _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    4381                 :             :                                 }
    4382                 :             :                               else
    4383                 :             :                                 _r3 = _o3[0];
    4384                 :           0 :                               _o2[0] = _r3;
    4385                 :             :                             }
    4386                 :           0 :                             _o2[1] =  build_one_cst (utype);
    4387                 :           0 :                             _r2 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    4388                 :           0 :                             _o1[0] = _r2;
    4389                 :             :                           }
    4390                 :           0 :                           _o1[1] =  build_int_cst (utype, 2);
    4391                 :           0 :                           _r1 = fold_build2_loc (loc, LE_EXPR, boolean_type_node, _o1[0], _o1[1]);
    4392                 :           0 :                           res_op0 = _r1;
    4393                 :             :                         }
    4394                 :           0 :                         tree res_op1;
    4395                 :           0 :                         res_op1 = captures[1];
    4396                 :           0 :                         tree res_op2;
    4397                 :           0 :                         res_op2 =  build_zero_cst (type);
    4398                 :           0 :                         tree _r;
    4399                 :           0 :                         _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    4400                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[0]))
    4401                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    4402                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 885, __FILE__, __LINE__, true);
    4403                 :           0 :                         return _r;
    4404                 :             :                       }
    4405                 :        1189 : next_after_fail1425:;
    4406                 :             :                   }
    4407                 :             :                 }
    4408                 :             :             }
    4409                 :             :         }
    4410                 :             :     }
    4411                 :             :   }
    4412                 :     1800017 :   switch (TREE_CODE (_p1))
    4413                 :             :     {
    4414                 :           0 :     case VEC_COND_EXPR:
    4415                 :           0 :       {
    4416                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4417                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    4418                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    4419                 :           0 :         {
    4420                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    4421                 :           0 :           if (TREE_CODE_CLASS (TRUNC_DIV_EXPR) != tcc_comparison
    4422                 :             :  || types_match (type, TREE_TYPE (captures[3]))
    4423                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
    4424                 :             :  || (optimize_vectors_before_lowering_p ()
    4425                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
    4426                 :             :  TREE_TYPE (captures[2]), ERROR_MARK))
    4427                 :             : )
    4428                 :             :             {
    4429                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1426;
    4430                 :           0 :               {
    4431                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1426;
    4432                 :           0 :                 tree res_op0;
    4433                 :           0 :                 res_op0 = captures[2];
    4434                 :           0 :                 tree res_op1;
    4435                 :           0 :                 {
    4436                 :           0 :                   tree _o1[2], _r1;
    4437                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    4438                 :           0 :                   _o1[1] = captures[3];
    4439                 :           0 :                   _r1 = fold_build2_loc (loc, TRUNC_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4440                 :           0 :                   if (EXPR_P (_r1))
    4441                 :           0 :                     goto next_after_fail1426;
    4442                 :           0 :                   res_op1 = _r1;
    4443                 :             :                 }
    4444                 :           0 :                 tree res_op2;
    4445                 :           0 :                 {
    4446                 :           0 :                   tree _o1[2], _r1;
    4447                 :           0 :                   _o1[0] = captures[0];
    4448                 :           0 :                   _o1[1] = captures[4];
    4449                 :           0 :                   _r1 = fold_build2_loc (loc, TRUNC_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4450                 :           0 :                   if (EXPR_P (_r1))
    4451                 :           0 :                     goto next_after_fail1426;
    4452                 :           0 :                   res_op2 = _r1;
    4453                 :             :                 }
    4454                 :           0 :                 tree _r;
    4455                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4456                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
    4457                 :           0 :                 return _r;
    4458                 :             :               }
    4459                 :           0 : next_after_fail1426:;
    4460                 :             :             }
    4461                 :             :         }
    4462                 :           0 :         break;
    4463                 :             :       }
    4464                 :             :     default:;
    4465                 :             :     }
    4466                 :             :   return NULL_TREE;
    4467                 :             : }
    4468                 :             : 
    4469                 :             : tree
    4470                 :           0 : generic_simplify_ROUND_DIV_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    4471                 :             : {
    4472                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4473                 :           0 :   if (integer_onep (_p1))
    4474                 :             :     {
    4475                 :           0 :       {
    4476                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4477                 :           0 :         tree res = generic_simplify_164 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4478                 :           0 :         if (res) return res;
    4479                 :             :       }
    4480                 :             :     }
    4481                 :           0 :   if (integer_zerop (_p0))
    4482                 :             :     {
    4483                 :           0 :       {
    4484                 :           0 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    4485                 :           0 :         tree res = generic_simplify_283 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4486                 :           0 :         if (res) return res;
    4487                 :             :       }
    4488                 :             :     }
    4489                 :           0 :   switch (TREE_CODE (_p1))
    4490                 :             :     {
    4491                 :           0 :     case SSA_NAME:
    4492                 :           0 :       {
    4493                 :           0 :         {
    4494                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    4495                 :           0 :           tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4496                 :           0 :           if (res) return res;
    4497                 :             :         }
    4498                 :           0 :         break;
    4499                 :             :       }
    4500                 :           0 :     default:;
    4501                 :             :     }
    4502                 :           0 : if (integer_minus_onep (_p1))
    4503                 :             :   {
    4504                 :           0 :     {
    4505                 :           0 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    4506                 :           0 :       tree res = generic_simplify_284 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4507                 :           0 :       if (res) return res;
    4508                 :             :     }
    4509                 :             :   }
    4510                 :           0 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    4511                 :             :     {
    4512                 :           0 :       {
    4513                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4514                 :           0 :         tree res = generic_simplify_286 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4515                 :           0 :         if (res) return res;
    4516                 :             :       }
    4517                 :             :     }
    4518                 :           0 :   switch (TREE_CODE (_p1))
    4519                 :             :     {
    4520                 :           0 :     case ABS_EXPR:
    4521                 :           0 :       {
    4522                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4523                 :           0 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    4524                 :             :           {
    4525                 :           0 :             {
    4526                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4527                 :           0 :               tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4528                 :           0 :               if (res) return res;
    4529                 :             :             }
    4530                 :             :           }
    4531                 :             :         break;
    4532                 :             :       }
    4533                 :           0 :     default:;
    4534                 :             :     }
    4535                 :           0 :   switch (TREE_CODE (_p0))
    4536                 :             :     {
    4537                 :           0 :     case ABS_EXPR:
    4538                 :           0 :       {
    4539                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4540                 :           0 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    4541                 :             :           {
    4542                 :           0 :             {
    4543                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4544                 :           0 :               tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4545                 :           0 :               if (res) return res;
    4546                 :             :             }
    4547                 :             :           }
    4548                 :             :         break;
    4549                 :             :       }
    4550                 :           0 :     default:;
    4551                 :             :     }
    4552                 :           0 :   switch (TREE_CODE (_p1))
    4553                 :             :     {
    4554                 :           0 :     case NEGATE_EXPR:
    4555                 :           0 :       {
    4556                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4557                 :           0 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    4558                 :             :           {
    4559                 :           0 :             {
    4560                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4561                 :           0 :               tree res = generic_simplify_288 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4562                 :           0 :               if (res) return res;
    4563                 :             :             }
    4564                 :             :           }
    4565                 :             :         break;
    4566                 :             :       }
    4567                 :           0 :     default:;
    4568                 :             :     }
    4569                 :           0 :   switch (TREE_CODE (_p0))
    4570                 :             :     {
    4571                 :           0 :     case NEGATE_EXPR:
    4572                 :           0 :       {
    4573                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4574                 :           0 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    4575                 :             :           {
    4576                 :           0 :             {
    4577                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4578                 :           0 :               tree res = generic_simplify_288 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4579                 :           0 :               if (res) return res;
    4580                 :             :             }
    4581                 :             :           }
    4582                 :             :         break;
    4583                 :             :       }
    4584                 :           0 :     CASE_CONVERT:
    4585                 :           0 :       {
    4586                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4587                 :           0 :         switch (TREE_CODE (_q20))
    4588                 :             :           {
    4589                 :           0 :           case BIT_AND_EXPR:
    4590                 :           0 :             {
    4591                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4592                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4593                 :           0 :               switch (TREE_CODE (_q31))
    4594                 :             :                 {
    4595                 :           0 :                 case INTEGER_CST:
    4596                 :           0 :                   {
    4597                 :           0 :                     switch (TREE_CODE (_p1))
    4598                 :             :                       {
    4599                 :           0 :                       case INTEGER_CST:
    4600                 :           0 :                         {
    4601                 :           0 :                           {
    4602                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    4603                 :           0 :                             tree res = generic_simplify_290 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4604                 :           0 :                             if (res) return res;
    4605                 :             :                           }
    4606                 :           0 :                           break;
    4607                 :             :                         }
    4608                 :             :                       default:;
    4609                 :             :                       }
    4610                 :             :                     break;
    4611                 :             :                   }
    4612                 :             :                 default:;
    4613                 :             :                 }
    4614                 :             :               break;
    4615                 :             :             }
    4616                 :             :           default:;
    4617                 :             :           }
    4618                 :             :         break;
    4619                 :             :       }
    4620                 :           0 :     case BIT_AND_EXPR:
    4621                 :           0 :       {
    4622                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4623                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4624                 :           0 :         switch (TREE_CODE (_q21))
    4625                 :             :           {
    4626                 :           0 :           case INTEGER_CST:
    4627                 :           0 :             {
    4628                 :           0 :               switch (TREE_CODE (_p1))
    4629                 :             :                 {
    4630                 :           0 :                 case INTEGER_CST:
    4631                 :           0 :                   {
    4632                 :           0 :                     {
    4633                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4634                 :           0 :                       tree res = generic_simplify_290 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4635                 :           0 :                       if (res) return res;
    4636                 :             :                     }
    4637                 :           0 :                     break;
    4638                 :             :                   }
    4639                 :             :                 default:;
    4640                 :             :                 }
    4641                 :             :               break;
    4642                 :             :             }
    4643                 :             :           default:;
    4644                 :             :           }
    4645                 :             :         break;
    4646                 :             :       }
    4647                 :           0 :     case MULT_EXPR:
    4648                 :           0 :       {
    4649                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4650                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4651                 :           0 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    4652                 :             :           {
    4653                 :           0 :             {
    4654                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4655                 :           0 :               tree res = generic_simplify_291 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4656                 :           0 :               if (res) return res;
    4657                 :             :             }
    4658                 :             :           }
    4659                 :           0 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    4660                 :             :           {
    4661                 :           0 :             {
    4662                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    4663                 :           0 :               tree res = generic_simplify_291 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4664                 :           0 :               if (res) return res;
    4665                 :             :             }
    4666                 :             :           }
    4667                 :           0 :         switch (TREE_CODE (_q21))
    4668                 :             :           {
    4669                 :           0 :           case INTEGER_CST:
    4670                 :           0 :             {
    4671                 :           0 :               switch (TREE_CODE (_p1))
    4672                 :             :                 {
    4673                 :           0 :                 case MULT_EXPR:
    4674                 :           0 :                   {
    4675                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    4676                 :           0 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    4677                 :           0 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4678                 :             :                       {
    4679                 :           0 :                         switch (TREE_CODE (_q51))
    4680                 :             :                           {
    4681                 :           0 :                           case INTEGER_CST:
    4682                 :           0 :                             {
    4683                 :           0 :                               {
    4684                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    4685                 :           0 :                                 tree res = generic_simplify_292 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR);
    4686                 :           0 :                                 if (res) return res;
    4687                 :             :                               }
    4688                 :           0 :                               break;
    4689                 :             :                             }
    4690                 :             :                           default:;
    4691                 :             :                           }
    4692                 :             :                       }
    4693                 :             :                     break;
    4694                 :             :                   }
    4695                 :             :                 default:;
    4696                 :             :                 }
    4697                 :             :               break;
    4698                 :             :             }
    4699                 :             :           default:;
    4700                 :             :           }
    4701                 :             :         break;
    4702                 :             :       }
    4703                 :           0 :     case VEC_COND_EXPR:
    4704                 :           0 :       {
    4705                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4706                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4707                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    4708                 :           0 :         switch (TREE_CODE (_p1))
    4709                 :             :           {
    4710                 :           0 :           case VEC_COND_EXPR:
    4711                 :           0 :             {
    4712                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    4713                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    4714                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    4715                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4716                 :             :                 {
    4717                 :           0 :                   {
    4718                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    4719                 :           0 :                     if (TREE_CODE_CLASS (ROUND_DIV_EXPR) != tcc_comparison
    4720                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    4721                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    4722                 :             :  || (optimize_vectors_before_lowering_p ()
    4723                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    4724                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
    4725                 :             : )
    4726                 :             :                       {
    4727                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1433;
    4728                 :           0 :                         {
    4729                 :           0 :                           tree res_op0;
    4730                 :           0 :                           res_op0 = captures[1];
    4731                 :           0 :                           tree res_op1;
    4732                 :           0 :                           {
    4733                 :           0 :                             tree _o1[2], _r1;
    4734                 :           0 :                             _o1[0] = captures[2];
    4735                 :           0 :                             _o1[1] = captures[5];
    4736                 :           0 :                             _r1 = fold_build2_loc (loc, ROUND_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4737                 :           0 :                             if (EXPR_P (_r1))
    4738                 :           0 :                               goto next_after_fail1433;
    4739                 :           0 :                             res_op1 = _r1;
    4740                 :             :                           }
    4741                 :           0 :                           tree res_op2;
    4742                 :           0 :                           {
    4743                 :           0 :                             tree _o1[2], _r1;
    4744                 :           0 :                             _o1[0] = captures[3];
    4745                 :           0 :                             _o1[1] = captures[6];
    4746                 :           0 :                             _r1 = fold_build2_loc (loc, ROUND_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4747                 :           0 :                             if (EXPR_P (_r1))
    4748                 :           0 :                               goto next_after_fail1433;
    4749                 :           0 :                             res_op2 = _r1;
    4750                 :             :                           }
    4751                 :           0 :                           tree _r;
    4752                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4753                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
    4754                 :           0 :                           return _r;
    4755                 :             :                         }
    4756                 :           0 : next_after_fail1433:;
    4757                 :             :                       }
    4758                 :             :                   }
    4759                 :             :                 }
    4760                 :             :               break;
    4761                 :             :             }
    4762                 :           0 :           default:;
    4763                 :             :           }
    4764                 :           0 :         {
    4765                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    4766                 :           0 :           if (TREE_CODE_CLASS (ROUND_DIV_EXPR) != tcc_comparison
    4767                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    4768                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    4769                 :             :  || (optimize_vectors_before_lowering_p ()
    4770                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    4771                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
    4772                 :             : )
    4773                 :             :             {
    4774                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1434;
    4775                 :           0 :               {
    4776                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1434;
    4777                 :           0 :                 tree res_op0;
    4778                 :           0 :                 res_op0 = captures[1];
    4779                 :           0 :                 tree res_op1;
    4780                 :           0 :                 {
    4781                 :           0 :                   tree _o1[2], _r1;
    4782                 :           0 :                   _o1[0] = captures[2];
    4783                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
    4784                 :           0 :                   _r1 = fold_build2_loc (loc, ROUND_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4785                 :           0 :                   if (EXPR_P (_r1))
    4786                 :           0 :                     goto next_after_fail1434;
    4787                 :           0 :                   res_op1 = _r1;
    4788                 :             :                 }
    4789                 :           0 :                 tree res_op2;
    4790                 :           0 :                 {
    4791                 :           0 :                   tree _o1[2], _r1;
    4792                 :           0 :                   _o1[0] = captures[3];
    4793                 :           0 :                   _o1[1] = captures[4];
    4794                 :           0 :                   _r1 = fold_build2_loc (loc, ROUND_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4795                 :           0 :                   if (EXPR_P (_r1))
    4796                 :           0 :                     goto next_after_fail1434;
    4797                 :           0 :                   res_op2 = _r1;
    4798                 :             :                 }
    4799                 :           0 :                 tree _r;
    4800                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4801                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
    4802                 :           0 :                 return _r;
    4803                 :             :               }
    4804                 :           0 : next_after_fail1434:;
    4805                 :             :             }
    4806                 :             :         }
    4807                 :           0 :         break;
    4808                 :             :       }
    4809                 :           0 :     default:;
    4810                 :             :     }
    4811                 :           0 :   switch (TREE_CODE (_p1))
    4812                 :             :     {
    4813                 :           0 :     case VEC_COND_EXPR:
    4814                 :           0 :       {
    4815                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4816                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    4817                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    4818                 :           0 :         {
    4819                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    4820                 :           0 :           if (TREE_CODE_CLASS (ROUND_DIV_EXPR) != tcc_comparison
    4821                 :             :  || types_match (type, TREE_TYPE (captures[3]))
    4822                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
    4823                 :             :  || (optimize_vectors_before_lowering_p ()
    4824                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
    4825                 :             :  TREE_TYPE (captures[2]), ERROR_MARK))
    4826                 :             : )
    4827                 :             :             {
    4828                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1435;
    4829                 :           0 :               {
    4830                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1435;
    4831                 :           0 :                 tree res_op0;
    4832                 :           0 :                 res_op0 = captures[2];
    4833                 :           0 :                 tree res_op1;
    4834                 :           0 :                 {
    4835                 :           0 :                   tree _o1[2], _r1;
    4836                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    4837                 :           0 :                   _o1[1] = captures[3];
    4838                 :           0 :                   _r1 = fold_build2_loc (loc, ROUND_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4839                 :           0 :                   if (EXPR_P (_r1))
    4840                 :           0 :                     goto next_after_fail1435;
    4841                 :           0 :                   res_op1 = _r1;
    4842                 :             :                 }
    4843                 :           0 :                 tree res_op2;
    4844                 :           0 :                 {
    4845                 :           0 :                   tree _o1[2], _r1;
    4846                 :           0 :                   _o1[0] = captures[0];
    4847                 :           0 :                   _o1[1] = captures[4];
    4848                 :           0 :                   _r1 = fold_build2_loc (loc, ROUND_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4849                 :           0 :                   if (EXPR_P (_r1))
    4850                 :           0 :                     goto next_after_fail1435;
    4851                 :           0 :                   res_op2 = _r1;
    4852                 :             :                 }
    4853                 :           0 :                 tree _r;
    4854                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4855                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
    4856                 :           0 :                 return _r;
    4857                 :             :               }
    4858                 :           0 : next_after_fail1435:;
    4859                 :             :             }
    4860                 :             :         }
    4861                 :           0 :         break;
    4862                 :             :       }
    4863                 :             :     default:;
    4864                 :             :     }
    4865                 :             :   return NULL_TREE;
    4866                 :             : }
    4867                 :             : 
    4868                 :             : tree
    4869                 :    14760640 : generic_simplify_LT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    4870                 :             : {
    4871                 :    14760640 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4872                 :    14760640 :   switch (TREE_CODE (_p0))
    4873                 :             :     {
    4874                 :        2160 :     case RDIV_EXPR:
    4875                 :        2160 :       {
    4876                 :        2160 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4877                 :        2160 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4878                 :        2160 :         switch (TREE_CODE (_q20))
    4879                 :             :           {
    4880                 :         691 :           case REAL_CST:
    4881                 :         691 :             {
    4882                 :         691 :               if (real_zerop (_p1))
    4883                 :             :                 {
    4884                 :         400 :                   {
    4885                 :         400 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4886                 :         400 :                     tree res = generic_simplify_311 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
    4887                 :         400 :                     if (res) return res;
    4888                 :             :                   }
    4889                 :             :                 }
    4890                 :             :               break;
    4891                 :             :             }
    4892                 :             :           default:;
    4893                 :             :           }
    4894                 :             :         break;
    4895                 :             :       }
    4896                 :        2434 :     case TRUNC_MOD_EXPR:
    4897                 :        2434 :       {
    4898                 :        2434 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4899                 :        2434 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4900                 :        2434 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    4901                 :             :           {
    4902                 :          67 :             {
    4903                 :          67 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4904                 :          67 :               tree res = generic_simplify_312 (loc, type, _p0, _p1, captures, LT_EXPR);
    4905                 :          67 :               if (res) return res;
    4906                 :             :             }
    4907                 :             :           }
    4908                 :             :         break;
    4909                 :             :       }
    4910                 :      122017 :     case MULT_EXPR:
    4911                 :      122017 :       {
    4912                 :      122017 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4913                 :      122017 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4914                 :      122017 :         switch (TREE_CODE (_p1))
    4915                 :             :           {
    4916                 :       45712 :           case MULT_EXPR:
    4917                 :       45712 :             {
    4918                 :       45712 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4919                 :       45712 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4920                 :       45712 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4921                 :             :                 {
    4922                 :        5014 :                   {
    4923                 :        5014 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    4924                 :        5014 :                     tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, LT_EXPR);
    4925                 :        5014 :                     if (res) return res;
    4926                 :             :                   }
    4927                 :             :                 }
    4928                 :       41752 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    4929                 :             :                 {
    4930                 :           0 :                   {
    4931                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    4932                 :           0 :                     tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, LT_EXPR);
    4933                 :           0 :                     if (res) return res;
    4934                 :             :                   }
    4935                 :             :                 }
    4936                 :       41752 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    4937                 :             :                 {
    4938                 :           0 :                   {
    4939                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    4940                 :           0 :                     tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, LT_EXPR);
    4941                 :           0 :                     if (res) return res;
    4942                 :             :                   }
    4943                 :             :                 }
    4944                 :       41752 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4945                 :             :                 {
    4946                 :        1355 :                   {
    4947                 :        1355 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    4948                 :        1355 :                     tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, LT_EXPR);
    4949                 :        1355 :                     if (res) return res;
    4950                 :             :                   }
    4951                 :             :                 }
    4952                 :             :               break;
    4953                 :             :             }
    4954                 :             :           default:;
    4955                 :             :           }
    4956                 :             :         break;
    4957                 :             :       }
    4958                 :     1765127 :     CASE_CONVERT:
    4959                 :     1765127 :       {
    4960                 :     1765127 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4961                 :     1765127 :         switch (TREE_CODE (_q20))
    4962                 :             :           {
    4963                 :          88 :           case EXACT_DIV_EXPR:
    4964                 :          88 :             {
    4965                 :          88 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4966                 :          88 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4967                 :          88 :               switch (TREE_CODE (_q31))
    4968                 :             :                 {
    4969                 :          88 :                 case INTEGER_CST:
    4970                 :          88 :                   {
    4971                 :          88 :                     switch (TREE_CODE (_p1))
    4972                 :             :                       {
    4973                 :          40 :                       CASE_CONVERT:
    4974                 :          40 :                         {
    4975                 :          40 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    4976                 :          40 :                           switch (TREE_CODE (_q60))
    4977                 :             :                             {
    4978                 :           0 :                             case EXACT_DIV_EXPR:
    4979                 :           0 :                               {
    4980                 :           0 :                                 tree _q70 = TREE_OPERAND (_q60, 0);
    4981                 :           0 :                                 tree _q71 = TREE_OPERAND (_q60, 1);
    4982                 :           0 :                                 if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    4983                 :             :                                   {
    4984                 :           0 :                                     {
    4985                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q70 };
    4986                 :           0 :                                       tree res = generic_simplify_188 (loc, type, _p0, _p1, captures, LT_EXPR);
    4987                 :           0 :                                       if (res) return res;
    4988                 :             :                                     }
    4989                 :             :                                   }
    4990                 :             :                                 break;
    4991                 :             :                               }
    4992                 :             :                             default:;
    4993                 :             :                             }
    4994                 :             :                           break;
    4995                 :             :                         }
    4996                 :             :                       default:;
    4997                 :             :                       }
    4998                 :             :                     break;
    4999                 :             :                   }
    5000                 :             :                 default:;
    5001                 :             :                 }
    5002                 :             :               break;
    5003                 :             :             }
    5004                 :             :           default:;
    5005                 :             :           }
    5006                 :             :         break;
    5007                 :             :       }
    5008                 :        6694 :     case EXACT_DIV_EXPR:
    5009                 :        6694 :       {
    5010                 :        6694 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5011                 :        6694 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5012                 :        6694 :         switch (TREE_CODE (_q21))
    5013                 :             :           {
    5014                 :        6694 :           case INTEGER_CST:
    5015                 :        6694 :             {
    5016                 :        6694 :               switch (TREE_CODE (_p1))
    5017                 :             :                 {
    5018                 :           2 :                 case EXACT_DIV_EXPR:
    5019                 :           2 :                   {
    5020                 :           2 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5021                 :           2 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    5022                 :           2 :                     if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5023                 :             :                       {
    5024                 :           0 :                         {
    5025                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
    5026                 :           0 :                           tree res = generic_simplify_188 (loc, type, _p0, _p1, captures, LT_EXPR);
    5027                 :           0 :                           if (res) return res;
    5028                 :             :                         }
    5029                 :             :                       }
    5030                 :             :                     break;
    5031                 :             :                   }
    5032                 :             :                 default:;
    5033                 :             :                 }
    5034                 :             :               break;
    5035                 :             :             }
    5036                 :             :           default:;
    5037                 :             :           }
    5038                 :             :         break;
    5039                 :             :       }
    5040                 :       11177 :     case TRUNC_DIV_EXPR:
    5041                 :       11177 :       {
    5042                 :       11177 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5043                 :       11177 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5044                 :       11177 :         switch (TREE_CODE (_q21))
    5045                 :             :           {
    5046                 :        3441 :           case INTEGER_CST:
    5047                 :        3441 :             {
    5048                 :        3441 :               switch (TREE_CODE (_p1))
    5049                 :             :                 {
    5050                 :        1073 :                 case INTEGER_CST:
    5051                 :        1073 :                   {
    5052                 :        1073 :                     {
    5053                 :        1073 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    5054                 :        1073 :                       tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, LT_EXPR);
    5055                 :        1073 :                       if (res) return res;
    5056                 :             :                     }
    5057                 :         424 :                     break;
    5058                 :             :                   }
    5059                 :             :                 default:;
    5060                 :             :                 }
    5061                 :             :               break;
    5062                 :             :             }
    5063                 :             :           default:;
    5064                 :             :           }
    5065                 :             :         break;
    5066                 :             :       }
    5067                 :     1968586 :     case PLUS_EXPR:
    5068                 :     1968586 :       {
    5069                 :     1968586 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5070                 :     1968586 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5071                 :     1968586 :         switch (TREE_CODE (_p1))
    5072                 :             :           {
    5073                 :      250088 :           case PLUS_EXPR:
    5074                 :      250088 :             {
    5075                 :      250088 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5076                 :      250088 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5077                 :      250088 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5078                 :             :                 {
    5079                 :      121839 :                   {
    5080                 :      121839 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5081                 :      121839 :                     tree res = generic_simplify_314 (loc, type, _p0, _p1, captures, LT_EXPR);
    5082                 :      121839 :                     if (res) return res;
    5083                 :             :                   }
    5084                 :             :                 }
    5085                 :      203126 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5086                 :             :                 {
    5087                 :           8 :                   {
    5088                 :           8 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    5089                 :           8 :                     tree res = generic_simplify_314 (loc, type, _p0, _p1, captures, LT_EXPR);
    5090                 :           8 :                     if (res) return res;
    5091                 :             :                   }
    5092                 :             :                 }
    5093                 :      203126 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5094                 :             :                 {
    5095                 :          12 :                   {
    5096                 :          12 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    5097                 :          12 :                     tree res = generic_simplify_314 (loc, type, _p0, _p1, captures, LT_EXPR);
    5098                 :          12 :                     if (res) return res;
    5099                 :             :                   }
    5100                 :             :                 }
    5101                 :      203126 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5102                 :             :                 {
    5103                 :        1489 :                   {
    5104                 :        1489 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    5105                 :        1489 :                     tree res = generic_simplify_314 (loc, type, _p0, _p1, captures, LT_EXPR);
    5106                 :        1489 :                     if (res) return res;
    5107                 :             :                   }
    5108                 :             :                 }
    5109                 :             :               break;
    5110                 :             :             }
    5111                 :     1921436 :           default:;
    5112                 :             :           }
    5113                 :     1921436 :         switch (TREE_CODE (_q21))
    5114                 :             :           {
    5115                 :     1452434 :           case INTEGER_CST:
    5116                 :     1452434 :             {
    5117                 :     1452434 :               switch (TREE_CODE (_p1))
    5118                 :             :                 {
    5119                 :      198860 :                 case PLUS_EXPR:
    5120                 :      198860 :                   {
    5121                 :      198860 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5122                 :      198860 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    5123                 :      198860 :                     if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5124                 :             :                       {
    5125                 :       74876 :                         {
    5126                 :       74876 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5127                 :       74876 :                           tree res = generic_simplify_315 (loc, type, _p0, _p1, captures, LT_EXPR);
    5128                 :       74876 :                           if (res) return res;
    5129                 :             :                         }
    5130                 :             :                       }
    5131                 :             :                     break;
    5132                 :             :                   }
    5133                 :             :                 default:;
    5134                 :             :                 }
    5135                 :             :               break;
    5136                 :             :             }
    5137                 :     1921431 :           default:;
    5138                 :             :           }
    5139                 :     1921431 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5140                 :             :           {
    5141                 :      176461 :             {
    5142                 :      176461 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    5143                 :      176461 :               tree res = generic_simplify_316 (loc, type, _p0, _p1, captures, LT_EXPR);
    5144                 :      176461 :               if (res) return res;
    5145                 :             :             }
    5146                 :             :           }
    5147                 :     1768666 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5148                 :             :           {
    5149                 :       54506 :             {
    5150                 :       54506 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    5151                 :       54506 :               tree res = generic_simplify_316 (loc, type, _p0, _p1, captures, LT_EXPR);
    5152                 :       54506 :               if (res) return res;
    5153                 :             :             }
    5154                 :             :           }
    5155                 :             :         break;
    5156                 :             :       }
    5157                 :      139832 :     case MINUS_EXPR:
    5158                 :      139832 :       {
    5159                 :      139832 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5160                 :      139832 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5161                 :      139832 :         switch (TREE_CODE (_p1))
    5162                 :             :           {
    5163                 :        4747 :           case MINUS_EXPR:
    5164                 :        4747 :             {
    5165                 :        4747 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5166                 :        4747 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5167                 :        4747 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5168                 :             :                 {
    5169                 :         158 :                   {
    5170                 :         158 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5171                 :         158 :                     tree res = generic_simplify_317 (loc, type, _p0, _p1, captures, LT_EXPR);
    5172                 :         158 :                     if (res) return res;
    5173                 :             :                   }
    5174                 :             :                 }
    5175                 :        4747 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5176                 :             :                 {
    5177                 :         177 :                   {
    5178                 :         177 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    5179                 :         177 :                     tree res = generic_simplify_318 (loc, type, _p0, _p1, captures, LT_EXPR);
    5180                 :         177 :                     if (res) return res;
    5181                 :             :                   }
    5182                 :             :                 }
    5183                 :             :               break;
    5184                 :             :             }
    5185                 :             :           default:;
    5186                 :             :           }
    5187                 :             :         break;
    5188                 :             :       }
    5189                 :      705932 :     case POINTER_DIFF_EXPR:
    5190                 :      705932 :       {
    5191                 :      705932 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5192                 :      705932 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5193                 :      705932 :         switch (TREE_CODE (_p1))
    5194                 :             :           {
    5195                 :          94 :           case POINTER_DIFF_EXPR:
    5196                 :          94 :             {
    5197                 :          94 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5198                 :          94 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5199                 :          94 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5200                 :             :                 {
    5201                 :           0 :                   {
    5202                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
    5203                 :           0 :                     tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, LT_EXPR);
    5204                 :           0 :                     if (res) return res;
    5205                 :             :                   }
    5206                 :             :                 }
    5207                 :          94 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5208                 :             :                 {
    5209                 :           0 :                   {
    5210                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q51 };
    5211                 :           0 :                     tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, LT_EXPR);
    5212                 :           0 :                     if (res) return res;
    5213                 :             :                   }
    5214                 :             :                 }
    5215                 :             :               break;
    5216                 :             :             }
    5217                 :             :           default:;
    5218                 :             :           }
    5219                 :             :         break;
    5220                 :             :       }
    5221                 :    14555882 :     default:;
    5222                 :             :     }
    5223                 :    14555882 :   switch (TREE_CODE (_p1))
    5224                 :             :     {
    5225                 :      287474 :     case PLUS_EXPR:
    5226                 :      287474 :       {
    5227                 :      287474 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5228                 :      287474 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5229                 :      287474 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5230                 :             :           {
    5231                 :         105 :             {
    5232                 :         105 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
    5233                 :         105 :               tree res = generic_simplify_316 (loc, type, _p0, _p1, captures, GT_EXPR);
    5234                 :         105 :               if (res) return res;
    5235                 :             :             }
    5236                 :             :           }
    5237                 :      287369 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    5238                 :             :           {
    5239                 :          80 :             {
    5240                 :          80 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q31, _p0 };
    5241                 :          80 :               tree res = generic_simplify_316 (loc, type, _p0, _p1, captures, GT_EXPR);
    5242                 :          80 :               if (res) return res;
    5243                 :             :             }
    5244                 :             :           }
    5245                 :             :         break;
    5246                 :             :       }
    5247                 :       22651 :     case MINUS_EXPR:
    5248                 :       22651 :       {
    5249                 :       22651 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5250                 :       22651 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5251                 :       22651 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    5252                 :             :           {
    5253                 :           0 :             {
    5254                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    5255                 :           0 :               tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, LT_EXPR);
    5256                 :           0 :               if (res) return res;
    5257                 :             :             }
    5258                 :             :           }
    5259                 :             :         break;
    5260                 :             :       }
    5261                 :    14555777 :     default:;
    5262                 :             :     }
    5263                 :    14555777 :   switch (TREE_CODE (_p0))
    5264                 :             :     {
    5265                 :      139832 :     case MINUS_EXPR:
    5266                 :      139832 :       {
    5267                 :      139832 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5268                 :      139832 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5269                 :      139832 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5270                 :             :           {
    5271                 :        1522 :             {
    5272                 :        1522 :               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
    5273                 :        1522 :               tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, GT_EXPR);
    5274                 :        1522 :               if (res) return res;
    5275                 :             :             }
    5276                 :             :           }
    5277                 :             :         break;
    5278                 :             :       }
    5279                 :        1485 :     case BIT_IOR_EXPR:
    5280                 :        1485 :       {
    5281                 :        1485 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5282                 :        1485 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5283                 :        1485 :         if (tree_expr_nonnegative_p (_q20))
    5284                 :             :           {
    5285                 :         457 :             if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5286                 :             :               {
    5287                 :           0 :                 {
    5288                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5289                 :           0 :                   tree res = generic_simplify_319 (loc, type, _p0, _p1, captures, LT_EXPR, BIT_IOR_EXPR);
    5290                 :           0 :                   if (res) return res;
    5291                 :             :                 }
    5292                 :             :               }
    5293                 :             :           }
    5294                 :        1485 :         if (tree_expr_nonnegative_p (_q21))
    5295                 :             :           {
    5296                 :        1052 :             if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5297                 :             :               {
    5298                 :           0 :                 {
    5299                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    5300                 :           0 :                   tree res = generic_simplify_319 (loc, type, _p0, _p1, captures, LT_EXPR, BIT_IOR_EXPR);
    5301                 :           0 :                   if (res) return res;
    5302                 :             :                 }
    5303                 :             :               }
    5304                 :             :           }
    5305                 :             :         break;
    5306                 :             :       }
    5307                 :    14554553 :     default:;
    5308                 :             :     }
    5309                 :    14554553 :   switch (TREE_CODE (_p1))
    5310                 :             :     {
    5311                 :         387 :     case BIT_AND_EXPR:
    5312                 :         387 :       {
    5313                 :         387 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5314                 :         387 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5315                 :         387 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    5316                 :             :           {
    5317                 :           0 :             if (tree_expr_nonnegative_p (_q30))
    5318                 :             :               {
    5319                 :           0 :                 {
    5320                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    5321                 :           0 :                   tree res = generic_simplify_319 (loc, type, _p0, _p1, captures, GT_EXPR, BIT_AND_EXPR);
    5322                 :           0 :                   if (res) return res;
    5323                 :             :                 }
    5324                 :             :               }
    5325                 :             :           }
    5326                 :         387 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5327                 :             :           {
    5328                 :           0 :             if (tree_expr_nonnegative_p (_q31))
    5329                 :             :               {
    5330                 :           0 :                 {
    5331                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    5332                 :           0 :                   tree res = generic_simplify_319 (loc, type, _p0, _p1, captures, GT_EXPR, BIT_AND_EXPR);
    5333                 :           0 :                   if (res) return res;
    5334                 :             :                 }
    5335                 :             :               }
    5336                 :             :           }
    5337                 :             :         break;
    5338                 :             :       }
    5339                 :    14554553 :     default:;
    5340                 :             :     }
    5341                 :    14554553 :   switch (TREE_CODE (_p0))
    5342                 :             :     {
    5343                 :        4704 :     case MIN_EXPR:
    5344                 :        4704 :       {
    5345                 :        4704 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5346                 :        4704 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5347                 :        4704 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5348                 :             :           {
    5349                 :           1 :             {
    5350                 :           1 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5351                 :           1 :               tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR, GT_EXPR);
    5352                 :           1 :               if (res) return res;
    5353                 :             :             }
    5354                 :             :           }
    5355                 :        4703 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5356                 :             :           {
    5357                 :           5 :             {
    5358                 :           5 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    5359                 :           5 :               tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR, GT_EXPR);
    5360                 :           5 :               if (res) return res;
    5361                 :             :             }
    5362                 :             :           }
    5363                 :        4701 :         switch (TREE_CODE (_q21))
    5364                 :             :           {
    5365                 :         530 :           case INTEGER_CST:
    5366                 :         530 :             {
    5367                 :         530 :               switch (TREE_CODE (_p1))
    5368                 :             :                 {
    5369                 :           2 :                 case INTEGER_CST:
    5370                 :           2 :                   {
    5371                 :           2 :                     {
    5372                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5373                 :           2 :                       tree res = generic_simplify_320 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR, BIT_IOR_EXPR);
    5374                 :           2 :                       if (res) return res;
    5375                 :             :                     }
    5376                 :           0 :                     break;
    5377                 :             :                   }
    5378                 :             :                 default:;
    5379                 :             :                 }
    5380                 :             :               break;
    5381                 :             :             }
    5382                 :             :           default:;
    5383                 :             :           }
    5384                 :             :         break;
    5385                 :             :       }
    5386                 :    14554548 :     default:;
    5387                 :             :     }
    5388                 :    14554548 :   switch (TREE_CODE (_p1))
    5389                 :             :     {
    5390                 :         581 :     case MAX_EXPR:
    5391                 :         581 :       {
    5392                 :         581 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5393                 :         581 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5394                 :         581 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    5395                 :             :           {
    5396                 :           0 :             {
    5397                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    5398                 :           0 :               tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR, LT_EXPR);
    5399                 :           0 :               if (res) return res;
    5400                 :             :             }
    5401                 :             :           }
    5402                 :         581 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5403                 :             :           {
    5404                 :           0 :             {
    5405                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    5406                 :           0 :               tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR, LT_EXPR);
    5407                 :           0 :               if (res) return res;
    5408                 :             :             }
    5409                 :             :           }
    5410                 :             :         break;
    5411                 :             :       }
    5412                 :        4703 :     case MIN_EXPR:
    5413                 :        4703 :       {
    5414                 :        4703 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5415                 :        4703 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5416                 :        4703 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    5417                 :             :           {
    5418                 :           0 :             {
    5419                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    5420                 :           0 :               tree res = generic_simplify_321 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR);
    5421                 :           0 :               if (res) return res;
    5422                 :             :             }
    5423                 :             :           }
    5424                 :        4703 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5425                 :             :           {
    5426                 :           0 :             {
    5427                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    5428                 :           0 :               tree res = generic_simplify_321 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR);
    5429                 :           0 :               if (res) return res;
    5430                 :             :             }
    5431                 :             :           }
    5432                 :             :         break;
    5433                 :             :       }
    5434                 :    14554548 :     default:;
    5435                 :             :     }
    5436                 :    14554548 :   switch (TREE_CODE (_p0))
    5437                 :             :     {
    5438                 :        4429 :     case MAX_EXPR:
    5439                 :        4429 :       {
    5440                 :        4429 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5441                 :        4429 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5442                 :        4429 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5443                 :             :           {
    5444                 :           1 :             {
    5445                 :           1 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5446                 :           1 :               tree res = generic_simplify_321 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
    5447                 :           1 :               if (res) return res;
    5448                 :             :             }
    5449                 :             :           }
    5450                 :        4428 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5451                 :             :           {
    5452                 :           1 :             {
    5453                 :           1 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    5454                 :           1 :               tree res = generic_simplify_321 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
    5455                 :           1 :               if (res) return res;
    5456                 :             :             }
    5457                 :             :           }
    5458                 :        4427 :         switch (TREE_CODE (_q21))
    5459                 :             :           {
    5460                 :        4084 :           case INTEGER_CST:
    5461                 :        4084 :             {
    5462                 :        4084 :               switch (TREE_CODE (_p1))
    5463                 :             :                 {
    5464                 :           1 :                 case INTEGER_CST:
    5465                 :           1 :                   {
    5466                 :           1 :                     {
    5467                 :           1 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5468                 :           1 :                       tree res = generic_simplify_320 (loc, type, _p0, _p1, captures, MAX_EXPR, LT_EXPR, BIT_AND_EXPR);
    5469                 :           1 :                       if (res) return res;
    5470                 :             :                     }
    5471                 :           0 :                     break;
    5472                 :             :                   }
    5473                 :             :                 default:;
    5474                 :             :                 }
    5475                 :             :               break;
    5476                 :             :             }
    5477                 :             :           default:;
    5478                 :             :           }
    5479                 :             :         break;
    5480                 :             :       }
    5481                 :          83 :     case VEC_COND_EXPR:
    5482                 :          83 :       {
    5483                 :          83 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5484                 :          83 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5485                 :          83 :         tree _q22 = TREE_OPERAND (_p0, 2);
    5486                 :          83 :         switch (TREE_CODE (_p1))
    5487                 :             :           {
    5488                 :           0 :           case VEC_COND_EXPR:
    5489                 :           0 :             {
    5490                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    5491                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    5492                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    5493                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5494                 :             :                 {
    5495                 :           0 :                   {
    5496                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    5497                 :           0 :                     if (TREE_CODE_CLASS (LT_EXPR) != tcc_comparison
    5498                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
    5499                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    5500                 :             :  || (optimize_vectors_before_lowering_p ()
    5501                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    5502                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
    5503                 :             : )
    5504                 :             :                       {
    5505                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1477;
    5506                 :           0 :                         {
    5507                 :           0 :                           tree res_op0;
    5508                 :           0 :                           res_op0 = captures[1];
    5509                 :           0 :                           tree res_op1;
    5510                 :           0 :                           {
    5511                 :           0 :                             tree _o1[2], _r1;
    5512                 :           0 :                             _o1[0] = captures[2];
    5513                 :           0 :                             _o1[1] = captures[5];
    5514                 :           0 :                             _r1 = fold_build2_loc (loc, LT_EXPR, type, _o1[0], _o1[1]);
    5515                 :           0 :                             if (EXPR_P (_r1))
    5516                 :           0 :                               goto next_after_fail1477;
    5517                 :           0 :                             res_op1 = _r1;
    5518                 :             :                           }
    5519                 :           0 :                           tree res_op2;
    5520                 :           0 :                           {
    5521                 :           0 :                             tree _o1[2], _r1;
    5522                 :           0 :                             _o1[0] = captures[3];
    5523                 :           0 :                             _o1[1] = captures[6];
    5524                 :           0 :                             _r1 = fold_build2_loc (loc, LT_EXPR, type, _o1[0], _o1[1]);
    5525                 :           0 :                             if (EXPR_P (_r1))
    5526                 :           0 :                               goto next_after_fail1477;
    5527                 :           0 :                             res_op2 = _r1;
    5528                 :             :                           }
    5529                 :           0 :                           tree _r;
    5530                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    5531                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
    5532                 :           0 :                           return _r;
    5533                 :             :                         }
    5534                 :           0 : next_after_fail1477:;
    5535                 :             :                       }
    5536                 :             :                   }
    5537                 :             :                 }
    5538                 :             :               break;
    5539                 :             :             }
    5540                 :          83 :           default:;
    5541                 :             :           }
    5542                 :          83 :         {
    5543                 :          83 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    5544                 :          83 :           if (TREE_CODE_CLASS (LT_EXPR) != tcc_comparison
    5545                 :          83 :  || types_match (type, TREE_TYPE (captures[2]))
    5546                 :          83 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    5547                 :             :  || (optimize_vectors_before_lowering_p ()
    5548                 :           3 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    5549                 :           3 :  TREE_TYPE (captures[1]), ERROR_MARK))
    5550                 :             : )
    5551                 :             :             {
    5552                 :          75 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1478;
    5553                 :          75 :               {
    5554                 :          75 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1478;
    5555                 :          30 :                 tree res_op0;
    5556                 :          30 :                 res_op0 = captures[1];
    5557                 :          30 :                 tree res_op1;
    5558                 :          30 :                 {
    5559                 :          30 :                   tree _o1[2], _r1;
    5560                 :          30 :                   _o1[0] = captures[2];
    5561                 :          30 :                   _o1[1] = unshare_expr (captures[4]);
    5562                 :          30 :                   _r1 = fold_build2_loc (loc, LT_EXPR, type, _o1[0], _o1[1]);
    5563                 :          30 :                   if (EXPR_P (_r1))
    5564                 :          29 :                     goto next_after_fail1478;
    5565                 :           1 :                   res_op1 = _r1;
    5566                 :             :                 }
    5567                 :           1 :                 tree res_op2;
    5568                 :           1 :                 {
    5569                 :           1 :                   tree _o1[2], _r1;
    5570                 :           1 :                   _o1[0] = captures[3];
    5571                 :           1 :                   _o1[1] = captures[4];
    5572                 :           1 :                   _r1 = fold_build2_loc (loc, LT_EXPR, type, _o1[0], _o1[1]);
    5573                 :           1 :                   if (EXPR_P (_r1))
    5574                 :           0 :                     goto next_after_fail1478;
    5575                 :           1 :                   res_op2 = _r1;
    5576                 :             :                 }
    5577                 :           1 :                 tree _r;
    5578                 :           1 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    5579                 :           1 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
    5580                 :           1 :                 return _r;
    5581                 :             :               }
    5582                 :          82 : next_after_fail1478:;
    5583                 :             :             }
    5584                 :             :         }
    5585                 :          82 :         break;
    5586                 :             :       }
    5587                 :    14554544 :     default:;
    5588                 :             :     }
    5589                 :    14554544 :   switch (TREE_CODE (_p1))
    5590                 :             :     {
    5591                 :           0 :     case VEC_COND_EXPR:
    5592                 :           0 :       {
    5593                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5594                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5595                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    5596                 :           0 :         {
    5597                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    5598                 :           0 :           if (TREE_CODE_CLASS (LT_EXPR) != tcc_comparison
    5599                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
    5600                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
    5601                 :             :  || (optimize_vectors_before_lowering_p ()
    5602                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
    5603                 :           0 :  TREE_TYPE (captures[2]), ERROR_MARK))
    5604                 :             : )
    5605                 :             :             {
    5606                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1479;
    5607                 :           0 :               {
    5608                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1479;
    5609                 :           0 :                 tree res_op0;
    5610                 :           0 :                 res_op0 = captures[2];
    5611                 :           0 :                 tree res_op1;
    5612                 :           0 :                 {
    5613                 :           0 :                   tree _o1[2], _r1;
    5614                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    5615                 :           0 :                   _o1[1] = captures[3];
    5616                 :           0 :                   _r1 = fold_build2_loc (loc, LT_EXPR, type, _o1[0], _o1[1]);
    5617                 :           0 :                   if (EXPR_P (_r1))
    5618                 :           0 :                     goto next_after_fail1479;
    5619                 :           0 :                   res_op1 = _r1;
    5620                 :             :                 }
    5621                 :           0 :                 tree res_op2;
    5622                 :           0 :                 {
    5623                 :           0 :                   tree _o1[2], _r1;
    5624                 :           0 :                   _o1[0] = captures[0];
    5625                 :           0 :                   _o1[1] = captures[4];
    5626                 :           0 :                   _r1 = fold_build2_loc (loc, LT_EXPR, type, _o1[0], _o1[1]);
    5627                 :           0 :                   if (EXPR_P (_r1))
    5628                 :           0 :                     goto next_after_fail1479;
    5629                 :           0 :                   res_op2 = _r1;
    5630                 :             :                 }
    5631                 :           0 :                 tree _r;
    5632                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    5633                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
    5634                 :           0 :                 return _r;
    5635                 :             :               }
    5636                 :           0 : next_after_fail1479:;
    5637                 :             :             }
    5638                 :             :         }
    5639                 :           0 :         break;
    5640                 :             :       }
    5641                 :    14554544 :     default:;
    5642                 :             :     }
    5643                 :    14554544 : if (uniform_integer_cst_p (_p1))
    5644                 :             :   {
    5645                 :     5102744 :     {
    5646                 :     5102744 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    5647                 :     5102744 :       tree res = generic_simplify_322 (loc, type, _p0, _p1, captures, LT_EXPR, LE_EXPR);
    5648                 :     5102744 :       if (res) return res;
    5649                 :             :     }
    5650                 :             :   }
    5651                 :    12236702 :   switch (TREE_CODE (_p0))
    5652                 :             :     {
    5653                 :      116301 :     case MULT_EXPR:
    5654                 :      116301 :       {
    5655                 :      116301 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5656                 :      116301 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5657                 :      116301 :         switch (TREE_CODE (_q21))
    5658                 :             :           {
    5659                 :       62321 :           case INTEGER_CST:
    5660                 :       62321 :             {
    5661                 :       62321 :               if (integer_zerop (_p1))
    5662                 :             :                 {
    5663                 :        4360 :                   {
    5664                 :        4360 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    5665                 :        4360 :                     tree res = generic_simplify_224 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
    5666                 :        4360 :                     if (res) return res;
    5667                 :             :                   }
    5668                 :             :                 }
    5669                 :             :               break;
    5670                 :             :             }
    5671                 :             :           default:;
    5672                 :             :           }
    5673                 :             :         break;
    5674                 :             :       }
    5675                 :    12234993 :     default:;
    5676                 :             :     }
    5677                 :    12234993 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    5678                 :             :     {
    5679                 :        2724 :       {
    5680                 :        2724 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5681                 :        2724 :         tree res = generic_simplify_274 (loc, type, _p0, _p1, captures, LT_EXPR);
    5682                 :        2724 :         if (res) return res;
    5683                 :             :       }
    5684                 :             :     }
    5685                 :    12232269 :   switch (TREE_CODE (_p0))
    5686                 :             :     {
    5687                 :        2157 :     case BIT_NOT_EXPR:
    5688                 :        2157 :       {
    5689                 :        2157 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5690                 :        2157 :         switch (TREE_CODE (_p1))
    5691                 :             :           {
    5692                 :           7 :           case BIT_NOT_EXPR:
    5693                 :           7 :             {
    5694                 :           7 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5695                 :           7 :               {
    5696                 :           7 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _p1, _q40 };
    5697                 :           7 :                 tree res = generic_simplify_228 (loc, type, _p0, _p1, captures, LT_EXPR);
    5698                 :           7 :                 if (res) return res;
    5699                 :             :               }
    5700                 :           0 :               break;
    5701                 :             :             }
    5702                 :        2150 :           default:;
    5703                 :             :           }
    5704                 :        2150 :       {
    5705                 :        2150 :         tree _p1_pops[1];
    5706                 :        2150 :         if (tree_nop_convert (_p1, _p1_pops))
    5707                 :             :           {
    5708                 :          24 :             tree _q40 = _p1_pops[0];
    5709                 :          24 :             switch (TREE_CODE (_q40))
    5710                 :             :               {
    5711                 :           0 :               case BIT_NOT_EXPR:
    5712                 :           0 :                 {
    5713                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    5714                 :           0 :                   {
    5715                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40, _q50 };
    5716                 :           0 :                     tree res = generic_simplify_228 (loc, type, _p0, _p1, captures, LT_EXPR);
    5717                 :           0 :                     if (res) return res;
    5718                 :             :                   }
    5719                 :           0 :                   break;
    5720                 :             :                 }
    5721                 :             :               default:;
    5722                 :             :               }
    5723                 :             : }
    5724                 :             :       }
    5725                 :        2150 :       if (CONSTANT_CLASS_P (_p1))
    5726                 :             :         {
    5727                 :          23 :           {
    5728                 :          23 :             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    5729                 :          23 :             tree res = generic_simplify_229 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
    5730                 :          23 :             if (res) return res;
    5731                 :             :           }
    5732                 :             :         }
    5733                 :             :         break;
    5734                 :             :       }
    5735                 :    12232239 :     default:;
    5736                 :             :     }
    5737                 :    12232239 : {
    5738                 :    12232239 :   tree _p0_pops[1];
    5739                 :    12232239 :   if (tree_nop_convert (_p0, _p0_pops))
    5740                 :             :     {
    5741                 :      791588 :       tree _q20 = _p0_pops[0];
    5742                 :      791588 :       switch (TREE_CODE (_q20))
    5743                 :             :         {
    5744                 :           0 :         case BIT_NOT_EXPR:
    5745                 :           0 :           {
    5746                 :           0 :             tree _q30 = TREE_OPERAND (_q20, 0);
    5747                 :           0 :             switch (TREE_CODE (_p1))
    5748                 :             :               {
    5749                 :           0 :               case BIT_NOT_EXPR:
    5750                 :           0 :                 {
    5751                 :           0 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    5752                 :           0 :                   {
    5753                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _p1, _q50 };
    5754                 :           0 :                     tree res = generic_simplify_230 (loc, type, _p0, _p1, captures, LT_EXPR);
    5755                 :           0 :                     if (res) return res;
    5756                 :             :                   }
    5757                 :           0 :                   break;
    5758                 :             :                 }
    5759                 :           0 :               default:;
    5760                 :             :               }
    5761                 :           0 :           {
    5762                 :           0 :             tree _p1_pops[1];
    5763                 :           0 :             if (tree_nop_convert (_p1, _p1_pops))
    5764                 :             :               {
    5765                 :           0 :                 tree _q50 = _p1_pops[0];
    5766                 :           0 :                 switch (TREE_CODE (_q50))
    5767                 :             :                   {
    5768                 :           0 :                   case BIT_NOT_EXPR:
    5769                 :           0 :                     {
    5770                 :           0 :                       tree _q60 = TREE_OPERAND (_q50, 0);
    5771                 :           0 :                       {
    5772                 :           0 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50, _q60 };
    5773                 :           0 :                         tree res = generic_simplify_230 (loc, type, _p0, _p1, captures, LT_EXPR);
    5774                 :           0 :                         if (res) return res;
    5775                 :             :                       }
    5776                 :           0 :                       break;
    5777                 :             :                     }
    5778                 :             :                   default:;
    5779                 :             :                   }
    5780                 :             : }
    5781                 :             :           }
    5782                 :           0 :           if (CONSTANT_CLASS_P (_p1))
    5783                 :             :             {
    5784                 :           0 :               {
    5785                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
    5786                 :           0 :                 tree res = generic_simplify_229 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
    5787                 :           0 :                 if (res) return res;
    5788                 :             :               }
    5789                 :             :             }
    5790                 :             :             break;
    5791                 :             :           }
    5792                 :             :         default:;
    5793                 :             :         }
    5794                 :             : }
    5795                 :             : }
    5796                 :    12232239 :   switch (TREE_CODE (_p1))
    5797                 :             :     {
    5798                 :     2933312 :     case REAL_CST:
    5799                 :     2933312 :       {
    5800                 :     2933312 :         {
    5801                 :     2933312 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    5802                 :     2933312 :           tree res = generic_simplify_231 (loc, type, _p0, _p1, captures, LT_EXPR);
    5803                 :     2933312 :           if (res) return res;
    5804                 :             :         }
    5805                 :     2933215 :         break;
    5806                 :             :       }
    5807                 :    12232142 :     default:;
    5808                 :             :     }
    5809                 :    12232142 :   switch (TREE_CODE (_p0))
    5810                 :             :     {
    5811                 :     1672752 :     case PLUS_EXPR:
    5812                 :     1672752 :       {
    5813                 :     1672752 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5814                 :     1672752 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5815                 :     1672752 :         switch (TREE_CODE (_q21))
    5816                 :             :           {
    5817                 :         597 :           case REAL_CST:
    5818                 :         597 :             {
    5819                 :         597 :               switch (TREE_CODE (_p1))
    5820                 :             :                 {
    5821                 :         259 :                 case REAL_CST:
    5822                 :         259 :                   {
    5823                 :         259 :                     {
    5824                 :         259 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5825                 :         259 :                       tree res = generic_simplify_232 (loc, type, _p0, _p1, captures, PLUS_EXPR, LT_EXPR);
    5826                 :         259 :                       if (res) return res;
    5827                 :             :                     }
    5828                 :         257 :                     break;
    5829                 :             :                   }
    5830                 :             :                 default:;
    5831                 :             :                 }
    5832                 :             :               break;
    5833                 :             :             }
    5834                 :     1206701 :           case INTEGER_CST:
    5835                 :     1206701 :             {
    5836                 :     1206701 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5837                 :             :                 {
    5838                 :       17361 :                   {
    5839                 :       17361 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q20, _q21 };
    5840                 :       17361 :                     tree res = generic_simplify_323 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
    5841                 :       17361 :                     if (res) return res;
    5842                 :             :                   }
    5843                 :             :                 }
    5844                 :             :               break;
    5845                 :             :             }
    5846                 :             :           default:;
    5847                 :             :           }
    5848                 :             :         break;
    5849                 :             :       }
    5850                 :      134593 :     case MINUS_EXPR:
    5851                 :      134593 :       {
    5852                 :      134593 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5853                 :      134593 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5854                 :      134593 :         switch (TREE_CODE (_q21))
    5855                 :             :           {
    5856                 :         213 :           case REAL_CST:
    5857                 :         213 :             {
    5858                 :         213 :               switch (TREE_CODE (_p1))
    5859                 :             :                 {
    5860                 :         203 :                 case REAL_CST:
    5861                 :         203 :                   {
    5862                 :         203 :                     {
    5863                 :         203 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5864                 :         203 :                       tree res = generic_simplify_232 (loc, type, _p0, _p1, captures, MINUS_EXPR, LT_EXPR);
    5865                 :         203 :                       if (res) return res;
    5866                 :             :                     }
    5867                 :         203 :                     break;
    5868                 :             :                   }
    5869                 :             :                 default:;
    5870                 :             :                 }
    5871                 :             :               break;
    5872                 :             :             }
    5873                 :      134593 :           default:;
    5874                 :             :           }
    5875                 :      134593 :         switch (TREE_CODE (_q20))
    5876                 :             :           {
    5877                 :       19042 :           case REAL_CST:
    5878                 :       19042 :             {
    5879                 :       19042 :               switch (TREE_CODE (_p1))
    5880                 :             :                 {
    5881                 :       18854 :                 case REAL_CST:
    5882                 :       18854 :                   {
    5883                 :       18854 :                     {
    5884                 :       18854 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5885                 :       18854 :                       tree res = generic_simplify_233 (loc, type, _p0, _p1, captures, LT_EXPR);
    5886                 :       18854 :                       if (res) return res;
    5887                 :             :                     }
    5888                 :       18844 :                     break;
    5889                 :             :                   }
    5890                 :             :                 default:;
    5891                 :             :                 }
    5892                 :             :               break;
    5893                 :             :             }
    5894                 :             :           default:;
    5895                 :             :           }
    5896                 :             :         break;
    5897                 :             :       }
    5898                 :       49431 :     case FLOAT_EXPR:
    5899                 :       49431 :       {
    5900                 :       49431 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5901                 :       49431 :         switch (TREE_CODE (_p1))
    5902                 :             :           {
    5903                 :         128 :           case FLOAT_EXPR:
    5904                 :         128 :             {
    5905                 :         128 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5906                 :         128 :               {
    5907                 :         128 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    5908                 :         128 :                 tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, LT_EXPR, LT_EXPR);
    5909                 :         128 :                 if (res) return res;
    5910                 :             :               }
    5911                 :          88 :               break;
    5912                 :             :             }
    5913                 :         428 :           case REAL_CST:
    5914                 :         428 :             {
    5915                 :         428 :               {
    5916                 :         428 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    5917                 :         428 :                 tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, LT_EXPR, LE_EXPR);
    5918                 :         428 :                 if (res) return res;
    5919                 :             :               }
    5920                 :         302 :               break;
    5921                 :             :             }
    5922                 :             :           default:;
    5923                 :             :           }
    5924                 :             :         break;
    5925                 :             :       }
    5926                 :        6493 :     case EXACT_DIV_EXPR:
    5927                 :        6493 :       {
    5928                 :        6493 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5929                 :        6493 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5930                 :        6493 :         switch (TREE_CODE (_q21))
    5931                 :             :           {
    5932                 :        6493 :           case INTEGER_CST:
    5933                 :        6493 :             {
    5934                 :        6493 :               switch (TREE_CODE (_p1))
    5935                 :             :                 {
    5936                 :          19 :                 case INTEGER_CST:
    5937                 :          19 :                   {
    5938                 :          19 :                     {
    5939                 :          19 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5940                 :          19 :                       tree res = generic_simplify_324 (loc, type, _p0, _p1, captures, LT_EXPR);
    5941                 :          19 :                       if (res) return res;
    5942                 :             :                     }
    5943                 :           0 :                     break;
    5944                 :             :                   }
    5945                 :             :                 default:;
    5946                 :             :                 }
    5947                 :             :               break;
    5948                 :             :             }
    5949                 :             :           default:;
    5950                 :             :           }
    5951                 :             :         break;
    5952                 :             :       }
    5953                 :     1443554 :     CASE_CONVERT:
    5954                 :     1443554 :       {
    5955                 :     1443554 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5956                 :     1443554 :         switch (TREE_CODE (_q20))
    5957                 :             :           {
    5958                 :          88 :           case EXACT_DIV_EXPR:
    5959                 :          88 :             {
    5960                 :          88 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5961                 :          88 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5962                 :          88 :               switch (TREE_CODE (_q31))
    5963                 :             :                 {
    5964                 :          88 :                 case INTEGER_CST:
    5965                 :          88 :                   {
    5966                 :          88 :                     switch (TREE_CODE (_p1))
    5967                 :             :                       {
    5968                 :           0 :                       case INTEGER_CST:
    5969                 :           0 :                         {
    5970                 :           0 :                           {
    5971                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    5972                 :           0 :                             tree res = generic_simplify_325 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
    5973                 :           0 :                             if (res) return res;
    5974                 :             :                           }
    5975                 :           0 :                           break;
    5976                 :             :                         }
    5977                 :             :                       default:;
    5978                 :             :                       }
    5979                 :             :                     break;
    5980                 :             :                   }
    5981                 :             :                 default:;
    5982                 :             :                 }
    5983                 :             :               break;
    5984                 :             :             }
    5985                 :     1443554 :           default:;
    5986                 :             :           }
    5987                 :     1443554 :         switch (TREE_CODE (_p1))
    5988                 :             :           {
    5989                 :      488052 :           CASE_CONVERT:
    5990                 :      488052 :             {
    5991                 :      488052 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5992                 :      488052 :               {
    5993                 :      488052 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    5994                 :      488052 :                 tree res = generic_simplify_241 (loc, type, _p0, _p1, captures, LT_EXPR);
    5995                 :      488052 :                 if (res) return res;
    5996                 :             :               }
    5997                 :      273884 :               break;
    5998                 :             :             }
    5999                 :     1229386 :           default:;
    6000                 :             :           }
    6001                 :     1229386 :         {
    6002                 :     1229386 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
    6003                 :     1229386 :           tree res = generic_simplify_242 (loc, type, _p0, _p1, captures, LT_EXPR);
    6004                 :     1229386 :           if (res) return res;
    6005                 :             :         }
    6006                 :      992595 :         switch (TREE_CODE (_q20))
    6007                 :             :           {
    6008                 :        3241 :           case ADDR_EXPR:
    6009                 :        3241 :             {
    6010                 :        3241 :               switch (TREE_CODE (_p1))
    6011                 :             :                 {
    6012                 :        2141 :                 CASE_CONVERT:
    6013                 :        2141 :                   {
    6014                 :        2141 :                     tree _q40 = TREE_OPERAND (_p1, 0);
    6015                 :        2141 :                     switch (TREE_CODE (_q40))
    6016                 :             :                       {
    6017                 :        1845 :                       case ADDR_EXPR:
    6018                 :        1845 :                         {
    6019                 :        1845 :                           {
    6020                 :        1845 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    6021                 :        1845 :                             tree res = generic_simplify_259 (loc, type, _p0, _p1, captures, LT_EXPR);
    6022                 :        1845 :                             if (res) return res;
    6023                 :             :                           }
    6024                 :         274 :                           break;
    6025                 :             :                         }
    6026                 :             :                       default:;
    6027                 :             :                       }
    6028                 :             :                     break;
    6029                 :             :                   }
    6030                 :         476 :                 case ADDR_EXPR:
    6031                 :         476 :                   {
    6032                 :         476 :                     {
    6033                 :         476 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    6034                 :         476 :                       tree res = generic_simplify_259 (loc, type, _p0, _p1, captures, LT_EXPR);
    6035                 :         476 :                       if (res) return res;
    6036                 :             :                     }
    6037                 :           0 :                     break;
    6038                 :             :                   }
    6039                 :             :                 default:;
    6040                 :             :                 }
    6041                 :             :               break;
    6042                 :             :             }
    6043                 :      990548 :           default:;
    6044                 :             :           }
    6045                 :      990548 :         if (uniform_integer_cst_p (_p1))
    6046                 :             :           {
    6047                 :      233910 :             {
    6048                 :      233910 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    6049                 :      233910 :               tree res = generic_simplify_326 (loc, type, _p0, _p1, captures, LT_EXPR);
    6050                 :      233910 :               if (res) return res;
    6051                 :             :             }
    6052                 :             :           }
    6053                 :             :         break;
    6054                 :             :       }
    6055                 :        1177 :     case NEGATE_EXPR:
    6056                 :        1177 :       {
    6057                 :        1177 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6058                 :        1177 :         switch (TREE_CODE (_p1))
    6059                 :             :           {
    6060                 :           0 :           case NEGATE_EXPR:
    6061                 :           0 :             {
    6062                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6063                 :           0 :               {
    6064                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6065                 :           0 :                 tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
    6066                 :           0 :                 if (res) return res;
    6067                 :             :               }
    6068                 :           0 :               break;
    6069                 :             :             }
    6070                 :        1177 :           default:;
    6071                 :             :           }
    6072                 :        1177 :       if (CONSTANT_CLASS_P (_p1))
    6073                 :             :         {
    6074                 :         205 :           {
    6075                 :         205 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    6076                 :         205 :             tree res = generic_simplify_240 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
    6077                 :         205 :             if (res) return res;
    6078                 :             :           }
    6079                 :             :         }
    6080                 :             :         break;
    6081                 :             :       }
    6082                 :       24570 :     case ADDR_EXPR:
    6083                 :       24570 :       {
    6084                 :       24570 :         switch (TREE_CODE (_p1))
    6085                 :             :           {
    6086                 :           7 :           CASE_CONVERT:
    6087                 :           7 :             {
    6088                 :           7 :               tree _q30 = TREE_OPERAND (_p1, 0);
    6089                 :           7 :               switch (TREE_CODE (_q30))
    6090                 :             :                 {
    6091                 :           0 :                 case ADDR_EXPR:
    6092                 :           0 :                   {
    6093                 :           0 :                     {
    6094                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q30 };
    6095                 :           0 :                       tree res = generic_simplify_260 (loc, type, _p0, _p1, captures, LT_EXPR);
    6096                 :           0 :                       if (res) return res;
    6097                 :             :                     }
    6098                 :           0 :                     break;
    6099                 :             :                   }
    6100                 :             :                 default:;
    6101                 :             :                 }
    6102                 :             :               break;
    6103                 :             :             }
    6104                 :       21657 :           case ADDR_EXPR:
    6105                 :       21657 :             {
    6106                 :       21657 :               {
    6107                 :       21657 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
    6108                 :       21657 :                 tree res = generic_simplify_260 (loc, type, _p0, _p1, captures, LT_EXPR);
    6109                 :       21657 :                 if (res) return res;
    6110                 :             :               }
    6111                 :         336 :               break;
    6112                 :             :             }
    6113                 :             :           default:;
    6114                 :             :           }
    6115                 :             :         break;
    6116                 :             :       }
    6117                 :     1360886 :     case CALL_EXPR:
    6118                 :     1360886 :       switch (get_call_combined_fn (_p0))
    6119                 :             :         {
    6120                 :           5 :         case CFN_BUILT_IN_SQRTF:
    6121                 :           5 :           if (call_expr_nargs (_p0) == 1)
    6122                 :             :     {
    6123                 :           5 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6124                 :           5 :               switch (TREE_CODE (_p1))
    6125                 :             :                 {
    6126                 :           5 :                 case REAL_CST:
    6127                 :           5 :                   {
    6128                 :           5 :                     {
    6129                 :           5 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    6130                 :           5 :                       tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF, LT_EXPR);
    6131                 :           5 :                       if (res) return res;
    6132                 :             :                     }
    6133                 :           0 :                     break;
    6134                 :             :                   }
    6135                 :           0 :                 case CALL_EXPR:
    6136                 :           0 :                   switch (get_call_combined_fn (_p1))
    6137                 :             :                     {
    6138                 :           0 :                     case CFN_BUILT_IN_SQRTF:
    6139                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    6140                 :             :     {
    6141                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    6142                 :           0 :                           {
    6143                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6144                 :           0 :                             tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF, LT_EXPR);
    6145                 :           0 :                             if (res) return res;
    6146                 :             :                           }
    6147                 :             :                         }
    6148                 :             :                       break;
    6149                 :             :                     default:;
    6150                 :             :                     }
    6151                 :             :                   break;
    6152                 :             :                 default:;
    6153                 :             :                 }
    6154                 :             :             }
    6155                 :             :           break;
    6156                 :           0 :         case CFN_BUILT_IN_SQRTL:
    6157                 :           0 :           if (call_expr_nargs (_p0) == 1)
    6158                 :             :     {
    6159                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6160                 :           0 :               switch (TREE_CODE (_p1))
    6161                 :             :                 {
    6162                 :           0 :                 case REAL_CST:
    6163                 :           0 :                   {
    6164                 :           0 :                     {
    6165                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    6166                 :           0 :                       tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL, LT_EXPR);
    6167                 :           0 :                       if (res) return res;
    6168                 :             :                     }
    6169                 :           0 :                     break;
    6170                 :             :                   }
    6171                 :           0 :                 case CALL_EXPR:
    6172                 :           0 :                   switch (get_call_combined_fn (_p1))
    6173                 :             :                     {
    6174                 :           0 :                     case CFN_BUILT_IN_SQRTL:
    6175                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    6176                 :             :     {
    6177                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    6178                 :           0 :                           {
    6179                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6180                 :           0 :                             tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL, LT_EXPR);
    6181                 :           0 :                             if (res) return res;
    6182                 :             :                           }
    6183                 :             :                         }
    6184                 :             :                       break;
    6185                 :             :                     default:;
    6186                 :             :                     }
    6187                 :             :                   break;
    6188                 :             :                 default:;
    6189                 :             :                 }
    6190                 :             :             }
    6191                 :             :           break;
    6192                 :           4 :         case CFN_BUILT_IN_SQRT:
    6193                 :           4 :           if (call_expr_nargs (_p0) == 1)
    6194                 :             :     {
    6195                 :           4 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6196                 :           4 :               switch (TREE_CODE (_p1))
    6197                 :             :                 {
    6198                 :           4 :                 case REAL_CST:
    6199                 :           4 :                   {
    6200                 :           4 :                     {
    6201                 :           4 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    6202                 :           4 :                       tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT, LT_EXPR);
    6203                 :           4 :                       if (res) return res;
    6204                 :             :                     }
    6205                 :           1 :                     break;
    6206                 :             :                   }
    6207                 :           0 :                 case CALL_EXPR:
    6208                 :           0 :                   switch (get_call_combined_fn (_p1))
    6209                 :             :                     {
    6210                 :           0 :                     case CFN_BUILT_IN_SQRT:
    6211                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    6212                 :             :     {
    6213                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    6214                 :           0 :                           {
    6215                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6216                 :           0 :                             tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT, LT_EXPR);
    6217                 :           0 :                             if (res) return res;
    6218                 :             :                           }
    6219                 :             :                         }
    6220                 :             :                       break;
    6221                 :             :                     default:;
    6222                 :             :                     }
    6223                 :             :                   break;
    6224                 :             :                 default:;
    6225                 :             :                 }
    6226                 :             :             }
    6227                 :             :           break;
    6228                 :           0 :         case CFN_SQRT:
    6229                 :           0 :           if (call_expr_nargs (_p0) == 1)
    6230                 :             :     {
    6231                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6232                 :           0 :               switch (TREE_CODE (_p1))
    6233                 :             :                 {
    6234                 :           0 :                 case REAL_CST:
    6235                 :           0 :                   {
    6236                 :           0 :                     {
    6237                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    6238                 :           0 :                       tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, CFN_SQRT, LT_EXPR);
    6239                 :           0 :                       if (res) return res;
    6240                 :             :                     }
    6241                 :           0 :                     break;
    6242                 :             :                   }
    6243                 :           0 :                 case CALL_EXPR:
    6244                 :           0 :                   switch (get_call_combined_fn (_p1))
    6245                 :             :                     {
    6246                 :           0 :                     case CFN_SQRT:
    6247                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    6248                 :             :     {
    6249                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    6250                 :           0 :                           {
    6251                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6252                 :           0 :                             tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, CFN_SQRT, LT_EXPR);
    6253                 :           0 :                             if (res) return res;
    6254                 :             :                           }
    6255                 :             :                         }
    6256                 :             :                       break;
    6257                 :             :                     default:;
    6258                 :             :                     }
    6259                 :             :                   break;
    6260                 :             :                 default:;
    6261                 :             :                 }
    6262                 :             :             }
    6263                 :             :           break;
    6264                 :             :         default:;
    6265                 :             :         }
    6266                 :             :       break;
    6267                 :    11737704 :     default:;
    6268                 :             :     }
    6269                 :    11737704 :   switch (TREE_CODE (_p1))
    6270                 :             :     {
    6271                 :     1436898 :     CASE_CONVERT:
    6272                 :     1436898 :       {
    6273                 :     1436898 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6274                 :     1436898 :         switch (TREE_CODE (_q30))
    6275                 :             :           {
    6276                 :           0 :           case NE_EXPR:
    6277                 :           0 :             {
    6278                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6279                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    6280                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6281                 :             :                 {
    6282                 :           0 :                   if (integer_zerop (_q41))
    6283                 :             :                     {
    6284                 :           0 :                       {
    6285                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6286                 :           0 :                         if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    6287                 :             : )
    6288                 :             :                           {
    6289                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1480;
    6290                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1480;
    6291                 :           0 :                             {
    6292                 :           0 :                               tree _r;
    6293                 :           0 :                               _r =  constant_boolean_node (false, type);
    6294                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 897, __FILE__, __LINE__, true);
    6295                 :           0 :                               return _r;
    6296                 :             :                             }
    6297                 :             : next_after_fail1480:;
    6298                 :             :                           }
    6299                 :             :                       }
    6300                 :             :                     }
    6301                 :             :                 }
    6302                 :             :               break;
    6303                 :             :             }
    6304                 :             :           default:;
    6305                 :             :           }
    6306                 :             :         break;
    6307                 :             :       }
    6308                 :    11737704 :     default:;
    6309                 :             :     }
    6310                 :    11737704 : if (uniform_integer_cst_p (_p1))
    6311                 :             :   {
    6312                 :     2544286 :     {
    6313                 :     2544286 :       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
    6314                 :     2544286 :       tree res = generic_simplify_327 (loc, type, _p0, _p1, captures, LT_EXPR);
    6315                 :     2544286 :       if (res) return res;
    6316                 :             :     }
    6317                 :             :   }
    6318                 :    11329612 :   switch (TREE_CODE (_p0))
    6319                 :             :     {
    6320                 :      987496 :     CASE_CONVERT:
    6321                 :      987496 :       {
    6322                 :      987496 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6323                 :      987496 :         switch (TREE_CODE (_q20))
    6324                 :             :           {
    6325                 :      107109 :           case PLUS_EXPR:
    6326                 :      107109 :             {
    6327                 :      107109 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6328                 :      107109 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6329                 :      107109 :               switch (TREE_CODE (_q30))
    6330                 :             :                 {
    6331                 :       58362 :                 CASE_CONVERT:
    6332                 :       58362 :                   {
    6333                 :       58362 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    6334                 :       58362 :                     switch (TREE_CODE (_q31))
    6335                 :             :                       {
    6336                 :       58327 :                       case INTEGER_CST:
    6337                 :       58327 :                         {
    6338                 :       58327 :                           if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6339                 :             :                             {
    6340                 :          21 :                               {
    6341                 :          21 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q31 };
    6342                 :          21 :                                 tree res = generic_simplify_328 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
    6343                 :          21 :                                 if (res) return res;
    6344                 :             :                               }
    6345                 :             :                             }
    6346                 :             :                           break;
    6347                 :             :                         }
    6348                 :             :                       default:;
    6349                 :             :                       }
    6350                 :             :                     break;
    6351                 :             :                   }
    6352                 :             :                 default:;
    6353                 :             :                 }
    6354                 :             :               break;
    6355                 :             :             }
    6356                 :             :           default:;
    6357                 :             :           }
    6358                 :             :         break;
    6359                 :             :       }
    6360                 :    11329591 :     default:;
    6361                 :             :     }
    6362                 :    11329591 :   switch (TREE_CODE (_p1))
    6363                 :             :     {
    6364                 :     1436898 :     CASE_CONVERT:
    6365                 :     1436898 :       {
    6366                 :     1436898 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6367                 :     1436898 :         switch (TREE_CODE (_q30))
    6368                 :             :           {
    6369                 :       18480 :           case PLUS_EXPR:
    6370                 :       18480 :             {
    6371                 :       18480 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6372                 :       18480 :               tree _q41 = TREE_OPERAND (_q30, 1);
    6373                 :       18480 :               switch (TREE_CODE (_q40))
    6374                 :             :                 {
    6375                 :       16353 :                 CASE_CONVERT:
    6376                 :       16353 :                   {
    6377                 :       16353 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    6378                 :       16353 :                     if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6379                 :             :                       {
    6380                 :           0 :                         switch (TREE_CODE (_q41))
    6381                 :             :                           {
    6382                 :           0 :                           case INTEGER_CST:
    6383                 :           0 :                             {
    6384                 :           0 :                               {
    6385                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0, _q41 };
    6386                 :           0 :                                 tree res = generic_simplify_328 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
    6387                 :           0 :                                 if (res) return res;
    6388                 :             :                               }
    6389                 :           0 :                               break;
    6390                 :             :                             }
    6391                 :             :                           default:;
    6392                 :             :                           }
    6393                 :             :                       }
    6394                 :             :                     break;
    6395                 :             :                   }
    6396                 :             :                 default:;
    6397                 :             :                 }
    6398                 :             :               break;
    6399                 :             :             }
    6400                 :             :           default:;
    6401                 :             :           }
    6402                 :             :         break;
    6403                 :             :       }
    6404                 :      287369 :     case PLUS_EXPR:
    6405                 :      287369 :       {
    6406                 :      287369 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6407                 :      287369 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6408                 :      287369 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6409                 :             :           {
    6410                 :          80 :             switch (TREE_CODE (_q31))
    6411                 :             :               {
    6412                 :          64 :               case INTEGER_CST:
    6413                 :          64 :                 {
    6414                 :          64 :                   {
    6415                 :          64 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0, _q31 };
    6416                 :          64 :                     tree res = generic_simplify_323 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
    6417                 :          64 :                     if (res) return res;
    6418                 :             :                   }
    6419                 :           0 :                   break;
    6420                 :             :                 }
    6421                 :             :               default:;
    6422                 :             :               }
    6423                 :             :           }
    6424                 :             :         break;
    6425                 :             :       }
    6426                 :       22651 :     case MINUS_EXPR:
    6427                 :       22651 :       {
    6428                 :       22651 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6429                 :       22651 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6430                 :       22651 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6431                 :             :           {
    6432                 :           0 :             {
    6433                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
    6434                 :           0 :               tree res = generic_simplify_329 (loc, type, _p0, _p1, captures, GT_EXPR);
    6435                 :           0 :               if (res) return res;
    6436                 :             :             }
    6437                 :             :           }
    6438                 :             :         break;
    6439                 :             :       }
    6440                 :    11329527 :     default:;
    6441                 :             :     }
    6442                 :    11329527 :   switch (TREE_CODE (_p0))
    6443                 :             :     {
    6444                 :     1643674 :     case PLUS_EXPR:
    6445                 :     1643674 :       {
    6446                 :     1643674 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6447                 :     1643674 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6448                 :     1643674 :         switch (TREE_CODE (_q20))
    6449                 :             :           {
    6450                 :        9117 :           case MINUS_EXPR:
    6451                 :        9117 :             {
    6452                 :        9117 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6453                 :        9117 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6454                 :        9117 :               if (integer_minus_onep (_q21))
    6455                 :             :                 {
    6456                 :          49 :                   if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    6457                 :             :                     {
    6458                 :           1 :                       {
    6459                 :           1 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    6460                 :           1 :                         tree res = generic_simplify_330 (loc, type, _p0, _p1, captures, LT_EXPR);
    6461                 :           1 :                         if (res) return res;
    6462                 :             :                       }
    6463                 :             :                     }
    6464                 :             :                 }
    6465                 :             :               break;
    6466                 :             :             }
    6467                 :             :           default:;
    6468                 :             :           }
    6469                 :             :         break;
    6470                 :             :       }
    6471                 :    11329526 :     default:;
    6472                 :             :     }
    6473                 :    11329526 :   switch (TREE_CODE (_p1))
    6474                 :             :     {
    6475                 :           0 :     case REALPART_EXPR:
    6476                 :           0 :       {
    6477                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6478                 :           0 :         switch (TREE_CODE (_q30))
    6479                 :             :           {
    6480                 :           0 :           case CALL_EXPR:
    6481                 :           0 :             switch (get_call_combined_fn (_q30))
    6482                 :             :               {
    6483                 :           0 :               case CFN_SUB_OVERFLOW:
    6484                 :           0 :                 if (call_expr_nargs (_q30) == 2)
    6485                 :             :     {
    6486                 :           0 :                     tree _q40 = CALL_EXPR_ARG (_q30, 0);
    6487                 :           0 :                     tree _q41 = CALL_EXPR_ARG (_q30, 1);
    6488                 :           0 :                     if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6489                 :             :                       {
    6490                 :           0 :                         {
    6491                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q41 };
    6492                 :           0 :                           tree res = generic_simplify_331 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
    6493                 :           0 :                           if (res) return res;
    6494                 :             :                         }
    6495                 :             :                       }
    6496                 :             :                   }
    6497                 :             :                 break;
    6498                 :             :               default:;
    6499                 :             :               }
    6500                 :             :             break;
    6501                 :             :           default:;
    6502                 :             :           }
    6503                 :             :         break;
    6504                 :             :       }
    6505                 :    11329526 :     default:;
    6506                 :             :     }
    6507                 :    11329526 :   switch (TREE_CODE (_p0))
    6508                 :             :     {
    6509                 :          20 :     case REALPART_EXPR:
    6510                 :          20 :       {
    6511                 :          20 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6512                 :          20 :         switch (TREE_CODE (_q20))
    6513                 :             :           {
    6514                 :           0 :           case CALL_EXPR:
    6515                 :           0 :             switch (get_call_combined_fn (_q20))
    6516                 :             :               {
    6517                 :           0 :               case CFN_ADD_OVERFLOW:
    6518                 :           0 :                 if (call_expr_nargs (_q20) == 2)
    6519                 :             :     {
    6520                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    6521                 :           0 :                     tree _q31 = CALL_EXPR_ARG (_q20, 1);
    6522                 :           0 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    6523                 :             :                       {
    6524                 :           0 :                         {
    6525                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    6526                 :           0 :                           tree res = generic_simplify_332 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
    6527                 :           0 :                           if (res) return res;
    6528                 :             :                         }
    6529                 :             :                       }
    6530                 :           0 :                     if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    6531                 :             :                       {
    6532                 :           0 :                         {
    6533                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q31, _q30 };
    6534                 :           0 :                           tree res = generic_simplify_332 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
    6535                 :           0 :                           if (res) return res;
    6536                 :             :                         }
    6537                 :             :                       }
    6538                 :             :                   }
    6539                 :             :                 break;
    6540                 :             :               default:;
    6541                 :             :               }
    6542                 :             :             break;
    6543                 :             :           default:;
    6544                 :             :           }
    6545                 :             :         break;
    6546                 :             :       }
    6547                 :        6595 :     case TRUNC_DIV_EXPR:
    6548                 :        6595 :       {
    6549                 :        6595 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6550                 :        6595 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6551                 :        6595 :         if (integer_all_onesp (_q20))
    6552                 :             :           {
    6553                 :         927 :             {
    6554                 :         927 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _p1 };
    6555                 :         927 :               tree res = generic_simplify_333 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
    6556                 :         927 :               if (res) return res;
    6557                 :             :             }
    6558                 :             :           }
    6559                 :             :         break;
    6560                 :             :       }
    6561                 :      112451 :     case MULT_EXPR:
    6562                 :      112451 :       {
    6563                 :      112451 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6564                 :      112451 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6565                 :      112451 :         switch (TREE_CODE (_q21))
    6566                 :             :           {
    6567                 :       11564 :           case REAL_CST:
    6568                 :       11564 :             {
    6569                 :       11564 :               switch (TREE_CODE (_p1))
    6570                 :             :                 {
    6571                 :         516 :                 case REAL_CST:
    6572                 :         516 :                   {
    6573                 :         516 :                     {
    6574                 :         516 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6575                 :         516 :                       tree res = generic_simplify_334 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
    6576                 :         516 :                       if (res) return res;
    6577                 :             :                     }
    6578                 :         516 :                     break;
    6579                 :             :                   }
    6580                 :             :                 default:;
    6581                 :             :                 }
    6582                 :             :               break;
    6583                 :             :             }
    6584                 :             :           default:;
    6585                 :             :           }
    6586                 :             :         break;
    6587                 :             :       }
    6588                 :     1643673 :     case PLUS_EXPR:
    6589                 :     1643673 :       {
    6590                 :     1643673 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6591                 :     1643673 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6592                 :     1643673 :         switch (TREE_CODE (_q21))
    6593                 :             :           {
    6594                 :     1188120 :           case INTEGER_CST:
    6595                 :     1188120 :             {
    6596                 :     1188120 :               switch (TREE_CODE (_p1))
    6597                 :             :                 {
    6598                 :      197030 :                 case INTEGER_CST:
    6599                 :      197030 :                   {
    6600                 :      197030 :                     {
    6601                 :      197030 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    6602                 :      197030 :                       tree res = generic_simplify_335 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR, LT_EXPR);
    6603                 :      197030 :                       if (res) return res;
    6604                 :             :                     }
    6605                 :       15252 :                     break;
    6606                 :             :                   }
    6607                 :             :                 default:;
    6608                 :             :                 }
    6609                 :             :               break;
    6610                 :             :             }
    6611                 :             :           default:;
    6612                 :             :           }
    6613                 :             :         break;
    6614                 :             :       }
    6615                 :      134583 :     case MINUS_EXPR:
    6616                 :      134583 :       {
    6617                 :      134583 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6618                 :      134583 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6619                 :      134583 :         switch (TREE_CODE (_q21))
    6620                 :             :           {
    6621                 :           0 :           case INTEGER_CST:
    6622                 :           0 :             {
    6623                 :           0 :               switch (TREE_CODE (_p1))
    6624                 :             :                 {
    6625                 :           0 :                 case INTEGER_CST:
    6626                 :           0 :                   {
    6627                 :           0 :                     {
    6628                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    6629                 :           0 :                       tree res = generic_simplify_335 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR, LT_EXPR);
    6630                 :           0 :                       if (res) return res;
    6631                 :             :                     }
    6632                 :           0 :                     break;
    6633                 :             :                   }
    6634                 :             :                 default:;
    6635                 :             :                 }
    6636                 :             :               break;
    6637                 :             :             }
    6638                 :             :           default:;
    6639                 :             :           }
    6640                 :             :         break;
    6641                 :             :       }
    6642                 :     1360858 :     case CALL_EXPR:
    6643                 :     1360858 :       switch (get_call_combined_fn (_p0))
    6644                 :             :         {
    6645                 :           3 :         case CFN_BUILT_IN_CTZ:
    6646                 :           3 :           if (call_expr_nargs (_p0) == 1)
    6647                 :             :     {
    6648                 :           3 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6649                 :           3 :               switch (TREE_CODE (_p1))
    6650                 :             :                 {
    6651                 :           3 :                 case INTEGER_CST:
    6652                 :           3 :                   {
    6653                 :           3 :                     {
    6654                 :           3 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    6655                 :           3 :                       tree res = generic_simplify_336 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, CFN_BUILT_IN_CTZ);
    6656                 :           3 :                       if (res) return res;
    6657                 :             :                     }
    6658                 :           0 :                     break;
    6659                 :             :                   }
    6660                 :             :                 default:;
    6661                 :             :                 }
    6662                 :             :             }
    6663                 :             :           break;
    6664                 :           2 :         case CFN_BUILT_IN_CTZL:
    6665                 :           2 :           if (call_expr_nargs (_p0) == 1)
    6666                 :             :     {
    6667                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6668                 :           2 :               switch (TREE_CODE (_p1))
    6669                 :             :                 {
    6670                 :           2 :                 case INTEGER_CST:
    6671                 :           2 :                   {
    6672                 :           2 :                     {
    6673                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    6674                 :           2 :                       tree res = generic_simplify_336 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, CFN_BUILT_IN_CTZL);
    6675                 :           2 :                       if (res) return res;
    6676                 :             :                     }
    6677                 :           0 :                     break;
    6678                 :             :                   }
    6679                 :             :                 default:;
    6680                 :             :                 }
    6681                 :             :             }
    6682                 :             :           break;
    6683                 :           0 :         case CFN_BUILT_IN_CTZIMAX:
    6684                 :           0 :           if (call_expr_nargs (_p0) == 1)
    6685                 :             :     {
    6686                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6687                 :           0 :               switch (TREE_CODE (_p1))
    6688                 :             :                 {
    6689                 :           0 :                 case INTEGER_CST:
    6690                 :           0 :                   {
    6691                 :           0 :                     {
    6692                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    6693                 :           0 :                       tree res = generic_simplify_336 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, CFN_BUILT_IN_CTZIMAX);
    6694                 :           0 :                       if (res) return res;
    6695                 :             :                     }
    6696                 :           0 :                     break;
    6697                 :             :                   }
    6698                 :             :                 default:;
    6699                 :             :                 }
    6700                 :             :             }
    6701                 :             :           break;
    6702                 :           0 :         case CFN_CTZ:
    6703                 :           0 :           if (call_expr_nargs (_p0) == 1)
    6704                 :             :     {
    6705                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6706                 :           0 :               switch (TREE_CODE (_p1))
    6707                 :             :                 {
    6708                 :           0 :                 case INTEGER_CST:
    6709                 :           0 :                   {
    6710                 :           0 :                     {
    6711                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    6712                 :           0 :                       tree res = generic_simplify_336 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, CFN_CTZ);
    6713                 :           0 :                       if (res) return res;
    6714                 :             :                     }
    6715                 :           0 :                     break;
    6716                 :             :                   }
    6717                 :             :                 default:;
    6718                 :             :                 }
    6719                 :             :             }
    6720                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6721                 :             :     {
    6722                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6723                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6724                 :           0 :               switch (TREE_CODE (_p1))
    6725                 :             :                 {
    6726                 :           0 :                 case INTEGER_CST:
    6727                 :           0 :                   {
    6728                 :           0 :                     {
    6729                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    6730                 :           0 :                       tree res = generic_simplify_337 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
    6731                 :           0 :                       if (res) return res;
    6732                 :             :                     }
    6733                 :           0 :                     break;
    6734                 :             :                   }
    6735                 :             :                 default:;
    6736                 :             :                 }
    6737                 :             :             }
    6738                 :             :           break;
    6739                 :           2 :         case CFN_BUILT_IN_CTZLL:
    6740                 :           2 :           if (call_expr_nargs (_p0) == 1)
    6741                 :             :     {
    6742                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6743                 :           2 :               switch (TREE_CODE (_p1))
    6744                 :             :                 {
    6745                 :           2 :                 case INTEGER_CST:
    6746                 :           2 :                   {
    6747                 :           2 :                     {
    6748                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    6749                 :           2 :                       tree res = generic_simplify_336 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, CFN_BUILT_IN_CTZLL);
    6750                 :           2 :                       if (res) return res;
    6751                 :             :                     }
    6752                 :           0 :                     break;
    6753                 :             :                   }
    6754                 :             :                 default:;
    6755                 :             :                 }
    6756                 :             :             }
    6757                 :             :           break;
    6758                 :             :         default:;
    6759                 :             :         }
    6760                 :             :       break;
    6761                 :             :     default:;
    6762                 :             :     }
    6763                 :             :   return NULL_TREE;
    6764                 :             : }
    6765                 :             : 
    6766                 :             : tree
    6767                 :    16827350 : generic_simplify_GT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    6768                 :             : {
    6769                 :    16827350 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6770                 :    16827350 :   switch (TREE_CODE (_p0))
    6771                 :             :     {
    6772                 :        1028 :     case RDIV_EXPR:
    6773                 :        1028 :       {
    6774                 :        1028 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6775                 :        1028 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6776                 :        1028 :         switch (TREE_CODE (_q20))
    6777                 :             :           {
    6778                 :          26 :           case REAL_CST:
    6779                 :          26 :             {
    6780                 :          26 :               if (real_zerop (_p1))
    6781                 :             :                 {
    6782                 :           0 :                   {
    6783                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6784                 :           0 :                     tree res = generic_simplify_311 (loc, type, _p0, _p1, captures, GT_EXPR, LT_EXPR);
    6785                 :           0 :                     if (res) return res;
    6786                 :             :                   }
    6787                 :             :                 }
    6788                 :             :               break;
    6789                 :             :             }
    6790                 :             :           default:;
    6791                 :             :           }
    6792                 :             :         break;
    6793                 :             :       }
    6794                 :    16827350 :     default:;
    6795                 :             :     }
    6796                 :    16827350 :   switch (TREE_CODE (_p1))
    6797                 :             :     {
    6798                 :          72 :     case TRUNC_MOD_EXPR:
    6799                 :          72 :       {
    6800                 :          72 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6801                 :          72 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6802                 :          72 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6803                 :             :           {
    6804                 :           0 :             {
    6805                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    6806                 :           0 :               tree res = generic_simplify_312 (loc, type, _p0, _p1, captures, LT_EXPR);
    6807                 :           0 :               if (res) return res;
    6808                 :             :             }
    6809                 :             :           }
    6810                 :             :         break;
    6811                 :             :       }
    6812                 :    16827350 :     default:;
    6813                 :             :     }
    6814                 :    16827350 :   switch (TREE_CODE (_p0))
    6815                 :             :     {
    6816                 :       98399 :     case MULT_EXPR:
    6817                 :       98399 :       {
    6818                 :       98399 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6819                 :       98399 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6820                 :       98399 :         switch (TREE_CODE (_p1))
    6821                 :             :           {
    6822                 :        6304 :           case MULT_EXPR:
    6823                 :        6304 :             {
    6824                 :        6304 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6825                 :        6304 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6826                 :        6304 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6827                 :             :                 {
    6828                 :          95 :                   {
    6829                 :          95 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    6830                 :          95 :                     tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, GT_EXPR);
    6831                 :          95 :                     if (res) return res;
    6832                 :             :                   }
    6833                 :             :                 }
    6834                 :        6300 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6835                 :             :                 {
    6836                 :           8 :                   {
    6837                 :           8 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    6838                 :           8 :                     tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, GT_EXPR);
    6839                 :           8 :                     if (res) return res;
    6840                 :             :                   }
    6841                 :             :                 }
    6842                 :        6300 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6843                 :             :                 {
    6844                 :           0 :                   {
    6845                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    6846                 :           0 :                     tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, GT_EXPR);
    6847                 :           0 :                     if (res) return res;
    6848                 :             :                   }
    6849                 :             :                 }
    6850                 :        6300 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6851                 :             :                 {
    6852                 :         581 :                   {
    6853                 :         581 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    6854                 :         581 :                     tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, GT_EXPR);
    6855                 :         581 :                     if (res) return res;
    6856                 :             :                   }
    6857                 :             :                 }
    6858                 :             :               break;
    6859                 :             :             }
    6860                 :             :           default:;
    6861                 :             :           }
    6862                 :             :         break;
    6863                 :             :       }
    6864                 :     1852207 :     case PLUS_EXPR:
    6865                 :     1852207 :       {
    6866                 :     1852207 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6867                 :     1852207 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6868                 :     1852207 :         if (integer_minus_onep (_q21))
    6869                 :             :           {
    6870                 :      469369 :             switch (TREE_CODE (_p1))
    6871                 :             :               {
    6872                 :      345845 :               case INTEGER_CST:
    6873                 :      345845 :                 {
    6874                 :      345845 :                   {
    6875                 :      345845 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6876                 :      345845 :                     tree res = generic_simplify_338 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
    6877                 :      345845 :                     if (res) return res;
    6878                 :             :                   }
    6879                 :      345788 :                   break;
    6880                 :             :                 }
    6881                 :             :               default:;
    6882                 :             :               }
    6883                 :             :           }
    6884                 :     1852150 :         switch (TREE_CODE (_p1))
    6885                 :             :           {
    6886                 :       52815 :           case PLUS_EXPR:
    6887                 :       52815 :             {
    6888                 :       52815 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6889                 :       52815 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6890                 :       52815 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6891                 :             :                 {
    6892                 :        3847 :                   {
    6893                 :        3847 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    6894                 :        3847 :                     tree res = generic_simplify_314 (loc, type, _p0, _p1, captures, GT_EXPR);
    6895                 :        3847 :                     if (res) return res;
    6896                 :             :                   }
    6897                 :             :                 }
    6898                 :       50659 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6899                 :             :                 {
    6900                 :         313 :                   {
    6901                 :         313 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    6902                 :         313 :                     tree res = generic_simplify_314 (loc, type, _p0, _p1, captures, GT_EXPR);
    6903                 :         313 :                     if (res) return res;
    6904                 :             :                   }
    6905                 :             :                 }
    6906                 :       50659 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6907                 :             :                 {
    6908                 :          31 :                   {
    6909                 :          31 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    6910                 :          31 :                     tree res = generic_simplify_314 (loc, type, _p0, _p1, captures, GT_EXPR);
    6911                 :          31 :                     if (res) return res;
    6912                 :             :                   }
    6913                 :             :                 }
    6914                 :       50659 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6915                 :             :                 {
    6916                 :         460 :                   {
    6917                 :         460 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    6918                 :         460 :                     tree res = generic_simplify_314 (loc, type, _p0, _p1, captures, GT_EXPR);
    6919                 :         460 :                     if (res) return res;
    6920                 :             :                   }
    6921                 :             :                 }
    6922                 :             :               break;
    6923                 :             :             }
    6924                 :     1849994 :           default:;
    6925                 :             :           }
    6926                 :     1849994 :         switch (TREE_CODE (_q21))
    6927                 :             :           {
    6928                 :     1706477 :           case INTEGER_CST:
    6929                 :     1706477 :             {
    6930                 :     1706477 :               switch (TREE_CODE (_p1))
    6931                 :             :                 {
    6932                 :       31292 :                 case PLUS_EXPR:
    6933                 :       31292 :                   {
    6934                 :       31292 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    6935                 :       31292 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    6936                 :       31292 :                     if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6937                 :             :                       {
    6938                 :        1663 :                         {
    6939                 :        1663 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    6940                 :        1663 :                           tree res = generic_simplify_315 (loc, type, _p0, _p1, captures, GT_EXPR);
    6941                 :        1663 :                           if (res) return res;
    6942                 :             :                         }
    6943                 :             :                       }
    6944                 :             :                     break;
    6945                 :             :                   }
    6946                 :             :                 default:;
    6947                 :             :                 }
    6948                 :             :               break;
    6949                 :             :             }
    6950                 :     1849994 :           default:;
    6951                 :             :           }
    6952                 :     1849994 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6953                 :             :           {
    6954                 :       51926 :             {
    6955                 :       51926 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6956                 :       51926 :               tree res = generic_simplify_316 (loc, type, _p0, _p1, captures, GT_EXPR);
    6957                 :       51926 :               if (res) return res;
    6958                 :             :             }
    6959                 :             :           }
    6960                 :     1817825 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    6961                 :             :           {
    6962                 :        5167 :             {
    6963                 :        5167 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    6964                 :        5167 :               tree res = generic_simplify_316 (loc, type, _p0, _p1, captures, GT_EXPR);
    6965                 :        5167 :               if (res) return res;
    6966                 :             :             }
    6967                 :             :           }
    6968                 :             :         break;
    6969                 :             :       }
    6970                 :     1718238 :     CASE_CONVERT:
    6971                 :     1718238 :       {
    6972                 :     1718238 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6973                 :     1718238 :         switch (TREE_CODE (_q20))
    6974                 :             :           {
    6975                 :           5 :           case EXACT_DIV_EXPR:
    6976                 :           5 :             {
    6977                 :           5 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6978                 :           5 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6979                 :           5 :               switch (TREE_CODE (_q31))
    6980                 :             :                 {
    6981                 :           5 :                 case INTEGER_CST:
    6982                 :           5 :                   {
    6983                 :           5 :                     switch (TREE_CODE (_p1))
    6984                 :             :                       {
    6985                 :           2 :                       CASE_CONVERT:
    6986                 :           2 :                         {
    6987                 :           2 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    6988                 :           2 :                           switch (TREE_CODE (_q60))
    6989                 :             :                             {
    6990                 :           0 :                             case EXACT_DIV_EXPR:
    6991                 :           0 :                               {
    6992                 :           0 :                                 tree _q70 = TREE_OPERAND (_q60, 0);
    6993                 :           0 :                                 tree _q71 = TREE_OPERAND (_q60, 1);
    6994                 :           0 :                                 if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    6995                 :             :                                   {
    6996                 :           0 :                                     {
    6997                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q70 };
    6998                 :           0 :                                       tree res = generic_simplify_188 (loc, type, _p0, _p1, captures, GT_EXPR);
    6999                 :           0 :                                       if (res) return res;
    7000                 :             :                                     }
    7001                 :             :                                   }
    7002                 :             :                                 break;
    7003                 :             :                               }
    7004                 :             :                             default:;
    7005                 :             :                             }
    7006                 :             :                           break;
    7007                 :             :                         }
    7008                 :             :                       default:;
    7009                 :             :                       }
    7010                 :             :                     break;
    7011                 :             :                   }
    7012                 :             :                 default:;
    7013                 :             :                 }
    7014                 :             :               break;
    7015                 :             :             }
    7016                 :             :           default:;
    7017                 :             :           }
    7018                 :             :         break;
    7019                 :             :       }
    7020                 :        7332 :     case EXACT_DIV_EXPR:
    7021                 :        7332 :       {
    7022                 :        7332 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7023                 :        7332 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7024                 :        7332 :         switch (TREE_CODE (_q21))
    7025                 :             :           {
    7026                 :        7332 :           case INTEGER_CST:
    7027                 :        7332 :             {
    7028                 :        7332 :               switch (TREE_CODE (_p1))
    7029                 :             :                 {
    7030                 :           4 :                 case EXACT_DIV_EXPR:
    7031                 :           4 :                   {
    7032                 :           4 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    7033                 :           4 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    7034                 :           4 :                     if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7035                 :             :                       {
    7036                 :           0 :                         {
    7037                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
    7038                 :           0 :                           tree res = generic_simplify_188 (loc, type, _p0, _p1, captures, GT_EXPR);
    7039                 :           0 :                           if (res) return res;
    7040                 :             :                         }
    7041                 :             :                       }
    7042                 :             :                     break;
    7043                 :             :                   }
    7044                 :             :                 default:;
    7045                 :             :                 }
    7046                 :             :               break;
    7047                 :             :             }
    7048                 :             :           default:;
    7049                 :             :           }
    7050                 :             :         break;
    7051                 :             :       }
    7052                 :     1462157 :     case TRUNC_DIV_EXPR:
    7053                 :     1462157 :       {
    7054                 :     1462157 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7055                 :     1462157 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7056                 :     1462157 :         switch (TREE_CODE (_q21))
    7057                 :             :           {
    7058                 :     1454624 :           case INTEGER_CST:
    7059                 :     1454624 :             {
    7060                 :     1454624 :               switch (TREE_CODE (_p1))
    7061                 :             :                 {
    7062                 :     1443176 :                 case INTEGER_CST:
    7063                 :     1443176 :                   {
    7064                 :     1443176 :                     {
    7065                 :     1443176 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    7066                 :     1443176 :                       tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, GT_EXPR);
    7067                 :     1443176 :                       if (res) return res;
    7068                 :             :                     }
    7069                 :          69 :                     break;
    7070                 :             :                   }
    7071                 :             :                 default:;
    7072                 :             :                 }
    7073                 :             :               break;
    7074                 :             :             }
    7075                 :             :           default:;
    7076                 :             :           }
    7077                 :             :         break;
    7078                 :             :       }
    7079                 :      546139 :     case MINUS_EXPR:
    7080                 :      546139 :       {
    7081                 :      546139 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7082                 :      546139 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7083                 :      546139 :         switch (TREE_CODE (_p1))
    7084                 :             :           {
    7085                 :        2056 :           case MINUS_EXPR:
    7086                 :        2056 :             {
    7087                 :        2056 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7088                 :        2056 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7089                 :        2056 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7090                 :             :                 {
    7091                 :         140 :                   {
    7092                 :         140 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    7093                 :         140 :                     tree res = generic_simplify_317 (loc, type, _p0, _p1, captures, GT_EXPR);
    7094                 :         140 :                     if (res) return res;
    7095                 :             :                   }
    7096                 :             :                 }
    7097                 :        2056 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7098                 :             :                 {
    7099                 :         159 :                   {
    7100                 :         159 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    7101                 :         159 :                     tree res = generic_simplify_318 (loc, type, _p0, _p1, captures, GT_EXPR);
    7102                 :         159 :                     if (res) return res;
    7103                 :             :                   }
    7104                 :             :                 }
    7105                 :             :               break;
    7106                 :             :             }
    7107                 :             :           default:;
    7108                 :             :           }
    7109                 :             :         break;
    7110                 :             :       }
    7111                 :       37910 :     case POINTER_DIFF_EXPR:
    7112                 :       37910 :       {
    7113                 :       37910 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7114                 :       37910 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7115                 :       37910 :         switch (TREE_CODE (_p1))
    7116                 :             :           {
    7117                 :         442 :           case POINTER_DIFF_EXPR:
    7118                 :         442 :             {
    7119                 :         442 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7120                 :         442 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7121                 :         442 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7122                 :             :                 {
    7123                 :          43 :                   {
    7124                 :          43 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
    7125                 :          43 :                     tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, GT_EXPR);
    7126                 :          43 :                     if (res) return res;
    7127                 :             :                   }
    7128                 :             :                 }
    7129                 :         399 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7130                 :             :                 {
    7131                 :           0 :                   {
    7132                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q51 };
    7133                 :           0 :                     tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, GT_EXPR);
    7134                 :           0 :                     if (res) return res;
    7135                 :             :                   }
    7136                 :             :                 }
    7137                 :             :               break;
    7138                 :             :             }
    7139                 :             :           default:;
    7140                 :             :           }
    7141                 :             :         break;
    7142                 :             :       }
    7143                 :    15349158 :     default:;
    7144                 :             :     }
    7145                 :    15349158 :   switch (TREE_CODE (_p1))
    7146                 :             :     {
    7147                 :       97220 :     case PLUS_EXPR:
    7148                 :       97220 :       {
    7149                 :       97220 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7150                 :       97220 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7151                 :       97220 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    7152                 :             :           {
    7153                 :           0 :             {
    7154                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
    7155                 :           0 :               tree res = generic_simplify_316 (loc, type, _p0, _p1, captures, LT_EXPR);
    7156                 :           0 :               if (res) return res;
    7157                 :             :             }
    7158                 :             :           }
    7159                 :       97220 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7160                 :             :           {
    7161                 :           8 :             {
    7162                 :           8 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q31, _p0 };
    7163                 :           8 :               tree res = generic_simplify_316 (loc, type, _p0, _p1, captures, LT_EXPR);
    7164                 :           8 :               if (res) return res;
    7165                 :             :             }
    7166                 :             :           }
    7167                 :             :         break;
    7168                 :             :       }
    7169                 :        7668 :     case MINUS_EXPR:
    7170                 :        7668 :       {
    7171                 :        7668 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7172                 :        7668 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7173                 :        7668 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7174                 :             :           {
    7175                 :           0 :             {
    7176                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    7177                 :           0 :               tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, GT_EXPR);
    7178                 :           0 :               if (res) return res;
    7179                 :             :             }
    7180                 :             :           }
    7181                 :             :         break;
    7182                 :             :       }
    7183                 :    15349158 :     default:;
    7184                 :             :     }
    7185                 :    15349158 :   switch (TREE_CODE (_p0))
    7186                 :             :     {
    7187                 :      546139 :     case MINUS_EXPR:
    7188                 :      546139 :       {
    7189                 :      546139 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7190                 :      546139 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7191                 :      546139 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7192                 :             :           {
    7193                 :       20735 :             {
    7194                 :       20735 :               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
    7195                 :       20735 :               tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, LT_EXPR);
    7196                 :       20735 :               if (res) return res;
    7197                 :             :             }
    7198                 :             :           }
    7199                 :             :         break;
    7200                 :             :       }
    7201                 :       18728 :     case BIT_AND_EXPR:
    7202                 :       18728 :       {
    7203                 :       18728 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7204                 :       18728 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7205                 :       18728 :         if (tree_expr_nonnegative_p (_q20))
    7206                 :             :           {
    7207                 :       16892 :             if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7208                 :             :               {
    7209                 :           0 :                 {
    7210                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7211                 :           0 :                   tree res = generic_simplify_319 (loc, type, _p0, _p1, captures, GT_EXPR, BIT_AND_EXPR);
    7212                 :           0 :                   if (res) return res;
    7213                 :             :                 }
    7214                 :             :               }
    7215                 :             :           }
    7216                 :       18728 :         if (tree_expr_nonnegative_p (_q21))
    7217                 :             :           {
    7218                 :       17910 :             if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    7219                 :             :               {
    7220                 :        3936 :                 {
    7221                 :        3936 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7222                 :        3936 :                   tree res = generic_simplify_319 (loc, type, _p0, _p1, captures, GT_EXPR, BIT_AND_EXPR);
    7223                 :        3936 :                   if (res) return res;
    7224                 :             :                 }
    7225                 :             :               }
    7226                 :             :           }
    7227                 :             :         break;
    7228                 :             :       }
    7229                 :    15344175 :     default:;
    7230                 :             :     }
    7231                 :    15344175 :   switch (TREE_CODE (_p1))
    7232                 :             :     {
    7233                 :         143 :     case BIT_IOR_EXPR:
    7234                 :         143 :       {
    7235                 :         143 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7236                 :         143 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7237                 :         143 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7238                 :             :           {
    7239                 :           0 :             if (tree_expr_nonnegative_p (_q30))
    7240                 :             :               {
    7241                 :           0 :                 {
    7242                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    7243                 :           0 :                   tree res = generic_simplify_319 (loc, type, _p0, _p1, captures, LT_EXPR, BIT_IOR_EXPR);
    7244                 :           0 :                   if (res) return res;
    7245                 :             :                 }
    7246                 :             :               }
    7247                 :             :           }
    7248                 :         143 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    7249                 :             :           {
    7250                 :           0 :             if (tree_expr_nonnegative_p (_q31))
    7251                 :             :               {
    7252                 :           0 :                 {
    7253                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    7254                 :           0 :                   tree res = generic_simplify_319 (loc, type, _p0, _p1, captures, LT_EXPR, BIT_IOR_EXPR);
    7255                 :           0 :                   if (res) return res;
    7256                 :             :                 }
    7257                 :             :               }
    7258                 :             :           }
    7259                 :             :         break;
    7260                 :             :       }
    7261                 :    15344175 :     default:;
    7262                 :             :     }
    7263                 :    15344175 :   switch (TREE_CODE (_p0))
    7264                 :             :     {
    7265                 :       10996 :     case MAX_EXPR:
    7266                 :       10996 :       {
    7267                 :       10996 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7268                 :       10996 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7269                 :       10996 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7270                 :             :           {
    7271                 :           1 :             {
    7272                 :           1 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7273                 :           1 :               tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR, LT_EXPR);
    7274                 :           1 :               if (res) return res;
    7275                 :             :             }
    7276                 :             :           }
    7277                 :       10995 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    7278                 :             :           {
    7279                 :          12 :             {
    7280                 :          12 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7281                 :          12 :               tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR, LT_EXPR);
    7282                 :          12 :               if (res) return res;
    7283                 :             :             }
    7284                 :             :           }
    7285                 :       10986 :         switch (TREE_CODE (_q21))
    7286                 :             :           {
    7287                 :       10439 :           case INTEGER_CST:
    7288                 :       10439 :             {
    7289                 :       10439 :               switch (TREE_CODE (_p1))
    7290                 :             :                 {
    7291                 :           0 :                 case INTEGER_CST:
    7292                 :           0 :                   {
    7293                 :           0 :                     {
    7294                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7295                 :           0 :                       tree res = generic_simplify_320 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR, BIT_IOR_EXPR);
    7296                 :           0 :                       if (res) return res;
    7297                 :             :                     }
    7298                 :           0 :                     break;
    7299                 :             :                   }
    7300                 :             :                 default:;
    7301                 :             :                 }
    7302                 :             :               break;
    7303                 :             :             }
    7304                 :             :           default:;
    7305                 :             :           }
    7306                 :             :         break;
    7307                 :             :       }
    7308                 :    15344165 :     default:;
    7309                 :             :     }
    7310                 :    15344165 :   switch (TREE_CODE (_p1))
    7311                 :             :     {
    7312                 :         104 :     case MIN_EXPR:
    7313                 :         104 :       {
    7314                 :         104 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7315                 :         104 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7316                 :         104 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7317                 :             :           {
    7318                 :           0 :             {
    7319                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    7320                 :           0 :               tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR, GT_EXPR);
    7321                 :           0 :               if (res) return res;
    7322                 :             :             }
    7323                 :             :           }
    7324                 :         104 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    7325                 :             :           {
    7326                 :           0 :             {
    7327                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    7328                 :           0 :               tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR, GT_EXPR);
    7329                 :           0 :               if (res) return res;
    7330                 :             :             }
    7331                 :             :           }
    7332                 :             :         break;
    7333                 :             :       }
    7334                 :         424 :     case MAX_EXPR:
    7335                 :         424 :       {
    7336                 :         424 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7337                 :         424 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7338                 :         424 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7339                 :             :           {
    7340                 :           0 :             {
    7341                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    7342                 :           0 :               tree res = generic_simplify_321 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
    7343                 :           0 :               if (res) return res;
    7344                 :             :             }
    7345                 :             :           }
    7346                 :         424 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    7347                 :             :           {
    7348                 :           0 :             {
    7349                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    7350                 :           0 :               tree res = generic_simplify_321 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
    7351                 :           0 :               if (res) return res;
    7352                 :             :             }
    7353                 :             :           }
    7354                 :             :         break;
    7355                 :             :       }
    7356                 :    15344165 :     default:;
    7357                 :             :     }
    7358                 :    15344165 :   switch (TREE_CODE (_p0))
    7359                 :             :     {
    7360                 :       14518 :     case MIN_EXPR:
    7361                 :       14518 :       {
    7362                 :       14518 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7363                 :       14518 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7364                 :       14518 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7365                 :             :           {
    7366                 :           1 :             {
    7367                 :           1 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7368                 :           1 :               tree res = generic_simplify_321 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR);
    7369                 :           1 :               if (res) return res;
    7370                 :             :             }
    7371                 :             :           }
    7372                 :       14517 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    7373                 :             :           {
    7374                 :           1 :             {
    7375                 :           1 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7376                 :           1 :               tree res = generic_simplify_321 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR);
    7377                 :           1 :               if (res) return res;
    7378                 :             :             }
    7379                 :             :           }
    7380                 :       14516 :         switch (TREE_CODE (_q21))
    7381                 :             :           {
    7382                 :        9326 :           case INTEGER_CST:
    7383                 :        9326 :             {
    7384                 :        9326 :               switch (TREE_CODE (_p1))
    7385                 :             :                 {
    7386                 :          61 :                 case INTEGER_CST:
    7387                 :          61 :                   {
    7388                 :          61 :                     {
    7389                 :          61 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7390                 :          61 :                       tree res = generic_simplify_320 (loc, type, _p0, _p1, captures, MIN_EXPR, GT_EXPR, BIT_AND_EXPR);
    7391                 :          61 :                       if (res) return res;
    7392                 :             :                     }
    7393                 :           0 :                     break;
    7394                 :             :                   }
    7395                 :             :                 default:;
    7396                 :             :                 }
    7397                 :             :               break;
    7398                 :             :             }
    7399                 :             :           default:;
    7400                 :             :           }
    7401                 :             :         break;
    7402                 :             :       }
    7403                 :          23 :     case VEC_COND_EXPR:
    7404                 :          23 :       {
    7405                 :          23 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7406                 :          23 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7407                 :          23 :         tree _q22 = TREE_OPERAND (_p0, 2);
    7408                 :          23 :         switch (TREE_CODE (_p1))
    7409                 :             :           {
    7410                 :          14 :           case VEC_COND_EXPR:
    7411                 :          14 :             {
    7412                 :          14 :               tree _q60 = TREE_OPERAND (_p1, 0);
    7413                 :          14 :               tree _q61 = TREE_OPERAND (_p1, 1);
    7414                 :          14 :               tree _q62 = TREE_OPERAND (_p1, 2);
    7415                 :          14 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7416                 :             :                 {
    7417                 :           0 :                   {
    7418                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    7419                 :           0 :                     if (TREE_CODE_CLASS (GT_EXPR) != tcc_comparison
    7420                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
    7421                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    7422                 :             :  || (optimize_vectors_before_lowering_p ()
    7423                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    7424                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
    7425                 :             : )
    7426                 :             :                       {
    7427                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1484;
    7428                 :           0 :                         {
    7429                 :           0 :                           tree res_op0;
    7430                 :           0 :                           res_op0 = captures[1];
    7431                 :           0 :                           tree res_op1;
    7432                 :           0 :                           {
    7433                 :           0 :                             tree _o1[2], _r1;
    7434                 :           0 :                             _o1[0] = captures[2];
    7435                 :           0 :                             _o1[1] = captures[5];
    7436                 :           0 :                             _r1 = fold_build2_loc (loc, GT_EXPR, type, _o1[0], _o1[1]);
    7437                 :           0 :                             if (EXPR_P (_r1))
    7438                 :           0 :                               goto next_after_fail1484;
    7439                 :           0 :                             res_op1 = _r1;
    7440                 :             :                           }
    7441                 :           0 :                           tree res_op2;
    7442                 :           0 :                           {
    7443                 :           0 :                             tree _o1[2], _r1;
    7444                 :           0 :                             _o1[0] = captures[3];
    7445                 :           0 :                             _o1[1] = captures[6];
    7446                 :           0 :                             _r1 = fold_build2_loc (loc, GT_EXPR, type, _o1[0], _o1[1]);
    7447                 :           0 :                             if (EXPR_P (_r1))
    7448                 :           0 :                               goto next_after_fail1484;
    7449                 :           0 :                             res_op2 = _r1;
    7450                 :             :                           }
    7451                 :           0 :                           tree _r;
    7452                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7453                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
    7454                 :           0 :                           return _r;
    7455                 :             :                         }
    7456                 :           0 : next_after_fail1484:;
    7457                 :             :                       }
    7458                 :             :                   }
    7459                 :             :                 }
    7460                 :             :               break;
    7461                 :             :             }
    7462                 :          23 :           default:;
    7463                 :             :           }
    7464                 :          23 :         {
    7465                 :          23 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    7466                 :          23 :           if (TREE_CODE_CLASS (GT_EXPR) != tcc_comparison
    7467                 :          23 :  || types_match (type, TREE_TYPE (captures[2]))
    7468                 :          23 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    7469                 :             :  || (optimize_vectors_before_lowering_p ()
    7470                 :          10 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    7471                 :          10 :  TREE_TYPE (captures[1]), ERROR_MARK))
    7472                 :             : )
    7473                 :             :             {
    7474                 :          23 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1485;
    7475                 :          23 :               {
    7476                 :          23 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1485;
    7477                 :           9 :                 tree res_op0;
    7478                 :           9 :                 res_op0 = captures[1];
    7479                 :           9 :                 tree res_op1;
    7480                 :           9 :                 {
    7481                 :           9 :                   tree _o1[2], _r1;
    7482                 :           9 :                   _o1[0] = captures[2];
    7483                 :           9 :                   _o1[1] = unshare_expr (captures[4]);
    7484                 :           9 :                   _r1 = fold_build2_loc (loc, GT_EXPR, type, _o1[0], _o1[1]);
    7485                 :           9 :                   if (EXPR_P (_r1))
    7486                 :           6 :                     goto next_after_fail1485;
    7487                 :           3 :                   res_op1 = _r1;
    7488                 :             :                 }
    7489                 :           3 :                 tree res_op2;
    7490                 :           3 :                 {
    7491                 :           3 :                   tree _o1[2], _r1;
    7492                 :           3 :                   _o1[0] = captures[3];
    7493                 :           3 :                   _o1[1] = captures[4];
    7494                 :           3 :                   _r1 = fold_build2_loc (loc, GT_EXPR, type, _o1[0], _o1[1]);
    7495                 :           3 :                   if (EXPR_P (_r1))
    7496                 :           3 :                     goto next_after_fail1485;
    7497                 :           0 :                   res_op2 = _r1;
    7498                 :             :                 }
    7499                 :           0 :                 tree _r;
    7500                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7501                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
    7502                 :           0 :                 return _r;
    7503                 :             :               }
    7504                 :          23 : next_after_fail1485:;
    7505                 :             :             }
    7506                 :             :         }
    7507                 :          23 :         break;
    7508                 :             :       }
    7509                 :    15344102 :     default:;
    7510                 :             :     }
    7511                 :    15344102 :   switch (TREE_CODE (_p1))
    7512                 :             :     {
    7513                 :          14 :     case VEC_COND_EXPR:
    7514                 :          14 :       {
    7515                 :          14 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7516                 :          14 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7517                 :          14 :         tree _q32 = TREE_OPERAND (_p1, 2);
    7518                 :          14 :         {
    7519                 :          14 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    7520                 :          14 :           if (TREE_CODE_CLASS (GT_EXPR) != tcc_comparison
    7521                 :          14 :  || types_match (type, TREE_TYPE (captures[3]))
    7522                 :          14 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
    7523                 :             :  || (optimize_vectors_before_lowering_p ()
    7524                 :           7 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
    7525                 :           7 :  TREE_TYPE (captures[2]), ERROR_MARK))
    7526                 :             : )
    7527                 :             :             {
    7528                 :          14 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1486;
    7529                 :          14 :               {
    7530                 :          14 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1486;
    7531                 :           0 :                 tree res_op0;
    7532                 :           0 :                 res_op0 = captures[2];
    7533                 :           0 :                 tree res_op1;
    7534                 :           0 :                 {
    7535                 :           0 :                   tree _o1[2], _r1;
    7536                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    7537                 :           0 :                   _o1[1] = captures[3];
    7538                 :           0 :                   _r1 = fold_build2_loc (loc, GT_EXPR, type, _o1[0], _o1[1]);
    7539                 :           0 :                   if (EXPR_P (_r1))
    7540                 :           0 :                     goto next_after_fail1486;
    7541                 :           0 :                   res_op1 = _r1;
    7542                 :             :                 }
    7543                 :           0 :                 tree res_op2;
    7544                 :           0 :                 {
    7545                 :           0 :                   tree _o1[2], _r1;
    7546                 :           0 :                   _o1[0] = captures[0];
    7547                 :           0 :                   _o1[1] = captures[4];
    7548                 :           0 :                   _r1 = fold_build2_loc (loc, GT_EXPR, type, _o1[0], _o1[1]);
    7549                 :           0 :                   if (EXPR_P (_r1))
    7550                 :           0 :                     goto next_after_fail1486;
    7551                 :           0 :                   res_op2 = _r1;
    7552                 :             :                 }
    7553                 :           0 :                 tree _r;
    7554                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7555                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
    7556                 :           0 :                 return _r;
    7557                 :             :               }
    7558                 :          14 : next_after_fail1486:;
    7559                 :             :             }
    7560                 :             :         }
    7561                 :          14 :         break;
    7562                 :             :       }
    7563                 :    15344102 :     default:;
    7564                 :             :     }
    7565                 :    15344102 : if (uniform_integer_cst_p (_p1))
    7566                 :             :   {
    7567                 :    10755086 :     {
    7568                 :    10755086 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    7569                 :    10755086 :       tree res = generic_simplify_339 (loc, type, _p0, _p1, captures, GT_EXPR, GE_EXPR);
    7570                 :    10755086 :       if (res) return res;
    7571                 :             :     }
    7572                 :             :   }
    7573                 :    15282530 :   switch (TREE_CODE (_p0))
    7574                 :             :     {
    7575                 :       98054 :     case MULT_EXPR:
    7576                 :       98054 :       {
    7577                 :       98054 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7578                 :       98054 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7579                 :       98054 :         switch (TREE_CODE (_q21))
    7580                 :             :           {
    7581                 :       61564 :           case INTEGER_CST:
    7582                 :       61564 :             {
    7583                 :       61564 :               if (integer_zerop (_p1))
    7584                 :             :                 {
    7585                 :        7186 :                   {
    7586                 :        7186 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    7587                 :        7186 :                     tree res = generic_simplify_224 (loc, type, _p0, _p1, captures, GT_EXPR, LT_EXPR);
    7588                 :        7186 :                     if (res) return res;
    7589                 :             :                   }
    7590                 :             :                 }
    7591                 :             :               break;
    7592                 :             :             }
    7593                 :             :           default:;
    7594                 :             :           }
    7595                 :             :         break;
    7596                 :             :       }
    7597                 :    15280582 :     default:;
    7598                 :             :     }
    7599                 :    15280582 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7600                 :             :     {
    7601                 :        1732 :       {
    7602                 :        1732 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    7603                 :        1732 :         tree res = generic_simplify_274 (loc, type, _p0, _p1, captures, GT_EXPR);
    7604                 :        1732 :         if (res) return res;
    7605                 :             :       }
    7606                 :             :     }
    7607                 :    15278850 :   switch (TREE_CODE (_p0))
    7608                 :             :     {
    7609                 :      772610 :     case BIT_NOT_EXPR:
    7610                 :      772610 :       {
    7611                 :      772610 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7612                 :      772610 :         switch (TREE_CODE (_p1))
    7613                 :             :           {
    7614                 :          10 :           case BIT_NOT_EXPR:
    7615                 :          10 :             {
    7616                 :          10 :               tree _q40 = TREE_OPERAND (_p1, 0);
    7617                 :          10 :               {
    7618                 :          10 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _p1, _q40 };
    7619                 :          10 :                 tree res = generic_simplify_228 (loc, type, _p0, _p1, captures, GT_EXPR);
    7620                 :          10 :                 if (res) return res;
    7621                 :             :               }
    7622                 :           0 :               break;
    7623                 :             :             }
    7624                 :      772600 :           default:;
    7625                 :             :           }
    7626                 :      772600 :       {
    7627                 :      772600 :         tree _p1_pops[1];
    7628                 :      772600 :         if (tree_nop_convert (_p1, _p1_pops))
    7629                 :             :           {
    7630                 :           2 :             tree _q40 = _p1_pops[0];
    7631                 :           2 :             switch (TREE_CODE (_q40))
    7632                 :             :               {
    7633                 :           0 :               case BIT_NOT_EXPR:
    7634                 :           0 :                 {
    7635                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    7636                 :           0 :                   {
    7637                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40, _q50 };
    7638                 :           0 :                     tree res = generic_simplify_228 (loc, type, _p0, _p1, captures, GT_EXPR);
    7639                 :           0 :                     if (res) return res;
    7640                 :             :                   }
    7641                 :           0 :                   break;
    7642                 :             :                 }
    7643                 :             :               default:;
    7644                 :             :               }
    7645                 :             : }
    7646                 :             :       }
    7647                 :      772600 :       if (CONSTANT_CLASS_P (_p1))
    7648                 :             :         {
    7649                 :      771844 :           {
    7650                 :      771844 :             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    7651                 :      771844 :             tree res = generic_simplify_229 (loc, type, _p0, _p1, captures, GT_EXPR, LT_EXPR);
    7652                 :      771844 :             if (res) return res;
    7653                 :             :           }
    7654                 :             :         }
    7655                 :             :         break;
    7656                 :             :       }
    7657                 :    14506996 :     default:;
    7658                 :             :     }
    7659                 :    14506996 : {
    7660                 :    14506996 :   tree _p0_pops[1];
    7661                 :    14506996 :   if (tree_nop_convert (_p0, _p0_pops))
    7662                 :             :     {
    7663                 :      669375 :       tree _q20 = _p0_pops[0];
    7664                 :      669375 :       switch (TREE_CODE (_q20))
    7665                 :             :         {
    7666                 :           0 :         case BIT_NOT_EXPR:
    7667                 :           0 :           {
    7668                 :           0 :             tree _q30 = TREE_OPERAND (_q20, 0);
    7669                 :           0 :             switch (TREE_CODE (_p1))
    7670                 :             :               {
    7671                 :           0 :               case BIT_NOT_EXPR:
    7672                 :           0 :                 {
    7673                 :           0 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    7674                 :           0 :                   {
    7675                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _p1, _q50 };
    7676                 :           0 :                     tree res = generic_simplify_230 (loc, type, _p0, _p1, captures, GT_EXPR);
    7677                 :           0 :                     if (res) return res;
    7678                 :             :                   }
    7679                 :           0 :                   break;
    7680                 :             :                 }
    7681                 :           0 :               default:;
    7682                 :             :               }
    7683                 :           0 :           {
    7684                 :           0 :             tree _p1_pops[1];
    7685                 :           0 :             if (tree_nop_convert (_p1, _p1_pops))
    7686                 :             :               {
    7687                 :           0 :                 tree _q50 = _p1_pops[0];
    7688                 :           0 :                 switch (TREE_CODE (_q50))
    7689                 :             :                   {
    7690                 :           0 :                   case BIT_NOT_EXPR:
    7691                 :           0 :                     {
    7692                 :           0 :                       tree _q60 = TREE_OPERAND (_q50, 0);
    7693                 :           0 :                       {
    7694                 :           0 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50, _q60 };
    7695                 :           0 :                         tree res = generic_simplify_230 (loc, type, _p0, _p1, captures, GT_EXPR);
    7696                 :           0 :                         if (res) return res;
    7697                 :             :                       }
    7698                 :           0 :                       break;
    7699                 :             :                     }
    7700                 :             :                   default:;
    7701                 :             :                   }
    7702                 :             : }
    7703                 :             :           }
    7704                 :           0 :           if (CONSTANT_CLASS_P (_p1))
    7705                 :             :             {
    7706                 :           0 :               {
    7707                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
    7708                 :           0 :                 tree res = generic_simplify_229 (loc, type, _p0, _p1, captures, GT_EXPR, LT_EXPR);
    7709                 :           0 :                 if (res) return res;
    7710                 :             :               }
    7711                 :             :             }
    7712                 :             :             break;
    7713                 :             :           }
    7714                 :             :         default:;
    7715                 :             :         }
    7716                 :             : }
    7717                 :             : }
    7718                 :    14506996 :   switch (TREE_CODE (_p1))
    7719                 :             :     {
    7720                 :      749946 :     case REAL_CST:
    7721                 :      749946 :       {
    7722                 :      749946 :         {
    7723                 :      749946 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    7724                 :      749946 :           tree res = generic_simplify_231 (loc, type, _p0, _p1, captures, GT_EXPR);
    7725                 :      749946 :           if (res) return res;
    7726                 :             :         }
    7727                 :      749893 :         break;
    7728                 :             :       }
    7729                 :    14506943 :     default:;
    7730                 :             :     }
    7731                 :    14506943 :   switch (TREE_CODE (_p0))
    7732                 :             :     {
    7733                 :     1816420 :     case PLUS_EXPR:
    7734                 :     1816420 :       {
    7735                 :     1816420 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7736                 :     1816420 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7737                 :     1816420 :         switch (TREE_CODE (_q21))
    7738                 :             :           {
    7739                 :         466 :           case REAL_CST:
    7740                 :         466 :             {
    7741                 :         466 :               switch (TREE_CODE (_p1))
    7742                 :             :                 {
    7743                 :         230 :                 case REAL_CST:
    7744                 :         230 :                   {
    7745                 :         230 :                     {
    7746                 :         230 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7747                 :         230 :                       tree res = generic_simplify_232 (loc, type, _p0, _p1, captures, PLUS_EXPR, GT_EXPR);
    7748                 :         230 :                       if (res) return res;
    7749                 :             :                     }
    7750                 :         230 :                     break;
    7751                 :             :                   }
    7752                 :             :                 default:;
    7753                 :             :                 }
    7754                 :             :               break;
    7755                 :             :             }
    7756                 :     1673533 :           case INTEGER_CST:
    7757                 :     1673533 :             {
    7758                 :     1673533 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7759                 :             :                 {
    7760                 :        1046 :                   {
    7761                 :        1046 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q20, _q21 };
    7762                 :        1046 :                     tree res = generic_simplify_323 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
    7763                 :        1046 :                     if (res) return res;
    7764                 :             :                   }
    7765                 :             :                 }
    7766                 :             :               break;
    7767                 :             :             }
    7768                 :             :           default:;
    7769                 :             :           }
    7770                 :             :         break;
    7771                 :             :       }
    7772                 :      535067 :     case MINUS_EXPR:
    7773                 :      535067 :       {
    7774                 :      535067 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7775                 :      535067 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7776                 :      535067 :         switch (TREE_CODE (_q21))
    7777                 :             :           {
    7778                 :         760 :           case REAL_CST:
    7779                 :         760 :             {
    7780                 :         760 :               switch (TREE_CODE (_p1))
    7781                 :             :                 {
    7782                 :         548 :                 case REAL_CST:
    7783                 :         548 :                   {
    7784                 :         548 :                     {
    7785                 :         548 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7786                 :         548 :                       tree res = generic_simplify_232 (loc, type, _p0, _p1, captures, MINUS_EXPR, GT_EXPR);
    7787                 :         548 :                       if (res) return res;
    7788                 :             :                     }
    7789                 :         546 :                     break;
    7790                 :             :                   }
    7791                 :             :                 default:;
    7792                 :             :                 }
    7793                 :             :               break;
    7794                 :             :             }
    7795                 :      535065 :           default:;
    7796                 :             :           }
    7797                 :      535065 :         switch (TREE_CODE (_q20))
    7798                 :             :           {
    7799                 :          43 :           case REAL_CST:
    7800                 :          43 :             {
    7801                 :          43 :               switch (TREE_CODE (_p1))
    7802                 :             :                 {
    7803                 :          37 :                 case REAL_CST:
    7804                 :          37 :                   {
    7805                 :          37 :                     {
    7806                 :          37 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7807                 :          37 :                       tree res = generic_simplify_233 (loc, type, _p0, _p1, captures, GT_EXPR);
    7808                 :          37 :                       if (res) return res;
    7809                 :             :                     }
    7810                 :          35 :                     break;
    7811                 :             :                   }
    7812                 :             :                 default:;
    7813                 :             :                 }
    7814                 :             :               break;
    7815                 :             :             }
    7816                 :             :           default:;
    7817                 :             :           }
    7818                 :             :         break;
    7819                 :             :       }
    7820                 :       39841 :     case FLOAT_EXPR:
    7821                 :       39841 :       {
    7822                 :       39841 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7823                 :       39841 :         switch (TREE_CODE (_p1))
    7824                 :             :           {
    7825                 :           0 :           case FLOAT_EXPR:
    7826                 :           0 :             {
    7827                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    7828                 :           0 :               {
    7829                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    7830                 :           0 :                 tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, GT_EXPR, GT_EXPR);
    7831                 :           0 :                 if (res) return res;
    7832                 :             :               }
    7833                 :           0 :               break;
    7834                 :             :             }
    7835                 :       38225 :           case REAL_CST:
    7836                 :       38225 :             {
    7837                 :       38225 :               {
    7838                 :       38225 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    7839                 :       38225 :                 tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, GT_EXPR, GE_EXPR);
    7840                 :       38225 :                 if (res) return res;
    7841                 :             :               }
    7842                 :       19188 :               break;
    7843                 :             :             }
    7844                 :             :           default:;
    7845                 :             :           }
    7846                 :             :         break;
    7847                 :             :       }
    7848                 :        7332 :     case EXACT_DIV_EXPR:
    7849                 :        7332 :       {
    7850                 :        7332 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7851                 :        7332 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7852                 :        7332 :         switch (TREE_CODE (_q21))
    7853                 :             :           {
    7854                 :        7332 :           case INTEGER_CST:
    7855                 :        7332 :             {
    7856                 :        7332 :               switch (TREE_CODE (_p1))
    7857                 :             :                 {
    7858                 :        2199 :                 case INTEGER_CST:
    7859                 :        2199 :                   {
    7860                 :        2199 :                     {
    7861                 :        2199 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7862                 :        2199 :                       tree res = generic_simplify_324 (loc, type, _p0, _p1, captures, GT_EXPR);
    7863                 :        2199 :                       if (res) return res;
    7864                 :             :                     }
    7865                 :           0 :                     break;
    7866                 :             :                   }
    7867                 :             :                 default:;
    7868                 :             :                 }
    7869                 :             :               break;
    7870                 :             :             }
    7871                 :             :           default:;
    7872                 :             :           }
    7873                 :             :         break;
    7874                 :             :       }
    7875                 :     1714923 :     CASE_CONVERT:
    7876                 :     1714923 :       {
    7877                 :     1714923 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7878                 :     1714923 :         switch (TREE_CODE (_q20))
    7879                 :             :           {
    7880                 :           5 :           case EXACT_DIV_EXPR:
    7881                 :           5 :             {
    7882                 :           5 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7883                 :           5 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7884                 :           5 :               switch (TREE_CODE (_q31))
    7885                 :             :                 {
    7886                 :           5 :                 case INTEGER_CST:
    7887                 :           5 :                   {
    7888                 :           5 :                     switch (TREE_CODE (_p1))
    7889                 :             :                       {
    7890                 :           0 :                       case INTEGER_CST:
    7891                 :           0 :                         {
    7892                 :           0 :                           {
    7893                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    7894                 :           0 :                             tree res = generic_simplify_325 (loc, type, _p0, _p1, captures, GT_EXPR, LT_EXPR);
    7895                 :           0 :                             if (res) return res;
    7896                 :             :                           }
    7897                 :           0 :                           break;
    7898                 :             :                         }
    7899                 :             :                       default:;
    7900                 :             :                       }
    7901                 :             :                     break;
    7902                 :             :                   }
    7903                 :             :                 default:;
    7904                 :             :                 }
    7905                 :             :               break;
    7906                 :             :             }
    7907                 :     1714923 :           default:;
    7908                 :             :           }
    7909                 :     1714923 :         switch (TREE_CODE (_p1))
    7910                 :             :           {
    7911                 :      161430 :           CASE_CONVERT:
    7912                 :      161430 :             {
    7913                 :      161430 :               tree _q40 = TREE_OPERAND (_p1, 0);
    7914                 :      161430 :               {
    7915                 :      161430 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    7916                 :      161430 :                 tree res = generic_simplify_241 (loc, type, _p0, _p1, captures, GT_EXPR);
    7917                 :      161430 :                 if (res) return res;
    7918                 :             :               }
    7919                 :      134483 :               break;
    7920                 :             :             }
    7921                 :     1687976 :           default:;
    7922                 :             :           }
    7923                 :     1687976 :         {
    7924                 :     1687976 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
    7925                 :     1687976 :           tree res = generic_simplify_242 (loc, type, _p0, _p1, captures, GT_EXPR);
    7926                 :     1687976 :           if (res) return res;
    7927                 :             :         }
    7928                 :      897798 :         switch (TREE_CODE (_q20))
    7929                 :             :           {
    7930                 :        1097 :           case ADDR_EXPR:
    7931                 :        1097 :             {
    7932                 :        1097 :               switch (TREE_CODE (_p1))
    7933                 :             :                 {
    7934                 :         449 :                 CASE_CONVERT:
    7935                 :         449 :                   {
    7936                 :         449 :                     tree _q40 = TREE_OPERAND (_p1, 0);
    7937                 :         449 :                     switch (TREE_CODE (_q40))
    7938                 :             :                       {
    7939                 :         225 :                       case ADDR_EXPR:
    7940                 :         225 :                         {
    7941                 :         225 :                           {
    7942                 :         225 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    7943                 :         225 :                             tree res = generic_simplify_259 (loc, type, _p0, _p1, captures, GT_EXPR);
    7944                 :         225 :                             if (res) return res;
    7945                 :             :                           }
    7946                 :         152 :                           break;
    7947                 :             :                         }
    7948                 :             :                       default:;
    7949                 :             :                       }
    7950                 :             :                     break;
    7951                 :             :                   }
    7952                 :           0 :                 case ADDR_EXPR:
    7953                 :           0 :                   {
    7954                 :           0 :                     {
    7955                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    7956                 :           0 :                       tree res = generic_simplify_259 (loc, type, _p0, _p1, captures, GT_EXPR);
    7957                 :           0 :                       if (res) return res;
    7958                 :             :                     }
    7959                 :           0 :                     break;
    7960                 :             :                   }
    7961                 :             :                 default:;
    7962                 :             :                 }
    7963                 :             :               break;
    7964                 :             :             }
    7965                 :      897725 :           default:;
    7966                 :             :           }
    7967                 :      897725 :         if (uniform_integer_cst_p (_p1))
    7968                 :             :           {
    7969                 :      237974 :             {
    7970                 :      237974 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    7971                 :      237974 :               tree res = generic_simplify_326 (loc, type, _p0, _p1, captures, GT_EXPR);
    7972                 :      237974 :               if (res) return res;
    7973                 :             :             }
    7974                 :             :           }
    7975                 :             :         break;
    7976                 :             :       }
    7977                 :       14789 :     case BIT_AND_EXPR:
    7978                 :       14789 :       {
    7979                 :       14789 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7980                 :       14789 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7981                 :       14789 :         switch (TREE_CODE (_q21))
    7982                 :             :           {
    7983                 :       13925 :           case INTEGER_CST:
    7984                 :       13925 :             {
    7985                 :       13925 :               switch (TREE_CODE (_p1))
    7986                 :             :                 {
    7987                 :        8896 :                 case INTEGER_CST:
    7988                 :        8896 :                   {
    7989                 :        8896 :                     {
    7990                 :        8896 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    7991                 :        8896 :                       tree res = generic_simplify_340 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
    7992                 :        8896 :                       if (res) return res;
    7993                 :             :                     }
    7994                 :        8381 :                     break;
    7995                 :             :                   }
    7996                 :             :                 default:;
    7997                 :             :                 }
    7998                 :             :               break;
    7999                 :             :             }
    8000                 :             :           default:;
    8001                 :             :           }
    8002                 :             :         break;
    8003                 :             :       }
    8004                 :       16351 :     case NEGATE_EXPR:
    8005                 :       16351 :       {
    8006                 :       16351 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8007                 :       16351 :         switch (TREE_CODE (_p1))
    8008                 :             :           {
    8009                 :           4 :           case NEGATE_EXPR:
    8010                 :           4 :             {
    8011                 :           4 :               tree _q40 = TREE_OPERAND (_p1, 0);
    8012                 :           4 :               {
    8013                 :           4 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    8014                 :           4 :                 tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, GT_EXPR, LT_EXPR);
    8015                 :           4 :                 if (res) return res;
    8016                 :             :               }
    8017                 :           4 :               break;
    8018                 :             :             }
    8019                 :       16351 :           default:;
    8020                 :             :           }
    8021                 :       16351 :       if (CONSTANT_CLASS_P (_p1))
    8022                 :             :         {
    8023                 :         654 :           {
    8024                 :         654 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8025                 :         654 :             tree res = generic_simplify_240 (loc, type, _p0, _p1, captures, GT_EXPR, LT_EXPR);
    8026                 :         654 :             if (res) return res;
    8027                 :             :           }
    8028                 :             :         }
    8029                 :             :         break;
    8030                 :             :       }
    8031                 :       21280 :     case ADDR_EXPR:
    8032                 :       21280 :       {
    8033                 :       21280 :         switch (TREE_CODE (_p1))
    8034                 :             :           {
    8035                 :         308 :           CASE_CONVERT:
    8036                 :         308 :             {
    8037                 :         308 :               tree _q30 = TREE_OPERAND (_p1, 0);
    8038                 :         308 :               switch (TREE_CODE (_q30))
    8039                 :             :                 {
    8040                 :           0 :                 case ADDR_EXPR:
    8041                 :           0 :                   {
    8042                 :           0 :                     {
    8043                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q30 };
    8044                 :           0 :                       tree res = generic_simplify_260 (loc, type, _p0, _p1, captures, GT_EXPR);
    8045                 :           0 :                       if (res) return res;
    8046                 :             :                     }
    8047                 :           0 :                     break;
    8048                 :             :                   }
    8049                 :             :                 default:;
    8050                 :             :                 }
    8051                 :             :               break;
    8052                 :             :             }
    8053                 :        8185 :           case ADDR_EXPR:
    8054                 :        8185 :             {
    8055                 :        8185 :               {
    8056                 :        8185 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
    8057                 :        8185 :                 tree res = generic_simplify_260 (loc, type, _p0, _p1, captures, GT_EXPR);
    8058                 :        8185 :                 if (res) return res;
    8059                 :             :               }
    8060                 :         570 :               break;
    8061                 :             :             }
    8062                 :             :           default:;
    8063                 :             :           }
    8064                 :             :         break;
    8065                 :             :       }
    8066                 :      275193 :     case CALL_EXPR:
    8067                 :      275193 :       switch (get_call_combined_fn (_p0))
    8068                 :             :         {
    8069                 :           1 :         case CFN_BUILT_IN_SQRTF:
    8070                 :           1 :           if (call_expr_nargs (_p0) == 1)
    8071                 :             :     {
    8072                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8073                 :           1 :               switch (TREE_CODE (_p1))
    8074                 :             :                 {
    8075                 :           1 :                 case REAL_CST:
    8076                 :           1 :                   {
    8077                 :           1 :                     {
    8078                 :           1 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8079                 :           1 :                       tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF, GT_EXPR);
    8080                 :           1 :                       if (res) return res;
    8081                 :             :                     }
    8082                 :           0 :                     break;
    8083                 :             :                   }
    8084                 :           0 :                 case CALL_EXPR:
    8085                 :           0 :                   switch (get_call_combined_fn (_p1))
    8086                 :             :                     {
    8087                 :           0 :                     case CFN_BUILT_IN_SQRTF:
    8088                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8089                 :             :     {
    8090                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8091                 :           0 :                           {
    8092                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    8093                 :           0 :                             tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF, GT_EXPR);
    8094                 :           0 :                             if (res) return res;
    8095                 :             :                           }
    8096                 :             :                         }
    8097                 :             :                       break;
    8098                 :             :                     default:;
    8099                 :             :                     }
    8100                 :             :                   break;
    8101                 :             :                 default:;
    8102                 :             :                 }
    8103                 :             :             }
    8104                 :             :           break;
    8105                 :           0 :         case CFN_BUILT_IN_SQRTL:
    8106                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8107                 :             :     {
    8108                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8109                 :           0 :               switch (TREE_CODE (_p1))
    8110                 :             :                 {
    8111                 :           0 :                 case REAL_CST:
    8112                 :           0 :                   {
    8113                 :           0 :                     {
    8114                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8115                 :           0 :                       tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL, GT_EXPR);
    8116                 :           0 :                       if (res) return res;
    8117                 :             :                     }
    8118                 :           0 :                     break;
    8119                 :             :                   }
    8120                 :           0 :                 case CALL_EXPR:
    8121                 :           0 :                   switch (get_call_combined_fn (_p1))
    8122                 :             :                     {
    8123                 :           0 :                     case CFN_BUILT_IN_SQRTL:
    8124                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8125                 :             :     {
    8126                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8127                 :           0 :                           {
    8128                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    8129                 :           0 :                             tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL, GT_EXPR);
    8130                 :           0 :                             if (res) return res;
    8131                 :             :                           }
    8132                 :             :                         }
    8133                 :             :                       break;
    8134                 :             :                     default:;
    8135                 :             :                     }
    8136                 :             :                   break;
    8137                 :             :                 default:;
    8138                 :             :                 }
    8139                 :             :             }
    8140                 :             :           break;
    8141                 :           3 :         case CFN_BUILT_IN_SQRT:
    8142                 :           3 :           if (call_expr_nargs (_p0) == 1)
    8143                 :             :     {
    8144                 :           3 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8145                 :           3 :               switch (TREE_CODE (_p1))
    8146                 :             :                 {
    8147                 :           3 :                 case REAL_CST:
    8148                 :           3 :                   {
    8149                 :           3 :                     {
    8150                 :           3 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8151                 :           3 :                       tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT, GT_EXPR);
    8152                 :           3 :                       if (res) return res;
    8153                 :             :                     }
    8154                 :           0 :                     break;
    8155                 :             :                   }
    8156                 :           0 :                 case CALL_EXPR:
    8157                 :           0 :                   switch (get_call_combined_fn (_p1))
    8158                 :             :                     {
    8159                 :           0 :                     case CFN_BUILT_IN_SQRT:
    8160                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8161                 :             :     {
    8162                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8163                 :           0 :                           {
    8164                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    8165                 :           0 :                             tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT, GT_EXPR);
    8166                 :           0 :                             if (res) return res;
    8167                 :             :                           }
    8168                 :             :                         }
    8169                 :             :                       break;
    8170                 :             :                     default:;
    8171                 :             :                     }
    8172                 :             :                   break;
    8173                 :             :                 default:;
    8174                 :             :                 }
    8175                 :             :             }
    8176                 :             :           break;
    8177                 :           0 :         case CFN_SQRT:
    8178                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8179                 :             :     {
    8180                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8181                 :           0 :               switch (TREE_CODE (_p1))
    8182                 :             :                 {
    8183                 :           0 :                 case REAL_CST:
    8184                 :           0 :                   {
    8185                 :           0 :                     {
    8186                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8187                 :           0 :                       tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, CFN_SQRT, GT_EXPR);
    8188                 :           0 :                       if (res) return res;
    8189                 :             :                     }
    8190                 :           0 :                     break;
    8191                 :             :                   }
    8192                 :           0 :                 case CALL_EXPR:
    8193                 :           0 :                   switch (get_call_combined_fn (_p1))
    8194                 :             :                     {
    8195                 :           0 :                     case CFN_SQRT:
    8196                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8197                 :             :     {
    8198                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8199                 :           0 :                           {
    8200                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    8201                 :           0 :                             tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, CFN_SQRT, GT_EXPR);
    8202                 :           0 :                             if (res) return res;
    8203                 :             :                           }
    8204                 :             :                         }
    8205                 :             :                       break;
    8206                 :             :                     default:;
    8207                 :             :                     }
    8208                 :             :                   break;
    8209                 :             :                 default:;
    8210                 :             :                 }
    8211                 :             :             }
    8212                 :             :           break;
    8213                 :             :         default:;
    8214                 :             :         }
    8215                 :             :       break;
    8216                 :    13647007 :     default:;
    8217                 :             :     }
    8218                 :    13647007 :   if (uniform_integer_cst_p (_p1))
    8219                 :             :     {
    8220                 :     9114957 :       {
    8221                 :     9114957 :         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
    8222                 :     9114957 :         tree res = generic_simplify_327 (loc, type, _p0, _p1, captures, GT_EXPR);
    8223                 :     9114957 :         if (res) return res;
    8224                 :             :       }
    8225                 :             :     }
    8226                 :    12957525 :   switch (TREE_CODE (_p0))
    8227                 :             :     {
    8228                 :      852980 :     CASE_CONVERT:
    8229                 :      852980 :       {
    8230                 :      852980 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8231                 :      852980 :         switch (TREE_CODE (_q20))
    8232                 :             :           {
    8233                 :           1 :           case NE_EXPR:
    8234                 :           1 :             {
    8235                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8236                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8237                 :           1 :               if (integer_zerop (_q31))
    8238                 :             :                 {
    8239                 :           1 :                   if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    8240                 :             :                     {
    8241                 :           1 :                       {
    8242                 :           1 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    8243                 :           1 :                         if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    8244                 :             : )
    8245                 :             :                           {
    8246                 :           1 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1487;
    8247                 :           1 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1487;
    8248                 :           1 :                             {
    8249                 :           1 :                               tree _r;
    8250                 :           1 :                               _r =  constant_boolean_node (false, type);
    8251                 :           1 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 897, __FILE__, __LINE__, true);
    8252                 :           1 :                               return _r;
    8253                 :             :                             }
    8254                 :             : next_after_fail1487:;
    8255                 :             :                           }
    8256                 :             :                       }
    8257                 :             :                     }
    8258                 :             :                 }
    8259                 :             :               break;
    8260                 :             :             }
    8261                 :       39060 :           case PLUS_EXPR:
    8262                 :       39060 :             {
    8263                 :       39060 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8264                 :       39060 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8265                 :       39060 :               switch (TREE_CODE (_q30))
    8266                 :             :                 {
    8267                 :       28298 :                 CASE_CONVERT:
    8268                 :       28298 :                   {
    8269                 :       28298 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    8270                 :       28298 :                     switch (TREE_CODE (_q31))
    8271                 :             :                       {
    8272                 :       28294 :                       case INTEGER_CST:
    8273                 :       28294 :                         {
    8274                 :       28294 :                           if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    8275                 :             :                             {
    8276                 :           7 :                               {
    8277                 :           7 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q31 };
    8278                 :           7 :                                 tree res = generic_simplify_328 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
    8279                 :           7 :                                 if (res) return res;
    8280                 :             :                               }
    8281                 :             :                             }
    8282                 :             :                           break;
    8283                 :             :                         }
    8284                 :             :                       default:;
    8285                 :             :                       }
    8286                 :             :                     break;
    8287                 :             :                   }
    8288                 :             :                 default:;
    8289                 :             :                 }
    8290                 :             :               break;
    8291                 :             :             }
    8292                 :             :           default:;
    8293                 :             :           }
    8294                 :             :         break;
    8295                 :             :       }
    8296                 :    12957517 :     default:;
    8297                 :             :     }
    8298                 :    12957517 :   switch (TREE_CODE (_p1))
    8299                 :             :     {
    8300                 :      496963 :     CASE_CONVERT:
    8301                 :      496963 :       {
    8302                 :      496963 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8303                 :      496963 :         switch (TREE_CODE (_q30))
    8304                 :             :           {
    8305                 :        3192 :           case PLUS_EXPR:
    8306                 :        3192 :             {
    8307                 :        3192 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8308                 :        3192 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8309                 :        3192 :               switch (TREE_CODE (_q40))
    8310                 :             :                 {
    8311                 :        3157 :                 CASE_CONVERT:
    8312                 :        3157 :                   {
    8313                 :        3157 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    8314                 :        3157 :                     if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    8315                 :             :                       {
    8316                 :           0 :                         switch (TREE_CODE (_q41))
    8317                 :             :                           {
    8318                 :           0 :                           case INTEGER_CST:
    8319                 :           0 :                             {
    8320                 :           0 :                               {
    8321                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0, _q41 };
    8322                 :           0 :                                 tree res = generic_simplify_328 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
    8323                 :           0 :                                 if (res) return res;
    8324                 :             :                               }
    8325                 :           0 :                               break;
    8326                 :             :                             }
    8327                 :             :                           default:;
    8328                 :             :                           }
    8329                 :             :                       }
    8330                 :             :                     break;
    8331                 :             :                   }
    8332                 :             :                 default:;
    8333                 :             :                 }
    8334                 :             :               break;
    8335                 :             :             }
    8336                 :             :           default:;
    8337                 :             :           }
    8338                 :             :         break;
    8339                 :             :       }
    8340                 :       97220 :     case PLUS_EXPR:
    8341                 :       97220 :       {
    8342                 :       97220 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8343                 :       97220 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8344                 :       97220 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    8345                 :             :           {
    8346                 :           8 :             switch (TREE_CODE (_q31))
    8347                 :             :               {
    8348                 :           8 :               case INTEGER_CST:
    8349                 :           8 :                 {
    8350                 :           8 :                   {
    8351                 :           8 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0, _q31 };
    8352                 :           8 :                     tree res = generic_simplify_323 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
    8353                 :           8 :                     if (res) return res;
    8354                 :             :                   }
    8355                 :           0 :                   break;
    8356                 :             :                 }
    8357                 :             :               default:;
    8358                 :             :               }
    8359                 :             :           }
    8360                 :             :         break;
    8361                 :             :       }
    8362                 :    12957509 :     default:;
    8363                 :             :     }
    8364                 :    12957509 :   switch (TREE_CODE (_p0))
    8365                 :             :     {
    8366                 :      453379 :     case MINUS_EXPR:
    8367                 :      453379 :       {
    8368                 :      453379 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8369                 :      453379 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8370                 :      453379 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    8371                 :             :           {
    8372                 :        6698 :             {
    8373                 :        6698 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8374                 :        6698 :               tree res = generic_simplify_329 (loc, type, _p0, _p1, captures, GT_EXPR);
    8375                 :        6698 :               if (res) return res;
    8376                 :             :             }
    8377                 :             :           }
    8378                 :             :         break;
    8379                 :             :       }
    8380                 :    12950823 :     default:;
    8381                 :             :     }
    8382                 :    12950823 :   switch (TREE_CODE (_p1))
    8383                 :             :     {
    8384                 :       97212 :     case PLUS_EXPR:
    8385                 :       97212 :       {
    8386                 :       97212 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8387                 :       97212 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8388                 :       97212 :         switch (TREE_CODE (_q30))
    8389                 :             :           {
    8390                 :           0 :           case MINUS_EXPR:
    8391                 :           0 :             {
    8392                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8393                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8394                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    8395                 :             :                 {
    8396                 :           0 :                   if (integer_minus_onep (_q31))
    8397                 :             :                     {
    8398                 :           0 :                       {
    8399                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
    8400                 :           0 :                         tree res = generic_simplify_341 (loc, type, _p0, _p1, captures, LT_EXPR);
    8401                 :           0 :                         if (res) return res;
    8402                 :             :                       }
    8403                 :             :                     }
    8404                 :             :                 }
    8405                 :             :               break;
    8406                 :             :             }
    8407                 :             :           default:;
    8408                 :             :           }
    8409                 :             :         break;
    8410                 :             :       }
    8411                 :    12950823 :     default:;
    8412                 :             :     }
    8413                 :    12950823 :   switch (TREE_CODE (_p0))
    8414                 :             :     {
    8415                 :          89 :     case REALPART_EXPR:
    8416                 :          89 :       {
    8417                 :          89 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8418                 :          89 :         switch (TREE_CODE (_q20))
    8419                 :             :           {
    8420                 :           0 :           case CALL_EXPR:
    8421                 :           0 :             switch (get_call_combined_fn (_q20))
    8422                 :             :               {
    8423                 :           0 :               case CFN_SUB_OVERFLOW:
    8424                 :           0 :                 if (call_expr_nargs (_q20) == 2)
    8425                 :             :     {
    8426                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    8427                 :           0 :                     tree _q31 = CALL_EXPR_ARG (_q20, 1);
    8428                 :           0 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    8429                 :             :                       {
    8430                 :           0 :                         {
    8431                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8432                 :           0 :                           tree res = generic_simplify_342 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
    8433                 :           0 :                           if (res) return res;
    8434                 :             :                         }
    8435                 :             :                       }
    8436                 :             :                   }
    8437                 :             :                 break;
    8438                 :             :               default:;
    8439                 :             :               }
    8440                 :             :             break;
    8441                 :             :           default:;
    8442                 :             :           }
    8443                 :             :         break;
    8444                 :             :       }
    8445                 :    12950823 :     default:;
    8446                 :             :     }
    8447                 :    12950823 :   switch (TREE_CODE (_p1))
    8448                 :             :     {
    8449                 :          26 :     case REALPART_EXPR:
    8450                 :          26 :       {
    8451                 :          26 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8452                 :          26 :         switch (TREE_CODE (_q30))
    8453                 :             :           {
    8454                 :           0 :           case CALL_EXPR:
    8455                 :           0 :             switch (get_call_combined_fn (_q30))
    8456                 :             :               {
    8457                 :           0 :               case CFN_ADD_OVERFLOW:
    8458                 :           0 :                 if (call_expr_nargs (_q30) == 2)
    8459                 :             :     {
    8460                 :           0 :                     tree _q40 = CALL_EXPR_ARG (_q30, 0);
    8461                 :           0 :                     tree _q41 = CALL_EXPR_ARG (_q30, 1);
    8462                 :           0 :                     if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    8463                 :             :                       {
    8464                 :           0 :                         {
    8465                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q41 };
    8466                 :           0 :                           tree res = generic_simplify_343 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
    8467                 :           0 :                           if (res) return res;
    8468                 :             :                         }
    8469                 :             :                       }
    8470                 :           0 :                     if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    8471                 :             :                       {
    8472                 :           0 :                         {
    8473                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q40 };
    8474                 :           0 :                           tree res = generic_simplify_343 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
    8475                 :           0 :                           if (res) return res;
    8476                 :             :                         }
    8477                 :             :                       }
    8478                 :             :                   }
    8479                 :             :                 break;
    8480                 :             :               default:;
    8481                 :             :               }
    8482                 :             :             break;
    8483                 :             :           default:;
    8484                 :             :           }
    8485                 :             :         break;
    8486                 :             :       }
    8487                 :        1152 :     case TRUNC_DIV_EXPR:
    8488                 :        1152 :       {
    8489                 :        1152 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8490                 :        1152 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8491                 :        1152 :         if (integer_all_onesp (_q30))
    8492                 :             :           {
    8493                 :           0 :             {
    8494                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q31, _p0 };
    8495                 :           0 :               tree res = generic_simplify_344 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
    8496                 :           0 :               if (res) return res;
    8497                 :             :             }
    8498                 :             :           }
    8499                 :             :         break;
    8500                 :             :       }
    8501                 :    12950823 :     default:;
    8502                 :             :     }
    8503                 :    12950823 :   switch (TREE_CODE (_p0))
    8504                 :             :     {
    8505                 :       88495 :     case MULT_EXPR:
    8506                 :       88495 :       {
    8507                 :       88495 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8508                 :       88495 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8509                 :       88495 :         switch (TREE_CODE (_q21))
    8510                 :             :           {
    8511                 :       22077 :           case REAL_CST:
    8512                 :       22077 :             {
    8513                 :       22077 :               switch (TREE_CODE (_p1))
    8514                 :             :                 {
    8515                 :          60 :                 case REAL_CST:
    8516                 :          60 :                   {
    8517                 :          60 :                     {
    8518                 :          60 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    8519                 :          60 :                       tree res = generic_simplify_334 (loc, type, _p0, _p1, captures, GT_EXPR, LT_EXPR);
    8520                 :          60 :                       if (res) return res;
    8521                 :             :                     }
    8522                 :          59 :                     break;
    8523                 :             :                   }
    8524                 :             :                 default:;
    8525                 :             :                 }
    8526                 :             :               break;
    8527                 :             :             }
    8528                 :             :           default:;
    8529                 :             :           }
    8530                 :             :         break;
    8531                 :             :       }
    8532                 :     1715861 :     case PLUS_EXPR:
    8533                 :     1715861 :       {
    8534                 :     1715861 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8535                 :     1715861 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8536                 :     1715861 :         switch (TREE_CODE (_q21))
    8537                 :             :           {
    8538                 :     1573071 :           case INTEGER_CST:
    8539                 :     1573071 :             {
    8540                 :     1573071 :               switch (TREE_CODE (_p1))
    8541                 :             :                 {
    8542                 :     1096548 :                 case INTEGER_CST:
    8543                 :     1096548 :                   {
    8544                 :     1096548 :                     {
    8545                 :     1096548 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    8546                 :     1096548 :                       tree res = generic_simplify_335 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR, GT_EXPR);
    8547                 :     1096548 :                       if (res) return res;
    8548                 :             :                     }
    8549                 :      733529 :                     break;
    8550                 :             :                   }
    8551                 :             :                 default:;
    8552                 :             :                 }
    8553                 :             :               break;
    8554                 :             :             }
    8555                 :             :           default:;
    8556                 :             :           }
    8557                 :             :         break;
    8558                 :             :       }
    8559                 :      446693 :     case MINUS_EXPR:
    8560                 :      446693 :       {
    8561                 :      446693 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8562                 :      446693 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8563                 :      446693 :         switch (TREE_CODE (_q21))
    8564                 :             :           {
    8565                 :         387 :           case INTEGER_CST:
    8566                 :         387 :             {
    8567                 :         387 :               switch (TREE_CODE (_p1))
    8568                 :             :                 {
    8569                 :         239 :                 case INTEGER_CST:
    8570                 :         239 :                   {
    8571                 :         239 :                     {
    8572                 :         239 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    8573                 :         239 :                       tree res = generic_simplify_335 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR, GT_EXPR);
    8574                 :         239 :                       if (res) return res;
    8575                 :             :                     }
    8576                 :          84 :                     break;
    8577                 :             :                   }
    8578                 :             :                 default:;
    8579                 :             :                 }
    8580                 :             :               break;
    8581                 :             :             }
    8582                 :             :           default:;
    8583                 :             :           }
    8584                 :             :         break;
    8585                 :             :       }
    8586                 :      267858 :     case CALL_EXPR:
    8587                 :      267858 :       switch (get_call_combined_fn (_p0))
    8588                 :             :         {
    8589                 :           4 :         case CFN_BUILT_IN_CTZ:
    8590                 :           4 :           if (call_expr_nargs (_p0) == 1)
    8591                 :             :     {
    8592                 :           4 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8593                 :           4 :               switch (TREE_CODE (_p1))
    8594                 :             :                 {
    8595                 :           4 :                 case INTEGER_CST:
    8596                 :           4 :                   {
    8597                 :           4 :                     {
    8598                 :           4 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8599                 :           4 :                       tree res = generic_simplify_336 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR, CFN_BUILT_IN_CTZ);
    8600                 :           4 :                       if (res) return res;
    8601                 :             :                     }
    8602                 :           0 :                     break;
    8603                 :             :                   }
    8604                 :             :                 default:;
    8605                 :             :                 }
    8606                 :             :             }
    8607                 :             :           break;
    8608                 :          12 :         case CFN_BUILT_IN_FFS:
    8609                 :          12 :           if (call_expr_nargs (_p0) == 1)
    8610                 :             :     {
    8611                 :          12 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8612                 :          12 :               switch (TREE_CODE (_p1))
    8613                 :             :                 {
    8614                 :          12 :                 case INTEGER_CST:
    8615                 :          12 :                   {
    8616                 :          12 :                     {
    8617                 :          12 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8618                 :          12 :                       tree res = generic_simplify_345 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR, EQ_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_FFS);
    8619                 :          12 :                       if (res) return res;
    8620                 :             :                     }
    8621                 :           6 :                     break;
    8622                 :             :                   }
    8623                 :             :                 default:;
    8624                 :             :                 }
    8625                 :             :             }
    8626                 :             :           break;
    8627                 :           0 :         case CFN_BUILT_IN_FFSIMAX:
    8628                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8629                 :             :     {
    8630                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8631                 :           0 :               switch (TREE_CODE (_p1))
    8632                 :             :                 {
    8633                 :           0 :                 case INTEGER_CST:
    8634                 :           0 :                   {
    8635                 :           0 :                     {
    8636                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8637                 :           0 :                       tree res = generic_simplify_345 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR, EQ_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_FFSIMAX);
    8638                 :           0 :                       if (res) return res;
    8639                 :             :                     }
    8640                 :           0 :                     break;
    8641                 :             :                   }
    8642                 :             :                 default:;
    8643                 :             :                 }
    8644                 :             :             }
    8645                 :             :           break;
    8646                 :          75 :         case CFN_BUILT_IN_POPCOUNT:
    8647                 :          75 :           if (call_expr_nargs (_p0) == 1)
    8648                 :             :     {
    8649                 :          75 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8650                 :          75 :               if (integer_zerop (_p1))
    8651                 :             :                 {
    8652                 :          36 :                   {
    8653                 :          36 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8654                 :          36 :                     tree res = generic_simplify_270 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR, CFN_BUILT_IN_POPCOUNT);
    8655                 :          36 :                     if (res) return res;
    8656                 :             :                   }
    8657                 :             :                 }
    8658                 :             :             }
    8659                 :             :           break;
    8660                 :           2 :         case CFN_BUILT_IN_CTZL:
    8661                 :           2 :           if (call_expr_nargs (_p0) == 1)
    8662                 :             :     {
    8663                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8664                 :           2 :               switch (TREE_CODE (_p1))
    8665                 :             :                 {
    8666                 :           2 :                 case INTEGER_CST:
    8667                 :           2 :                   {
    8668                 :           2 :                     {
    8669                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8670                 :           2 :                       tree res = generic_simplify_336 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR, CFN_BUILT_IN_CTZL);
    8671                 :           2 :                       if (res) return res;
    8672                 :             :                     }
    8673                 :           0 :                     break;
    8674                 :             :                   }
    8675                 :             :                 default:;
    8676                 :             :                 }
    8677                 :             :             }
    8678                 :             :           break;
    8679                 :           8 :         case CFN_BUILT_IN_FFSL:
    8680                 :           8 :           if (call_expr_nargs (_p0) == 1)
    8681                 :             :     {
    8682                 :           8 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8683                 :           8 :               switch (TREE_CODE (_p1))
    8684                 :             :                 {
    8685                 :           8 :                 case INTEGER_CST:
    8686                 :           8 :                   {
    8687                 :           8 :                     {
    8688                 :           8 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8689                 :           8 :                       tree res = generic_simplify_345 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR, EQ_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_FFSL);
    8690                 :           8 :                       if (res) return res;
    8691                 :             :                     }
    8692                 :           4 :                     break;
    8693                 :             :                   }
    8694                 :             :                 default:;
    8695                 :             :                 }
    8696                 :             :             }
    8697                 :             :           break;
    8698                 :           3 :         case CFN_BUILT_IN_POPCOUNTLL:
    8699                 :           3 :           if (call_expr_nargs (_p0) == 1)
    8700                 :             :     {
    8701                 :           3 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8702                 :           3 :               if (integer_zerop (_p1))
    8703                 :             :                 {
    8704                 :           0 :                   {
    8705                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8706                 :           0 :                     tree res = generic_simplify_270 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    8707                 :           0 :                     if (res) return res;
    8708                 :             :                   }
    8709                 :             :                 }
    8710                 :             :             }
    8711                 :             :           break;
    8712                 :           0 :         case CFN_BUILT_IN_CTZIMAX:
    8713                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8714                 :             :     {
    8715                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8716                 :           0 :               switch (TREE_CODE (_p1))
    8717                 :             :                 {
    8718                 :           0 :                 case INTEGER_CST:
    8719                 :           0 :                   {
    8720                 :           0 :                     {
    8721                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8722                 :           0 :                       tree res = generic_simplify_336 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR, CFN_BUILT_IN_CTZIMAX);
    8723                 :           0 :                       if (res) return res;
    8724                 :             :                     }
    8725                 :           0 :                     break;
    8726                 :             :                   }
    8727                 :             :                 default:;
    8728                 :             :                 }
    8729                 :             :             }
    8730                 :             :           break;
    8731                 :           0 :         case CFN_POPCOUNT:
    8732                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8733                 :             :     {
    8734                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8735                 :           0 :               if (integer_zerop (_p1))
    8736                 :             :                 {
    8737                 :           0 :                   {
    8738                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8739                 :           0 :                     tree res = generic_simplify_270 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR, CFN_POPCOUNT);
    8740                 :           0 :                     if (res) return res;
    8741                 :             :                   }
    8742                 :             :                 }
    8743                 :             :             }
    8744                 :             :           break;
    8745                 :           0 :         case CFN_CTZ:
    8746                 :           0 :           if (call_expr_nargs (_p0) == 2)
    8747                 :             :     {
    8748                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8749                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    8750                 :           0 :               switch (TREE_CODE (_p1))
    8751                 :             :                 {
    8752                 :           0 :                 case INTEGER_CST:
    8753                 :           0 :                   {
    8754                 :           0 :                     {
    8755                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    8756                 :           0 :                       tree res = generic_simplify_337 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
    8757                 :           0 :                       if (res) return res;
    8758                 :             :                     }
    8759                 :           0 :                     break;
    8760                 :             :                   }
    8761                 :             :                 default:;
    8762                 :             :                 }
    8763                 :             :             }
    8764                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8765                 :             :     {
    8766                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8767                 :           0 :               switch (TREE_CODE (_p1))
    8768                 :             :                 {
    8769                 :           0 :                 case INTEGER_CST:
    8770                 :           0 :                   {
    8771                 :           0 :                     {
    8772                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8773                 :           0 :                       tree res = generic_simplify_336 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR, CFN_CTZ);
    8774                 :           0 :                       if (res) return res;
    8775                 :             :                     }
    8776                 :           0 :                     break;
    8777                 :             :                   }
    8778                 :             :                 default:;
    8779                 :             :                 }
    8780                 :             :             }
    8781                 :             :           break;
    8782                 :           0 :         case CFN_FFS:
    8783                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8784                 :             :     {
    8785                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8786                 :           0 :               switch (TREE_CODE (_p1))
    8787                 :             :                 {
    8788                 :           0 :                 case INTEGER_CST:
    8789                 :           0 :                   {
    8790                 :           0 :                     {
    8791                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8792                 :           0 :                       tree res = generic_simplify_345 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR, EQ_EXPR, BIT_AND_EXPR, CFN_FFS);
    8793                 :           0 :                       if (res) return res;
    8794                 :             :                     }
    8795                 :           0 :                     break;
    8796                 :             :                   }
    8797                 :             :                 default:;
    8798                 :             :                 }
    8799                 :             :             }
    8800                 :             :           break;
    8801                 :           0 :         case CFN_BUILT_IN_POPCOUNTIMAX:
    8802                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8803                 :             :     {
    8804                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8805                 :           0 :               if (integer_zerop (_p1))
    8806                 :             :                 {
    8807                 :           0 :                   {
    8808                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8809                 :           0 :                     tree res = generic_simplify_270 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    8810                 :           0 :                     if (res) return res;
    8811                 :             :                   }
    8812                 :             :                 }
    8813                 :             :             }
    8814                 :             :           break;
    8815                 :           3 :         case CFN_BUILT_IN_POPCOUNTL:
    8816                 :           3 :           if (call_expr_nargs (_p0) == 1)
    8817                 :             :     {
    8818                 :           3 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8819                 :           3 :               if (integer_zerop (_p1))
    8820                 :             :                 {
    8821                 :           0 :                   {
    8822                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8823                 :           0 :                     tree res = generic_simplify_270 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR, CFN_BUILT_IN_POPCOUNTL);
    8824                 :           0 :                     if (res) return res;
    8825                 :             :                   }
    8826                 :             :                 }
    8827                 :             :             }
    8828                 :             :           break;
    8829                 :           2 :         case CFN_BUILT_IN_CTZLL:
    8830                 :           2 :           if (call_expr_nargs (_p0) == 1)
    8831                 :             :     {
    8832                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8833                 :           2 :               switch (TREE_CODE (_p1))
    8834                 :             :                 {
    8835                 :           2 :                 case INTEGER_CST:
    8836                 :           2 :                   {
    8837                 :           2 :                     {
    8838                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8839                 :           2 :                       tree res = generic_simplify_336 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR, CFN_BUILT_IN_CTZLL);
    8840                 :           2 :                       if (res) return res;
    8841                 :             :                     }
    8842                 :           0 :                     break;
    8843                 :             :                   }
    8844                 :             :                 default:;
    8845                 :             :                 }
    8846                 :             :             }
    8847                 :             :           break;
    8848                 :           9 :         case CFN_BUILT_IN_FFSLL:
    8849                 :           9 :           if (call_expr_nargs (_p0) == 1)
    8850                 :             :     {
    8851                 :           9 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8852                 :           9 :               switch (TREE_CODE (_p1))
    8853                 :             :                 {
    8854                 :           9 :                 case INTEGER_CST:
    8855                 :           9 :                   {
    8856                 :           9 :                     {
    8857                 :           9 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8858                 :           9 :                       tree res = generic_simplify_345 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR, EQ_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_FFSLL);
    8859                 :           9 :                       if (res) return res;
    8860                 :             :                     }
    8861                 :           4 :                     break;
    8862                 :             :                   }
    8863                 :             :                 default:;
    8864                 :             :                 }
    8865                 :             :             }
    8866                 :             :           break;
    8867                 :             :         default:;
    8868                 :             :         }
    8869                 :             :       break;
    8870                 :             :     default:;
    8871                 :             :     }
    8872                 :             :   return NULL_TREE;
    8873                 :             : }
    8874                 :             : 
    8875                 :             : tree
    8876                 :      328467 : generic_simplify_MAX_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    8877                 :             : {
    8878                 :      328467 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    8879                 :      328467 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    8880                 :             :     {
    8881                 :           0 :       {
    8882                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8883                 :           0 :         tree res = generic_simplify_443 (loc, type, _p0, _p1, captures, MAX_EXPR);
    8884                 :           0 :         if (res) return res;
    8885                 :             :       }
    8886                 :             :     }
    8887                 :      328467 :   switch (TREE_CODE (_p0))
    8888                 :             :     {
    8889                 :          85 :     case MAX_EXPR:
    8890                 :          85 :       {
    8891                 :          85 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8892                 :          85 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8893                 :          85 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    8894                 :             :           {
    8895                 :           0 :             {
    8896                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8897                 :           0 :               tree res = generic_simplify_444 (loc, type, _p0, _p1, captures, MAX_EXPR);
    8898                 :           0 :               if (res) return res;
    8899                 :             :             }
    8900                 :             :           }
    8901                 :          85 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    8902                 :             :           {
    8903                 :           0 :             {
    8904                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    8905                 :           0 :               tree res = generic_simplify_444 (loc, type, _p0, _p1, captures, MAX_EXPR);
    8906                 :           0 :               if (res) return res;
    8907                 :             :             }
    8908                 :             :           }
    8909                 :             :         break;
    8910                 :             :       }
    8911                 :      328467 :     default:;
    8912                 :             :     }
    8913                 :      328467 :   switch (TREE_CODE (_p1))
    8914                 :             :     {
    8915                 :           0 :     case MAX_EXPR:
    8916                 :           0 :       {
    8917                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8918                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8919                 :           0 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    8920                 :             :           {
    8921                 :           0 :             {
    8922                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
    8923                 :           0 :               tree res = generic_simplify_445 (loc, type, _p0, _p1, captures, MAX_EXPR);
    8924                 :           0 :               if (res) return res;
    8925                 :             :             }
    8926                 :             :           }
    8927                 :           0 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    8928                 :             :           {
    8929                 :           0 :             {
    8930                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q30 };
    8931                 :           0 :               tree res = generic_simplify_445 (loc, type, _p0, _p1, captures, MAX_EXPR);
    8932                 :           0 :               if (res) return res;
    8933                 :             :             }
    8934                 :             :           }
    8935                 :             :         break;
    8936                 :             :       }
    8937                 :      328467 :     default:;
    8938                 :             :     }
    8939                 :      328467 :   switch (TREE_CODE (_p0))
    8940                 :             :     {
    8941                 :        2701 :     case MIN_EXPR:
    8942                 :        2701 :       {
    8943                 :        2701 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8944                 :        2701 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8945                 :        2701 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    8946                 :             :           {
    8947                 :           1 :             {
    8948                 :           1 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8949                 :           1 :               tree res = generic_simplify_454 (loc, type, _p0, _p1, captures);
    8950                 :           1 :               if (res) return res;
    8951                 :             :             }
    8952                 :             :           }
    8953                 :        2700 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    8954                 :             :           {
    8955                 :           1 :             {
    8956                 :           1 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    8957                 :           1 :               tree res = generic_simplify_454 (loc, type, _p0, _p1, captures);
    8958                 :           1 :               if (res) return res;
    8959                 :             :             }
    8960                 :             :           }
    8961                 :             :         break;
    8962                 :             :       }
    8963                 :      328465 :     default:;
    8964                 :             :     }
    8965                 :      328465 :   switch (TREE_CODE (_p1))
    8966                 :             :     {
    8967                 :           0 :     case MIN_EXPR:
    8968                 :           0 :       {
    8969                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8970                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8971                 :           0 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    8972                 :             :           {
    8973                 :           0 :             {
    8974                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    8975                 :           0 :               tree res = generic_simplify_454 (loc, type, _p0, _p1, captures);
    8976                 :           0 :               if (res) return res;
    8977                 :             :             }
    8978                 :             :           }
    8979                 :           0 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    8980                 :             :           {
    8981                 :           0 :             {
    8982                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q31, _p0 };
    8983                 :           0 :               tree res = generic_simplify_454 (loc, type, _p0, _p1, captures);
    8984                 :           0 :               if (res) return res;
    8985                 :             :             }
    8986                 :             :           }
    8987                 :             :         break;
    8988                 :             :       }
    8989                 :           0 :     case NEGATE_EXPR:
    8990                 :           0 :       {
    8991                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8992                 :           0 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    8993                 :             :           {
    8994                 :           0 :             {
    8995                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8996                 :           0 :               tree res = generic_simplify_455 (loc, type, _p0, _p1, captures);
    8997                 :           0 :               if (res) return res;
    8998                 :             :             }
    8999                 :             :           }
    9000                 :             :         break;
    9001                 :             :       }
    9002                 :      328465 :     default:;
    9003                 :             :     }
    9004                 :      328465 :   switch (TREE_CODE (_p0))
    9005                 :             :     {
    9006                 :          96 :     case NEGATE_EXPR:
    9007                 :          96 :       {
    9008                 :          96 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9009                 :          96 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9010                 :             :           {
    9011                 :           2 :             {
    9012                 :           2 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    9013                 :           2 :               tree res = generic_simplify_455 (loc, type, _p0, _p1, captures);
    9014                 :           2 :               if (res) return res;
    9015                 :             :             }
    9016                 :             :           }
    9017                 :             :         break;
    9018                 :             :       }
    9019                 :      328463 :     default:;
    9020                 :             :     }
    9021                 :      328463 :   {
    9022                 :      328463 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9023                 :      328463 :     if (INTEGRAL_TYPE_P (type)
    9024                 :      326747 :  && TYPE_MAX_VALUE (type)
    9025                 :      655210 :  && operand_equal_p (captures[1], TYPE_MAX_VALUE (type), OEP_ONLY_CONST)
    9026                 :             : )
    9027                 :             :       {
    9028                 :           0 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1543;
    9029                 :           0 :         {
    9030                 :           0 :           tree _r;
    9031                 :           0 :           _r = captures[1];
    9032                 :           0 :           if (TREE_SIDE_EFFECTS (captures[0]))
    9033                 :           0 :             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    9034                 :           0 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
    9035                 :           0 :           return _r;
    9036                 :             :         }
    9037                 :           0 : next_after_fail1543:;
    9038                 :             :       }
    9039                 :             :     else
    9040                 :             :       {
    9041                 :      328463 :         if (INTEGRAL_TYPE_P (type)
    9042                 :      326747 :  && TYPE_MIN_VALUE (type)
    9043                 :      655210 :  && operand_equal_p (captures[1], TYPE_MIN_VALUE (type), OEP_ONLY_CONST)
    9044                 :             : )
    9045                 :             :           {
    9046                 :          11 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1544;
    9047                 :          11 :             {
    9048                 :          11 :               tree _r;
    9049                 :          11 :               _r = captures[0];
    9050                 :          11 :               if (TREE_SIDE_EFFECTS (captures[1]))
    9051                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    9052                 :          11 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 922, __FILE__, __LINE__, true);
    9053                 :          11 :               return _r;
    9054                 :             :             }
    9055                 :           0 : next_after_fail1544:;
    9056                 :             :           }
    9057                 :             :       }
    9058                 :             :   }
    9059                 :      328452 :   switch (TREE_CODE (_p1))
    9060                 :             :     {
    9061                 :          84 :     case PLUS_EXPR:
    9062                 :          84 :       {
    9063                 :          84 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9064                 :          84 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9065                 :          84 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9066                 :             :           {
    9067                 :           0 :             switch (TREE_CODE (_q31))
    9068                 :             :               {
    9069                 :           0 :               case INTEGER_CST:
    9070                 :           0 :                 {
    9071                 :           0 :                   {
    9072                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    9073                 :           0 :                     if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    9074                 :             : )
    9075                 :             :                       {
    9076                 :           0 :                         if (tree_int_cst_sgn (captures[2]) > 0
    9077                 :             : )
    9078                 :             :                           {
    9079                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1545;
    9080                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1545;
    9081                 :           0 :                             {
    9082                 :           0 :                               tree _r;
    9083                 :           0 :                               _r = captures[1];
    9084                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 923, __FILE__, __LINE__, true);
    9085                 :           0 :                               return _r;
    9086                 :             :                             }
    9087                 :           0 : next_after_fail1545:;
    9088                 :             :                           }
    9089                 :             :                         else
    9090                 :             :                           {
    9091                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1546;
    9092                 :           0 :                             {
    9093                 :           0 :                               tree _r;
    9094                 :           0 :                               _r = captures[0];
    9095                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2]))
    9096                 :           0 :                                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    9097                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 924, __FILE__, __LINE__, true);
    9098                 :           0 :                               return _r;
    9099                 :             :                             }
    9100                 :           0 : next_after_fail1546:;
    9101                 :             :                           }
    9102                 :             :                       }
    9103                 :             :                   }
    9104                 :           0 :                   break;
    9105                 :             :                 }
    9106                 :             :               default:;
    9107                 :             :               }
    9108                 :             :           }
    9109                 :             :         break;
    9110                 :             :       }
    9111                 :      328452 :     default:;
    9112                 :             :     }
    9113                 :      328452 :   switch (TREE_CODE (_p0))
    9114                 :             :     {
    9115                 :       15899 :     case PLUS_EXPR:
    9116                 :       15899 :       {
    9117                 :       15899 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9118                 :       15899 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9119                 :       15899 :         switch (TREE_CODE (_q21))
    9120                 :             :           {
    9121                 :       15861 :           case INTEGER_CST:
    9122                 :       15861 :             {
    9123                 :       15861 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9124                 :             :                 {
    9125                 :           0 :                   {
    9126                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
    9127                 :           0 :                     if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    9128                 :             : )
    9129                 :             :                       {
    9130                 :           0 :                         if (tree_int_cst_sgn (captures[2]) > 0
    9131                 :             : )
    9132                 :             :                           {
    9133                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1547;
    9134                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1547;
    9135                 :           0 :                             {
    9136                 :           0 :                               tree _r;
    9137                 :           0 :                               _r = captures[1];
    9138                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 923, __FILE__, __LINE__, true);
    9139                 :           0 :                               return _r;
    9140                 :             :                             }
    9141                 :           0 : next_after_fail1547:;
    9142                 :             :                           }
    9143                 :             :                         else
    9144                 :             :                           {
    9145                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1548;
    9146                 :           0 :                             {
    9147                 :           0 :                               tree _r;
    9148                 :           0 :                               _r = captures[0];
    9149                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2]))
    9150                 :           0 :                                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    9151                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 924, __FILE__, __LINE__, true);
    9152                 :           0 :                               return _r;
    9153                 :             :                             }
    9154                 :           0 : next_after_fail1548:;
    9155                 :             :                           }
    9156                 :             :                       }
    9157                 :             :                   }
    9158                 :             :                 }
    9159                 :             :               break;
    9160                 :             :             }
    9161                 :             :           default:;
    9162                 :             :           }
    9163                 :             :         break;
    9164                 :             :       }
    9165                 :       26053 :     CASE_CONVERT:
    9166                 :       26053 :       {
    9167                 :       26053 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9168                 :       26053 :         switch (TREE_CODE (_q20))
    9169                 :             :           {
    9170                 :           1 :           case ADDR_EXPR:
    9171                 :           1 :             {
    9172                 :           1 :               switch (TREE_CODE (_p1))
    9173                 :             :                 {
    9174                 :           0 :                 CASE_CONVERT:
    9175                 :           0 :                   {
    9176                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
    9177                 :           0 :                     switch (TREE_CODE (_q40))
    9178                 :             :                       {
    9179                 :           0 :                       case ADDR_EXPR:
    9180                 :           0 :                         {
    9181                 :           0 :                           {
    9182                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9183                 :           0 :                             tree res = generic_simplify_448 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
    9184                 :           0 :                             if (res) return res;
    9185                 :             :                           }
    9186                 :           0 :                           break;
    9187                 :             :                         }
    9188                 :             :                       default:;
    9189                 :             :                       }
    9190                 :             :                     break;
    9191                 :             :                   }
    9192                 :           0 :                 case ADDR_EXPR:
    9193                 :           0 :                   {
    9194                 :           0 :                     {
    9195                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
    9196                 :           0 :                       tree res = generic_simplify_449 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
    9197                 :           0 :                       if (res) return res;
    9198                 :             :                     }
    9199                 :           0 :                     break;
    9200                 :             :                   }
    9201                 :             :                 default:;
    9202                 :             :                 }
    9203                 :             :               break;
    9204                 :             :             }
    9205                 :             :           default:;
    9206                 :             :           }
    9207                 :             :         break;
    9208                 :             :       }
    9209                 :          18 :     case ADDR_EXPR:
    9210                 :          18 :       {
    9211                 :          18 :         switch (TREE_CODE (_p1))
    9212                 :             :           {
    9213                 :           0 :           CASE_CONVERT:
    9214                 :           0 :             {
    9215                 :           0 :               tree _q30 = TREE_OPERAND (_p1, 0);
    9216                 :           0 :               switch (TREE_CODE (_q30))
    9217                 :             :                 {
    9218                 :           0 :                 case ADDR_EXPR:
    9219                 :           0 :                   {
    9220                 :           0 :                     {
    9221                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _q30 };
    9222                 :           0 :                       tree res = generic_simplify_450 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
    9223                 :           0 :                       if (res) return res;
    9224                 :             :                     }
    9225                 :           0 :                     break;
    9226                 :             :                   }
    9227                 :             :                 default:;
    9228                 :             :                 }
    9229                 :             :               break;
    9230                 :             :             }
    9231                 :          10 :           case ADDR_EXPR:
    9232                 :          10 :             {
    9233                 :          10 :               {
    9234                 :          10 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _p1 };
    9235                 :          10 :                 tree res = generic_simplify_451 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
    9236                 :          10 :                 if (res) return res;
    9237                 :             :               }
    9238                 :          10 :               break;
    9239                 :             :             }
    9240                 :             :           default:;
    9241                 :             :           }
    9242                 :             :         break;
    9243                 :             :       }
    9244                 :          94 :     case NEGATE_EXPR:
    9245                 :          94 :       {
    9246                 :          94 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9247                 :          94 :         switch (TREE_CODE (_p1))
    9248                 :             :           {
    9249                 :           0 :           case NEGATE_EXPR:
    9250                 :           0 :             {
    9251                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9252                 :           0 :               {
    9253                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9254                 :           0 :                 if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
    9255                 :           0 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    9256                 :           0 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
    9257                 :             : )
    9258                 :             :                   {
    9259                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1549;
    9260                 :           0 :                     {
    9261                 :           0 :                       tree res_op0;
    9262                 :           0 :                       {
    9263                 :           0 :                         tree _o1[2], _r1;
    9264                 :           0 :                         _o1[0] = captures[1];
    9265                 :           0 :                         _o1[1] = captures[3];
    9266                 :           0 :                         _r1 = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9267                 :           0 :                         res_op0 = _r1;
    9268                 :             :                       }
    9269                 :           0 :                       tree _r;
    9270                 :           0 :                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    9271                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
    9272                 :           0 :                       return _r;
    9273                 :             :                     }
    9274                 :           0 : next_after_fail1549:;
    9275                 :             :                   }
    9276                 :             :               }
    9277                 :           0 :               break;
    9278                 :             :             }
    9279                 :             :           default:;
    9280                 :             :           }
    9281                 :             :         break;
    9282                 :             :       }
    9283                 :           0 :     case BIT_NOT_EXPR:
    9284                 :           0 :       {
    9285                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9286                 :           0 :         switch (TREE_CODE (_p1))
    9287                 :             :           {
    9288                 :           0 :           case BIT_NOT_EXPR:
    9289                 :           0 :             {
    9290                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9291                 :           0 :               {
    9292                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9293                 :           0 :                 tree res = generic_simplify_452 (loc, type, _p0, _p1, captures, MAX_EXPR, MIN_EXPR);
    9294                 :           0 :                 if (res) return res;
    9295                 :             :               }
    9296                 :           0 :               break;
    9297                 :             :             }
    9298                 :             :           default:;
    9299                 :             :           }
    9300                 :             :         break;
    9301                 :             :       }
    9302                 :           0 :     case VEC_COND_EXPR:
    9303                 :           0 :       {
    9304                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9305                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9306                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    9307                 :           0 :         switch (TREE_CODE (_p1))
    9308                 :             :           {
    9309                 :           0 :           case VEC_COND_EXPR:
    9310                 :           0 :             {
    9311                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    9312                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    9313                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    9314                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    9315                 :             :                 {
    9316                 :           0 :                   {
    9317                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    9318                 :           0 :                     if (TREE_CODE_CLASS (MAX_EXPR) != tcc_comparison
    9319                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    9320                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    9321                 :             :  || (optimize_vectors_before_lowering_p ()
    9322                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    9323                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
    9324                 :             : )
    9325                 :             :                       {
    9326                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1550;
    9327                 :           0 :                         {
    9328                 :           0 :                           tree res_op0;
    9329                 :           0 :                           res_op0 = captures[1];
    9330                 :           0 :                           tree res_op1;
    9331                 :           0 :                           {
    9332                 :           0 :                             tree _o1[2], _r1;
    9333                 :           0 :                             _o1[0] = captures[2];
    9334                 :           0 :                             _o1[1] = captures[5];
    9335                 :           0 :                             _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9336                 :           0 :                             if (EXPR_P (_r1))
    9337                 :           0 :                               goto next_after_fail1550;
    9338                 :           0 :                             res_op1 = _r1;
    9339                 :             :                           }
    9340                 :           0 :                           tree res_op2;
    9341                 :           0 :                           {
    9342                 :           0 :                             tree _o1[2], _r1;
    9343                 :           0 :                             _o1[0] = captures[3];
    9344                 :           0 :                             _o1[1] = captures[6];
    9345                 :           0 :                             _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9346                 :           0 :                             if (EXPR_P (_r1))
    9347                 :           0 :                               goto next_after_fail1550;
    9348                 :           0 :                             res_op2 = _r1;
    9349                 :             :                           }
    9350                 :           0 :                           tree _r;
    9351                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9352                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
    9353                 :           0 :                           return _r;
    9354                 :             :                         }
    9355                 :           0 : next_after_fail1550:;
    9356                 :             :                       }
    9357                 :             :                   }
    9358                 :             :                 }
    9359                 :             :               break;
    9360                 :             :             }
    9361                 :           0 :           default:;
    9362                 :             :           }
    9363                 :           0 :         {
    9364                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    9365                 :           0 :           if (TREE_CODE_CLASS (MAX_EXPR) != tcc_comparison
    9366                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    9367                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    9368                 :             :  || (optimize_vectors_before_lowering_p ()
    9369                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    9370                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
    9371                 :             : )
    9372                 :             :             {
    9373                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1551;
    9374                 :           0 :               {
    9375                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1551;
    9376                 :           0 :                 tree res_op0;
    9377                 :           0 :                 res_op0 = captures[1];
    9378                 :           0 :                 tree res_op1;
    9379                 :           0 :                 {
    9380                 :           0 :                   tree _o1[2], _r1;
    9381                 :           0 :                   _o1[0] = captures[2];
    9382                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
    9383                 :           0 :                   _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9384                 :           0 :                   if (EXPR_P (_r1))
    9385                 :           0 :                     goto next_after_fail1551;
    9386                 :           0 :                   res_op1 = _r1;
    9387                 :             :                 }
    9388                 :           0 :                 tree res_op2;
    9389                 :           0 :                 {
    9390                 :           0 :                   tree _o1[2], _r1;
    9391                 :           0 :                   _o1[0] = captures[3];
    9392                 :           0 :                   _o1[1] = captures[4];
    9393                 :           0 :                   _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9394                 :           0 :                   if (EXPR_P (_r1))
    9395                 :           0 :                     goto next_after_fail1551;
    9396                 :           0 :                   res_op2 = _r1;
    9397                 :             :                 }
    9398                 :           0 :                 tree _r;
    9399                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9400                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
    9401                 :           0 :                 return _r;
    9402                 :             :               }
    9403                 :           0 : next_after_fail1551:;
    9404                 :             :             }
    9405                 :             :         }
    9406                 :           0 :         break;
    9407                 :             :       }
    9408                 :      328452 :     default:;
    9409                 :             :     }
    9410                 :      328452 :   switch (TREE_CODE (_p1))
    9411                 :             :     {
    9412                 :           0 :     case VEC_COND_EXPR:
    9413                 :           0 :       {
    9414                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9415                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9416                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    9417                 :           0 :         {
    9418                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    9419                 :           0 :           if (TREE_CODE_CLASS (MAX_EXPR) != tcc_comparison
    9420                 :             :  || types_match (type, TREE_TYPE (captures[3]))
    9421                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
    9422                 :             :  || (optimize_vectors_before_lowering_p ()
    9423                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
    9424                 :             :  TREE_TYPE (captures[2]), ERROR_MARK))
    9425                 :             : )
    9426                 :             :             {
    9427                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1552;
    9428                 :           0 :               {
    9429                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1552;
    9430                 :           0 :                 tree res_op0;
    9431                 :           0 :                 res_op0 = captures[2];
    9432                 :           0 :                 tree res_op1;
    9433                 :           0 :                 {
    9434                 :           0 :                   tree _o1[2], _r1;
    9435                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    9436                 :           0 :                   _o1[1] = captures[3];
    9437                 :           0 :                   _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9438                 :           0 :                   if (EXPR_P (_r1))
    9439                 :           0 :                     goto next_after_fail1552;
    9440                 :           0 :                   res_op1 = _r1;
    9441                 :             :                 }
    9442                 :           0 :                 tree res_op2;
    9443                 :           0 :                 {
    9444                 :           0 :                   tree _o1[2], _r1;
    9445                 :           0 :                   _o1[0] = captures[0];
    9446                 :           0 :                   _o1[1] = captures[4];
    9447                 :           0 :                   _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9448                 :           0 :                   if (EXPR_P (_r1))
    9449                 :           0 :                     goto next_after_fail1552;
    9450                 :           0 :                   res_op2 = _r1;
    9451                 :             :                 }
    9452                 :           0 :                 tree _r;
    9453                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9454                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
    9455                 :           0 :                 return _r;
    9456                 :             :               }
    9457                 :           0 : next_after_fail1552:;
    9458                 :             :             }
    9459                 :             :         }
    9460                 :           0 :         break;
    9461                 :             :       }
    9462                 :      328452 :     default:;
    9463                 :             :     }
    9464                 :      328452 :   if (tree_zero_one_valued_p (_p0))
    9465                 :             :     {
    9466                 :          24 :       if (tree_zero_one_valued_p (_p1))
    9467                 :             :         {
    9468                 :          12 :           {
    9469                 :          12 :             tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9470                 :          12 :             tree res = generic_simplify_453 (loc, type, _p0, _p1, captures, MAX_EXPR, BIT_IOR_EXPR);
    9471                 :          12 :             if (res) return res;
    9472                 :             :           }
    9473                 :             :         }
    9474                 :             :     }
    9475                 :             :   return NULL_TREE;
    9476                 :             : }
    9477                 :             : 
    9478                 :             : tree
    9479                 :      373078 : generic_simplify_UNEQ_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    9480                 :             : {
    9481                 :      373078 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    9482                 :      373078 :   switch (TREE_CODE (_p0))
    9483                 :             :     {
    9484                 :           0 :     case VEC_COND_EXPR:
    9485                 :           0 :       {
    9486                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9487                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9488                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    9489                 :           0 :         switch (TREE_CODE (_p1))
    9490                 :             :           {
    9491                 :           0 :           case VEC_COND_EXPR:
    9492                 :           0 :             {
    9493                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    9494                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    9495                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    9496                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    9497                 :             :                 {
    9498                 :           0 :                   {
    9499                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    9500                 :           0 :                     if (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
    9501                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
    9502                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    9503                 :             :  || (optimize_vectors_before_lowering_p ()
    9504                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    9505                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
    9506                 :             : )
    9507                 :             :                       {
    9508                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1577;
    9509                 :           0 :                         {
    9510                 :           0 :                           tree res_op0;
    9511                 :           0 :                           res_op0 = captures[1];
    9512                 :           0 :                           tree res_op1;
    9513                 :           0 :                           {
    9514                 :           0 :                             tree _o1[2], _r1;
    9515                 :           0 :                             _o1[0] = captures[2];
    9516                 :           0 :                             _o1[1] = captures[5];
    9517                 :           0 :                             _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
    9518                 :           0 :                             if (EXPR_P (_r1))
    9519                 :           0 :                               goto next_after_fail1577;
    9520                 :           0 :                             res_op1 = _r1;
    9521                 :             :                           }
    9522                 :           0 :                           tree res_op2;
    9523                 :           0 :                           {
    9524                 :           0 :                             tree _o1[2], _r1;
    9525                 :           0 :                             _o1[0] = captures[3];
    9526                 :           0 :                             _o1[1] = captures[6];
    9527                 :           0 :                             _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
    9528                 :           0 :                             if (EXPR_P (_r1))
    9529                 :           0 :                               goto next_after_fail1577;
    9530                 :           0 :                             res_op2 = _r1;
    9531                 :             :                           }
    9532                 :           0 :                           tree _r;
    9533                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9534                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
    9535                 :           0 :                           return _r;
    9536                 :             :                         }
    9537                 :           0 : next_after_fail1577:;
    9538                 :             :                       }
    9539                 :             :                   }
    9540                 :             :                 }
    9541                 :             :               break;
    9542                 :             :             }
    9543                 :           0 :           default:;
    9544                 :             :           }
    9545                 :           0 :         {
    9546                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    9547                 :           0 :           if (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
    9548                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
    9549                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
    9550                 :             :  || (optimize_vectors_before_lowering_p ()
    9551                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
    9552                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
    9553                 :             : )
    9554                 :             :             {
    9555                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1578;
    9556                 :           0 :               {
    9557                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1578;
    9558                 :           0 :                 tree res_op0;
    9559                 :           0 :                 res_op0 = captures[1];
    9560                 :           0 :                 tree res_op1;
    9561                 :           0 :                 {
    9562                 :           0 :                   tree _o1[2], _r1;
    9563                 :           0 :                   _o1[0] = captures[2];
    9564                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
    9565                 :           0 :                   _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
    9566                 :           0 :                   if (EXPR_P (_r1))
    9567                 :           0 :                     goto next_after_fail1578;
    9568                 :           0 :                   res_op1 = _r1;
    9569                 :             :                 }
    9570                 :           0 :                 tree res_op2;
    9571                 :           0 :                 {
    9572                 :           0 :                   tree _o1[2], _r1;
    9573                 :           0 :                   _o1[0] = captures[3];
    9574                 :           0 :                   _o1[1] = captures[4];
    9575                 :           0 :                   _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
    9576                 :           0 :                   if (EXPR_P (_r1))
    9577                 :           0 :                     goto next_after_fail1578;
    9578                 :           0 :                   res_op2 = _r1;
    9579                 :             :                 }
    9580                 :           0 :                 tree _r;
    9581                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9582                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
    9583                 :           0 :                 return _r;
    9584                 :             :               }
    9585                 :           0 : next_after_fail1578:;
    9586                 :             :             }
    9587                 :             :         }
    9588                 :           0 :         break;
    9589                 :             :       }
    9590                 :      373078 :     default:;
    9591                 :             :     }
    9592                 :      373078 :   switch (TREE_CODE (_p1))
    9593                 :             :     {
    9594                 :           0 :     case VEC_COND_EXPR:
    9595                 :           0 :       {
    9596                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9597                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9598                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    9599                 :           0 :         {
    9600                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    9601                 :           0 :           if (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
    9602                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
    9603                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
    9604                 :             :  || (optimize_vectors_before_lowering_p ()
    9605                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
    9606                 :           0 :  TREE_TYPE (captures[2]), ERROR_MARK))
    9607                 :             : )
    9608                 :             :             {
    9609                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1579;
    9610                 :           0 :               {
    9611                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1579;
    9612                 :           0 :                 tree res_op0;
    9613                 :           0 :                 res_op0 = captures[2];
    9614                 :           0 :                 tree res_op1;
    9615                 :           0 :                 {
    9616                 :           0 :                   tree _o1[2], _r1;
    9617                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    9618                 :           0 :                   _o1[1] = captures[3];
    9619                 :           0 :                   _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
    9620                 :           0 :                   if (EXPR_P (_r1))
    9621                 :           0 :                     goto next_after_fail1579;
    9622                 :           0 :                   res_op1 = _r1;
    9623                 :             :                 }
    9624                 :           0 :                 tree res_op2;
    9625                 :           0 :                 {
    9626                 :           0 :                   tree _o1[2], _r1;
    9627                 :           0 :                   _o1[0] = captures[0];
    9628                 :           0 :                   _o1[1] = captures[4];
    9629                 :           0 :                   _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
    9630                 :           0 :                   if (EXPR_P (_r1))
    9631                 :           0 :                     goto next_after_fail1579;
    9632                 :           0 :                   res_op2 = _r1;
    9633                 :             :                 }
    9634                 :           0 :                 tree _r;
    9635                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9636                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
    9637                 :           0 :                 return _r;
    9638                 :             :               }
    9639                 :           0 : next_after_fail1579:;
    9640                 :             :             }
    9641                 :             :         }
    9642                 :           0 :         break;
    9643                 :             :       }
    9644                 :      373078 :     default:;
    9645                 :             :     }
    9646                 :      373078 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    9647                 :             :     {
    9648                 :           0 :       {
    9649                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    9650                 :           0 :         tree res = generic_simplify_505 (loc, type, _p0, _p1, captures, UNEQ_EXPR);
    9651                 :           0 :         if (res) return res;
    9652                 :             :       }
    9653                 :             :     }
    9654                 :      373078 :   switch (TREE_CODE (_p0))
    9655                 :             :     {
    9656                 :           0 :     case FLOAT_EXPR:
    9657                 :           0 :       {
    9658                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9659                 :           0 :         switch (TREE_CODE (_p1))
    9660                 :             :           {
    9661                 :           0 :           case FLOAT_EXPR:
    9662                 :           0 :             {
    9663                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9664                 :           0 :               {
    9665                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    9666                 :           0 :                 tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, UNEQ_EXPR, EQ_EXPR);
    9667                 :           0 :                 if (res) return res;
    9668                 :             :               }
    9669                 :           0 :               break;
    9670                 :             :             }
    9671                 :             :           default:;
    9672                 :             :           }
    9673                 :             :         break;
    9674                 :             :       }
    9675                 :           0 :     case NEGATE_EXPR:
    9676                 :           0 :       {
    9677                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9678                 :           0 :         switch (TREE_CODE (_p1))
    9679                 :             :           {
    9680                 :           0 :           case NEGATE_EXPR:
    9681                 :           0 :             {
    9682                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9683                 :           0 :               {
    9684                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9685                 :           0 :                 tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, UNEQ_EXPR, UNEQ_EXPR);
    9686                 :           0 :                 if (res) return res;
    9687                 :             :               }
    9688                 :           0 :               break;
    9689                 :             :             }
    9690                 :           0 :           default:;
    9691                 :             :           }
    9692                 :           0 :       if (CONSTANT_CLASS_P (_p1))
    9693                 :             :         {
    9694                 :           0 :           {
    9695                 :           0 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9696                 :           0 :             tree res = generic_simplify_240 (loc, type, _p0, _p1, captures, UNEQ_EXPR, UNEQ_EXPR);
    9697                 :           0 :             if (res) return res;
    9698                 :             :           }
    9699                 :             :         }
    9700                 :             :         break;
    9701                 :             :       }
    9702                 :      373078 :     default:;
    9703                 :             :     }
    9704                 :      373078 :   switch (TREE_CODE (_p1))
    9705                 :             :     {
    9706                 :         182 :     case REAL_CST:
    9707                 :         182 :       {
    9708                 :         182 :         {
    9709                 :         182 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9710                 :         182 :           tree res = generic_simplify_503 (loc, type, _p0, _p1, captures, UNEQ_EXPR);
    9711                 :         182 :           if (res) return res;
    9712                 :             :         }
    9713                 :         180 :         break;
    9714                 :             :       }
    9715                 :             :     default:;
    9716                 :             :     }
    9717                 :             :   return NULL_TREE;
    9718                 :             : }
    9719                 :             : 
    9720                 :             : tree
    9721                 :     9589995 : generic_simplify_COND_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2)
    9722                 :             : {
    9723                 :     9589995 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    9724                 :     9589995 :   switch (TREE_CODE (_p0))
    9725                 :             :     {
    9726                 :     1216909 :     case LE_EXPR:
    9727                 :     1216909 :       {
    9728                 :     1216909 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9729                 :     1216909 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9730                 :     1216909 :         if (integer_zerop (_q21))
    9731                 :             :           {
    9732                 :      104344 :             switch (TREE_CODE (_p1))
    9733                 :             :               {
    9734                 :         261 :               case NEGATE_EXPR:
    9735                 :         261 :                 {
    9736                 :         261 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    9737                 :         261 :                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9738                 :             :                     {
    9739                 :          92 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
    9740                 :             :                         {
    9741                 :          92 :                           if (integer_zerop (_p2))
    9742                 :             :                             {
    9743                 :          92 :                               {
    9744                 :          92 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9745                 :          92 :                                 if (ANY_INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_UNDEFINED (type)
    9746                 :             : )
    9747                 :             :                                   {
    9748                 :          90 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1616;
    9749                 :          90 :                                     if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1616;
    9750                 :          90 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1616;
    9751                 :          90 :                                     {
    9752                 :          90 :                                       tree res_op0;
    9753                 :          90 :                                       res_op0 = captures[2];
    9754                 :          90 :                                       tree res_op1;
    9755                 :          90 :                                       res_op1 = captures[1];
    9756                 :          90 :                                       tree _r;
    9757                 :          90 :                                       _r = fold_build2_loc (loc, MAX_EXPR, type, res_op0, res_op1);
    9758                 :          90 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 932, __FILE__, __LINE__, true);
    9759                 :          90 :                                       return _r;
    9760                 :             :                                     }
    9761                 :           2 : next_after_fail1616:;
    9762                 :             :                                   }
    9763                 :             :                               }
    9764                 :             :                             }
    9765                 :             :                         }
    9766                 :             :                     }
    9767                 :             :                   break;
    9768                 :             :                 }
    9769                 :             :               default:;
    9770                 :             :               }
    9771                 :             :           }
    9772                 :     1216819 :         switch (TREE_CODE (_q20))
    9773                 :             :           {
    9774                 :      133714 :           CASE_CONVERT:
    9775                 :      133714 :             {
    9776                 :      133714 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9777                 :      133714 :               switch (TREE_CODE (_q21))
    9778                 :             :                 {
    9779                 :      104952 :                 case INTEGER_CST:
    9780                 :      104952 :                   {
    9781                 :      104952 :                     switch (TREE_CODE (_p1))
    9782                 :             :                       {
    9783                 :         518 :                       CASE_CONVERT:
    9784                 :         518 :                         {
    9785                 :         518 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    9786                 :         518 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    9787                 :             :                             {
    9788                 :          15 :                               switch (TREE_CODE (_p2))
    9789                 :             :                                 {
    9790                 :          15 :                                 case INTEGER_CST:
    9791                 :          15 :                                   {
    9792                 :          15 :                                     {
    9793                 :          15 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
    9794                 :          15 :                                       tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, LE_EXPR);
    9795                 :          15 :                                       if (res) return res;
    9796                 :             :                                     }
    9797                 :          15 :                                     break;
    9798                 :             :                                   }
    9799                 :             :                                 default:;
    9800                 :             :                                 }
    9801                 :             :                             }
    9802                 :             :                           break;
    9803                 :             :                         }
    9804                 :      104952 :                       default:;
    9805                 :             :                       }
    9806                 :      104952 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    9807                 :             :                       {
    9808                 :          23 :                         switch (TREE_CODE (_p2))
    9809                 :             :                           {
    9810                 :          23 :                           case INTEGER_CST:
    9811                 :          23 :                             {
    9812                 :          23 :                               {
    9813                 :          23 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
    9814                 :          23 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, LE_EXPR);
    9815                 :          23 :                                 if (res) return res;
    9816                 :             :                               }
    9817                 :          23 :                               break;
    9818                 :             :                             }
    9819                 :             :                           default:;
    9820                 :             :                           }
    9821                 :             :                       }
    9822                 :      104952 :                     switch (TREE_CODE (_p1))
    9823                 :             :                       {
    9824                 :          82 :                       case PLUS_EXPR:
    9825                 :          82 :                         {
    9826                 :          82 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    9827                 :          82 :                           tree _q61 = TREE_OPERAND (_p1, 1);
    9828                 :          82 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    9829                 :             :                             {
    9830                 :           8 :                               switch (TREE_CODE (_q61))
    9831                 :             :                                 {
    9832                 :           8 :                                 case INTEGER_CST:
    9833                 :           8 :                                   {
    9834                 :           8 :                                     switch (TREE_CODE (_p2))
    9835                 :             :                                       {
    9836                 :           8 :                                       case INTEGER_CST:
    9837                 :           8 :                                         {
    9838                 :           8 :                                           {
    9839                 :           8 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q21, _q61, _p2 };
    9840                 :           8 :                                             tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, PLUS_EXPR);
    9841                 :           8 :                                             if (res) return res;
    9842                 :             :                                           }
    9843                 :           8 :                                           break;
    9844                 :             :                                         }
    9845                 :             :                                       default:;
    9846                 :             :                                       }
    9847                 :             :                                     break;
    9848                 :             :                                   }
    9849                 :             :                                 default:;
    9850                 :             :                                 }
    9851                 :             :                             }
    9852                 :             :                           break;
    9853                 :             :                         }
    9854                 :         967 :                       case MINUS_EXPR:
    9855                 :         967 :                         {
    9856                 :         967 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    9857                 :         967 :                           tree _q61 = TREE_OPERAND (_p1, 1);
    9858                 :         967 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    9859                 :             :                             {
    9860                 :           0 :                               switch (TREE_CODE (_q61))
    9861                 :             :                                 {
    9862                 :           0 :                                 case INTEGER_CST:
    9863                 :           0 :                                   {
    9864                 :           0 :                                     switch (TREE_CODE (_p2))
    9865                 :             :                                       {
    9866                 :           0 :                                       case INTEGER_CST:
    9867                 :           0 :                                         {
    9868                 :           0 :                                           {
    9869                 :           0 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q21, _q61, _p2 };
    9870                 :           0 :                                             tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MINUS_EXPR);
    9871                 :           0 :                                             if (res) return res;
    9872                 :             :                                           }
    9873                 :           0 :                                           break;
    9874                 :             :                                         }
    9875                 :             :                                       default:;
    9876                 :             :                                       }
    9877                 :             :                                     break;
    9878                 :             :                                   }
    9879                 :             :                                 default:;
    9880                 :             :                                 }
    9881                 :             :                             }
    9882                 :             :                           break;
    9883                 :             :                         }
    9884                 :             :                       default:;
    9885                 :             :                       }
    9886                 :             :                     break;
    9887                 :             :                   }
    9888                 :             :                 default:;
    9889                 :             :                 }
    9890                 :             :               break;
    9891                 :             :             }
    9892                 :     1216819 :           default:;
    9893                 :             :           }
    9894                 :     1216819 :         switch (TREE_CODE (_q21))
    9895                 :             :           {
    9896                 :      861106 :           case INTEGER_CST:
    9897                 :      861106 :             {
    9898                 :      861106 :               switch (TREE_CODE (_p1))
    9899                 :             :                 {
    9900                 :       14148 :                 CASE_CONVERT:
    9901                 :       14148 :                   {
    9902                 :       14148 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    9903                 :       14148 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9904                 :             :                       {
    9905                 :         224 :                         switch (TREE_CODE (_p2))
    9906                 :             :                           {
    9907                 :         210 :                           case INTEGER_CST:
    9908                 :         210 :                             {
    9909                 :         210 :                               {
    9910                 :         210 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
    9911                 :         210 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, LE_EXPR);
    9912                 :         210 :                                 if (res) return res;
    9913                 :             :                               }
    9914                 :         132 :                               break;
    9915                 :             :                             }
    9916                 :             :                           default:;
    9917                 :             :                           }
    9918                 :             :                       }
    9919                 :             :                     break;
    9920                 :             :                   }
    9921                 :      861028 :                 default:;
    9922                 :             :                 }
    9923                 :      861028 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9924                 :             :                 {
    9925                 :         291 :                   switch (TREE_CODE (_p2))
    9926                 :             :                     {
    9927                 :         216 :                     case INTEGER_CST:
    9928                 :         216 :                       {
    9929                 :         216 :                         {
    9930                 :         216 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
    9931                 :         216 :                           tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, LE_EXPR);
    9932                 :         216 :                           if (res) return res;
    9933                 :             :                         }
    9934                 :          66 :                         break;
    9935                 :             :                       }
    9936                 :             :                     default:;
    9937                 :             :                     }
    9938                 :             :                 }
    9939                 :      860878 :               switch (TREE_CODE (_p1))
    9940                 :             :                 {
    9941                 :        2696 :                 case PLUS_EXPR:
    9942                 :        2696 :                   {
    9943                 :        2696 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    9944                 :        2696 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    9945                 :        2696 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9946                 :             :                       {
    9947                 :         204 :                         switch (TREE_CODE (_q51))
    9948                 :             :                           {
    9949                 :         204 :                           case INTEGER_CST:
    9950                 :         204 :                             {
    9951                 :         204 :                               switch (TREE_CODE (_p2))
    9952                 :             :                                 {
    9953                 :         193 :                                 case INTEGER_CST:
    9954                 :         193 :                                   {
    9955                 :         193 :                                     {
    9956                 :         193 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _p2 };
    9957                 :         193 :                                       tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, PLUS_EXPR);
    9958                 :         193 :                                       if (res) return res;
    9959                 :             :                                     }
    9960                 :         193 :                                     break;
    9961                 :             :                                   }
    9962                 :             :                                 default:;
    9963                 :             :                                 }
    9964                 :             :                               break;
    9965                 :             :                             }
    9966                 :             :                           default:;
    9967                 :             :                           }
    9968                 :             :                       }
    9969                 :             :                     break;
    9970                 :             :                   }
    9971                 :        6981 :                 case MINUS_EXPR:
    9972                 :        6981 :                   {
    9973                 :        6981 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    9974                 :        6981 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    9975                 :        6981 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9976                 :             :                       {
    9977                 :           0 :                         switch (TREE_CODE (_q51))
    9978                 :             :                           {
    9979                 :           0 :                           case INTEGER_CST:
    9980                 :           0 :                             {
    9981                 :           0 :                               switch (TREE_CODE (_p2))
    9982                 :             :                                 {
    9983                 :           0 :                                 case INTEGER_CST:
    9984                 :           0 :                                   {
    9985                 :           0 :                                     {
    9986                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _p2 };
    9987                 :           0 :                                       tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MINUS_EXPR);
    9988                 :           0 :                                       if (res) return res;
    9989                 :             :                                     }
    9990                 :           0 :                                     break;
    9991                 :             :                                   }
    9992                 :             :                                 default:;
    9993                 :             :                                 }
    9994                 :             :                               break;
    9995                 :             :                             }
    9996                 :             :                           default:;
    9997                 :             :                           }
    9998                 :             :                       }
    9999                 :             :                     break;
   10000                 :             :                   }
   10001                 :             :                 default:;
   10002                 :             :                 }
   10003                 :             :               break;
   10004                 :             :             }
   10005                 :     1216591 :           default:;
   10006                 :             :           }
   10007                 :     1216591 :         switch (TREE_CODE (_p1))
   10008                 :             :           {
   10009                 :          37 :           case MIN_EXPR:
   10010                 :          37 :             {
   10011                 :          37 :               tree _q50 = TREE_OPERAND (_p1, 0);
   10012                 :          37 :               tree _q51 = TREE_OPERAND (_p1, 1);
   10013                 :          37 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10014                 :             :                 {
   10015                 :           1 :                   switch (TREE_CODE (_p2))
   10016                 :             :                     {
   10017                 :           0 :                     case MIN_EXPR:
   10018                 :           0 :                       {
   10019                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   10020                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   10021                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   10022                 :             :                           {
   10023                 :           0 :                             {
   10024                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q80 };
   10025                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MIN_EXPR);
   10026                 :           0 :                               if (res) return res;
   10027                 :             :                             }
   10028                 :             :                           }
   10029                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   10030                 :             :                           {
   10031                 :           0 :                             {
   10032                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q81 };
   10033                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MIN_EXPR);
   10034                 :           0 :                               if (res) return res;
   10035                 :             :                             }
   10036                 :             :                           }
   10037                 :             :                         break;
   10038                 :             :                       }
   10039                 :             :                     default:;
   10040                 :             :                     }
   10041                 :             :                 }
   10042                 :          37 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10043                 :             :                 {
   10044                 :           1 :                   switch (TREE_CODE (_p2))
   10045                 :             :                     {
   10046                 :           0 :                     case MIN_EXPR:
   10047                 :           0 :                       {
   10048                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   10049                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   10050                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10051                 :             :                           {
   10052                 :           0 :                             {
   10053                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q80 };
   10054                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MIN_EXPR);
   10055                 :           0 :                               if (res) return res;
   10056                 :             :                             }
   10057                 :             :                           }
   10058                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10059                 :             :                           {
   10060                 :           0 :                             {
   10061                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q81 };
   10062                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MIN_EXPR);
   10063                 :           0 :                               if (res) return res;
   10064                 :             :                             }
   10065                 :             :                           }
   10066                 :             :                         break;
   10067                 :             :                       }
   10068                 :             :                     default:;
   10069                 :             :                     }
   10070                 :             :                 }
   10071                 :          37 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10072                 :             :                 {
   10073                 :           1 :                   switch (TREE_CODE (_p2))
   10074                 :             :                     {
   10075                 :           0 :                     case MIN_EXPR:
   10076                 :           0 :                       {
   10077                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   10078                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   10079                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   10080                 :             :                           {
   10081                 :           0 :                             {
   10082                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q80 };
   10083                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   10084                 :           0 :                               if (res) return res;
   10085                 :             :                             }
   10086                 :             :                           }
   10087                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   10088                 :             :                           {
   10089                 :           0 :                             {
   10090                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q81 };
   10091                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   10092                 :           0 :                               if (res) return res;
   10093                 :             :                             }
   10094                 :             :                           }
   10095                 :             :                         break;
   10096                 :             :                       }
   10097                 :           1 :                     default:;
   10098                 :             :                     }
   10099                 :           1 :                   {
   10100                 :           1 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q51, _p2 };
   10101                 :           1 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   10102                 :           1 :                     if (res) return res;
   10103                 :             :                   }
   10104                 :             :                 }
   10105                 :          36 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10106                 :             :                 {
   10107                 :           1 :                   switch (TREE_CODE (_p2))
   10108                 :             :                     {
   10109                 :           0 :                     case MIN_EXPR:
   10110                 :           0 :                       {
   10111                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   10112                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   10113                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10114                 :             :                           {
   10115                 :           0 :                             {
   10116                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q80 };
   10117                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   10118                 :           0 :                               if (res) return res;
   10119                 :             :                             }
   10120                 :             :                           }
   10121                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10122                 :             :                           {
   10123                 :           0 :                             {
   10124                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q81 };
   10125                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   10126                 :           0 :                               if (res) return res;
   10127                 :             :                             }
   10128                 :             :                           }
   10129                 :             :                         break;
   10130                 :             :                       }
   10131                 :           1 :                     default:;
   10132                 :             :                     }
   10133                 :           1 :                   {
   10134                 :           1 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q50, _p2 };
   10135                 :           1 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   10136                 :           1 :                     if (res) return res;
   10137                 :             :                   }
   10138                 :             :                 }
   10139                 :             :               break;
   10140                 :             :             }
   10141                 :          12 :           case MAX_EXPR:
   10142                 :          12 :             {
   10143                 :          12 :               tree _q50 = TREE_OPERAND (_p1, 0);
   10144                 :          12 :               tree _q51 = TREE_OPERAND (_p1, 1);
   10145                 :          12 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10146                 :             :                 {
   10147                 :           0 :                   switch (TREE_CODE (_p2))
   10148                 :             :                     {
   10149                 :           0 :                     case MAX_EXPR:
   10150                 :           0 :                       {
   10151                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   10152                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   10153                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   10154                 :             :                           {
   10155                 :           0 :                             {
   10156                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q80 };
   10157                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   10158                 :           0 :                               if (res) return res;
   10159                 :             :                             }
   10160                 :             :                           }
   10161                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   10162                 :             :                           {
   10163                 :           0 :                             {
   10164                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q81 };
   10165                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   10166                 :           0 :                               if (res) return res;
   10167                 :             :                             }
   10168                 :             :                           }
   10169                 :             :                         break;
   10170                 :             :                       }
   10171                 :           0 :                     default:;
   10172                 :             :                     }
   10173                 :           0 :                   {
   10174                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q51, _p2 };
   10175                 :           0 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   10176                 :           0 :                     if (res) return res;
   10177                 :             :                   }
   10178                 :             :                 }
   10179                 :          12 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10180                 :             :                 {
   10181                 :           0 :                   switch (TREE_CODE (_p2))
   10182                 :             :                     {
   10183                 :           0 :                     case MAX_EXPR:
   10184                 :           0 :                       {
   10185                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   10186                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   10187                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10188                 :             :                           {
   10189                 :           0 :                             {
   10190                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q80 };
   10191                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   10192                 :           0 :                               if (res) return res;
   10193                 :             :                             }
   10194                 :             :                           }
   10195                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10196                 :             :                           {
   10197                 :           0 :                             {
   10198                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q81 };
   10199                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   10200                 :           0 :                               if (res) return res;
   10201                 :             :                             }
   10202                 :             :                           }
   10203                 :             :                         break;
   10204                 :             :                       }
   10205                 :             :                     default:;
   10206                 :             :                     }
   10207                 :             :                 }
   10208                 :          12 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10209                 :             :                 {
   10210                 :           0 :                   switch (TREE_CODE (_p2))
   10211                 :             :                     {
   10212                 :           0 :                     case MAX_EXPR:
   10213                 :           0 :                       {
   10214                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   10215                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   10216                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   10217                 :             :                           {
   10218                 :           0 :                             {
   10219                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q80 };
   10220                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MAX_EXPR);
   10221                 :           0 :                               if (res) return res;
   10222                 :             :                             }
   10223                 :             :                           }
   10224                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   10225                 :             :                           {
   10226                 :           0 :                             {
   10227                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q81 };
   10228                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MAX_EXPR);
   10229                 :           0 :                               if (res) return res;
   10230                 :             :                             }
   10231                 :             :                           }
   10232                 :             :                         break;
   10233                 :             :                       }
   10234                 :             :                     default:;
   10235                 :             :                     }
   10236                 :             :                 }
   10237                 :          12 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10238                 :             :                 {
   10239                 :           0 :                   switch (TREE_CODE (_p2))
   10240                 :             :                     {
   10241                 :           0 :                     case MAX_EXPR:
   10242                 :           0 :                       {
   10243                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   10244                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   10245                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10246                 :             :                           {
   10247                 :           0 :                             {
   10248                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q80 };
   10249                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MAX_EXPR);
   10250                 :           0 :                               if (res) return res;
   10251                 :             :                             }
   10252                 :             :                           }
   10253                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10254                 :             :                           {
   10255                 :           0 :                             {
   10256                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q81 };
   10257                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MAX_EXPR);
   10258                 :           0 :                               if (res) return res;
   10259                 :             :                             }
   10260                 :             :                           }
   10261                 :             :                         break;
   10262                 :             :                       }
   10263                 :             :                     default:;
   10264                 :             :                     }
   10265                 :             :                 }
   10266                 :          12 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10267                 :             :                 {
   10268                 :           0 :                   {
   10269                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   10270                 :           0 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   10271                 :           0 :                     if (res) return res;
   10272                 :             :                   }
   10273                 :             :                 }
   10274                 :             :               break;
   10275                 :             :             }
   10276                 :             :           default:;
   10277                 :             :           }
   10278                 :             :         break;
   10279                 :             :       }
   10280                 :     1411370 :     case EQ_EXPR:
   10281                 :     1411370 :       {
   10282                 :     1411370 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10283                 :     1411370 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10284                 :     1411370 :         if (tree_zero_one_valued_p (_q20))
   10285                 :             :           {
   10286                 :       55989 :             if (integer_zerop (_q21))
   10287                 :             :               {
   10288                 :         643 :                 switch (TREE_CODE (_p2))
   10289                 :             :                   {
   10290                 :           1 :                   case BIT_XOR_EXPR:
   10291                 :           1 :                     {
   10292                 :           1 :                       tree _q60 = TREE_OPERAND (_p2, 0);
   10293                 :           1 :                       tree _q61 = TREE_OPERAND (_p2, 1);
   10294                 :           1 :                       if ((_q61 == _p1 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _p1, 0) && types_match (_q61, _p1)))
   10295                 :             :                         {
   10296                 :           1 :                           {
   10297                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q60 };
   10298                 :           1 :                             tree res = generic_simplify_464 (loc, type, _p0, _p1, _p2, captures, BIT_XOR_EXPR);
   10299                 :           1 :                             if (res) return res;
   10300                 :             :                           }
   10301                 :             :                         }
   10302                 :           0 :                       if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10303                 :             :                         {
   10304                 :           0 :                           {
   10305                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q61 };
   10306                 :           0 :                             tree res = generic_simplify_464 (loc, type, _p0, _p1, _p2, captures, BIT_XOR_EXPR);
   10307                 :           0 :                             if (res) return res;
   10308                 :             :                           }
   10309                 :             :                         }
   10310                 :             :                       break;
   10311                 :             :                     }
   10312                 :           1 :                   case BIT_IOR_EXPR:
   10313                 :           1 :                     {
   10314                 :           1 :                       tree _q60 = TREE_OPERAND (_p2, 0);
   10315                 :           1 :                       tree _q61 = TREE_OPERAND (_p2, 1);
   10316                 :           1 :                       if ((_q61 == _p1 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _p1, 0) && types_match (_q61, _p1)))
   10317                 :             :                         {
   10318                 :           1 :                           {
   10319                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q60 };
   10320                 :           1 :                             tree res = generic_simplify_464 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
   10321                 :           1 :                             if (res) return res;
   10322                 :             :                           }
   10323                 :             :                         }
   10324                 :           0 :                       if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10325                 :             :                         {
   10326                 :           0 :                           {
   10327                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q61 };
   10328                 :           0 :                             tree res = generic_simplify_464 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
   10329                 :           0 :                             if (res) return res;
   10330                 :             :                           }
   10331                 :             :                         }
   10332                 :             :                       break;
   10333                 :             :                     }
   10334                 :           1 :                   case PLUS_EXPR:
   10335                 :           1 :                     {
   10336                 :           1 :                       tree _q60 = TREE_OPERAND (_p2, 0);
   10337                 :           1 :                       tree _q61 = TREE_OPERAND (_p2, 1);
   10338                 :           1 :                       if ((_q61 == _p1 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _p1, 0) && types_match (_q61, _p1)))
   10339                 :             :                         {
   10340                 :           1 :                           {
   10341                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q60 };
   10342                 :           1 :                             tree res = generic_simplify_464 (loc, type, _p0, _p1, _p2, captures, PLUS_EXPR);
   10343                 :           1 :                             if (res) return res;
   10344                 :             :                           }
   10345                 :             :                         }
   10346                 :           0 :                       if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10347                 :             :                         {
   10348                 :           0 :                           {
   10349                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q61 };
   10350                 :           0 :                             tree res = generic_simplify_464 (loc, type, _p0, _p1, _p2, captures, PLUS_EXPR);
   10351                 :           0 :                             if (res) return res;
   10352                 :             :                           }
   10353                 :             :                         }
   10354                 :             :                       break;
   10355                 :             :                     }
   10356                 :             :                   default:;
   10357                 :             :                   }
   10358                 :             :               }
   10359                 :             :           }
   10360                 :     1411367 :         if (integer_zerop (_q21))
   10361                 :             :           {
   10362                 :      488418 :             switch (TREE_CODE (_p2))
   10363                 :             :               {
   10364                 :        4539 :               case PLUS_EXPR:
   10365                 :        4539 :                 {
   10366                 :        4539 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10367                 :        4539 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10368                 :        4539 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10369                 :             :                     {
   10370                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10371                 :             :                         {
   10372                 :           0 :                           {
   10373                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10374                 :           0 :                             tree res = generic_simplify_465 (loc, type, _p0, _p1, _p2, captures, PLUS_EXPR);
   10375                 :           0 :                             if (res) return res;
   10376                 :             :                           }
   10377                 :             :                         }
   10378                 :             :                     }
   10379                 :        4539 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10380                 :             :                     {
   10381                 :        2395 :                       if ((_q61 == _p1 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _p1, 0) && types_match (_q61, _p1)))
   10382                 :             :                         {
   10383                 :           0 :                           {
   10384                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10385                 :           0 :                             tree res = generic_simplify_465 (loc, type, _p0, _p1, _p2, captures, PLUS_EXPR);
   10386                 :           0 :                             if (res) return res;
   10387                 :             :                           }
   10388                 :             :                         }
   10389                 :             :                     }
   10390                 :             :                   break;
   10391                 :             :                 }
   10392                 :          60 :               case BIT_IOR_EXPR:
   10393                 :          60 :                 {
   10394                 :          60 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10395                 :          60 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10396                 :          60 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10397                 :             :                     {
   10398                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10399                 :             :                         {
   10400                 :           0 :                           {
   10401                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10402                 :           0 :                             tree res = generic_simplify_465 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
   10403                 :           0 :                             if (res) return res;
   10404                 :             :                           }
   10405                 :             :                         }
   10406                 :             :                     }
   10407                 :          60 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10408                 :             :                     {
   10409                 :           0 :                       if ((_q61 == _p1 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _p1, 0) && types_match (_q61, _p1)))
   10410                 :             :                         {
   10411                 :           0 :                           {
   10412                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10413                 :           0 :                             tree res = generic_simplify_465 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
   10414                 :           0 :                             if (res) return res;
   10415                 :             :                           }
   10416                 :             :                         }
   10417                 :             :                     }
   10418                 :             :                   break;
   10419                 :             :                 }
   10420                 :           0 :               case BIT_XOR_EXPR:
   10421                 :           0 :                 {
   10422                 :           0 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10423                 :           0 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10424                 :           0 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10425                 :             :                     {
   10426                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10427                 :             :                         {
   10428                 :           0 :                           {
   10429                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10430                 :           0 :                             tree res = generic_simplify_465 (loc, type, _p0, _p1, _p2, captures, BIT_XOR_EXPR);
   10431                 :           0 :                             if (res) return res;
   10432                 :             :                           }
   10433                 :             :                         }
   10434                 :             :                     }
   10435                 :           0 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10436                 :             :                     {
   10437                 :           0 :                       if ((_q61 == _p1 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _p1, 0) && types_match (_q61, _p1)))
   10438                 :             :                         {
   10439                 :           0 :                           {
   10440                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10441                 :           0 :                             tree res = generic_simplify_465 (loc, type, _p0, _p1, _p2, captures, BIT_XOR_EXPR);
   10442                 :           0 :                             if (res) return res;
   10443                 :             :                           }
   10444                 :             :                         }
   10445                 :             :                     }
   10446                 :             :                   break;
   10447                 :             :                 }
   10448                 :           1 :               case LROTATE_EXPR:
   10449                 :           1 :                 {
   10450                 :           1 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10451                 :           1 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10452                 :           1 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10453                 :             :                     {
   10454                 :           1 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10455                 :             :                         {
   10456                 :           1 :                           {
   10457                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10458                 :           1 :                             tree res = generic_simplify_466 (loc, type, _p0, _p1, _p2, captures);
   10459                 :           1 :                             if (res) return res;
   10460                 :             :                           }
   10461                 :             :                         }
   10462                 :             :                     }
   10463                 :             :                   break;
   10464                 :             :                 }
   10465                 :           0 :               case RROTATE_EXPR:
   10466                 :           0 :                 {
   10467                 :           0 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10468                 :           0 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10469                 :           0 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10470                 :             :                     {
   10471                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10472                 :             :                         {
   10473                 :           0 :                           {
   10474                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10475                 :           0 :                             tree res = generic_simplify_466 (loc, type, _p0, _p1, _p2, captures);
   10476                 :           0 :                             if (res) return res;
   10477                 :             :                           }
   10478                 :             :                         }
   10479                 :             :                     }
   10480                 :             :                   break;
   10481                 :             :                 }
   10482                 :          48 :               case LSHIFT_EXPR:
   10483                 :          48 :                 {
   10484                 :          48 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10485                 :          48 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10486                 :          48 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10487                 :             :                     {
   10488                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10489                 :             :                         {
   10490                 :           0 :                           {
   10491                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10492                 :           0 :                             tree res = generic_simplify_466 (loc, type, _p0, _p1, _p2, captures);
   10493                 :           0 :                             if (res) return res;
   10494                 :             :                           }
   10495                 :             :                         }
   10496                 :             :                     }
   10497                 :             :                   break;
   10498                 :             :                 }
   10499                 :          46 :               case RSHIFT_EXPR:
   10500                 :          46 :                 {
   10501                 :          46 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10502                 :          46 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10503                 :          46 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10504                 :             :                     {
   10505                 :          20 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10506                 :             :                         {
   10507                 :          20 :                           {
   10508                 :          20 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10509                 :          20 :                             tree res = generic_simplify_466 (loc, type, _p0, _p1, _p2, captures);
   10510                 :          20 :                             if (res) return res;
   10511                 :             :                           }
   10512                 :             :                         }
   10513                 :             :                     }
   10514                 :             :                   break;
   10515                 :             :                 }
   10516                 :         148 :               case MINUS_EXPR:
   10517                 :         148 :                 {
   10518                 :         148 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10519                 :         148 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10520                 :         148 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10521                 :             :                     {
   10522                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10523                 :             :                         {
   10524                 :           0 :                           {
   10525                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10526                 :           0 :                             tree res = generic_simplify_466 (loc, type, _p0, _p1, _p2, captures);
   10527                 :           0 :                             if (res) return res;
   10528                 :             :                           }
   10529                 :             :                         }
   10530                 :             :                     }
   10531                 :             :                   break;
   10532                 :             :                 }
   10533                 :      160255 :               case POINTER_PLUS_EXPR:
   10534                 :      160255 :                 {
   10535                 :      160255 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10536                 :      160255 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10537                 :      160255 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10538                 :             :                     {
   10539                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10540                 :             :                         {
   10541                 :           0 :                           {
   10542                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10543                 :           0 :                             tree res = generic_simplify_466 (loc, type, _p0, _p1, _p2, captures);
   10544                 :           0 :                             if (res) return res;
   10545                 :             :                           }
   10546                 :             :                         }
   10547                 :             :                     }
   10548                 :             :                   break;
   10549                 :             :                 }
   10550                 :             :               default:;
   10551                 :             :               }
   10552                 :             :           }
   10553                 :     1411346 :         if (integer_onep (_q21))
   10554                 :             :           {
   10555                 :       48231 :             switch (TREE_CODE (_p2))
   10556                 :             :               {
   10557                 :          70 :               case TRUNC_DIV_EXPR:
   10558                 :          70 :                 {
   10559                 :          70 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10560                 :          70 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10561                 :          70 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10562                 :             :                     {
   10563                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10564                 :             :                         {
   10565                 :           0 :                           {
   10566                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10567                 :           0 :                             tree res = generic_simplify_467 (loc, type, _p0, _p1, _p2, captures, TRUNC_DIV_EXPR);
   10568                 :           0 :                             if (res) return res;
   10569                 :             :                           }
   10570                 :             :                         }
   10571                 :             :                     }
   10572                 :             :                   break;
   10573                 :             :                 }
   10574                 :           0 :               case CEIL_DIV_EXPR:
   10575                 :           0 :                 {
   10576                 :           0 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10577                 :           0 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10578                 :           0 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10579                 :             :                     {
   10580                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10581                 :             :                         {
   10582                 :           0 :                           {
   10583                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10584                 :           0 :                             tree res = generic_simplify_467 (loc, type, _p0, _p1, _p2, captures, CEIL_DIV_EXPR);
   10585                 :           0 :                             if (res) return res;
   10586                 :             :                           }
   10587                 :             :                         }
   10588                 :             :                     }
   10589                 :             :                   break;
   10590                 :             :                 }
   10591                 :           0 :               case FLOOR_DIV_EXPR:
   10592                 :           0 :                 {
   10593                 :           0 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10594                 :           0 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10595                 :           0 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10596                 :             :                     {
   10597                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10598                 :             :                         {
   10599                 :           0 :                           {
   10600                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10601                 :           0 :                             tree res = generic_simplify_467 (loc, type, _p0, _p1, _p2, captures, FLOOR_DIV_EXPR);
   10602                 :           0 :                             if (res) return res;
   10603                 :             :                           }
   10604                 :             :                         }
   10605                 :             :                     }
   10606                 :             :                   break;
   10607                 :             :                 }
   10608                 :           0 :               case ROUND_DIV_EXPR:
   10609                 :           0 :                 {
   10610                 :           0 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10611                 :           0 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10612                 :           0 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10613                 :             :                     {
   10614                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10615                 :             :                         {
   10616                 :           0 :                           {
   10617                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10618                 :           0 :                             tree res = generic_simplify_467 (loc, type, _p0, _p1, _p2, captures, ROUND_DIV_EXPR);
   10619                 :           0 :                             if (res) return res;
   10620                 :             :                           }
   10621                 :             :                         }
   10622                 :             :                     }
   10623                 :             :                   break;
   10624                 :             :                 }
   10625                 :           0 :               case EXACT_DIV_EXPR:
   10626                 :           0 :                 {
   10627                 :           0 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10628                 :           0 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10629                 :           0 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10630                 :             :                     {
   10631                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10632                 :             :                         {
   10633                 :           0 :                           {
   10634                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10635                 :           0 :                             tree res = generic_simplify_467 (loc, type, _p0, _p1, _p2, captures, EXACT_DIV_EXPR);
   10636                 :           0 :                             if (res) return res;
   10637                 :             :                           }
   10638                 :             :                         }
   10639                 :             :                     }
   10640                 :             :                   break;
   10641                 :             :                 }
   10642                 :           0 :               case MULT_EXPR:
   10643                 :           0 :                 {
   10644                 :           0 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10645                 :           0 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10646                 :           0 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10647                 :             :                     {
   10648                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10649                 :             :                         {
   10650                 :           0 :                           {
   10651                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10652                 :           0 :                             tree res = generic_simplify_468 (loc, type, _p0, _p1, _p2, captures, MULT_EXPR);
   10653                 :           0 :                             if (res) return res;
   10654                 :             :                           }
   10655                 :             :                         }
   10656                 :             :                     }
   10657                 :           0 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10658                 :             :                     {
   10659                 :           0 :                       if ((_q61 == _p1 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _p1, 0) && types_match (_q61, _p1)))
   10660                 :             :                         {
   10661                 :           0 :                           {
   10662                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10663                 :           0 :                             tree res = generic_simplify_468 (loc, type, _p0, _p1, _p2, captures, MULT_EXPR);
   10664                 :           0 :                             if (res) return res;
   10665                 :             :                           }
   10666                 :             :                         }
   10667                 :             :                     }
   10668                 :             :                   break;
   10669                 :             :                 }
   10670                 :             :               default:;
   10671                 :             :               }
   10672                 :             :           }
   10673                 :     1411346 :         if (integer_all_onesp (_q21))
   10674                 :             :           {
   10675                 :       26737 :             switch (TREE_CODE (_p2))
   10676                 :             :               {
   10677                 :           0 :               case BIT_AND_EXPR:
   10678                 :           0 :                 {
   10679                 :           0 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   10680                 :           0 :                   tree _q61 = TREE_OPERAND (_p2, 1);
   10681                 :           0 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   10682                 :             :                     {
   10683                 :           0 :                       if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
   10684                 :             :                         {
   10685                 :           0 :                           {
   10686                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10687                 :           0 :                             tree res = generic_simplify_469 (loc, type, _p0, _p1, _p2, captures, BIT_AND_EXPR);
   10688                 :           0 :                             if (res) return res;
   10689                 :             :                           }
   10690                 :             :                         }
   10691                 :             :                     }
   10692                 :           0 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10693                 :             :                     {
   10694                 :           0 :                       if ((_q61 == _p1 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _p1, 0) && types_match (_q61, _p1)))
   10695                 :             :                         {
   10696                 :           0 :                           {
   10697                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10698                 :           0 :                             tree res = generic_simplify_469 (loc, type, _p0, _p1, _p2, captures, BIT_AND_EXPR);
   10699                 :           0 :                             if (res) return res;
   10700                 :             :                           }
   10701                 :             :                         }
   10702                 :             :                     }
   10703                 :             :                   break;
   10704                 :             :                 }
   10705                 :             :               default:;
   10706                 :             :               }
   10707                 :             :           }
   10708                 :     1411346 :         switch (TREE_CODE (_q20))
   10709                 :             :           {
   10710                 :       31489 :           CASE_CONVERT:
   10711                 :       31489 :             {
   10712                 :       31489 :               tree _q30 = TREE_OPERAND (_q20, 0);
   10713                 :       31489 :               switch (TREE_CODE (_q21))
   10714                 :             :                 {
   10715                 :       18912 :                 case INTEGER_CST:
   10716                 :       18912 :                   {
   10717                 :       18912 :                     switch (TREE_CODE (_p1))
   10718                 :             :                       {
   10719                 :        6913 :                       CASE_CONVERT:
   10720                 :        6913 :                         {
   10721                 :        6913 :                           tree _q60 = TREE_OPERAND (_p1, 0);
   10722                 :        6913 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   10723                 :             :                             {
   10724                 :          58 :                               switch (TREE_CODE (_p2))
   10725                 :             :                                 {
   10726                 :          56 :                                 case INTEGER_CST:
   10727                 :          56 :                                   {
   10728                 :          56 :                                     {
   10729                 :          56 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
   10730                 :          56 :                                       tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, EQ_EXPR);
   10731                 :          56 :                                       if (res) return res;
   10732                 :             :                                     }
   10733                 :          56 :                                     break;
   10734                 :             :                                   }
   10735                 :             :                                 default:;
   10736                 :             :                                 }
   10737                 :             :                             }
   10738                 :             :                           break;
   10739                 :             :                         }
   10740                 :       18912 :                       default:;
   10741                 :             :                       }
   10742                 :       18912 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   10743                 :             :                       {
   10744                 :         119 :                         switch (TREE_CODE (_p2))
   10745                 :             :                           {
   10746                 :         112 :                           case INTEGER_CST:
   10747                 :         112 :                             {
   10748                 :         112 :                               {
   10749                 :         112 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
   10750                 :         112 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, EQ_EXPR);
   10751                 :         112 :                                 if (res) return res;
   10752                 :             :                               }
   10753                 :         112 :                               break;
   10754                 :             :                             }
   10755                 :             :                           default:;
   10756                 :             :                           }
   10757                 :             :                       }
   10758                 :             :                     break;
   10759                 :             :                   }
   10760                 :             :                 default:;
   10761                 :             :                 }
   10762                 :             :               break;
   10763                 :             :             }
   10764                 :     1411346 :           default:;
   10765                 :             :           }
   10766                 :     1411346 :         switch (TREE_CODE (_q21))
   10767                 :             :           {
   10768                 :      866013 :           case INTEGER_CST:
   10769                 :      866013 :             {
   10770                 :      866013 :               switch (TREE_CODE (_p1))
   10771                 :             :                 {
   10772                 :      229405 :                 CASE_CONVERT:
   10773                 :      229405 :                   {
   10774                 :      229405 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   10775                 :      229405 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10776                 :             :                       {
   10777                 :         351 :                         switch (TREE_CODE (_p2))
   10778                 :             :                           {
   10779                 :           7 :                           case INTEGER_CST:
   10780                 :           7 :                             {
   10781                 :           7 :                               {
   10782                 :           7 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
   10783                 :           7 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, EQ_EXPR);
   10784                 :           7 :                                 if (res) return res;
   10785                 :             :                               }
   10786                 :           0 :                               break;
   10787                 :             :                             }
   10788                 :             :                           default:;
   10789                 :             :                           }
   10790                 :             :                       }
   10791                 :             :                     break;
   10792                 :             :                   }
   10793                 :      866006 :                 default:;
   10794                 :             :                 }
   10795                 :      866006 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   10796                 :             :                 {
   10797                 :          50 :                   switch (TREE_CODE (_p2))
   10798                 :             :                     {
   10799                 :           5 :                     case INTEGER_CST:
   10800                 :           5 :                       {
   10801                 :           5 :                         {
   10802                 :           5 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
   10803                 :           5 :                           tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, EQ_EXPR);
   10804                 :           5 :                           if (res) return res;
   10805                 :             :                         }
   10806                 :           0 :                         break;
   10807                 :             :                       }
   10808                 :             :                     default:;
   10809                 :             :                     }
   10810                 :             :                 }
   10811                 :             :               break;
   10812                 :             :             }
   10813                 :             :           default:;
   10814                 :             :           }
   10815                 :             :         break;
   10816                 :             :       }
   10817                 :     1755581 :     case NE_EXPR:
   10818                 :     1755581 :       {
   10819                 :     1755581 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10820                 :     1755581 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10821                 :     1755581 :         switch (TREE_CODE (_q20))
   10822                 :             :           {
   10823                 :      136841 :           CASE_CONVERT:
   10824                 :      136841 :             {
   10825                 :      136841 :               tree _q30 = TREE_OPERAND (_q20, 0);
   10826                 :      136841 :               switch (TREE_CODE (_q21))
   10827                 :             :                 {
   10828                 :      119449 :                 case INTEGER_CST:
   10829                 :      119449 :                   {
   10830                 :      119449 :                     switch (TREE_CODE (_p1))
   10831                 :             :                       {
   10832                 :       16878 :                       CASE_CONVERT:
   10833                 :       16878 :                         {
   10834                 :       16878 :                           tree _q60 = TREE_OPERAND (_p1, 0);
   10835                 :       16878 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   10836                 :             :                             {
   10837                 :          57 :                               switch (TREE_CODE (_p2))
   10838                 :             :                                 {
   10839                 :           9 :                                 case INTEGER_CST:
   10840                 :           9 :                                   {
   10841                 :           9 :                                     {
   10842                 :           9 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
   10843                 :           9 :                                       tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, NE_EXPR);
   10844                 :           9 :                                       if (res) return res;
   10845                 :             :                                     }
   10846                 :           9 :                                     break;
   10847                 :             :                                   }
   10848                 :             :                                 default:;
   10849                 :             :                                 }
   10850                 :             :                             }
   10851                 :             :                           break;
   10852                 :             :                         }
   10853                 :      119449 :                       default:;
   10854                 :             :                       }
   10855                 :      119449 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   10856                 :             :                       {
   10857                 :          48 :                         switch (TREE_CODE (_p2))
   10858                 :             :                           {
   10859                 :           0 :                           case INTEGER_CST:
   10860                 :           0 :                             {
   10861                 :           0 :                               {
   10862                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
   10863                 :           0 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, NE_EXPR);
   10864                 :           0 :                                 if (res) return res;
   10865                 :             :                               }
   10866                 :           0 :                               break;
   10867                 :             :                             }
   10868                 :             :                           default:;
   10869                 :             :                           }
   10870                 :             :                       }
   10871                 :             :                     break;
   10872                 :             :                   }
   10873                 :             :                 default:;
   10874                 :             :                 }
   10875                 :             :               break;
   10876                 :             :             }
   10877                 :     1755581 :           default:;
   10878                 :             :           }
   10879                 :     1755581 :       if (tree_zero_one_valued_p (_q20))
   10880                 :             :         {
   10881                 :      171441 :           if (integer_zerop (_q21))
   10882                 :             :             {
   10883                 :      169855 :               switch (TREE_CODE (_p1))
   10884                 :             :                 {
   10885                 :           1 :                 case BIT_XOR_EXPR:
   10886                 :           1 :                   {
   10887                 :           1 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   10888                 :           1 :                     tree _q51 = TREE_OPERAND (_p1, 1);
   10889                 :           1 :                     if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
   10890                 :             :                       {
   10891                 :           1 :                         {
   10892                 :           1 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _q51 };
   10893                 :           1 :                           tree res = generic_simplify_470 (loc, type, _p0, _p1, _p2, captures, BIT_XOR_EXPR);
   10894                 :           1 :                           if (res) return res;
   10895                 :             :                         }
   10896                 :             :                       }
   10897                 :           0 :                     if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
   10898                 :             :                       {
   10899                 :           0 :                         {
   10900                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _q50 };
   10901                 :           0 :                           tree res = generic_simplify_470 (loc, type, _p0, _p1, _p2, captures, BIT_XOR_EXPR);
   10902                 :           0 :                           if (res) return res;
   10903                 :             :                         }
   10904                 :             :                       }
   10905                 :             :                     break;
   10906                 :             :                   }
   10907                 :           1 :                 case BIT_IOR_EXPR:
   10908                 :           1 :                   {
   10909                 :           1 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   10910                 :           1 :                     tree _q51 = TREE_OPERAND (_p1, 1);
   10911                 :           1 :                     if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
   10912                 :             :                       {
   10913                 :           1 :                         {
   10914                 :           1 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _q51 };
   10915                 :           1 :                           tree res = generic_simplify_470 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
   10916                 :           1 :                           if (res) return res;
   10917                 :             :                         }
   10918                 :             :                       }
   10919                 :           0 :                     if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
   10920                 :             :                       {
   10921                 :           0 :                         {
   10922                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _q50 };
   10923                 :           0 :                           tree res = generic_simplify_470 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
   10924                 :           0 :                           if (res) return res;
   10925                 :             :                         }
   10926                 :             :                       }
   10927                 :             :                     break;
   10928                 :             :                   }
   10929                 :          87 :                 case PLUS_EXPR:
   10930                 :          87 :                   {
   10931                 :          87 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   10932                 :          87 :                     tree _q51 = TREE_OPERAND (_p1, 1);
   10933                 :          87 :                     if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
   10934                 :             :                       {
   10935                 :           1 :                         {
   10936                 :           1 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _q51 };
   10937                 :           1 :                           tree res = generic_simplify_470 (loc, type, _p0, _p1, _p2, captures, PLUS_EXPR);
   10938                 :           1 :                           if (res) return res;
   10939                 :             :                         }
   10940                 :             :                       }
   10941                 :          86 :                     if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
   10942                 :             :                       {
   10943                 :           1 :                         {
   10944                 :           1 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _q50 };
   10945                 :           1 :                           tree res = generic_simplify_470 (loc, type, _p0, _p1, _p2, captures, PLUS_EXPR);
   10946                 :           1 :                           if (res) return res;
   10947                 :             :                         }
   10948                 :             :                       }
   10949                 :             :                     break;
   10950                 :             :                   }
   10951                 :             :                 default:;
   10952                 :             :                 }
   10953                 :             :             }
   10954                 :             :         }
   10955                 :     1755577 :         switch (TREE_CODE (_q21))
   10956                 :             :           {
   10957                 :     1318986 :           case INTEGER_CST:
   10958                 :     1318986 :             {
   10959                 :     1318986 :               switch (TREE_CODE (_p1))
   10960                 :             :                 {
   10961                 :      173749 :                 CASE_CONVERT:
   10962                 :      173749 :                   {
   10963                 :      173749 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   10964                 :      173749 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10965                 :             :                       {
   10966                 :       36096 :                         switch (TREE_CODE (_p2))
   10967                 :             :                           {
   10968                 :       35085 :                           case INTEGER_CST:
   10969                 :       35085 :                             {
   10970                 :       35085 :                               {
   10971                 :       35085 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
   10972                 :       35085 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, NE_EXPR);
   10973                 :       35085 :                                 if (res) return res;
   10974                 :             :                               }
   10975                 :       35043 :                               break;
   10976                 :             :                             }
   10977                 :             :                           default:;
   10978                 :             :                           }
   10979                 :             :                       }
   10980                 :             :                     break;
   10981                 :             :                   }
   10982                 :     1318944 :                 default:;
   10983                 :             :                 }
   10984                 :     1318944 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   10985                 :             :                 {
   10986                 :       51868 :                   switch (TREE_CODE (_p2))
   10987                 :             :                     {
   10988                 :       49399 :                     case INTEGER_CST:
   10989                 :       49399 :                       {
   10990                 :       49399 :                         {
   10991                 :       49399 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
   10992                 :       49399 :                           tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, NE_EXPR);
   10993                 :       49399 :                           if (res) return res;
   10994                 :             :                         }
   10995                 :       49291 :                         break;
   10996                 :             :                       }
   10997                 :             :                     default:;
   10998                 :             :                     }
   10999                 :             :                 }
   11000                 :             :               break;
   11001                 :             :             }
   11002                 :     1755427 :           default:;
   11003                 :             :           }
   11004                 :     1755427 :         switch (TREE_CODE (_p1))
   11005                 :             :           {
   11006                 :        5059 :           case MINUS_EXPR:
   11007                 :        5059 :             {
   11008                 :        5059 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11009                 :        5059 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11010                 :        5059 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11011                 :             :                 {
   11012                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11013                 :             :                     {
   11014                 :           0 :                       if (integer_zerop (_p2))
   11015                 :             :                         {
   11016                 :           0 :                           {
   11017                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11018                 :           0 :                             tree res = generic_simplify_471 (loc, type, _p0, _p1, _p2, captures);
   11019                 :           0 :                             if (res) return res;
   11020                 :             :                           }
   11021                 :             :                         }
   11022                 :             :                     }
   11023                 :             :                 }
   11024                 :        5059 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   11025                 :             :                 {
   11026                 :          19 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   11027                 :             :                     {
   11028                 :          19 :                       if (integer_zerop (_p2))
   11029                 :             :                         {
   11030                 :           0 :                           {
   11031                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11032                 :           0 :                             tree res = generic_simplify_471 (loc, type, _p0, _p1, _p2, captures);
   11033                 :           0 :                             if (res) return res;
   11034                 :             :                           }
   11035                 :             :                         }
   11036                 :             :                     }
   11037                 :             :                 }
   11038                 :             :               break;
   11039                 :             :             }
   11040                 :          14 :           case BIT_XOR_EXPR:
   11041                 :          14 :             {
   11042                 :          14 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11043                 :          14 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11044                 :          14 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11045                 :             :                 {
   11046                 :           7 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11047                 :             :                     {
   11048                 :           7 :                       if (integer_zerop (_p2))
   11049                 :             :                         {
   11050                 :           0 :                           {
   11051                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11052                 :           0 :                             tree res = generic_simplify_472 (loc, type, _p0, _p1, _p2, captures);
   11053                 :           0 :                             if (res) return res;
   11054                 :             :                           }
   11055                 :           0 :                           {
   11056                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11057                 :           0 :                             tree res = generic_simplify_472 (loc, type, _p0, _p1, _p2, captures);
   11058                 :           0 :                             if (res) return res;
   11059                 :             :                           }
   11060                 :             :                         }
   11061                 :             :                     }
   11062                 :             :                 }
   11063                 :          14 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   11064                 :             :                 {
   11065                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   11066                 :             :                     {
   11067                 :           0 :                       if (integer_zerop (_p2))
   11068                 :             :                         {
   11069                 :           0 :                           {
   11070                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11071                 :           0 :                             tree res = generic_simplify_472 (loc, type, _p0, _p1, _p2, captures);
   11072                 :           0 :                             if (res) return res;
   11073                 :             :                           }
   11074                 :           0 :                           {
   11075                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11076                 :           0 :                             tree res = generic_simplify_472 (loc, type, _p0, _p1, _p2, captures);
   11077                 :           0 :                             if (res) return res;
   11078                 :             :                           }
   11079                 :             :                         }
   11080                 :             :                     }
   11081                 :             :                 }
   11082                 :             :               break;
   11083                 :             :             }
   11084                 :          54 :           case BIT_AND_EXPR:
   11085                 :          54 :             {
   11086                 :          54 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11087                 :          54 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11088                 :          54 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11089                 :             :                 {
   11090                 :          17 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11091                 :             :                     {
   11092                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   11093                 :             :                         {
   11094                 :           0 :                           {
   11095                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11096                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, BIT_AND_EXPR);
   11097                 :           0 :                             if (res) return res;
   11098                 :             :                           }
   11099                 :             :                         }
   11100                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   11101                 :             :                         {
   11102                 :           0 :                           {
   11103                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11104                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, BIT_AND_EXPR);
   11105                 :           0 :                             if (res) return res;
   11106                 :             :                           }
   11107                 :             :                         }
   11108                 :             :                     }
   11109                 :             :                 }
   11110                 :          54 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   11111                 :             :                 {
   11112                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   11113                 :             :                     {
   11114                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   11115                 :             :                         {
   11116                 :           0 :                           {
   11117                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11118                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, BIT_AND_EXPR);
   11119                 :           0 :                             if (res) return res;
   11120                 :             :                           }
   11121                 :             :                         }
   11122                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   11123                 :             :                         {
   11124                 :           0 :                           {
   11125                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11126                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, BIT_AND_EXPR);
   11127                 :           0 :                             if (res) return res;
   11128                 :             :                           }
   11129                 :             :                         }
   11130                 :             :                     }
   11131                 :             :                 }
   11132                 :             :               break;
   11133                 :             :             }
   11134                 :        2092 :           case BIT_IOR_EXPR:
   11135                 :        2092 :             {
   11136                 :        2092 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11137                 :        2092 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11138                 :        2092 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11139                 :             :                 {
   11140                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11141                 :             :                     {
   11142                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   11143                 :             :                         {
   11144                 :           0 :                           {
   11145                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11146                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
   11147                 :           0 :                             if (res) return res;
   11148                 :             :                           }
   11149                 :             :                         }
   11150                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   11151                 :             :                         {
   11152                 :           0 :                           {
   11153                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11154                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
   11155                 :           0 :                             if (res) return res;
   11156                 :             :                           }
   11157                 :             :                         }
   11158                 :             :                     }
   11159                 :             :                 }
   11160                 :        2092 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   11161                 :             :                 {
   11162                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   11163                 :             :                     {
   11164                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   11165                 :             :                         {
   11166                 :           0 :                           {
   11167                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11168                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
   11169                 :           0 :                             if (res) return res;
   11170                 :             :                           }
   11171                 :             :                         }
   11172                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   11173                 :             :                         {
   11174                 :           0 :                           {
   11175                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11176                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
   11177                 :           0 :                             if (res) return res;
   11178                 :             :                           }
   11179                 :             :                         }
   11180                 :             :                     }
   11181                 :             :                 }
   11182                 :             :               break;
   11183                 :             :             }
   11184                 :           0 :           case MIN_EXPR:
   11185                 :           0 :             {
   11186                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11187                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11188                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11189                 :             :                 {
   11190                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11191                 :             :                     {
   11192                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   11193                 :             :                         {
   11194                 :           0 :                           {
   11195                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11196                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, MIN_EXPR);
   11197                 :           0 :                             if (res) return res;
   11198                 :             :                           }
   11199                 :             :                         }
   11200                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   11201                 :             :                         {
   11202                 :           0 :                           {
   11203                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11204                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, MIN_EXPR);
   11205                 :           0 :                             if (res) return res;
   11206                 :             :                           }
   11207                 :             :                         }
   11208                 :             :                     }
   11209                 :           0 :                   switch (TREE_CODE (_p2))
   11210                 :             :                     {
   11211                 :           0 :                     case MIN_EXPR:
   11212                 :           0 :                       {
   11213                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   11214                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   11215                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   11216                 :             :                           {
   11217                 :           0 :                             {
   11218                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q80 };
   11219                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MIN_EXPR);
   11220                 :           0 :                               if (res) return res;
   11221                 :             :                             }
   11222                 :             :                           }
   11223                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   11224                 :             :                           {
   11225                 :           0 :                             {
   11226                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q81 };
   11227                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MIN_EXPR);
   11228                 :           0 :                               if (res) return res;
   11229                 :             :                             }
   11230                 :             :                           }
   11231                 :             :                         break;
   11232                 :             :                       }
   11233                 :             :                     default:;
   11234                 :             :                     }
   11235                 :             :                 }
   11236                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   11237                 :             :                 {
   11238                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   11239                 :             :                     {
   11240                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   11241                 :             :                         {
   11242                 :           0 :                           {
   11243                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11244                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, MIN_EXPR);
   11245                 :           0 :                             if (res) return res;
   11246                 :             :                           }
   11247                 :             :                         }
   11248                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   11249                 :             :                         {
   11250                 :           0 :                           {
   11251                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11252                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, MIN_EXPR);
   11253                 :           0 :                             if (res) return res;
   11254                 :             :                           }
   11255                 :             :                         }
   11256                 :             :                     }
   11257                 :           0 :                   switch (TREE_CODE (_p2))
   11258                 :             :                     {
   11259                 :           0 :                     case MIN_EXPR:
   11260                 :           0 :                       {
   11261                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   11262                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   11263                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   11264                 :             :                           {
   11265                 :           0 :                             {
   11266                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q80 };
   11267                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MIN_EXPR);
   11268                 :           0 :                               if (res) return res;
   11269                 :             :                             }
   11270                 :             :                           }
   11271                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   11272                 :             :                           {
   11273                 :           0 :                             {
   11274                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q81 };
   11275                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MIN_EXPR);
   11276                 :           0 :                               if (res) return res;
   11277                 :             :                             }
   11278                 :             :                           }
   11279                 :             :                         break;
   11280                 :             :                       }
   11281                 :             :                     default:;
   11282                 :             :                     }
   11283                 :             :                 }
   11284                 :           0 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   11285                 :             :                 {
   11286                 :           0 :                   switch (TREE_CODE (_p2))
   11287                 :             :                     {
   11288                 :           0 :                     case MIN_EXPR:
   11289                 :           0 :                       {
   11290                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   11291                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   11292                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   11293                 :             :                           {
   11294                 :           0 :                             {
   11295                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q80 };
   11296                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MIN_EXPR);
   11297                 :           0 :                               if (res) return res;
   11298                 :             :                             }
   11299                 :             :                           }
   11300                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   11301                 :             :                           {
   11302                 :           0 :                             {
   11303                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q81 };
   11304                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MIN_EXPR);
   11305                 :           0 :                               if (res) return res;
   11306                 :             :                             }
   11307                 :             :                           }
   11308                 :             :                         break;
   11309                 :             :                       }
   11310                 :             :                     default:;
   11311                 :             :                     }
   11312                 :             :                 }
   11313                 :           0 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11314                 :             :                 {
   11315                 :           0 :                   switch (TREE_CODE (_p2))
   11316                 :             :                     {
   11317                 :           0 :                     case MIN_EXPR:
   11318                 :           0 :                       {
   11319                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   11320                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   11321                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   11322                 :             :                           {
   11323                 :           0 :                             {
   11324                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q80 };
   11325                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MIN_EXPR);
   11326                 :           0 :                               if (res) return res;
   11327                 :             :                             }
   11328                 :             :                           }
   11329                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   11330                 :             :                           {
   11331                 :           0 :                             {
   11332                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q81 };
   11333                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MIN_EXPR);
   11334                 :           0 :                               if (res) return res;
   11335                 :             :                             }
   11336                 :             :                           }
   11337                 :             :                         break;
   11338                 :             :                       }
   11339                 :             :                     default:;
   11340                 :             :                     }
   11341                 :             :                 }
   11342                 :             :               break;
   11343                 :             :             }
   11344                 :           0 :           case MAX_EXPR:
   11345                 :           0 :             {
   11346                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11347                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11348                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11349                 :             :                 {
   11350                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11351                 :             :                     {
   11352                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   11353                 :             :                         {
   11354                 :           0 :                           {
   11355                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11356                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, MAX_EXPR);
   11357                 :           0 :                             if (res) return res;
   11358                 :             :                           }
   11359                 :             :                         }
   11360                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   11361                 :             :                         {
   11362                 :           0 :                           {
   11363                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11364                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, MAX_EXPR);
   11365                 :           0 :                             if (res) return res;
   11366                 :             :                           }
   11367                 :             :                         }
   11368                 :             :                     }
   11369                 :           0 :                   switch (TREE_CODE (_p2))
   11370                 :             :                     {
   11371                 :           0 :                     case MAX_EXPR:
   11372                 :           0 :                       {
   11373                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   11374                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   11375                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   11376                 :             :                           {
   11377                 :           0 :                             {
   11378                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q80 };
   11379                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MAX_EXPR);
   11380                 :           0 :                               if (res) return res;
   11381                 :             :                             }
   11382                 :             :                           }
   11383                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   11384                 :             :                           {
   11385                 :           0 :                             {
   11386                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q81 };
   11387                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MAX_EXPR);
   11388                 :           0 :                               if (res) return res;
   11389                 :             :                             }
   11390                 :             :                           }
   11391                 :             :                         break;
   11392                 :             :                       }
   11393                 :             :                     default:;
   11394                 :             :                     }
   11395                 :             :                 }
   11396                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   11397                 :             :                 {
   11398                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   11399                 :             :                     {
   11400                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   11401                 :             :                         {
   11402                 :           0 :                           {
   11403                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11404                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, MAX_EXPR);
   11405                 :           0 :                             if (res) return res;
   11406                 :             :                           }
   11407                 :             :                         }
   11408                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   11409                 :             :                         {
   11410                 :           0 :                           {
   11411                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11412                 :           0 :                             tree res = generic_simplify_473 (loc, type, _p0, _p1, _p2, captures, MAX_EXPR);
   11413                 :           0 :                             if (res) return res;
   11414                 :             :                           }
   11415                 :             :                         }
   11416                 :             :                     }
   11417                 :           0 :                   switch (TREE_CODE (_p2))
   11418                 :             :                     {
   11419                 :           0 :                     case MAX_EXPR:
   11420                 :           0 :                       {
   11421                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   11422                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   11423                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   11424                 :             :                           {
   11425                 :           0 :                             {
   11426                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q80 };
   11427                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MAX_EXPR);
   11428                 :           0 :                               if (res) return res;
   11429                 :             :                             }
   11430                 :             :                           }
   11431                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   11432                 :             :                           {
   11433                 :           0 :                             {
   11434                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q81 };
   11435                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MAX_EXPR);
   11436                 :           0 :                               if (res) return res;
   11437                 :             :                             }
   11438                 :             :                           }
   11439                 :             :                         break;
   11440                 :             :                       }
   11441                 :             :                     default:;
   11442                 :             :                     }
   11443                 :             :                 }
   11444                 :           0 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   11445                 :             :                 {
   11446                 :           0 :                   switch (TREE_CODE (_p2))
   11447                 :             :                     {
   11448                 :           0 :                     case MAX_EXPR:
   11449                 :           0 :                       {
   11450                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   11451                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   11452                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   11453                 :             :                           {
   11454                 :           0 :                             {
   11455                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q80 };
   11456                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MAX_EXPR);
   11457                 :           0 :                               if (res) return res;
   11458                 :             :                             }
   11459                 :             :                           }
   11460                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   11461                 :             :                           {
   11462                 :           0 :                             {
   11463                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q81 };
   11464                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MAX_EXPR);
   11465                 :           0 :                               if (res) return res;
   11466                 :             :                             }
   11467                 :             :                           }
   11468                 :             :                         break;
   11469                 :             :                       }
   11470                 :             :                     default:;
   11471                 :             :                     }
   11472                 :             :                 }
   11473                 :           0 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11474                 :             :                 {
   11475                 :           0 :                   switch (TREE_CODE (_p2))
   11476                 :             :                     {
   11477                 :           0 :                     case MAX_EXPR:
   11478                 :           0 :                       {
   11479                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   11480                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   11481                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   11482                 :             :                           {
   11483                 :           0 :                             {
   11484                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q80 };
   11485                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MAX_EXPR);
   11486                 :           0 :                               if (res) return res;
   11487                 :             :                             }
   11488                 :             :                           }
   11489                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   11490                 :             :                           {
   11491                 :           0 :                             {
   11492                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q81 };
   11493                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, MAX_EXPR);
   11494                 :           0 :                               if (res) return res;
   11495                 :             :                             }
   11496                 :             :                           }
   11497                 :             :                         break;
   11498                 :             :                       }
   11499                 :             :                     default:;
   11500                 :             :                     }
   11501                 :             :                 }
   11502                 :             :               break;
   11503                 :             :             }
   11504                 :        8888 :           case MULT_EXPR:
   11505                 :        8888 :             {
   11506                 :        8888 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11507                 :        8888 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11508                 :        8888 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11509                 :             :                 {
   11510                 :        4150 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11511                 :             :                     {
   11512                 :           0 :                       switch (TREE_CODE (_p2))
   11513                 :             :                         {
   11514                 :           0 :                         case MULT_EXPR:
   11515                 :           0 :                           {
   11516                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   11517                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   11518                 :           0 :                             if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   11519                 :             :                               {
   11520                 :           0 :                                 if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   11521                 :             :                                   {
   11522                 :           0 :                                     {
   11523                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11524                 :           0 :                                       const enum tree_code op = MULT_EXPR;
   11525                 :           0 :                                       if (ANY_INTEGRAL_TYPE_P (type)
   11526                 :             : )
   11527                 :             :                                         {
   11528                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1617;
   11529                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1617;
   11530                 :           0 :                                           {
   11531                 :           0 :                                             tree _r;
   11532                 :           0 :                                             _r = captures[2];
   11533                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 933, __FILE__, __LINE__, true);
   11534                 :           0 :                                             return _r;
   11535                 :             :                                           }
   11536                 :           0 : next_after_fail1617:;
   11537                 :             :                                         }
   11538                 :             :                                     }
   11539                 :             :                                   }
   11540                 :             :                               }
   11541                 :             :                             break;
   11542                 :             :                           }
   11543                 :             :                         default:;
   11544                 :             :                         }
   11545                 :             :                     }
   11546                 :             :                 }
   11547                 :        8888 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   11548                 :             :                 {
   11549                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   11550                 :             :                     {
   11551                 :           0 :                       switch (TREE_CODE (_p2))
   11552                 :             :                         {
   11553                 :           0 :                         case MULT_EXPR:
   11554                 :           0 :                           {
   11555                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   11556                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   11557                 :           0 :                             if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   11558                 :             :                               {
   11559                 :           0 :                                 if ((_q81 == _q21 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q21, 0) && types_match (_q81, _q21)))
   11560                 :             :                                   {
   11561                 :           0 :                                     {
   11562                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11563                 :           0 :                                       const enum tree_code op = MULT_EXPR;
   11564                 :           0 :                                       if (ANY_INTEGRAL_TYPE_P (type)
   11565                 :             : )
   11566                 :             :                                         {
   11567                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1618;
   11568                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1618;
   11569                 :           0 :                                           {
   11570                 :           0 :                                             tree _r;
   11571                 :           0 :                                             _r = captures[2];
   11572                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 933, __FILE__, __LINE__, true);
   11573                 :           0 :                                             return _r;
   11574                 :             :                                           }
   11575                 :           0 : next_after_fail1618:;
   11576                 :             :                                         }
   11577                 :             :                                     }
   11578                 :             :                                   }
   11579                 :             :                               }
   11580                 :             :                             break;
   11581                 :             :                           }
   11582                 :             :                         default:;
   11583                 :             :                         }
   11584                 :             :                     }
   11585                 :             :                 }
   11586                 :             :               break;
   11587                 :             :             }
   11588                 :       10819 :           case PLUS_EXPR:
   11589                 :       10819 :             {
   11590                 :       10819 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11591                 :       10819 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11592                 :       10819 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11593                 :             :                 {
   11594                 :        2999 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11595                 :             :                     {
   11596                 :           0 :                       switch (TREE_CODE (_p2))
   11597                 :             :                         {
   11598                 :           0 :                         case PLUS_EXPR:
   11599                 :           0 :                           {
   11600                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   11601                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   11602                 :           0 :                             if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   11603                 :             :                               {
   11604                 :           0 :                                 if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   11605                 :             :                                   {
   11606                 :           0 :                                     {
   11607                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11608                 :           0 :                                       const enum tree_code op = PLUS_EXPR;
   11609                 :           0 :                                       if (ANY_INTEGRAL_TYPE_P (type)
   11610                 :             : )
   11611                 :             :                                         {
   11612                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1619;
   11613                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1619;
   11614                 :           0 :                                           {
   11615                 :           0 :                                             tree _r;
   11616                 :           0 :                                             _r = captures[2];
   11617                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 933, __FILE__, __LINE__, true);
   11618                 :           0 :                                             return _r;
   11619                 :             :                                           }
   11620                 :           0 : next_after_fail1619:;
   11621                 :             :                                         }
   11622                 :             :                                     }
   11623                 :             :                                   }
   11624                 :             :                               }
   11625                 :             :                             break;
   11626                 :             :                           }
   11627                 :           0 :                         case MULT_EXPR:
   11628                 :           0 :                           {
   11629                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   11630                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   11631                 :           0 :                             if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   11632                 :             :                               {
   11633                 :           0 :                                 if (uniform_integer_cst_p (_q81))
   11634                 :             :                                   {
   11635                 :           0 :                                     {
   11636                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q81 };
   11637                 :           0 :                                       if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
   11638                 :             : )
   11639                 :             :                                         {
   11640                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1620;
   11641                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1620;
   11642                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1620;
   11643                 :           0 :                                           {
   11644                 :           0 :                                             tree _r;
   11645                 :           0 :                                             _r = captures[2];
   11646                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 934, __FILE__, __LINE__, true);
   11647                 :           0 :                                             return _r;
   11648                 :             :                                           }
   11649                 :           0 : next_after_fail1620:;
   11650                 :             :                                         }
   11651                 :             :                                     }
   11652                 :             :                                   }
   11653                 :             :                               }
   11654                 :           0 :                             if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   11655                 :             :                               {
   11656                 :           0 :                                 if (uniform_integer_cst_p (_q81))
   11657                 :             :                                   {
   11658                 :           0 :                                     {
   11659                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q81 };
   11660                 :           0 :                                       if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
   11661                 :             : )
   11662                 :             :                                         {
   11663                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1621;
   11664                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1621;
   11665                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1621;
   11666                 :           0 :                                           {
   11667                 :           0 :                                             tree _r;
   11668                 :           0 :                                             _r = captures[2];
   11669                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 934, __FILE__, __LINE__, true);
   11670                 :           0 :                                             return _r;
   11671                 :             :                                           }
   11672                 :           0 : next_after_fail1621:;
   11673                 :             :                                         }
   11674                 :             :                                     }
   11675                 :             :                                   }
   11676                 :             :                               }
   11677                 :             :                             break;
   11678                 :             :                           }
   11679                 :             :                         default:;
   11680                 :             :                         }
   11681                 :             :                     }
   11682                 :             :                 }
   11683                 :       10819 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   11684                 :             :                 {
   11685                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   11686                 :             :                     {
   11687                 :           0 :                       switch (TREE_CODE (_p2))
   11688                 :             :                         {
   11689                 :           0 :                         case PLUS_EXPR:
   11690                 :           0 :                           {
   11691                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   11692                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   11693                 :           0 :                             if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   11694                 :             :                               {
   11695                 :           0 :                                 if ((_q81 == _q21 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q21, 0) && types_match (_q81, _q21)))
   11696                 :             :                                   {
   11697                 :           0 :                                     {
   11698                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   11699                 :           0 :                                       const enum tree_code op = PLUS_EXPR;
   11700                 :           0 :                                       if (ANY_INTEGRAL_TYPE_P (type)
   11701                 :             : )
   11702                 :             :                                         {
   11703                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1622;
   11704                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1622;
   11705                 :           0 :                                           {
   11706                 :           0 :                                             tree _r;
   11707                 :           0 :                                             _r = captures[2];
   11708                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 933, __FILE__, __LINE__, true);
   11709                 :           0 :                                             return _r;
   11710                 :             :                                           }
   11711                 :           0 : next_after_fail1622:;
   11712                 :             :                                         }
   11713                 :             :                                     }
   11714                 :             :                                   }
   11715                 :             :                               }
   11716                 :             :                             break;
   11717                 :             :                           }
   11718                 :           0 :                         case MULT_EXPR:
   11719                 :           0 :                           {
   11720                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   11721                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   11722                 :           0 :                             if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   11723                 :             :                               {
   11724                 :           0 :                                 if (uniform_integer_cst_p (_q81))
   11725                 :             :                                   {
   11726                 :           0 :                                     {
   11727                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q81 };
   11728                 :           0 :                                       if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
   11729                 :             : )
   11730                 :             :                                         {
   11731                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1623;
   11732                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1623;
   11733                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1623;
   11734                 :           0 :                                           {
   11735                 :           0 :                                             tree _r;
   11736                 :           0 :                                             _r = captures[2];
   11737                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 934, __FILE__, __LINE__, true);
   11738                 :           0 :                                             return _r;
   11739                 :             :                                           }
   11740                 :           0 : next_after_fail1623:;
   11741                 :             :                                         }
   11742                 :             :                                     }
   11743                 :             :                                   }
   11744                 :             :                               }
   11745                 :           0 :                             if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   11746                 :             :                               {
   11747                 :           0 :                                 if (uniform_integer_cst_p (_q81))
   11748                 :             :                                   {
   11749                 :           0 :                                     {
   11750                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q81 };
   11751                 :           0 :                                       if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
   11752                 :             : )
   11753                 :             :                                         {
   11754                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1624;
   11755                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1624;
   11756                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1624;
   11757                 :           0 :                                           {
   11758                 :           0 :                                             tree _r;
   11759                 :           0 :                                             _r = captures[2];
   11760                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 934, __FILE__, __LINE__, true);
   11761                 :           0 :                                             return _r;
   11762                 :             :                                           }
   11763                 :           0 : next_after_fail1624:;
   11764                 :             :                                         }
   11765                 :             :                                     }
   11766                 :             :                                   }
   11767                 :             :                               }
   11768                 :             :                             break;
   11769                 :             :                           }
   11770                 :             :                         default:;
   11771                 :             :                         }
   11772                 :             :                     }
   11773                 :             :                 }
   11774                 :             :               break;
   11775                 :             :             }
   11776                 :     1755427 :           default:;
   11777                 :             :           }
   11778                 :     1755427 :         switch (TREE_CODE (_q21))
   11779                 :             :           {
   11780                 :     1318836 :           case INTEGER_CST:
   11781                 :     1318836 :             {
   11782                 :     1318836 :               switch (TREE_CODE (_p1))
   11783                 :             :                 {
   11784                 :         153 :                 case NEGATE_EXPR:
   11785                 :         153 :                   {
   11786                 :         153 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   11787                 :         153 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11788                 :             :                       {
   11789                 :          42 :                         switch (TREE_CODE (_p2))
   11790                 :             :                           {
   11791                 :          14 :                           case INTEGER_CST:
   11792                 :          14 :                             {
   11793                 :          14 :                               {
   11794                 :          14 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   11795                 :          14 :                                 if (!TYPE_SATURATING (type)
   11796                 :          14 :  && (TYPE_OVERFLOW_WRAPS (type)
   11797                 :           5 :  || !wi::only_sign_bit_p (wi::to_wide (captures[1])))
   11798                 :          41 :  && wi::eq_p (wi::neg (wi::to_wide (captures[1])), wi::to_wide (captures[3]))
   11799                 :             : )
   11800                 :             :                                   {
   11801                 :          11 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1625;
   11802                 :          11 :                                     if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1625;
   11803                 :          11 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1625;
   11804                 :          11 :                                     {
   11805                 :          11 :                                       tree _r;
   11806                 :          11 :                                       _r = captures[2];
   11807                 :          11 :                                       if (TREE_SIDE_EFFECTS (captures[1]))
   11808                 :           0 :                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   11809                 :          11 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 935, __FILE__, __LINE__, true);
   11810                 :          11 :                                       return _r;
   11811                 :             :                                     }
   11812                 :           3 : next_after_fail1625:;
   11813                 :             :                                   }
   11814                 :             :                               }
   11815                 :           3 :                               break;
   11816                 :             :                             }
   11817                 :             :                           default:;
   11818                 :             :                           }
   11819                 :             :                       }
   11820                 :             :                     break;
   11821                 :             :                   }
   11822                 :          91 :                 case BIT_NOT_EXPR:
   11823                 :          91 :                   {
   11824                 :          91 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   11825                 :          91 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11826                 :             :                       {
   11827                 :          18 :                         switch (TREE_CODE (_p2))
   11828                 :             :                           {
   11829                 :          18 :                           case INTEGER_CST:
   11830                 :          18 :                             {
   11831                 :          18 :                               {
   11832                 :          18 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   11833                 :          18 :                                 if (wi::eq_p (wi::bit_not (wi::to_wide (captures[1])), wi::to_wide (captures[3]))
   11834                 :             : )
   11835                 :             :                                   {
   11836                 :          18 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1626;
   11837                 :          18 :                                     if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1626;
   11838                 :          18 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1626;
   11839                 :          18 :                                     {
   11840                 :          18 :                                       tree _r;
   11841                 :          18 :                                       _r = captures[2];
   11842                 :          18 :                                       if (TREE_SIDE_EFFECTS (captures[1]))
   11843                 :           0 :                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   11844                 :          18 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 936, __FILE__, __LINE__, true);
   11845                 :          18 :                                       return _r;
   11846                 :             :                                     }
   11847                 :           0 : next_after_fail1626:;
   11848                 :             :                                   }
   11849                 :             :                               }
   11850                 :           0 :                               break;
   11851                 :             :                             }
   11852                 :             :                           default:;
   11853                 :             :                           }
   11854                 :             :                       }
   11855                 :             :                     break;
   11856                 :             :                   }
   11857                 :           5 :                 case ABS_EXPR:
   11858                 :           5 :                   {
   11859                 :           5 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   11860                 :           5 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11861                 :             :                       {
   11862                 :           1 :                         switch (TREE_CODE (_p2))
   11863                 :             :                           {
   11864                 :           1 :                           case INTEGER_CST:
   11865                 :           1 :                             {
   11866                 :           1 :                               {
   11867                 :           1 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   11868                 :           1 :                                 if (wi::abs (wi::to_wide (captures[1])) == wi::to_wide (captures[3])
   11869                 :             : )
   11870                 :             :                                   {
   11871                 :           0 :                                     if (ABS_EXPR != ABSU_EXPR && wi::only_sign_bit_p (wi::to_wide (captures[1]))
   11872                 :             : )
   11873                 :             :                                       {
   11874                 :           0 :                                         {
   11875                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[0]));
   11876                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1627;
   11877                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1627;
   11878                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1627;
   11879                 :           0 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1627;
   11880                 :           0 :                                             {
   11881                 :           0 :                                               tree res_op0;
   11882                 :           0 :                                               {
   11883                 :           0 :                                                 tree _o1[1], _r1;
   11884                 :           0 :                                                 _o1[0] = captures[0];
   11885                 :           0 :                                                 _r1 = fold_build1_loc (loc, ABSU_EXPR, utype, _o1[0]);
   11886                 :           0 :                                                 res_op0 = _r1;
   11887                 :             :                                               }
   11888                 :           0 :                                               tree _r;
   11889                 :           0 :                                               _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
   11890                 :           0 :                                               if (TREE_SIDE_EFFECTS (captures[1]))
   11891                 :           0 :                                                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   11892                 :           0 :                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 937, __FILE__, __LINE__, true);
   11893                 :           0 :                                               return _r;
   11894                 :             :                                             }
   11895                 :           1 : next_after_fail1627:;
   11896                 :             :                                         }
   11897                 :             :                                       }
   11898                 :             :                                     else
   11899                 :             :                                       {
   11900                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1628;
   11901                 :           0 :                                         if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1628;
   11902                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1628;
   11903                 :           0 :                                         {
   11904                 :           0 :                                           tree _r;
   11905                 :           0 :                                           _r = captures[2];
   11906                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[1]))
   11907                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   11908                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 938, __FILE__, __LINE__, true);
   11909                 :           0 :                                           return _r;
   11910                 :             :                                         }
   11911                 :           1 : next_after_fail1628:;
   11912                 :             :                                       }
   11913                 :             :                                   }
   11914                 :             :                               }
   11915                 :           1 :                               break;
   11916                 :             :                             }
   11917                 :             :                           default:;
   11918                 :             :                           }
   11919                 :             :                       }
   11920                 :             :                     break;
   11921                 :             :                   }
   11922                 :           0 :                 case ABSU_EXPR:
   11923                 :           0 :                   {
   11924                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   11925                 :           0 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   11926                 :             :                       {
   11927                 :           0 :                         switch (TREE_CODE (_p2))
   11928                 :             :                           {
   11929                 :           0 :                           case INTEGER_CST:
   11930                 :           0 :                             {
   11931                 :           0 :                               {
   11932                 :           0 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   11933                 :           0 :                                 if (wi::abs (wi::to_wide (captures[1])) == wi::to_wide (captures[3])
   11934                 :             : )
   11935                 :             :                                   {
   11936                 :           0 :                                     if (ABSU_EXPR != ABSU_EXPR && wi::only_sign_bit_p (wi::to_wide (captures[1]))
   11937                 :             : )
   11938                 :             :                                       {
   11939                 :             :                                         {
   11940                 :             :  tree utype = unsigned_type_for (TREE_TYPE (captures[0]));
   11941                 :             :                                             if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1629;
   11942                 :             :                                             if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1629;
   11943                 :             :                                             if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1629;
   11944                 :             :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1629;
   11945                 :             :                                             {
   11946                 :             :                                               tree res_op0;
   11947                 :             :                                               {
   11948                 :             :                                                 tree _o1[1], _r1;
   11949                 :             :                                                 _o1[0] = captures[0];
   11950                 :             :                                                 _r1 = fold_build1_loc (loc, ABSU_EXPR, utype, _o1[0]);
   11951                 :             :                                                 res_op0 = _r1;
   11952                 :             :                                               }
   11953                 :             :                                               tree _r;
   11954                 :             :                                               _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
   11955                 :             :                                               if (TREE_SIDE_EFFECTS (captures[1]))
   11956                 :             :                                                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   11957                 :             :                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 937, __FILE__, __LINE__, true);
   11958                 :             :                                               return _r;
   11959                 :             :                                             }
   11960                 :             : next_after_fail1629:;
   11961                 :             :                                         }
   11962                 :             :                                       }
   11963                 :             :                                     else
   11964                 :             :                                       {
   11965                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1630;
   11966                 :           0 :                                         if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1630;
   11967                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1630;
   11968                 :           0 :                                         {
   11969                 :           0 :                                           tree _r;
   11970                 :           0 :                                           _r = captures[2];
   11971                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[1]))
   11972                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   11973                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 938, __FILE__, __LINE__, true);
   11974                 :           0 :                                           return _r;
   11975                 :             :                                         }
   11976                 :           0 : next_after_fail1630:;
   11977                 :             :                                       }
   11978                 :             :                                   }
   11979                 :             :                               }
   11980                 :           0 :                               break;
   11981                 :             :                             }
   11982                 :             :                           default:;
   11983                 :             :                           }
   11984                 :             :                       }
   11985                 :             :                     break;
   11986                 :             :                   }
   11987                 :             :                 default:;
   11988                 :             :                 }
   11989                 :             :               break;
   11990                 :             :             }
   11991                 :             :           default:;
   11992                 :             :           }
   11993                 :             :         break;
   11994                 :             :       }
   11995                 :     1013944 :     case INTEGER_CST:
   11996                 :     1013944 :       {
   11997                 :     1013944 :         {
   11998                 :     1013944 :           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _p2 };
   11999                 :     1013944 :           if (integer_zerop (captures[0])
   12000                 :             : )
   12001                 :             :             {
   12002                 :      547193 :               if (!VOID_TYPE_P (TREE_TYPE (captures[2])) || VOID_TYPE_P (type)
   12003                 :             : )
   12004                 :             :                 {
   12005                 :      543024 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1631;
   12006                 :      389636 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1631;
   12007                 :      385366 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1631;
   12008                 :      385366 :                   {
   12009                 :      385366 :                     tree _r;
   12010                 :      385366 :                     _r = captures[2];
   12011                 :      385366 :                     if (TREE_SIDE_EFFECTS (captures[0]))
   12012                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   12013                 :      385366 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 939, __FILE__, __LINE__, true);
   12014                 :      385366 :                     return _r;
   12015                 :             :                   }
   12016                 :      294304 : next_after_fail1631:;
   12017                 :             :                 }
   12018                 :             :             }
   12019                 :             :           else
   12020                 :             :             {
   12021                 :      466751 :               if (!VOID_TYPE_P (TREE_TYPE (captures[1])) || VOID_TYPE_P (type)
   12022                 :             : )
   12023                 :             :                 {
   12024                 :      466741 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1632;
   12025                 :      335508 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1632;
   12026                 :      334274 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1632;
   12027                 :      334274 :                   {
   12028                 :      334274 :                     tree _r;
   12029                 :      334274 :                     _r = captures[1];
   12030                 :      334274 :                     if (TREE_SIDE_EFFECTS (captures[0]))
   12031                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   12032                 :      334274 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 940, __FILE__, __LINE__, true);
   12033                 :      334274 :                     return _r;
   12034                 :             :                   }
   12035                 :      294304 : next_after_fail1632:;
   12036                 :             :                 }
   12037                 :             :             }
   12038                 :             :         }
   12039                 :      294304 :         break;
   12040                 :             :       }
   12041                 :     1292440 :     case LT_EXPR:
   12042                 :     1292440 :       {
   12043                 :     1292440 :         tree _q20 = TREE_OPERAND (_p0, 0);
   12044                 :     1292440 :         tree _q21 = TREE_OPERAND (_p0, 1);
   12045                 :     1292440 :         switch (TREE_CODE (_q20))
   12046                 :             :           {
   12047                 :       61583 :           CASE_CONVERT:
   12048                 :       61583 :             {
   12049                 :       61583 :               tree _q30 = TREE_OPERAND (_q20, 0);
   12050                 :       61583 :               switch (TREE_CODE (_q21))
   12051                 :             :                 {
   12052                 :       11651 :                 case INTEGER_CST:
   12053                 :       11651 :                   {
   12054                 :       11651 :                     switch (TREE_CODE (_p1))
   12055                 :             :                       {
   12056                 :           1 :                       CASE_CONVERT:
   12057                 :           1 :                         {
   12058                 :           1 :                           tree _q60 = TREE_OPERAND (_p1, 0);
   12059                 :           1 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   12060                 :             :                             {
   12061                 :           0 :                               switch (TREE_CODE (_p2))
   12062                 :             :                                 {
   12063                 :           0 :                                 case INTEGER_CST:
   12064                 :           0 :                                   {
   12065                 :           0 :                                     {
   12066                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
   12067                 :           0 :                                       tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, LT_EXPR);
   12068                 :           0 :                                       if (res) return res;
   12069                 :             :                                     }
   12070                 :           0 :                                     break;
   12071                 :             :                                   }
   12072                 :             :                                 default:;
   12073                 :             :                                 }
   12074                 :             :                             }
   12075                 :             :                           break;
   12076                 :             :                         }
   12077                 :       11651 :                       default:;
   12078                 :             :                       }
   12079                 :       11651 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   12080                 :             :                       {
   12081                 :           0 :                         switch (TREE_CODE (_p2))
   12082                 :             :                           {
   12083                 :           0 :                           case INTEGER_CST:
   12084                 :           0 :                             {
   12085                 :           0 :                               {
   12086                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
   12087                 :           0 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, LT_EXPR);
   12088                 :           0 :                                 if (res) return res;
   12089                 :             :                               }
   12090                 :           0 :                               break;
   12091                 :             :                             }
   12092                 :             :                           default:;
   12093                 :             :                           }
   12094                 :             :                       }
   12095                 :       11651 :                     switch (TREE_CODE (_p1))
   12096                 :             :                       {
   12097                 :          22 :                       case PLUS_EXPR:
   12098                 :          22 :                         {
   12099                 :          22 :                           tree _q60 = TREE_OPERAND (_p1, 0);
   12100                 :          22 :                           tree _q61 = TREE_OPERAND (_p1, 1);
   12101                 :          22 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   12102                 :             :                             {
   12103                 :           7 :                               switch (TREE_CODE (_q61))
   12104                 :             :                                 {
   12105                 :           7 :                                 case INTEGER_CST:
   12106                 :           7 :                                   {
   12107                 :           7 :                                     switch (TREE_CODE (_p2))
   12108                 :             :                                       {
   12109                 :           7 :                                       case INTEGER_CST:
   12110                 :           7 :                                         {
   12111                 :           7 :                                           {
   12112                 :           7 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q21, _q61, _p2 };
   12113                 :           7 :                                             tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, PLUS_EXPR);
   12114                 :           7 :                                             if (res) return res;
   12115                 :             :                                           }
   12116                 :           0 :                                           break;
   12117                 :             :                                         }
   12118                 :             :                                       default:;
   12119                 :             :                                       }
   12120                 :             :                                     break;
   12121                 :             :                                   }
   12122                 :             :                                 default:;
   12123                 :             :                                 }
   12124                 :             :                             }
   12125                 :             :                           break;
   12126                 :             :                         }
   12127                 :           0 :                       case MINUS_EXPR:
   12128                 :           0 :                         {
   12129                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
   12130                 :           0 :                           tree _q61 = TREE_OPERAND (_p1, 1);
   12131                 :           0 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   12132                 :             :                             {
   12133                 :           0 :                               switch (TREE_CODE (_q61))
   12134                 :             :                                 {
   12135                 :           0 :                                 case INTEGER_CST:
   12136                 :           0 :                                   {
   12137                 :           0 :                                     switch (TREE_CODE (_p2))
   12138                 :             :                                       {
   12139                 :           0 :                                       case INTEGER_CST:
   12140                 :           0 :                                         {
   12141                 :           0 :                                           {
   12142                 :           0 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q21, _q61, _p2 };
   12143                 :           0 :                                             tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MINUS_EXPR);
   12144                 :           0 :                                             if (res) return res;
   12145                 :             :                                           }
   12146                 :           0 :                                           break;
   12147                 :             :                                         }
   12148                 :             :                                       default:;
   12149                 :             :                                       }
   12150                 :             :                                     break;
   12151                 :             :                                   }
   12152                 :             :                                 default:;
   12153                 :             :                                 }
   12154                 :             :                             }
   12155                 :             :                           break;
   12156                 :             :                         }
   12157                 :             :                       default:;
   12158                 :             :                       }
   12159                 :             :                     break;
   12160                 :             :                   }
   12161                 :             :                 default:;
   12162                 :             :                 }
   12163                 :             :               break;
   12164                 :             :             }
   12165                 :     1292433 :           default:;
   12166                 :             :           }
   12167                 :     1292433 :         switch (TREE_CODE (_q21))
   12168                 :             :           {
   12169                 :      297275 :           case INTEGER_CST:
   12170                 :      297275 :             {
   12171                 :      297275 :               switch (TREE_CODE (_p1))
   12172                 :             :                 {
   12173                 :        1185 :                 CASE_CONVERT:
   12174                 :        1185 :                   {
   12175                 :        1185 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   12176                 :        1185 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   12177                 :             :                       {
   12178                 :          29 :                         switch (TREE_CODE (_p2))
   12179                 :             :                           {
   12180                 :           3 :                           case INTEGER_CST:
   12181                 :           3 :                             {
   12182                 :           3 :                               {
   12183                 :           3 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
   12184                 :           3 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, LT_EXPR);
   12185                 :           3 :                                 if (res) return res;
   12186                 :             :                               }
   12187                 :           3 :                               break;
   12188                 :             :                             }
   12189                 :             :                           default:;
   12190                 :             :                           }
   12191                 :             :                       }
   12192                 :             :                     break;
   12193                 :             :                   }
   12194                 :      297275 :                 default:;
   12195                 :             :                 }
   12196                 :      297275 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   12197                 :             :                 {
   12198                 :          60 :                   switch (TREE_CODE (_p2))
   12199                 :             :                     {
   12200                 :           3 :                     case INTEGER_CST:
   12201                 :           3 :                       {
   12202                 :           3 :                         {
   12203                 :           3 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
   12204                 :           3 :                           tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, LT_EXPR);
   12205                 :           3 :                           if (res) return res;
   12206                 :             :                         }
   12207                 :           0 :                         break;
   12208                 :             :                       }
   12209                 :             :                     default:;
   12210                 :             :                     }
   12211                 :             :                 }
   12212                 :      297272 :               switch (TREE_CODE (_p1))
   12213                 :             :                 {
   12214                 :        1995 :                 case PLUS_EXPR:
   12215                 :        1995 :                   {
   12216                 :        1995 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   12217                 :        1995 :                     tree _q51 = TREE_OPERAND (_p1, 1);
   12218                 :        1995 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   12219                 :             :                       {
   12220                 :        1972 :                         switch (TREE_CODE (_q51))
   12221                 :             :                           {
   12222                 :        1972 :                           case INTEGER_CST:
   12223                 :        1972 :                             {
   12224                 :        1972 :                               switch (TREE_CODE (_p2))
   12225                 :             :                                 {
   12226                 :          36 :                                 case INTEGER_CST:
   12227                 :          36 :                                   {
   12228                 :          36 :                                     {
   12229                 :          36 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _p2 };
   12230                 :          36 :                                       tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, PLUS_EXPR);
   12231                 :          36 :                                       if (res) return res;
   12232                 :             :                                     }
   12233                 :          36 :                                     break;
   12234                 :             :                                   }
   12235                 :             :                                 default:;
   12236                 :             :                                 }
   12237                 :             :                               break;
   12238                 :             :                             }
   12239                 :             :                           default:;
   12240                 :             :                           }
   12241                 :             :                       }
   12242                 :             :                     break;
   12243                 :             :                   }
   12244                 :          74 :                 case MINUS_EXPR:
   12245                 :          74 :                   {
   12246                 :          74 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   12247                 :          74 :                     tree _q51 = TREE_OPERAND (_p1, 1);
   12248                 :          74 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   12249                 :             :                       {
   12250                 :           0 :                         switch (TREE_CODE (_q51))
   12251                 :             :                           {
   12252                 :           0 :                           case INTEGER_CST:
   12253                 :           0 :                             {
   12254                 :           0 :                               switch (TREE_CODE (_p2))
   12255                 :             :                                 {
   12256                 :           0 :                                 case INTEGER_CST:
   12257                 :           0 :                                   {
   12258                 :           0 :                                     {
   12259                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _p2 };
   12260                 :           0 :                                       tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MINUS_EXPR);
   12261                 :           0 :                                       if (res) return res;
   12262                 :             :                                     }
   12263                 :           0 :                                     break;
   12264                 :             :                                   }
   12265                 :             :                                 default:;
   12266                 :             :                                 }
   12267                 :             :                               break;
   12268                 :             :                             }
   12269                 :             :                           default:;
   12270                 :             :                           }
   12271                 :             :                       }
   12272                 :             :                     break;
   12273                 :             :                   }
   12274                 :             :                 default:;
   12275                 :             :                 }
   12276                 :             :               break;
   12277                 :             :             }
   12278                 :     1292430 :           default:;
   12279                 :             :           }
   12280                 :     1292430 :         switch (TREE_CODE (_p1))
   12281                 :             :           {
   12282                 :           8 :           case MIN_EXPR:
   12283                 :           8 :             {
   12284                 :           8 :               tree _q50 = TREE_OPERAND (_p1, 0);
   12285                 :           8 :               tree _q51 = TREE_OPERAND (_p1, 1);
   12286                 :           8 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   12287                 :             :                 {
   12288                 :           8 :                   switch (TREE_CODE (_p2))
   12289                 :             :                     {
   12290                 :           0 :                     case MIN_EXPR:
   12291                 :           0 :                       {
   12292                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12293                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12294                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   12295                 :             :                           {
   12296                 :           0 :                             {
   12297                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q80 };
   12298                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MIN_EXPR);
   12299                 :           0 :                               if (res) return res;
   12300                 :             :                             }
   12301                 :             :                           }
   12302                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   12303                 :             :                           {
   12304                 :           0 :                             {
   12305                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q81 };
   12306                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MIN_EXPR);
   12307                 :           0 :                               if (res) return res;
   12308                 :             :                             }
   12309                 :             :                           }
   12310                 :             :                         break;
   12311                 :             :                       }
   12312                 :             :                     default:;
   12313                 :             :                     }
   12314                 :             :                 }
   12315                 :           8 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   12316                 :             :                 {
   12317                 :           0 :                   switch (TREE_CODE (_p2))
   12318                 :             :                     {
   12319                 :           0 :                     case MIN_EXPR:
   12320                 :           0 :                       {
   12321                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12322                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12323                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12324                 :             :                           {
   12325                 :           0 :                             {
   12326                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q80 };
   12327                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MIN_EXPR);
   12328                 :           0 :                               if (res) return res;
   12329                 :             :                             }
   12330                 :             :                           }
   12331                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12332                 :             :                           {
   12333                 :           0 :                             {
   12334                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q81 };
   12335                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MIN_EXPR);
   12336                 :           0 :                               if (res) return res;
   12337                 :             :                             }
   12338                 :             :                           }
   12339                 :             :                         break;
   12340                 :             :                       }
   12341                 :             :                     default:;
   12342                 :             :                     }
   12343                 :             :                 }
   12344                 :           8 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   12345                 :             :                 {
   12346                 :           0 :                   switch (TREE_CODE (_p2))
   12347                 :             :                     {
   12348                 :           0 :                     case MIN_EXPR:
   12349                 :           0 :                       {
   12350                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12351                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12352                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   12353                 :             :                           {
   12354                 :           0 :                             {
   12355                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q80 };
   12356                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12357                 :           0 :                               if (res) return res;
   12358                 :             :                             }
   12359                 :             :                           }
   12360                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   12361                 :             :                           {
   12362                 :           0 :                             {
   12363                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q81 };
   12364                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12365                 :           0 :                               if (res) return res;
   12366                 :             :                             }
   12367                 :             :                           }
   12368                 :             :                         break;
   12369                 :             :                       }
   12370                 :           0 :                     default:;
   12371                 :             :                     }
   12372                 :           0 :                   {
   12373                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q51, _p2 };
   12374                 :           0 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12375                 :           0 :                     if (res) return res;
   12376                 :             :                   }
   12377                 :             :                 }
   12378                 :           8 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   12379                 :             :                 {
   12380                 :           0 :                   switch (TREE_CODE (_p2))
   12381                 :             :                     {
   12382                 :           0 :                     case MIN_EXPR:
   12383                 :           0 :                       {
   12384                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12385                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12386                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12387                 :             :                           {
   12388                 :           0 :                             {
   12389                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q80 };
   12390                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12391                 :           0 :                               if (res) return res;
   12392                 :             :                             }
   12393                 :             :                           }
   12394                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12395                 :             :                           {
   12396                 :           0 :                             {
   12397                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q81 };
   12398                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12399                 :           0 :                               if (res) return res;
   12400                 :             :                             }
   12401                 :             :                           }
   12402                 :             :                         break;
   12403                 :             :                       }
   12404                 :           0 :                     default:;
   12405                 :             :                     }
   12406                 :           0 :                   {
   12407                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q50, _p2 };
   12408                 :           0 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12409                 :           0 :                     if (res) return res;
   12410                 :             :                   }
   12411                 :             :                 }
   12412                 :             :               break;
   12413                 :             :             }
   12414                 :          13 :           case MAX_EXPR:
   12415                 :          13 :             {
   12416                 :          13 :               tree _q50 = TREE_OPERAND (_p1, 0);
   12417                 :          13 :               tree _q51 = TREE_OPERAND (_p1, 1);
   12418                 :          13 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   12419                 :             :                 {
   12420                 :           1 :                   switch (TREE_CODE (_p2))
   12421                 :             :                     {
   12422                 :           0 :                     case MAX_EXPR:
   12423                 :           0 :                       {
   12424                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12425                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12426                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   12427                 :             :                           {
   12428                 :           0 :                             {
   12429                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q80 };
   12430                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   12431                 :           0 :                               if (res) return res;
   12432                 :             :                             }
   12433                 :             :                           }
   12434                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   12435                 :             :                           {
   12436                 :           0 :                             {
   12437                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q81 };
   12438                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   12439                 :           0 :                               if (res) return res;
   12440                 :             :                             }
   12441                 :             :                           }
   12442                 :             :                         break;
   12443                 :             :                       }
   12444                 :           1 :                     default:;
   12445                 :             :                     }
   12446                 :           1 :                   {
   12447                 :           1 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q51, _p2 };
   12448                 :           1 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   12449                 :           1 :                     if (res) return res;
   12450                 :             :                   }
   12451                 :             :                 }
   12452                 :          12 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   12453                 :             :                 {
   12454                 :           4 :                   switch (TREE_CODE (_p2))
   12455                 :             :                     {
   12456                 :           0 :                     case MAX_EXPR:
   12457                 :           0 :                       {
   12458                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12459                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12460                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12461                 :             :                           {
   12462                 :           0 :                             {
   12463                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q80 };
   12464                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   12465                 :           0 :                               if (res) return res;
   12466                 :             :                             }
   12467                 :             :                           }
   12468                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12469                 :             :                           {
   12470                 :           0 :                             {
   12471                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q81 };
   12472                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   12473                 :           0 :                               if (res) return res;
   12474                 :             :                             }
   12475                 :             :                           }
   12476                 :             :                         break;
   12477                 :             :                       }
   12478                 :             :                     default:;
   12479                 :             :                     }
   12480                 :             :                 }
   12481                 :          12 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   12482                 :             :                 {
   12483                 :           0 :                   switch (TREE_CODE (_p2))
   12484                 :             :                     {
   12485                 :           0 :                     case MAX_EXPR:
   12486                 :           0 :                       {
   12487                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12488                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12489                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   12490                 :             :                           {
   12491                 :           0 :                             {
   12492                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q80 };
   12493                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MAX_EXPR);
   12494                 :           0 :                               if (res) return res;
   12495                 :             :                             }
   12496                 :             :                           }
   12497                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   12498                 :             :                           {
   12499                 :           0 :                             {
   12500                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q81 };
   12501                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MAX_EXPR);
   12502                 :           0 :                               if (res) return res;
   12503                 :             :                             }
   12504                 :             :                           }
   12505                 :             :                         break;
   12506                 :             :                       }
   12507                 :             :                     default:;
   12508                 :             :                     }
   12509                 :             :                 }
   12510                 :          12 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   12511                 :             :                 {
   12512                 :           1 :                   switch (TREE_CODE (_p2))
   12513                 :             :                     {
   12514                 :           1 :                     case MAX_EXPR:
   12515                 :           1 :                       {
   12516                 :           1 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12517                 :           1 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12518                 :           1 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12519                 :             :                           {
   12520                 :           0 :                             {
   12521                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q80 };
   12522                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MAX_EXPR);
   12523                 :           0 :                               if (res) return res;
   12524                 :             :                             }
   12525                 :             :                           }
   12526                 :           1 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12527                 :             :                           {
   12528                 :           1 :                             {
   12529                 :           1 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q81 };
   12530                 :           1 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MAX_EXPR);
   12531                 :           1 :                               if (res) return res;
   12532                 :             :                             }
   12533                 :             :                           }
   12534                 :             :                         break;
   12535                 :             :                       }
   12536                 :             :                     default:;
   12537                 :             :                     }
   12538                 :             :                 }
   12539                 :          11 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   12540                 :             :                 {
   12541                 :           4 :                   {
   12542                 :           4 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   12543                 :           4 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   12544                 :           4 :                     if (res) return res;
   12545                 :             :                   }
   12546                 :             :                 }
   12547                 :             :               break;
   12548                 :             :             }
   12549                 :             :           default:;
   12550                 :             :           }
   12551                 :             :         break;
   12552                 :             :       }
   12553                 :      700865 :     case GT_EXPR:
   12554                 :      700865 :       {
   12555                 :      700865 :         tree _q20 = TREE_OPERAND (_p0, 0);
   12556                 :      700865 :         tree _q21 = TREE_OPERAND (_p0, 1);
   12557                 :      700865 :         switch (TREE_CODE (_q20))
   12558                 :             :           {
   12559                 :       78734 :           CASE_CONVERT:
   12560                 :       78734 :             {
   12561                 :       78734 :               tree _q30 = TREE_OPERAND (_q20, 0);
   12562                 :       78734 :               switch (TREE_CODE (_q21))
   12563                 :             :                 {
   12564                 :        3098 :                 case INTEGER_CST:
   12565                 :        3098 :                   {
   12566                 :        3098 :                     switch (TREE_CODE (_p1))
   12567                 :             :                       {
   12568                 :         214 :                       CASE_CONVERT:
   12569                 :         214 :                         {
   12570                 :         214 :                           tree _q60 = TREE_OPERAND (_p1, 0);
   12571                 :         214 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   12572                 :             :                             {
   12573                 :          73 :                               switch (TREE_CODE (_p2))
   12574                 :             :                                 {
   12575                 :          72 :                                 case INTEGER_CST:
   12576                 :          72 :                                   {
   12577                 :          72 :                                     {
   12578                 :          72 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
   12579                 :          72 :                                       tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, GT_EXPR);
   12580                 :          72 :                                       if (res) return res;
   12581                 :             :                                     }
   12582                 :          72 :                                     break;
   12583                 :             :                                   }
   12584                 :             :                                 default:;
   12585                 :             :                                 }
   12586                 :             :                             }
   12587                 :             :                           break;
   12588                 :             :                         }
   12589                 :        3098 :                       default:;
   12590                 :             :                       }
   12591                 :        3098 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   12592                 :             :                       {
   12593                 :           8 :                         switch (TREE_CODE (_p2))
   12594                 :             :                           {
   12595                 :           6 :                           case INTEGER_CST:
   12596                 :           6 :                             {
   12597                 :           6 :                               {
   12598                 :           6 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
   12599                 :           6 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, GT_EXPR);
   12600                 :           6 :                                 if (res) return res;
   12601                 :             :                               }
   12602                 :           6 :                               break;
   12603                 :             :                             }
   12604                 :             :                           default:;
   12605                 :             :                           }
   12606                 :             :                       }
   12607                 :        3098 :                     switch (TREE_CODE (_p1))
   12608                 :             :                       {
   12609                 :         497 :                       case PLUS_EXPR:
   12610                 :         497 :                         {
   12611                 :         497 :                           tree _q60 = TREE_OPERAND (_p1, 0);
   12612                 :         497 :                           tree _q61 = TREE_OPERAND (_p1, 1);
   12613                 :         497 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   12614                 :             :                             {
   12615                 :          49 :                               switch (TREE_CODE (_q61))
   12616                 :             :                                 {
   12617                 :          49 :                                 case INTEGER_CST:
   12618                 :          49 :                                   {
   12619                 :          49 :                                     switch (TREE_CODE (_p2))
   12620                 :             :                                       {
   12621                 :          49 :                                       case INTEGER_CST:
   12622                 :          49 :                                         {
   12623                 :          49 :                                           {
   12624                 :          49 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q21, _q61, _p2 };
   12625                 :          49 :                                             tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, PLUS_EXPR);
   12626                 :          49 :                                             if (res) return res;
   12627                 :             :                                           }
   12628                 :          49 :                                           break;
   12629                 :             :                                         }
   12630                 :             :                                       default:;
   12631                 :             :                                       }
   12632                 :             :                                     break;
   12633                 :             :                                   }
   12634                 :             :                                 default:;
   12635                 :             :                                 }
   12636                 :             :                             }
   12637                 :             :                           break;
   12638                 :             :                         }
   12639                 :           2 :                       case MINUS_EXPR:
   12640                 :           2 :                         {
   12641                 :           2 :                           tree _q60 = TREE_OPERAND (_p1, 0);
   12642                 :           2 :                           tree _q61 = TREE_OPERAND (_p1, 1);
   12643                 :           2 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   12644                 :             :                             {
   12645                 :           0 :                               switch (TREE_CODE (_q61))
   12646                 :             :                                 {
   12647                 :           0 :                                 case INTEGER_CST:
   12648                 :           0 :                                   {
   12649                 :           0 :                                     switch (TREE_CODE (_p2))
   12650                 :             :                                       {
   12651                 :           0 :                                       case INTEGER_CST:
   12652                 :           0 :                                         {
   12653                 :           0 :                                           {
   12654                 :           0 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q21, _q61, _p2 };
   12655                 :           0 :                                             tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MINUS_EXPR);
   12656                 :           0 :                                             if (res) return res;
   12657                 :             :                                           }
   12658                 :           0 :                                           break;
   12659                 :             :                                         }
   12660                 :             :                                       default:;
   12661                 :             :                                       }
   12662                 :             :                                     break;
   12663                 :             :                                   }
   12664                 :             :                                 default:;
   12665                 :             :                                 }
   12666                 :             :                             }
   12667                 :             :                           break;
   12668                 :             :                         }
   12669                 :             :                       default:;
   12670                 :             :                       }
   12671                 :             :                     break;
   12672                 :             :                   }
   12673                 :             :                 default:;
   12674                 :             :                 }
   12675                 :             :               break;
   12676                 :             :             }
   12677                 :      700865 :           default:;
   12678                 :             :           }
   12679                 :      700865 :         switch (TREE_CODE (_q21))
   12680                 :             :           {
   12681                 :      417752 :           case INTEGER_CST:
   12682                 :      417752 :             {
   12683                 :      417752 :               switch (TREE_CODE (_p1))
   12684                 :             :                 {
   12685                 :       60717 :                 CASE_CONVERT:
   12686                 :       60717 :                   {
   12687                 :       60717 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   12688                 :       60717 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   12689                 :             :                       {
   12690                 :       11410 :                         switch (TREE_CODE (_p2))
   12691                 :             :                           {
   12692                 :       11378 :                           case INTEGER_CST:
   12693                 :       11378 :                             {
   12694                 :       11378 :                               {
   12695                 :       11378 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
   12696                 :       11378 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, GT_EXPR);
   12697                 :       11378 :                                 if (res) return res;
   12698                 :             :                               }
   12699                 :       11160 :                               break;
   12700                 :             :                             }
   12701                 :             :                           default:;
   12702                 :             :                           }
   12703                 :             :                       }
   12704                 :             :                     break;
   12705                 :             :                   }
   12706                 :      417534 :                 default:;
   12707                 :             :                 }
   12708                 :      417534 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   12709                 :             :                 {
   12710                 :        8672 :                   switch (TREE_CODE (_p2))
   12711                 :             :                     {
   12712                 :        8443 :                     case INTEGER_CST:
   12713                 :        8443 :                       {
   12714                 :        8443 :                         {
   12715                 :        8443 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
   12716                 :        8443 :                           tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, GT_EXPR);
   12717                 :        8443 :                           if (res) return res;
   12718                 :             :                         }
   12719                 :          32 :                         break;
   12720                 :             :                       }
   12721                 :             :                     default:;
   12722                 :             :                     }
   12723                 :             :                 }
   12724                 :      409123 :               switch (TREE_CODE (_p1))
   12725                 :             :                 {
   12726                 :       50657 :                 case PLUS_EXPR:
   12727                 :       50657 :                   {
   12728                 :       50657 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   12729                 :       50657 :                     tree _q51 = TREE_OPERAND (_p1, 1);
   12730                 :       50657 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   12731                 :             :                       {
   12732                 :         798 :                         switch (TREE_CODE (_q51))
   12733                 :             :                           {
   12734                 :         798 :                           case INTEGER_CST:
   12735                 :         798 :                             {
   12736                 :         798 :                               switch (TREE_CODE (_p2))
   12737                 :             :                                 {
   12738                 :         790 :                                 case INTEGER_CST:
   12739                 :         790 :                                   {
   12740                 :         790 :                                     {
   12741                 :         790 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _p2 };
   12742                 :         790 :                                       tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, PLUS_EXPR);
   12743                 :         790 :                                       if (res) return res;
   12744                 :             :                                     }
   12745                 :          17 :                                     break;
   12746                 :             :                                   }
   12747                 :             :                                 default:;
   12748                 :             :                                 }
   12749                 :             :                               break;
   12750                 :             :                             }
   12751                 :             :                           default:;
   12752                 :             :                           }
   12753                 :             :                       }
   12754                 :             :                     break;
   12755                 :             :                   }
   12756                 :         321 :                 case MINUS_EXPR:
   12757                 :         321 :                   {
   12758                 :         321 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   12759                 :         321 :                     tree _q51 = TREE_OPERAND (_p1, 1);
   12760                 :         321 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   12761                 :             :                       {
   12762                 :           4 :                         switch (TREE_CODE (_q51))
   12763                 :             :                           {
   12764                 :           0 :                           case INTEGER_CST:
   12765                 :           0 :                             {
   12766                 :           0 :                               switch (TREE_CODE (_p2))
   12767                 :             :                                 {
   12768                 :           0 :                                 case INTEGER_CST:
   12769                 :           0 :                                   {
   12770                 :           0 :                                     {
   12771                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _p2 };
   12772                 :           0 :                                       tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MINUS_EXPR);
   12773                 :           0 :                                       if (res) return res;
   12774                 :             :                                     }
   12775                 :           0 :                                     break;
   12776                 :             :                                   }
   12777                 :             :                                 default:;
   12778                 :             :                                 }
   12779                 :             :                               break;
   12780                 :             :                             }
   12781                 :             :                           default:;
   12782                 :             :                           }
   12783                 :             :                       }
   12784                 :             :                     break;
   12785                 :             :                   }
   12786                 :             :                 default:;
   12787                 :             :                 }
   12788                 :             :               break;
   12789                 :             :             }
   12790                 :      691463 :           default:;
   12791                 :             :           }
   12792                 :      691463 :         switch (TREE_CODE (_p1))
   12793                 :             :           {
   12794                 :          10 :           case MIN_EXPR:
   12795                 :          10 :             {
   12796                 :          10 :               tree _q50 = TREE_OPERAND (_p1, 0);
   12797                 :          10 :               tree _q51 = TREE_OPERAND (_p1, 1);
   12798                 :          10 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   12799                 :             :                 {
   12800                 :           7 :                   switch (TREE_CODE (_p2))
   12801                 :             :                     {
   12802                 :           0 :                     case MIN_EXPR:
   12803                 :           0 :                       {
   12804                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12805                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12806                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   12807                 :             :                           {
   12808                 :           0 :                             {
   12809                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q80 };
   12810                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12811                 :           0 :                               if (res) return res;
   12812                 :             :                             }
   12813                 :             :                           }
   12814                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   12815                 :             :                           {
   12816                 :           0 :                             {
   12817                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q81 };
   12818                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12819                 :           0 :                               if (res) return res;
   12820                 :             :                             }
   12821                 :             :                           }
   12822                 :             :                         break;
   12823                 :             :                       }
   12824                 :           7 :                     default:;
   12825                 :             :                     }
   12826                 :           7 :                   {
   12827                 :           7 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q51, _p2 };
   12828                 :           7 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12829                 :           7 :                     if (res) return res;
   12830                 :             :                   }
   12831                 :             :                 }
   12832                 :          10 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   12833                 :             :                 {
   12834                 :           0 :                   switch (TREE_CODE (_p2))
   12835                 :             :                     {
   12836                 :           0 :                     case MIN_EXPR:
   12837                 :           0 :                       {
   12838                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12839                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12840                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12841                 :             :                           {
   12842                 :           0 :                             {
   12843                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q80 };
   12844                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12845                 :           0 :                               if (res) return res;
   12846                 :             :                             }
   12847                 :             :                           }
   12848                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12849                 :             :                           {
   12850                 :           0 :                             {
   12851                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q81 };
   12852                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12853                 :           0 :                               if (res) return res;
   12854                 :             :                             }
   12855                 :             :                           }
   12856                 :             :                         break;
   12857                 :             :                       }
   12858                 :             :                     default:;
   12859                 :             :                     }
   12860                 :             :                 }
   12861                 :          10 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   12862                 :             :                 {
   12863                 :           0 :                   switch (TREE_CODE (_p2))
   12864                 :             :                     {
   12865                 :           0 :                     case MIN_EXPR:
   12866                 :           0 :                       {
   12867                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12868                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12869                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   12870                 :             :                           {
   12871                 :           0 :                             {
   12872                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q80 };
   12873                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MIN_EXPR);
   12874                 :           0 :                               if (res) return res;
   12875                 :             :                             }
   12876                 :             :                           }
   12877                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   12878                 :             :                           {
   12879                 :           0 :                             {
   12880                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q81 };
   12881                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MIN_EXPR);
   12882                 :           0 :                               if (res) return res;
   12883                 :             :                             }
   12884                 :             :                           }
   12885                 :             :                         break;
   12886                 :             :                       }
   12887                 :             :                     default:;
   12888                 :             :                     }
   12889                 :             :                 }
   12890                 :          10 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   12891                 :             :                 {
   12892                 :           7 :                   switch (TREE_CODE (_p2))
   12893                 :             :                     {
   12894                 :           0 :                     case MIN_EXPR:
   12895                 :           0 :                       {
   12896                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12897                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12898                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12899                 :             :                           {
   12900                 :           0 :                             {
   12901                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q80 };
   12902                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MIN_EXPR);
   12903                 :           0 :                               if (res) return res;
   12904                 :             :                             }
   12905                 :             :                           }
   12906                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12907                 :             :                           {
   12908                 :           0 :                             {
   12909                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q81 };
   12910                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MIN_EXPR);
   12911                 :           0 :                               if (res) return res;
   12912                 :             :                             }
   12913                 :             :                           }
   12914                 :             :                         break;
   12915                 :             :                       }
   12916                 :             :                     default:;
   12917                 :             :                     }
   12918                 :             :                 }
   12919                 :          10 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   12920                 :             :                 {
   12921                 :           0 :                   {
   12922                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   12923                 :           0 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MIN_EXPR);
   12924                 :           0 :                     if (res) return res;
   12925                 :             :                   }
   12926                 :             :                 }
   12927                 :             :               break;
   12928                 :             :             }
   12929                 :          95 :           case MAX_EXPR:
   12930                 :          95 :             {
   12931                 :          95 :               tree _q50 = TREE_OPERAND (_p1, 0);
   12932                 :          95 :               tree _q51 = TREE_OPERAND (_p1, 1);
   12933                 :          95 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   12934                 :             :                 {
   12935                 :           8 :                   switch (TREE_CODE (_p2))
   12936                 :             :                     {
   12937                 :           0 :                     case MAX_EXPR:
   12938                 :           0 :                       {
   12939                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12940                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12941                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   12942                 :             :                           {
   12943                 :           0 :                             {
   12944                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q80 };
   12945                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MAX_EXPR);
   12946                 :           0 :                               if (res) return res;
   12947                 :             :                             }
   12948                 :             :                           }
   12949                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   12950                 :             :                           {
   12951                 :           0 :                             {
   12952                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q81 };
   12953                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MAX_EXPR);
   12954                 :           0 :                               if (res) return res;
   12955                 :             :                             }
   12956                 :             :                           }
   12957                 :             :                         break;
   12958                 :             :                       }
   12959                 :             :                     default:;
   12960                 :             :                     }
   12961                 :             :                 }
   12962                 :          95 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   12963                 :             :                 {
   12964                 :           2 :                   switch (TREE_CODE (_p2))
   12965                 :             :                     {
   12966                 :           1 :                     case MAX_EXPR:
   12967                 :           1 :                       {
   12968                 :           1 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12969                 :           1 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12970                 :           1 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12971                 :             :                           {
   12972                 :           0 :                             {
   12973                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q80 };
   12974                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MAX_EXPR);
   12975                 :           0 :                               if (res) return res;
   12976                 :             :                             }
   12977                 :             :                           }
   12978                 :           1 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12979                 :             :                           {
   12980                 :           1 :                             {
   12981                 :           1 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q81 };
   12982                 :           1 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GT_EXPR, MAX_EXPR);
   12983                 :           1 :                               if (res) return res;
   12984                 :             :                             }
   12985                 :             :                           }
   12986                 :             :                         break;
   12987                 :             :                       }
   12988                 :             :                     default:;
   12989                 :             :                     }
   12990                 :             :                 }
   12991                 :          94 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   12992                 :             :                 {
   12993                 :           1 :                   switch (TREE_CODE (_p2))
   12994                 :             :                     {
   12995                 :           0 :                     case MAX_EXPR:
   12996                 :           0 :                       {
   12997                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   12998                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   12999                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   13000                 :             :                           {
   13001                 :           0 :                             {
   13002                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q80 };
   13003                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   13004                 :           0 :                               if (res) return res;
   13005                 :             :                             }
   13006                 :             :                           }
   13007                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   13008                 :             :                           {
   13009                 :           0 :                             {
   13010                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q81 };
   13011                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   13012                 :           0 :                               if (res) return res;
   13013                 :             :                             }
   13014                 :             :                           }
   13015                 :             :                         break;
   13016                 :             :                       }
   13017                 :           1 :                     default:;
   13018                 :             :                     }
   13019                 :           1 :                   {
   13020                 :           1 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q51, _p2 };
   13021                 :           1 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   13022                 :           1 :                     if (res) return res;
   13023                 :             :                   }
   13024                 :             :                 }
   13025                 :          93 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13026                 :             :                 {
   13027                 :           0 :                   switch (TREE_CODE (_p2))
   13028                 :             :                     {
   13029                 :           0 :                     case MAX_EXPR:
   13030                 :           0 :                       {
   13031                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   13032                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   13033                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   13034                 :             :                           {
   13035                 :           0 :                             {
   13036                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q80 };
   13037                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   13038                 :           0 :                               if (res) return res;
   13039                 :             :                             }
   13040                 :             :                           }
   13041                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   13042                 :             :                           {
   13043                 :           0 :                             {
   13044                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q81 };
   13045                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   13046                 :           0 :                               if (res) return res;
   13047                 :             :                             }
   13048                 :             :                           }
   13049                 :             :                         break;
   13050                 :             :                       }
   13051                 :           0 :                     default:;
   13052                 :             :                     }
   13053                 :           0 :                   {
   13054                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q50, _p2 };
   13055                 :           0 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, LT_EXPR, MAX_EXPR);
   13056                 :           0 :                     if (res) return res;
   13057                 :             :                   }
   13058                 :             :                 }
   13059                 :             :               break;
   13060                 :             :             }
   13061                 :      691461 :           default:;
   13062                 :             :           }
   13063                 :      691461 :         switch (TREE_CODE (_q20))
   13064                 :             :           {
   13065                 :       46661 :           case PLUS_EXPR:
   13066                 :       46661 :             {
   13067                 :       46661 :               tree _q30 = TREE_OPERAND (_q20, 0);
   13068                 :       46661 :               tree _q31 = TREE_OPERAND (_q20, 1);
   13069                 :       46661 :               if (integer_onep (_q31))
   13070                 :             :                 {
   13071                 :       24107 :                   switch (TREE_CODE (_p1))
   13072                 :             :                     {
   13073                 :           6 :                     case NEGATE_EXPR:
   13074                 :           6 :                       {
   13075                 :           6 :                         tree _q70 = TREE_OPERAND (_p1, 0);
   13076                 :           6 :                         if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   13077                 :             :                           {
   13078                 :           6 :                             if (integer_onep (_p2))
   13079                 :             :                               {
   13080                 :           6 :                                 {
   13081                 :           6 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
   13082                 :           6 :                                   if (TYPE_UNSIGNED (type)
   13083                 :             : )
   13084                 :             :                                     {
   13085                 :           6 :                                       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1633;
   13086                 :           6 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1633;
   13087                 :           6 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1633;
   13088                 :           6 :                                       {
   13089                 :           6 :                                         tree res_op0;
   13090                 :           6 :                                         {
   13091                 :           6 :                                           tree _o1[2], _r1;
   13092                 :           6 :                                           _o1[0] = unshare_expr (captures[0]);
   13093                 :           6 :                                           _o1[1] = captures[1];
   13094                 :           6 :                                           _r1 = fold_build2_loc (loc, GE_EXPR, boolean_type_node, _o1[0], _o1[1]);
   13095                 :           6 :                                           res_op0 = _r1;
   13096                 :             :                                         }
   13097                 :           6 :                                         tree res_op1;
   13098                 :           6 :                                         {
   13099                 :           6 :                                           tree _o1[1], _r1;
   13100                 :           6 :                                           _o1[0] = captures[0];
   13101                 :           6 :                                           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   13102                 :           6 :                                           res_op1 = _r1;
   13103                 :             :                                         }
   13104                 :           6 :                                         tree res_op2;
   13105                 :           6 :                                         res_op2 = captures[2];
   13106                 :           6 :                                         tree _r;
   13107                 :           6 :                                         _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
   13108                 :           6 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 941, __FILE__, __LINE__, true);
   13109                 :           6 :                                         return _r;
   13110                 :             :                                       }
   13111                 :           0 : next_after_fail1633:;
   13112                 :             :                                     }
   13113                 :             :                                 }
   13114                 :             :                               }
   13115                 :             :                           }
   13116                 :             :                         break;
   13117                 :             :                       }
   13118                 :             :                     default:;
   13119                 :             :                     }
   13120                 :             :                 }
   13121                 :             :               break;
   13122                 :             :             }
   13123                 :             :           default:;
   13124                 :             :           }
   13125                 :             :         break;
   13126                 :             :       }
   13127                 :      471314 :     case GE_EXPR:
   13128                 :      471314 :       {
   13129                 :      471314 :         tree _q20 = TREE_OPERAND (_p0, 0);
   13130                 :      471314 :         tree _q21 = TREE_OPERAND (_p0, 1);
   13131                 :      471314 :         switch (TREE_CODE (_q20))
   13132                 :             :           {
   13133                 :       37847 :           CASE_CONVERT:
   13134                 :       37847 :             {
   13135                 :       37847 :               tree _q30 = TREE_OPERAND (_q20, 0);
   13136                 :       37847 :               switch (TREE_CODE (_q21))
   13137                 :             :                 {
   13138                 :       11077 :                 case INTEGER_CST:
   13139                 :       11077 :                   {
   13140                 :       11077 :                     switch (TREE_CODE (_p1))
   13141                 :             :                       {
   13142                 :        6588 :                       CASE_CONVERT:
   13143                 :        6588 :                         {
   13144                 :        6588 :                           tree _q60 = TREE_OPERAND (_p1, 0);
   13145                 :        6588 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   13146                 :             :                             {
   13147                 :        4154 :                               switch (TREE_CODE (_p2))
   13148                 :             :                                 {
   13149                 :        4146 :                                 case INTEGER_CST:
   13150                 :        4146 :                                   {
   13151                 :        4146 :                                     {
   13152                 :        4146 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
   13153                 :        4146 :                                       tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, GE_EXPR);
   13154                 :        4146 :                                       if (res) return res;
   13155                 :             :                                     }
   13156                 :        4146 :                                     break;
   13157                 :             :                                   }
   13158                 :             :                                 default:;
   13159                 :             :                                 }
   13160                 :             :                             }
   13161                 :             :                           break;
   13162                 :             :                         }
   13163                 :       11077 :                       default:;
   13164                 :             :                       }
   13165                 :       11077 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   13166                 :             :                       {
   13167                 :         309 :                         switch (TREE_CODE (_p2))
   13168                 :             :                           {
   13169                 :         294 :                           case INTEGER_CST:
   13170                 :         294 :                             {
   13171                 :         294 :                               {
   13172                 :         294 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p2 };
   13173                 :         294 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, GE_EXPR);
   13174                 :         294 :                                 if (res) return res;
   13175                 :             :                               }
   13176                 :         294 :                               break;
   13177                 :             :                             }
   13178                 :             :                           default:;
   13179                 :             :                           }
   13180                 :             :                       }
   13181                 :       11077 :                     switch (TREE_CODE (_p1))
   13182                 :             :                       {
   13183                 :        1308 :                       case PLUS_EXPR:
   13184                 :        1308 :                         {
   13185                 :        1308 :                           tree _q60 = TREE_OPERAND (_p1, 0);
   13186                 :        1308 :                           tree _q61 = TREE_OPERAND (_p1, 1);
   13187                 :        1308 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   13188                 :             :                             {
   13189                 :           0 :                               switch (TREE_CODE (_q61))
   13190                 :             :                                 {
   13191                 :           0 :                                 case INTEGER_CST:
   13192                 :           0 :                                   {
   13193                 :           0 :                                     switch (TREE_CODE (_p2))
   13194                 :             :                                       {
   13195                 :           0 :                                       case INTEGER_CST:
   13196                 :           0 :                                         {
   13197                 :           0 :                                           {
   13198                 :           0 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q21, _q61, _p2 };
   13199                 :           0 :                                             tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, PLUS_EXPR);
   13200                 :           0 :                                             if (res) return res;
   13201                 :             :                                           }
   13202                 :           0 :                                           break;
   13203                 :             :                                         }
   13204                 :             :                                       default:;
   13205                 :             :                                       }
   13206                 :             :                                     break;
   13207                 :             :                                   }
   13208                 :             :                                 default:;
   13209                 :             :                                 }
   13210                 :             :                             }
   13211                 :             :                           break;
   13212                 :             :                         }
   13213                 :         103 :                       case MINUS_EXPR:
   13214                 :         103 :                         {
   13215                 :         103 :                           tree _q60 = TREE_OPERAND (_p1, 0);
   13216                 :         103 :                           tree _q61 = TREE_OPERAND (_p1, 1);
   13217                 :         103 :                           if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   13218                 :             :                             {
   13219                 :           0 :                               switch (TREE_CODE (_q61))
   13220                 :             :                                 {
   13221                 :           0 :                                 case INTEGER_CST:
   13222                 :           0 :                                   {
   13223                 :           0 :                                     switch (TREE_CODE (_p2))
   13224                 :             :                                       {
   13225                 :           0 :                                       case INTEGER_CST:
   13226                 :           0 :                                         {
   13227                 :           0 :                                           {
   13228                 :           0 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q21, _q61, _p2 };
   13229                 :           0 :                                             tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MINUS_EXPR);
   13230                 :           0 :                                             if (res) return res;
   13231                 :             :                                           }
   13232                 :           0 :                                           break;
   13233                 :             :                                         }
   13234                 :             :                                       default:;
   13235                 :             :                                       }
   13236                 :             :                                     break;
   13237                 :             :                                   }
   13238                 :             :                                 default:;
   13239                 :             :                                 }
   13240                 :             :                             }
   13241                 :             :                           break;
   13242                 :             :                         }
   13243                 :             :                       default:;
   13244                 :             :                       }
   13245                 :             :                     break;
   13246                 :             :                   }
   13247                 :             :                 default:;
   13248                 :             :                 }
   13249                 :             :               break;
   13250                 :             :             }
   13251                 :      471314 :           default:;
   13252                 :             :           }
   13253                 :      471314 :         switch (TREE_CODE (_q21))
   13254                 :             :           {
   13255                 :      146265 :           case INTEGER_CST:
   13256                 :      146265 :             {
   13257                 :      146265 :               switch (TREE_CODE (_p1))
   13258                 :             :                 {
   13259                 :       45620 :                 CASE_CONVERT:
   13260                 :       45620 :                   {
   13261                 :       45620 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   13262                 :       45620 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13263                 :             :                       {
   13264                 :         138 :                         switch (TREE_CODE (_p2))
   13265                 :             :                           {
   13266                 :          45 :                           case INTEGER_CST:
   13267                 :          45 :                             {
   13268                 :          45 :                               {
   13269                 :          45 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
   13270                 :          45 :                                 tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, GE_EXPR);
   13271                 :          45 :                                 if (res) return res;
   13272                 :             :                               }
   13273                 :          45 :                               break;
   13274                 :             :                             }
   13275                 :             :                           default:;
   13276                 :             :                           }
   13277                 :             :                       }
   13278                 :             :                     break;
   13279                 :             :                   }
   13280                 :      146265 :                 default:;
   13281                 :             :                 }
   13282                 :      146265 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   13283                 :             :                 {
   13284                 :       33342 :                   switch (TREE_CODE (_p2))
   13285                 :             :                     {
   13286                 :        9368 :                     case INTEGER_CST:
   13287                 :        9368 :                       {
   13288                 :        9368 :                         {
   13289                 :        9368 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p2 };
   13290                 :        9368 :                           tree res = generic_simplify_460 (loc, type, _p0, _p1, _p2, captures, GE_EXPR);
   13291                 :        9368 :                           if (res) return res;
   13292                 :             :                         }
   13293                 :          15 :                         break;
   13294                 :             :                       }
   13295                 :             :                     default:;
   13296                 :             :                     }
   13297                 :             :                 }
   13298                 :      136912 :               switch (TREE_CODE (_p1))
   13299                 :             :                 {
   13300                 :       13246 :                 case PLUS_EXPR:
   13301                 :       13246 :                   {
   13302                 :       13246 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   13303                 :       13246 :                     tree _q51 = TREE_OPERAND (_p1, 1);
   13304                 :       13246 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13305                 :             :                       {
   13306                 :        3888 :                         switch (TREE_CODE (_q51))
   13307                 :             :                           {
   13308                 :        3888 :                           case INTEGER_CST:
   13309                 :        3888 :                             {
   13310                 :        3888 :                               switch (TREE_CODE (_p2))
   13311                 :             :                                 {
   13312                 :        3888 :                                 case INTEGER_CST:
   13313                 :        3888 :                                   {
   13314                 :        3888 :                                     {
   13315                 :        3888 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _p2 };
   13316                 :        3888 :                                       tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, PLUS_EXPR);
   13317                 :        3888 :                                       if (res) return res;
   13318                 :             :                                     }
   13319                 :           0 :                                     break;
   13320                 :             :                                   }
   13321                 :             :                                 default:;
   13322                 :             :                                 }
   13323                 :             :                               break;
   13324                 :             :                             }
   13325                 :             :                           default:;
   13326                 :             :                           }
   13327                 :             :                       }
   13328                 :             :                     break;
   13329                 :             :                   }
   13330                 :         327 :                 case MINUS_EXPR:
   13331                 :         327 :                   {
   13332                 :         327 :                     tree _q50 = TREE_OPERAND (_p1, 0);
   13333                 :         327 :                     tree _q51 = TREE_OPERAND (_p1, 1);
   13334                 :         327 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13335                 :             :                       {
   13336                 :           0 :                         switch (TREE_CODE (_q51))
   13337                 :             :                           {
   13338                 :           0 :                           case INTEGER_CST:
   13339                 :           0 :                             {
   13340                 :           0 :                               switch (TREE_CODE (_p2))
   13341                 :             :                                 {
   13342                 :           0 :                                 case INTEGER_CST:
   13343                 :           0 :                                   {
   13344                 :           0 :                                     {
   13345                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _p2 };
   13346                 :           0 :                                       tree res = generic_simplify_461 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MINUS_EXPR);
   13347                 :           0 :                                       if (res) return res;
   13348                 :             :                                     }
   13349                 :           0 :                                     break;
   13350                 :             :                                   }
   13351                 :             :                                 default:;
   13352                 :             :                                 }
   13353                 :             :                               break;
   13354                 :             :                             }
   13355                 :             :                           default:;
   13356                 :             :                           }
   13357                 :             :                       }
   13358                 :             :                     break;
   13359                 :             :                   }
   13360                 :             :                 default:;
   13361                 :             :                 }
   13362                 :             :               break;
   13363                 :             :             }
   13364                 :      458073 :           default:;
   13365                 :             :           }
   13366                 :      458073 :         switch (TREE_CODE (_p1))
   13367                 :             :           {
   13368                 :          20 :           case MIN_EXPR:
   13369                 :          20 :             {
   13370                 :          20 :               tree _q50 = TREE_OPERAND (_p1, 0);
   13371                 :          20 :               tree _q51 = TREE_OPERAND (_p1, 1);
   13372                 :          20 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13373                 :             :                 {
   13374                 :          19 :                   switch (TREE_CODE (_p2))
   13375                 :             :                     {
   13376                 :           0 :                     case MIN_EXPR:
   13377                 :           0 :                       {
   13378                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   13379                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   13380                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   13381                 :             :                           {
   13382                 :           0 :                             {
   13383                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q80 };
   13384                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   13385                 :           0 :                               if (res) return res;
   13386                 :             :                             }
   13387                 :             :                           }
   13388                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   13389                 :             :                           {
   13390                 :           0 :                             {
   13391                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q81 };
   13392                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   13393                 :           0 :                               if (res) return res;
   13394                 :             :                             }
   13395                 :             :                           }
   13396                 :             :                         break;
   13397                 :             :                       }
   13398                 :          19 :                     default:;
   13399                 :             :                     }
   13400                 :          19 :                   {
   13401                 :          19 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q51, _p2 };
   13402                 :          19 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   13403                 :          19 :                     if (res) return res;
   13404                 :             :                   }
   13405                 :             :                 }
   13406                 :          16 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   13407                 :             :                 {
   13408                 :           0 :                   switch (TREE_CODE (_p2))
   13409                 :             :                     {
   13410                 :           0 :                     case MIN_EXPR:
   13411                 :           0 :                       {
   13412                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   13413                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   13414                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   13415                 :             :                           {
   13416                 :           0 :                             {
   13417                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q80 };
   13418                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   13419                 :           0 :                               if (res) return res;
   13420                 :             :                             }
   13421                 :             :                           }
   13422                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   13423                 :             :                           {
   13424                 :           0 :                             {
   13425                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q81 };
   13426                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   13427                 :           0 :                               if (res) return res;
   13428                 :             :                             }
   13429                 :             :                           }
   13430                 :             :                         break;
   13431                 :             :                       }
   13432                 :             :                     default:;
   13433                 :             :                     }
   13434                 :             :                 }
   13435                 :          16 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   13436                 :             :                 {
   13437                 :           0 :                   switch (TREE_CODE (_p2))
   13438                 :             :                     {
   13439                 :           0 :                     case MIN_EXPR:
   13440                 :           0 :                       {
   13441                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   13442                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   13443                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   13444                 :             :                           {
   13445                 :           0 :                             {
   13446                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q80 };
   13447                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MIN_EXPR);
   13448                 :           0 :                               if (res) return res;
   13449                 :             :                             }
   13450                 :             :                           }
   13451                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   13452                 :             :                           {
   13453                 :           0 :                             {
   13454                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q81 };
   13455                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MIN_EXPR);
   13456                 :           0 :                               if (res) return res;
   13457                 :             :                             }
   13458                 :             :                           }
   13459                 :             :                         break;
   13460                 :             :                       }
   13461                 :             :                     default:;
   13462                 :             :                     }
   13463                 :             :                 }
   13464                 :          16 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13465                 :             :                 {
   13466                 :           0 :                   switch (TREE_CODE (_p2))
   13467                 :             :                     {
   13468                 :           0 :                     case MIN_EXPR:
   13469                 :           0 :                       {
   13470                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   13471                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   13472                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   13473                 :             :                           {
   13474                 :           0 :                             {
   13475                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q80 };
   13476                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MIN_EXPR);
   13477                 :           0 :                               if (res) return res;
   13478                 :             :                             }
   13479                 :             :                           }
   13480                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   13481                 :             :                           {
   13482                 :           0 :                             {
   13483                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q81 };
   13484                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MIN_EXPR);
   13485                 :           0 :                               if (res) return res;
   13486                 :             :                             }
   13487                 :             :                           }
   13488                 :             :                         break;
   13489                 :             :                       }
   13490                 :             :                     default:;
   13491                 :             :                     }
   13492                 :             :                 }
   13493                 :          16 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   13494                 :             :                 {
   13495                 :           0 :                   {
   13496                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   13497                 :           0 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MIN_EXPR);
   13498                 :           0 :                     if (res) return res;
   13499                 :             :                   }
   13500                 :             :                 }
   13501                 :             :               break;
   13502                 :             :             }
   13503                 :           9 :           case MAX_EXPR:
   13504                 :           9 :             {
   13505                 :           9 :               tree _q50 = TREE_OPERAND (_p1, 0);
   13506                 :           9 :               tree _q51 = TREE_OPERAND (_p1, 1);
   13507                 :           9 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13508                 :             :                 {
   13509                 :           1 :                   switch (TREE_CODE (_p2))
   13510                 :             :                     {
   13511                 :           0 :                     case MAX_EXPR:
   13512                 :           0 :                       {
   13513                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   13514                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   13515                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   13516                 :             :                           {
   13517                 :           0 :                             {
   13518                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q80 };
   13519                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MAX_EXPR);
   13520                 :           0 :                               if (res) return res;
   13521                 :             :                             }
   13522                 :             :                           }
   13523                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   13524                 :             :                           {
   13525                 :           0 :                             {
   13526                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q81 };
   13527                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MAX_EXPR);
   13528                 :           0 :                               if (res) return res;
   13529                 :             :                             }
   13530                 :             :                           }
   13531                 :             :                         break;
   13532                 :             :                       }
   13533                 :             :                     default:;
   13534                 :             :                     }
   13535                 :             :                 }
   13536                 :           9 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   13537                 :             :                 {
   13538                 :           1 :                   switch (TREE_CODE (_p2))
   13539                 :             :                     {
   13540                 :           0 :                     case MAX_EXPR:
   13541                 :           0 :                       {
   13542                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   13543                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   13544                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   13545                 :             :                           {
   13546                 :           0 :                             {
   13547                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q80 };
   13548                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MAX_EXPR);
   13549                 :           0 :                               if (res) return res;
   13550                 :             :                             }
   13551                 :             :                           }
   13552                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   13553                 :             :                           {
   13554                 :           0 :                             {
   13555                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q81 };
   13556                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, GE_EXPR, MAX_EXPR);
   13557                 :           0 :                               if (res) return res;
   13558                 :             :                             }
   13559                 :             :                           }
   13560                 :             :                         break;
   13561                 :             :                       }
   13562                 :             :                     default:;
   13563                 :             :                     }
   13564                 :             :                 }
   13565                 :           9 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   13566                 :             :                 {
   13567                 :           1 :                   switch (TREE_CODE (_p2))
   13568                 :             :                     {
   13569                 :           0 :                     case MAX_EXPR:
   13570                 :           0 :                       {
   13571                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   13572                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   13573                 :           0 :                         if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
   13574                 :             :                           {
   13575                 :           0 :                             {
   13576                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q80 };
   13577                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   13578                 :           0 :                               if (res) return res;
   13579                 :             :                             }
   13580                 :             :                           }
   13581                 :           0 :                         if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
   13582                 :             :                           {
   13583                 :           0 :                             {
   13584                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q81 };
   13585                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   13586                 :           0 :                               if (res) return res;
   13587                 :             :                             }
   13588                 :             :                           }
   13589                 :             :                         break;
   13590                 :             :                       }
   13591                 :           1 :                     default:;
   13592                 :             :                     }
   13593                 :           1 :                   {
   13594                 :           1 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q51, _p2 };
   13595                 :           1 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   13596                 :           1 :                     if (res) return res;
   13597                 :             :                   }
   13598                 :             :                 }
   13599                 :           8 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13600                 :             :                 {
   13601                 :           8 :                   switch (TREE_CODE (_p2))
   13602                 :             :                     {
   13603                 :           0 :                     case MAX_EXPR:
   13604                 :           0 :                       {
   13605                 :           0 :                         tree _q80 = TREE_OPERAND (_p2, 0);
   13606                 :           0 :                         tree _q81 = TREE_OPERAND (_p2, 1);
   13607                 :           0 :                         if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   13608                 :             :                           {
   13609                 :           0 :                             {
   13610                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q80 };
   13611                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   13612                 :           0 :                               if (res) return res;
   13613                 :             :                             }
   13614                 :             :                           }
   13615                 :           0 :                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   13616                 :             :                           {
   13617                 :           0 :                             {
   13618                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q81 };
   13619                 :           0 :                               tree res = generic_simplify_462 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   13620                 :           0 :                               if (res) return res;
   13621                 :             :                             }
   13622                 :             :                           }
   13623                 :             :                         break;
   13624                 :             :                       }
   13625                 :           8 :                     default:;
   13626                 :             :                     }
   13627                 :           8 :                   {
   13628                 :           8 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q50, _p2 };
   13629                 :           8 :                     tree res = generic_simplify_463 (loc, type, _p0, _p1, _p2, captures, LE_EXPR, MAX_EXPR);
   13630                 :           8 :                     if (res) return res;
   13631                 :             :                   }
   13632                 :             :                 }
   13633                 :             :               break;
   13634                 :             :             }
   13635                 :             :           default:;
   13636                 :             :           }
   13637                 :             :         break;
   13638                 :             :       }
   13639                 :     8847147 :     default:;
   13640                 :             :     }
   13641                 :     8847147 :   switch (TREE_CODE (_p1))
   13642                 :             :     {
   13643                 :      568676 :     case COND_EXPR:
   13644                 :      568676 :       {
   13645                 :      568676 :         tree _q30 = TREE_OPERAND (_p1, 0);
   13646                 :      568676 :         tree _q31 = TREE_OPERAND (_p1, 1);
   13647                 :      568676 :         tree _q32 = TREE_OPERAND (_p1, 2);
   13648                 :      568676 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13649                 :             :           {
   13650                 :         554 :             {
   13651                 :         554 :               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _p2 };
   13652                 :         554 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1634;
   13653                 :         554 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1634;
   13654                 :          58 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1634;
   13655                 :          57 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1634;
   13656                 :          13 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1634;
   13657                 :          13 :               {
   13658                 :          13 :                 tree res_op0;
   13659                 :          13 :                 res_op0 = captures[0];
   13660                 :          13 :                 tree res_op1;
   13661                 :          13 :                 res_op1 = captures[1];
   13662                 :          13 :                 tree res_op2;
   13663                 :          13 :                 res_op2 = captures[3];
   13664                 :          13 :                 tree _r;
   13665                 :          13 :                 _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
   13666                 :          13 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 942, __FILE__, __LINE__, true);
   13667                 :          13 :                 return _r;
   13668                 :             :               }
   13669                 :         541 : next_after_fail1634:;
   13670                 :             :             }
   13671                 :             :           }
   13672                 :             :         break;
   13673                 :             :       }
   13674                 :     8847134 :     default:;
   13675                 :             :     }
   13676                 :     8847134 :   switch (TREE_CODE (_p2))
   13677                 :             :     {
   13678                 :      566360 :     case COND_EXPR:
   13679                 :      566360 :       {
   13680                 :      566360 :         tree _q40 = TREE_OPERAND (_p2, 0);
   13681                 :      566360 :         tree _q41 = TREE_OPERAND (_p2, 1);
   13682                 :      566360 :         tree _q42 = TREE_OPERAND (_p2, 2);
   13683                 :      566360 :         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   13684                 :             :           {
   13685                 :        3762 :             {
   13686                 :        3762 :               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q41, _q42 };
   13687                 :        3762 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1635;
   13688                 :        3762 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1635;
   13689                 :        3762 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1635;
   13690                 :         184 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1635;
   13691                 :         184 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1635;
   13692                 :         184 :               {
   13693                 :         184 :                 tree res_op0;
   13694                 :         184 :                 res_op0 = captures[0];
   13695                 :         184 :                 tree res_op1;
   13696                 :         184 :                 res_op1 = captures[1];
   13697                 :         184 :                 tree res_op2;
   13698                 :         184 :                 res_op2 = captures[3];
   13699                 :         184 :                 tree _r;
   13700                 :         184 :                 _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
   13701                 :         184 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
   13702                 :         184 :                 return _r;
   13703                 :             :               }
   13704                 :        3578 : next_after_fail1635:;
   13705                 :             :             }
   13706                 :             :           }
   13707                 :      566176 :         {
   13708                 :      566176 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42 };
   13709                 :      566176 :           if (inverse_conditions_p (captures[0], captures[2])
   13710                 :             : )
   13711                 :             :             {
   13712                 :         432 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1636;
   13713                 :         432 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1636;
   13714                 :         432 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1636;
   13715                 :         432 :               if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1636;
   13716                 :         432 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1636;
   13717                 :         432 :               {
   13718                 :         432 :                 tree res_op0;
   13719                 :         432 :                 res_op0 = captures[0];
   13720                 :         432 :                 tree res_op1;
   13721                 :         432 :                 res_op1 = captures[1];
   13722                 :         432 :                 tree res_op2;
   13723                 :         432 :                 res_op2 = captures[3];
   13724                 :         432 :                 tree _r;
   13725                 :         432 :                 _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
   13726                 :         432 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
   13727                 :         432 :                 return _r;
   13728                 :             :               }
   13729                 :      565744 : next_after_fail1636:;
   13730                 :             :             }
   13731                 :             :         }
   13732                 :      565744 :         break;
   13733                 :             :       }
   13734                 :     8846518 :     default:;
   13735                 :             :     }
   13736                 :     8846518 :   switch (TREE_CODE (_p1))
   13737                 :             :     {
   13738                 :      568663 :     case COND_EXPR:
   13739                 :      568663 :       {
   13740                 :      568663 :         tree _q30 = TREE_OPERAND (_p1, 0);
   13741                 :      568663 :         tree _q31 = TREE_OPERAND (_p1, 1);
   13742                 :      568663 :         tree _q32 = TREE_OPERAND (_p1, 2);
   13743                 :      568663 :         {
   13744                 :      568663 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q32, _p2 };
   13745                 :      568663 :           if (inverse_conditions_p (captures[0], captures[1])
   13746                 :             : )
   13747                 :             :             {
   13748                 :         150 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1637;
   13749                 :         150 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1637;
   13750                 :           2 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1637;
   13751                 :           2 :               if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1637;
   13752                 :           2 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1637;
   13753                 :           2 :               {
   13754                 :           2 :                 tree res_op0;
   13755                 :           2 :                 res_op0 = captures[0];
   13756                 :           2 :                 tree res_op1;
   13757                 :           2 :                 res_op1 = captures[3];
   13758                 :           2 :                 tree res_op2;
   13759                 :           2 :                 res_op2 = captures[4];
   13760                 :           2 :                 tree _r;
   13761                 :           2 :                 _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
   13762                 :           2 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 945, __FILE__, __LINE__, true);
   13763                 :           2 :                 return _r;
   13764                 :             :               }
   13765                 :      568661 : next_after_fail1637:;
   13766                 :             :             }
   13767                 :             :         }
   13768                 :      568661 :         break;
   13769                 :             :       }
   13770                 :     8846516 :     default:;
   13771                 :             :     }
   13772                 :     8846516 :   if ((_p2 == _p1 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _p1, 0) && types_match (_p2, _p1)))
   13773                 :             :     {
   13774                 :       46429 :       {
   13775                 :       46429 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   13776                 :       46429 :         if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1638;
   13777                 :       46429 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1638;
   13778                 :       46429 :         {
   13779                 :       46429 :           tree _r;
   13780                 :       46429 :           _r = captures[1];
   13781                 :       46429 :           if (TREE_SIDE_EFFECTS (captures[0]))
   13782                 :         360 :             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   13783                 :       46429 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 946, __FILE__, __LINE__, true);
   13784                 :       46429 :           return _r;
   13785                 :             :         }
   13786                 :           0 : next_after_fail1638:;
   13787                 :             :       }
   13788                 :             :     }
   13789                 :     8800087 :   switch (TREE_CODE (_p0))
   13790                 :             :     {
   13791                 :     1382103 :     case EQ_EXPR:
   13792                 :     1382103 :       {
   13793                 :     1382103 :         tree _q20 = TREE_OPERAND (_p0, 0);
   13794                 :     1382103 :         tree _q21 = TREE_OPERAND (_p0, 1);
   13795                 :     1382103 :         if (zerop (_q21))
   13796                 :             :           {
   13797                 :      690093 :             switch (TREE_CODE (_p2))
   13798                 :             :               {
   13799                 :          36 :               case NEGATE_EXPR:
   13800                 :          36 :                 {
   13801                 :          36 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   13802                 :          36 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   13803                 :             :                     {
   13804                 :          16 :                       {
   13805                 :          16 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   13806                 :          16 :                         const enum tree_code cmp = EQ_EXPR;
   13807                 :          16 :                         if (!HONOR_SIGNED_ZEROS (type)
   13808                 :          16 :  && bitwise_equal_p (captures[0], captures[1])
   13809                 :             : )
   13810                 :             :                           {
   13811                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1639;
   13812                 :           0 :                             if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1639;
   13813                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1639;
   13814                 :           0 :                             {
   13815                 :           0 :                               tree _r;
   13816                 :           0 :                               _r = captures[2];
   13817                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 947, __FILE__, __LINE__, true);
   13818                 :           0 :                               return _r;
   13819                 :             :                             }
   13820                 :          16 : next_after_fail1639:;
   13821                 :             :                           }
   13822                 :             :                       }
   13823                 :             :                     }
   13824                 :             :                   break;
   13825                 :             :                 }
   13826                 :      690093 :               default:;
   13827                 :             :               }
   13828                 :      690093 :             if (zerop (_p1))
   13829                 :             :               {
   13830                 :       31238 :                 switch (TREE_CODE (_p2))
   13831                 :             :                   {
   13832                 :          14 :                   case NEGATE_EXPR:
   13833                 :          14 :                     {
   13834                 :          14 :                       tree _q60 = TREE_OPERAND (_p2, 0);
   13835                 :          14 :                       {
   13836                 :          14 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p2, _q60 };
   13837                 :          14 :                         const enum tree_code cmp = EQ_EXPR;
   13838                 :          14 :                         if (!HONOR_SIGNED_ZEROS (type)
   13839                 :          14 :  && bitwise_equal_p (captures[0], captures[2])
   13840                 :             : )
   13841                 :             :                           {
   13842                 :           7 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1640;
   13843                 :           7 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1640;
   13844                 :           7 :                             if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1640;
   13845                 :           7 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1640;
   13846                 :           7 :                             {
   13847                 :           7 :                               tree _r;
   13848                 :           7 :                               _r = captures[1];
   13849                 :           7 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
   13850                 :           7 :                               return _r;
   13851                 :             :                             }
   13852                 :           7 : next_after_fail1640:;
   13853                 :             :                           }
   13854                 :             :                       }
   13855                 :           7 :                       break;
   13856                 :             :                     }
   13857                 :             :                   default:;
   13858                 :             :                   }
   13859                 :             :               }
   13860                 :             :           }
   13861                 :     1382096 :         switch (TREE_CODE (_q20))
   13862                 :             :           {
   13863                 :         112 :           case MINUS_EXPR:
   13864                 :         112 :             {
   13865                 :         112 :               tree _q30 = TREE_OPERAND (_q20, 0);
   13866                 :         112 :               tree _q31 = TREE_OPERAND (_q20, 1);
   13867                 :         112 :               if (zerop (_q21))
   13868                 :             :                 {
   13869                 :           0 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   13870                 :             :                     {
   13871                 :           0 :                       switch (TREE_CODE (_p2))
   13872                 :             :                         {
   13873                 :           0 :                         case MINUS_EXPR:
   13874                 :           0 :                           {
   13875                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   13876                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   13877                 :           0 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   13878                 :             :                               {
   13879                 :           0 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   13880                 :             :                                   {
   13881                 :           0 :                                     {
   13882                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
   13883                 :           0 :                                       const enum tree_code cmp = EQ_EXPR;
   13884                 :           0 :                                       if (!HONOR_SIGNED_ZEROS (type)
   13885                 :             : )
   13886                 :             :                                         {
   13887                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1641;
   13888                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1641;
   13889                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1641;
   13890                 :           0 :                                           {
   13891                 :           0 :                                             tree _r;
   13892                 :           0 :                                             _r = captures[3];
   13893                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 949, __FILE__, __LINE__, true);
   13894                 :           0 :                                             return _r;
   13895                 :             :                                           }
   13896                 :           0 : next_after_fail1641:;
   13897                 :             :                                         }
   13898                 :             :                                     }
   13899                 :             :                                   }
   13900                 :             :                               }
   13901                 :             :                             break;
   13902                 :             :                           }
   13903                 :             :                         default:;
   13904                 :             :                         }
   13905                 :             :                     }
   13906                 :             :                 }
   13907                 :         112 :               if (integer_zerop (_q21))
   13908                 :             :                 {
   13909                 :           0 :                   if (integer_zerop (_p1))
   13910                 :             :                     {
   13911                 :           0 :                       switch (TREE_CODE (_p2))
   13912                 :             :                         {
   13913                 :           0 :                         case MINUS_EXPR:
   13914                 :           0 :                           {
   13915                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   13916                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   13917                 :           0 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   13918                 :             :                               {
   13919                 :           0 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   13920                 :             :                                   {
   13921                 :           0 :                                     {
   13922                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
   13923                 :           0 :                                       tree res = generic_simplify_474 (loc, type, _p0, _p1, _p2, captures, EQ_EXPR);
   13924                 :           0 :                                       if (res) return res;
   13925                 :             :                                     }
   13926                 :             :                                   }
   13927                 :             :                               }
   13928                 :             :                             break;
   13929                 :             :                           }
   13930                 :             :                         default:;
   13931                 :             :                         }
   13932                 :             :                     }
   13933                 :             :                 }
   13934                 :             :               break;
   13935                 :             :             }
   13936                 :       60267 :           case CALL_EXPR:
   13937                 :       60267 :             switch (get_call_combined_fn (_q20))
   13938                 :             :               {
   13939                 :           0 :               case CFN_BUILT_IN_SIGNBITF:
   13940                 :           0 :                 if (call_expr_nargs (_q20) == 1)
   13941                 :             :     {
   13942                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
   13943                 :           0 :                     if (integer_zerop (_q21))
   13944                 :             :                       {
   13945                 :           0 :                         switch (TREE_CODE (_p1))
   13946                 :             :                           {
   13947                 :           0 :                           case NEGATE_EXPR:
   13948                 :           0 :                             {
   13949                 :           0 :                               tree _q60 = TREE_OPERAND (_p1, 0);
   13950                 :           0 :                               if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   13951                 :             :                                 {
   13952                 :           0 :                                   if ((_p2 == _q30 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q30, 0) && types_match (_p2, _q30)))
   13953                 :             :                                     {
   13954                 :           0 :                                       {
   13955                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
   13956                 :           0 :                                         tree res = generic_simplify_475 (loc, type, _p0, _p1, _p2, captures, EQ_EXPR, CFN_BUILT_IN_SIGNBITF);
   13957                 :           0 :                                         if (res) return res;
   13958                 :             :                                       }
   13959                 :             :                                     }
   13960                 :             :                                 }
   13961                 :             :                               break;
   13962                 :             :                             }
   13963                 :             :                           default:;
   13964                 :             :                           }
   13965                 :             :                       }
   13966                 :             :                   }
   13967                 :             :                 break;
   13968                 :           0 :               case CFN_BUILT_IN_SIGNBITL:
   13969                 :           0 :                 if (call_expr_nargs (_q20) == 1)
   13970                 :             :     {
   13971                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
   13972                 :           0 :                     if (integer_zerop (_q21))
   13973                 :             :                       {
   13974                 :           0 :                         switch (TREE_CODE (_p1))
   13975                 :             :                           {
   13976                 :           0 :                           case NEGATE_EXPR:
   13977                 :           0 :                             {
   13978                 :           0 :                               tree _q60 = TREE_OPERAND (_p1, 0);
   13979                 :           0 :                               if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   13980                 :             :                                 {
   13981                 :           0 :                                   if ((_p2 == _q30 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q30, 0) && types_match (_p2, _q30)))
   13982                 :             :                                     {
   13983                 :           0 :                                       {
   13984                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
   13985                 :           0 :                                         tree res = generic_simplify_475 (loc, type, _p0, _p1, _p2, captures, EQ_EXPR, CFN_BUILT_IN_SIGNBITL);
   13986                 :           0 :                                         if (res) return res;
   13987                 :             :                                       }
   13988                 :             :                                     }
   13989                 :             :                                 }
   13990                 :             :                               break;
   13991                 :             :                             }
   13992                 :             :                           default:;
   13993                 :             :                           }
   13994                 :             :                       }
   13995                 :             :                   }
   13996                 :             :                 break;
   13997                 :           0 :               case CFN_SIGNBIT:
   13998                 :           0 :                 if (call_expr_nargs (_q20) == 1)
   13999                 :             :     {
   14000                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
   14001                 :           0 :                     if (integer_zerop (_q21))
   14002                 :             :                       {
   14003                 :           0 :                         switch (TREE_CODE (_p1))
   14004                 :             :                           {
   14005                 :           0 :                           case NEGATE_EXPR:
   14006                 :           0 :                             {
   14007                 :           0 :                               tree _q60 = TREE_OPERAND (_p1, 0);
   14008                 :           0 :                               if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   14009                 :             :                                 {
   14010                 :           0 :                                   if ((_p2 == _q30 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q30, 0) && types_match (_p2, _q30)))
   14011                 :             :                                     {
   14012                 :           0 :                                       {
   14013                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
   14014                 :           0 :                                         tree res = generic_simplify_475 (loc, type, _p0, _p1, _p2, captures, EQ_EXPR, CFN_SIGNBIT);
   14015                 :           0 :                                         if (res) return res;
   14016                 :             :                                       }
   14017                 :             :                                     }
   14018                 :             :                                 }
   14019                 :             :                               break;
   14020                 :             :                             }
   14021                 :             :                           default:;
   14022                 :             :                           }
   14023                 :             :                       }
   14024                 :             :                   }
   14025                 :             :                 break;
   14026                 :         411 :               case CFN_BUILT_IN_SIGNBIT:
   14027                 :         411 :                 if (call_expr_nargs (_q20) == 1)
   14028                 :             :     {
   14029                 :         411 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
   14030                 :         411 :                     if (integer_zerop (_q21))
   14031                 :             :                       {
   14032                 :         411 :                         switch (TREE_CODE (_p1))
   14033                 :             :                           {
   14034                 :           3 :                           case NEGATE_EXPR:
   14035                 :           3 :                             {
   14036                 :           3 :                               tree _q60 = TREE_OPERAND (_p1, 0);
   14037                 :           3 :                               if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   14038                 :             :                                 {
   14039                 :           3 :                                   if ((_p2 == _q30 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q30, 0) && types_match (_p2, _q30)))
   14040                 :             :                                     {
   14041                 :           3 :                                       {
   14042                 :           3 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
   14043                 :           3 :                                         tree res = generic_simplify_475 (loc, type, _p0, _p1, _p2, captures, EQ_EXPR, CFN_BUILT_IN_SIGNBIT);
   14044                 :           3 :                                         if (res) return res;
   14045                 :             :                                       }
   14046                 :             :                                     }
   14047                 :             :                                 }
   14048                 :             :                               break;
   14049                 :             :                             }
   14050                 :             :                           default:;
   14051                 :             :                           }
   14052                 :             :                       }
   14053                 :             :                   }
   14054                 :             :                 break;
   14055                 :             :               default:;
   14056                 :             :               }
   14057                 :             :             break;
   14058                 :             :           default:;
   14059                 :             :           }
   14060                 :             :         break;
   14061                 :             :       }
   14062                 :         177 :     case UNEQ_EXPR:
   14063                 :         177 :       {
   14064                 :         177 :         tree _q20 = TREE_OPERAND (_p0, 0);
   14065                 :         177 :         tree _q21 = TREE_OPERAND (_p0, 1);
   14066                 :         177 :         if (zerop (_q21))
   14067                 :             :           {
   14068                 :           1 :             switch (TREE_CODE (_p2))
   14069                 :             :               {
   14070                 :           0 :               case NEGATE_EXPR:
   14071                 :           0 :                 {
   14072                 :           0 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   14073                 :           0 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   14074                 :             :                     {
   14075                 :           0 :                       {
   14076                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   14077                 :           0 :                         const enum tree_code cmp = UNEQ_EXPR;
   14078                 :           0 :                         if (!HONOR_SIGNED_ZEROS (type)
   14079                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
   14080                 :             : )
   14081                 :             :                           {
   14082                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1642;
   14083                 :           0 :                             if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1642;
   14084                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1642;
   14085                 :           0 :                             {
   14086                 :           0 :                               tree _r;
   14087                 :           0 :                               _r = captures[2];
   14088                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 947, __FILE__, __LINE__, true);
   14089                 :           0 :                               return _r;
   14090                 :             :                             }
   14091                 :           0 : next_after_fail1642:;
   14092                 :             :                           }
   14093                 :             :                       }
   14094                 :             :                     }
   14095                 :             :                   break;
   14096                 :             :                 }
   14097                 :           1 :               default:;
   14098                 :             :               }
   14099                 :           1 :             if (zerop (_p1))
   14100                 :             :               {
   14101                 :           0 :                 switch (TREE_CODE (_p2))
   14102                 :             :                   {
   14103                 :           0 :                   case NEGATE_EXPR:
   14104                 :           0 :                     {
   14105                 :           0 :                       tree _q60 = TREE_OPERAND (_p2, 0);
   14106                 :           0 :                       {
   14107                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p2, _q60 };
   14108                 :           0 :                         const enum tree_code cmp = UNEQ_EXPR;
   14109                 :           0 :                         if (!HONOR_SIGNED_ZEROS (type)
   14110                 :           0 :  && bitwise_equal_p (captures[0], captures[2])
   14111                 :             : )
   14112                 :             :                           {
   14113                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1643;
   14114                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1643;
   14115                 :           0 :                             if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1643;
   14116                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1643;
   14117                 :           0 :                             {
   14118                 :           0 :                               tree _r;
   14119                 :           0 :                               _r = captures[1];
   14120                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
   14121                 :           0 :                               return _r;
   14122                 :             :                             }
   14123                 :           0 : next_after_fail1643:;
   14124                 :             :                           }
   14125                 :             :                       }
   14126                 :           0 :                       break;
   14127                 :             :                     }
   14128                 :             :                   default:;
   14129                 :             :                   }
   14130                 :             :               }
   14131                 :             :           }
   14132                 :         177 :         switch (TREE_CODE (_q20))
   14133                 :             :           {
   14134                 :           0 :           case MINUS_EXPR:
   14135                 :           0 :             {
   14136                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
   14137                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
   14138                 :           0 :               if (zerop (_q21))
   14139                 :             :                 {
   14140                 :           0 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   14141                 :             :                     {
   14142                 :           0 :                       switch (TREE_CODE (_p2))
   14143                 :             :                         {
   14144                 :           0 :                         case MINUS_EXPR:
   14145                 :           0 :                           {
   14146                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   14147                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   14148                 :           0 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   14149                 :             :                               {
   14150                 :           0 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   14151                 :             :                                   {
   14152                 :           0 :                                     {
   14153                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
   14154                 :           0 :                                       const enum tree_code cmp = UNEQ_EXPR;
   14155                 :           0 :                                       if (!HONOR_SIGNED_ZEROS (type)
   14156                 :             : )
   14157                 :             :                                         {
   14158                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1644;
   14159                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1644;
   14160                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1644;
   14161                 :           0 :                                           {
   14162                 :           0 :                                             tree _r;
   14163                 :           0 :                                             _r = captures[3];
   14164                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 949, __FILE__, __LINE__, true);
   14165                 :           0 :                                             return _r;
   14166                 :             :                                           }
   14167                 :           0 : next_after_fail1644:;
   14168                 :             :                                         }
   14169                 :             :                                     }
   14170                 :             :                                   }
   14171                 :             :                               }
   14172                 :             :                             break;
   14173                 :             :                           }
   14174                 :             :                         default:;
   14175                 :             :                         }
   14176                 :             :                     }
   14177                 :             :                 }
   14178                 :           0 :               if (integer_zerop (_q21))
   14179                 :             :                 {
   14180                 :           0 :                   if (integer_zerop (_p1))
   14181                 :             :                     {
   14182                 :           0 :                       switch (TREE_CODE (_p2))
   14183                 :             :                         {
   14184                 :           0 :                         case MINUS_EXPR:
   14185                 :           0 :                           {
   14186                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   14187                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   14188                 :           0 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   14189                 :             :                               {
   14190                 :           0 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   14191                 :             :                                   {
   14192                 :           0 :                                     {
   14193                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
   14194                 :           0 :                                       tree res = generic_simplify_474 (loc, type, _p0, _p1, _p2, captures, UNEQ_EXPR);
   14195                 :           0 :                                       if (res) return res;
   14196                 :             :                                     }
   14197                 :             :                                   }
   14198                 :             :                               }
   14199                 :             :                             break;
   14200                 :             :                           }
   14201                 :             :                         default:;
   14202                 :             :                         }
   14203                 :             :                     }
   14204                 :             :                 }
   14205                 :             :               break;
   14206                 :             :             }
   14207                 :             :           default:;
   14208                 :             :           }
   14209                 :             :         break;
   14210                 :             :       }
   14211                 :     1753295 :     case NE_EXPR:
   14212                 :     1753295 :       {
   14213                 :     1753295 :         tree _q20 = TREE_OPERAND (_p0, 0);
   14214                 :     1753295 :         tree _q21 = TREE_OPERAND (_p0, 1);
   14215                 :     1753295 :         if (zerop (_q21))
   14216                 :             :           {
   14217                 :     1231376 :             switch (TREE_CODE (_p2))
   14218                 :             :               {
   14219                 :          21 :               case NEGATE_EXPR:
   14220                 :          21 :                 {
   14221                 :          21 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   14222                 :          21 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   14223                 :             :                     {
   14224                 :          10 :                       {
   14225                 :          10 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14226                 :          10 :                         const enum tree_code cmp = NE_EXPR;
   14227                 :          10 :                         if (!HONOR_SIGNED_ZEROS (type)
   14228                 :          10 :  && bitwise_equal_p (captures[0], captures[1])
   14229                 :             : )
   14230                 :             :                           {
   14231                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1645;
   14232                 :           0 :                             if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1645;
   14233                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1645;
   14234                 :           0 :                             {
   14235                 :           0 :                               tree _r;
   14236                 :           0 :                               _r = captures[1];
   14237                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 950, __FILE__, __LINE__, true);
   14238                 :           0 :                               return _r;
   14239                 :             :                             }
   14240                 :          10 : next_after_fail1645:;
   14241                 :             :                           }
   14242                 :             :                       }
   14243                 :             :                     }
   14244                 :             :                   break;
   14245                 :             :                 }
   14246                 :     1231376 :               default:;
   14247                 :             :               }
   14248                 :     1231376 :           if (integer_zerop (_p2))
   14249                 :             :             {
   14250                 :      238479 :               {
   14251                 :      238479 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14252                 :      238479 :                 const enum tree_code cmp = NE_EXPR;
   14253                 :      238479 :                 if (!HONOR_SIGNED_ZEROS (type)
   14254                 :      238479 :  && bitwise_equal_p (captures[0], captures[1])
   14255                 :             : )
   14256                 :             :                   {
   14257                 :         513 :                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1646;
   14258                 :         473 :                     if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1646;
   14259                 :         473 :                     if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1646;
   14260                 :         473 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1646;
   14261                 :         473 :                     {
   14262                 :         473 :                       tree _r;
   14263                 :         473 :                       _r = captures[1];
   14264                 :         473 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 951, __FILE__, __LINE__, true);
   14265                 :         473 :                       return _r;
   14266                 :             :                     }
   14267                 :      238006 : next_after_fail1646:;
   14268                 :             :                   }
   14269                 :             :               }
   14270                 :             :             }
   14271                 :             :           }
   14272                 :     1752822 :         switch (TREE_CODE (_q20))
   14273                 :             :           {
   14274                 :         610 :           case MINUS_EXPR:
   14275                 :         610 :             {
   14276                 :         610 :               tree _q30 = TREE_OPERAND (_q20, 0);
   14277                 :         610 :               tree _q31 = TREE_OPERAND (_q20, 1);
   14278                 :         610 :               if (zerop (_q21))
   14279                 :             :                 {
   14280                 :          51 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   14281                 :             :                     {
   14282                 :           0 :                       switch (TREE_CODE (_p2))
   14283                 :             :                         {
   14284                 :           0 :                         case MINUS_EXPR:
   14285                 :           0 :                           {
   14286                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   14287                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   14288                 :           0 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   14289                 :             :                               {
   14290                 :           0 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   14291                 :             :                                   {
   14292                 :           0 :                                     {
   14293                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   14294                 :           0 :                                       const enum tree_code cmp = NE_EXPR;
   14295                 :           0 :                                       if (!HONOR_SIGNED_ZEROS (type)
   14296                 :             : )
   14297                 :             :                                         {
   14298                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1647;
   14299                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1647;
   14300                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1647;
   14301                 :           0 :                                           {
   14302                 :           0 :                                             tree _r;
   14303                 :           0 :                                             _r = captures[0];
   14304                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
   14305                 :           0 :                                             return _r;
   14306                 :             :                                           }
   14307                 :           0 : next_after_fail1647:;
   14308                 :             :                                         }
   14309                 :             :                                     }
   14310                 :             :                                   }
   14311                 :             :                               }
   14312                 :             :                             break;
   14313                 :             :                           }
   14314                 :             :                         default:;
   14315                 :             :                         }
   14316                 :             :                     }
   14317                 :             :                 }
   14318                 :         610 :               if (integer_zerop (_q21))
   14319                 :             :                 {
   14320                 :           0 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   14321                 :             :                     {
   14322                 :           0 :                       if (integer_zerop (_p2))
   14323                 :             :                         {
   14324                 :           0 :                           {
   14325                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   14326                 :           0 :                             tree res = generic_simplify_476 (loc, type, _p0, _p1, _p2, captures, NE_EXPR);
   14327                 :           0 :                             if (res) return res;
   14328                 :             :                           }
   14329                 :             :                         }
   14330                 :             :                     }
   14331                 :             :                 }
   14332                 :             :               break;
   14333                 :             :             }
   14334                 :      221084 :           case BIT_AND_EXPR:
   14335                 :      221084 :             {
   14336                 :      221084 :               tree _q30 = TREE_OPERAND (_q20, 0);
   14337                 :      221084 :               tree _q31 = TREE_OPERAND (_q20, 1);
   14338                 :      221084 :               if (integer_pow2p (_q31))
   14339                 :             :                 {
   14340                 :      171412 :                   if (integer_zerop (_q21))
   14341                 :             :                     {
   14342                 :      171412 :                       switch (TREE_CODE (_p1))
   14343                 :             :                         {
   14344                 :        2363 :                         case INTEGER_CST:
   14345                 :        2363 :                           {
   14346                 :        2363 :                             if (integer_zerop (_p2))
   14347                 :             :                               {
   14348                 :        1527 :                                 {
   14349                 :        1527 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
   14350                 :        1527 :                                   if (!POINTER_TYPE_P (type) && integer_pow2p (captures[2])
   14351                 :             : )
   14352                 :             :                                     {
   14353                 :         649 :                                       {
   14354                 :         649 :  int shift = (wi::exact_log2 (wi::to_wide (captures[2]))
   14355                 :         649 :  - wi::exact_log2 (wi::to_wide (captures[1])));
   14356                 :         649 :                                           if (shift > 0
   14357                 :             : )
   14358                 :             :                                             {
   14359                 :         367 :                                               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1648;
   14360                 :         367 :                                               if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1648;
   14361                 :         367 :                                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1648;
   14362                 :         367 :                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1648;
   14363                 :         367 :                                               {
   14364                 :         367 :                                                 tree res_op0;
   14365                 :         367 :                                                 {
   14366                 :         367 :                                                   tree _o1[2], _r1;
   14367                 :         367 :                                                   {
   14368                 :         367 :                                                     tree _o2[1], _r2;
   14369                 :         367 :                                                     _o2[0] = captures[0];
   14370                 :         367 :                                                     if (TREE_TYPE (_o2[0]) != type)
   14371                 :             :                                                       {
   14372                 :         364 :                                                         _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
   14373                 :             :                                                       }
   14374                 :             :                                                     else
   14375                 :             :                                                       _r2 = _o2[0];
   14376                 :         367 :                                                     _o1[0] = _r2;
   14377                 :             :                                                   }
   14378                 :         367 :                                                   _o1[1] =  build_int_cst (integer_type_node, shift);
   14379                 :         367 :                                                   _r1 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   14380                 :         367 :                                                   res_op0 = _r1;
   14381                 :             :                                                 }
   14382                 :         367 :                                                 tree res_op1;
   14383                 :         367 :                                                 res_op1 = captures[2];
   14384                 :         367 :                                                 tree _r;
   14385                 :         367 :                                                 _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
   14386                 :         367 :                                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 953, __FILE__, __LINE__, true);
   14387                 :         649 :                                                 return _r;
   14388                 :             :                                               }
   14389                 :             : next_after_fail1648:;
   14390                 :             :                                             }
   14391                 :             :                                           else
   14392                 :             :                                             {
   14393                 :         282 :                                               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1649;
   14394                 :         282 :                                               if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1649;
   14395                 :         282 :                                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1649;
   14396                 :         282 :                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1649;
   14397                 :         282 :                                               {
   14398                 :         282 :                                                 tree res_op0;
   14399                 :         282 :                                                 {
   14400                 :         282 :                                                   tree _o1[1], _r1;
   14401                 :         282 :                                                   {
   14402                 :         282 :                                                     tree _o2[2], _r2;
   14403                 :         282 :                                                     _o2[0] = captures[0];
   14404                 :         282 :                                                     _o2[1] =  build_int_cst (integer_type_node, -shift);
   14405                 :         282 :                                                     _r2 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   14406                 :         282 :                                                     _o1[0] = _r2;
   14407                 :             :                                                   }
   14408                 :         282 :                                                   if (TREE_TYPE (_o1[0]) != type)
   14409                 :             :                                                     {
   14410                 :         139 :                                                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
   14411                 :             :                                                     }
   14412                 :             :                                                   else
   14413                 :             :                                                     _r1 = _o1[0];
   14414                 :         282 :                                                   res_op0 = _r1;
   14415                 :             :                                                 }
   14416                 :         282 :                                                 tree res_op1;
   14417                 :         282 :                                                 res_op1 = captures[2];
   14418                 :         282 :                                                 tree _r;
   14419                 :         282 :                                                 _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
   14420                 :         282 :                                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 954, __FILE__, __LINE__, true);
   14421                 :         282 :                                                 return _r;
   14422                 :             :                                               }
   14423                 :             : next_after_fail1649:;
   14424                 :             :                                             }
   14425                 :             :                                       }
   14426                 :             :                                     }
   14427                 :             :                                 }
   14428                 :             :                               }
   14429                 :             :                             break;
   14430                 :             :                           }
   14431                 :             :                         default:;
   14432                 :             :                         }
   14433                 :             :                     }
   14434                 :             :                 }
   14435                 :             :               break;
   14436                 :             :             }
   14437                 :      318271 :           case CALL_EXPR:
   14438                 :      318271 :             switch (get_call_combined_fn (_q20))
   14439                 :             :               {
   14440                 :          30 :               case CFN_BUILT_IN_SIGNBITF:
   14441                 :          30 :                 if (call_expr_nargs (_q20) == 1)
   14442                 :             :     {
   14443                 :          30 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
   14444                 :          30 :                     if (integer_zerop (_q21))
   14445                 :             :                       {
   14446                 :          30 :                         switch (TREE_CODE (_p1))
   14447                 :             :                           {
   14448                 :           0 :                           case NEGATE_EXPR:
   14449                 :           0 :                             {
   14450                 :           0 :                               tree _q60 = TREE_OPERAND (_p1, 0);
   14451                 :           0 :                               if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   14452                 :             :                                 {
   14453                 :           0 :                                   if ((_p2 == _q30 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q30, 0) && types_match (_p2, _q30)))
   14454                 :             :                                     {
   14455                 :           0 :                                       {
   14456                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
   14457                 :           0 :                                         tree res = generic_simplify_475 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, CFN_BUILT_IN_SIGNBITF);
   14458                 :           0 :                                         if (res) return res;
   14459                 :             :                                       }
   14460                 :             :                                     }
   14461                 :             :                                 }
   14462                 :             :                               break;
   14463                 :             :                             }
   14464                 :             :                           default:;
   14465                 :             :                           }
   14466                 :             :                       }
   14467                 :             :                   }
   14468                 :             :                 break;
   14469                 :          30 :               case CFN_BUILT_IN_SIGNBITL:
   14470                 :          30 :                 if (call_expr_nargs (_q20) == 1)
   14471                 :             :     {
   14472                 :          30 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
   14473                 :          30 :                     if (integer_zerop (_q21))
   14474                 :             :                       {
   14475                 :          30 :                         switch (TREE_CODE (_p1))
   14476                 :             :                           {
   14477                 :           0 :                           case NEGATE_EXPR:
   14478                 :           0 :                             {
   14479                 :           0 :                               tree _q60 = TREE_OPERAND (_p1, 0);
   14480                 :           0 :                               if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   14481                 :             :                                 {
   14482                 :           0 :                                   if ((_p2 == _q30 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q30, 0) && types_match (_p2, _q30)))
   14483                 :             :                                     {
   14484                 :           0 :                                       {
   14485                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
   14486                 :           0 :                                         tree res = generic_simplify_475 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, CFN_BUILT_IN_SIGNBITL);
   14487                 :           0 :                                         if (res) return res;
   14488                 :             :                                       }
   14489                 :             :                                     }
   14490                 :             :                                 }
   14491                 :             :                               break;
   14492                 :             :                             }
   14493                 :             :                           default:;
   14494                 :             :                           }
   14495                 :             :                       }
   14496                 :             :                   }
   14497                 :             :                 break;
   14498                 :           0 :               case CFN_SIGNBIT:
   14499                 :           0 :                 if (call_expr_nargs (_q20) == 1)
   14500                 :             :     {
   14501                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
   14502                 :           0 :                     if (integer_zerop (_q21))
   14503                 :             :                       {
   14504                 :           0 :                         switch (TREE_CODE (_p1))
   14505                 :             :                           {
   14506                 :           0 :                           case NEGATE_EXPR:
   14507                 :           0 :                             {
   14508                 :           0 :                               tree _q60 = TREE_OPERAND (_p1, 0);
   14509                 :           0 :                               if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   14510                 :             :                                 {
   14511                 :           0 :                                   if ((_p2 == _q30 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q30, 0) && types_match (_p2, _q30)))
   14512                 :             :                                     {
   14513                 :           0 :                                       {
   14514                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
   14515                 :           0 :                                         tree res = generic_simplify_475 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, CFN_SIGNBIT);
   14516                 :           0 :                                         if (res) return res;
   14517                 :             :                                       }
   14518                 :             :                                     }
   14519                 :             :                                 }
   14520                 :             :                               break;
   14521                 :             :                             }
   14522                 :             :                           default:;
   14523                 :             :                           }
   14524                 :             :                       }
   14525                 :             :                   }
   14526                 :             :                 break;
   14527                 :        2883 :               case CFN_BUILT_IN_SIGNBIT:
   14528                 :        2883 :                 if (call_expr_nargs (_q20) == 1)
   14529                 :             :     {
   14530                 :        2883 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
   14531                 :        2883 :                     if (integer_zerop (_q21))
   14532                 :             :                       {
   14533                 :        2883 :                         switch (TREE_CODE (_p1))
   14534                 :             :                           {
   14535                 :           3 :                           case NEGATE_EXPR:
   14536                 :           3 :                             {
   14537                 :           3 :                               tree _q60 = TREE_OPERAND (_p1, 0);
   14538                 :           3 :                               if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   14539                 :             :                                 {
   14540                 :           3 :                                   if ((_p2 == _q30 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q30, 0) && types_match (_p2, _q30)))
   14541                 :             :                                     {
   14542                 :           3 :                                       {
   14543                 :           3 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
   14544                 :           3 :                                         tree res = generic_simplify_475 (loc, type, _p0, _p1, _p2, captures, NE_EXPR, CFN_BUILT_IN_SIGNBIT);
   14545                 :           3 :                                         if (res) return res;
   14546                 :             :                                       }
   14547                 :             :                                     }
   14548                 :             :                                 }
   14549                 :             :                               break;
   14550                 :             :                             }
   14551                 :             :                           default:;
   14552                 :             :                           }
   14553                 :             :                       }
   14554                 :             :                   }
   14555                 :             :                 break;
   14556                 :             :               default:;
   14557                 :             :               }
   14558                 :             :             break;
   14559                 :     1752170 :           default:;
   14560                 :             :           }
   14561                 :     1752170 :         if (integer_zerop (_q21))
   14562                 :             :           {
   14563                 :     1163139 :             switch (TREE_CODE (_p1))
   14564                 :             :               {
   14565                 :      286042 :               case CALL_EXPR:
   14566                 :      286042 :                 switch (get_call_combined_fn (_p1))
   14567                 :             :                   {
   14568                 :           0 :                   case CFN_PARITY:
   14569                 :           0 :                     if (call_expr_nargs (_p1) == 1)
   14570                 :             :     {
   14571                 :           0 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14572                 :           0 :                         switch (TREE_CODE (_q50))
   14573                 :             :                           {
   14574                 :           0 :                           CASE_CONVERT:
   14575                 :           0 :                             {
   14576                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14577                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14578                 :             :                                 {
   14579                 :           0 :                                   if (integer_zerop (_p2))
   14580                 :             :                                     {
   14581                 :           0 :                                       {
   14582                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14583                 :           0 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_PARITY);
   14584                 :           0 :                                         if (res) return res;
   14585                 :             :                                       }
   14586                 :             :                                     }
   14587                 :             :                                 }
   14588                 :             :                               break;
   14589                 :             :                             }
   14590                 :           0 :                           default:;
   14591                 :             :                           }
   14592                 :           0 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   14593                 :             :                           {
   14594                 :           0 :                             if (integer_zerop (_p2))
   14595                 :             :                               {
   14596                 :           0 :                                 {
   14597                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14598                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_PARITY);
   14599                 :           0 :                                   if (res) return res;
   14600                 :             :                                 }
   14601                 :             :                               }
   14602                 :             :                           }
   14603                 :             :                       }
   14604                 :             :                     break;
   14605                 :           7 :                   case CFN_BUILT_IN_FFS:
   14606                 :           7 :                     if (call_expr_nargs (_p1) == 1)
   14607                 :             :     {
   14608                 :           7 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14609                 :           7 :                         switch (TREE_CODE (_q50))
   14610                 :             :                           {
   14611                 :           0 :                           CASE_CONVERT:
   14612                 :           0 :                             {
   14613                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14614                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14615                 :             :                                 {
   14616                 :           0 :                                   if (integer_zerop (_p2))
   14617                 :             :                                     {
   14618                 :           0 :                                       {
   14619                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14620                 :           0 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_FFS);
   14621                 :           0 :                                         if (res) return res;
   14622                 :             :                                       }
   14623                 :             :                                     }
   14624                 :             :                                 }
   14625                 :             :                               break;
   14626                 :             :                             }
   14627                 :           7 :                           default:;
   14628                 :             :                           }
   14629                 :           7 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   14630                 :             :                           {
   14631                 :           0 :                             if (integer_zerop (_p2))
   14632                 :             :                               {
   14633                 :           0 :                                 {
   14634                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14635                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_FFS);
   14636                 :           0 :                                   if (res) return res;
   14637                 :             :                                 }
   14638                 :             :                               }
   14639                 :             :                           }
   14640                 :             :                       }
   14641                 :             :                     break;
   14642                 :           0 :                   case CFN_BUILT_IN_FFSIMAX:
   14643                 :           0 :                     if (call_expr_nargs (_p1) == 1)
   14644                 :             :     {
   14645                 :           0 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14646                 :           0 :                         switch (TREE_CODE (_q50))
   14647                 :             :                           {
   14648                 :           0 :                           CASE_CONVERT:
   14649                 :           0 :                             {
   14650                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14651                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14652                 :             :                                 {
   14653                 :           0 :                                   if (integer_zerop (_p2))
   14654                 :             :                                     {
   14655                 :           0 :                                       {
   14656                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14657                 :           0 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_FFSIMAX);
   14658                 :           0 :                                         if (res) return res;
   14659                 :             :                                       }
   14660                 :             :                                     }
   14661                 :             :                                 }
   14662                 :             :                               break;
   14663                 :             :                             }
   14664                 :           0 :                           default:;
   14665                 :             :                           }
   14666                 :           0 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   14667                 :             :                           {
   14668                 :           0 :                             if (integer_zerop (_p2))
   14669                 :             :                               {
   14670                 :           0 :                                 {
   14671                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14672                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_FFSIMAX);
   14673                 :           0 :                                   if (res) return res;
   14674                 :             :                                 }
   14675                 :             :                               }
   14676                 :             :                           }
   14677                 :             :                       }
   14678                 :             :                     break;
   14679                 :           2 :                   case CFN_BUILT_IN_POPCOUNT:
   14680                 :           2 :                     if (call_expr_nargs (_p1) == 1)
   14681                 :             :     {
   14682                 :           2 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14683                 :           2 :                         switch (TREE_CODE (_q50))
   14684                 :             :                           {
   14685                 :           1 :                           CASE_CONVERT:
   14686                 :           1 :                             {
   14687                 :           1 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14688                 :           1 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14689                 :             :                                 {
   14690                 :           1 :                                   if (integer_zerop (_p2))
   14691                 :             :                                     {
   14692                 :           1 :                                       {
   14693                 :           1 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14694                 :           1 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_POPCOUNT);
   14695                 :           1 :                                         if (res) return res;
   14696                 :             :                                       }
   14697                 :             :                                     }
   14698                 :             :                                 }
   14699                 :             :                               break;
   14700                 :             :                             }
   14701                 :           1 :                           default:;
   14702                 :             :                           }
   14703                 :           1 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   14704                 :             :                           {
   14705                 :           0 :                             if (integer_zerop (_p2))
   14706                 :             :                               {
   14707                 :           0 :                                 {
   14708                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14709                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_POPCOUNT);
   14710                 :           0 :                                   if (res) return res;
   14711                 :             :                                 }
   14712                 :             :                               }
   14713                 :             :                           }
   14714                 :             :                       }
   14715                 :             :                     break;
   14716                 :           2 :                   case CFN_BUILT_IN_PARITYL:
   14717                 :           2 :                     if (call_expr_nargs (_p1) == 1)
   14718                 :             :     {
   14719                 :           2 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14720                 :           2 :                         switch (TREE_CODE (_q50))
   14721                 :             :                           {
   14722                 :           1 :                           CASE_CONVERT:
   14723                 :           1 :                             {
   14724                 :           1 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14725                 :           1 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14726                 :             :                                 {
   14727                 :           1 :                                   if (integer_zerop (_p2))
   14728                 :             :                                     {
   14729                 :           1 :                                       {
   14730                 :           1 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14731                 :           1 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_PARITYL);
   14732                 :           1 :                                         if (res) return res;
   14733                 :             :                                       }
   14734                 :             :                                     }
   14735                 :             :                                 }
   14736                 :             :                               break;
   14737                 :             :                             }
   14738                 :           1 :                           default:;
   14739                 :             :                           }
   14740                 :           1 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   14741                 :             :                           {
   14742                 :           0 :                             if (integer_zerop (_p2))
   14743                 :             :                               {
   14744                 :           0 :                                 {
   14745                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14746                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_PARITYL);
   14747                 :           0 :                                   if (res) return res;
   14748                 :             :                                 }
   14749                 :             :                               }
   14750                 :             :                           }
   14751                 :             :                       }
   14752                 :             :                     break;
   14753                 :          21 :                   case CFN_BUILT_IN_FFSL:
   14754                 :          21 :                     if (call_expr_nargs (_p1) == 1)
   14755                 :             :     {
   14756                 :          21 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14757                 :          21 :                         switch (TREE_CODE (_q50))
   14758                 :             :                           {
   14759                 :          21 :                           CASE_CONVERT:
   14760                 :          21 :                             {
   14761                 :          21 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14762                 :          21 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14763                 :             :                                 {
   14764                 :           0 :                                   if (integer_zerop (_p2))
   14765                 :             :                                     {
   14766                 :           0 :                                       {
   14767                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14768                 :           0 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_FFSL);
   14769                 :           0 :                                         if (res) return res;
   14770                 :             :                                       }
   14771                 :             :                                     }
   14772                 :             :                                 }
   14773                 :             :                               break;
   14774                 :             :                             }
   14775                 :          21 :                           default:;
   14776                 :             :                           }
   14777                 :          21 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   14778                 :             :                           {
   14779                 :           0 :                             if (integer_zerop (_p2))
   14780                 :             :                               {
   14781                 :           0 :                                 {
   14782                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14783                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_FFSL);
   14784                 :           0 :                                   if (res) return res;
   14785                 :             :                                 }
   14786                 :             :                               }
   14787                 :             :                           }
   14788                 :             :                       }
   14789                 :             :                     break;
   14790                 :           2 :                   case CFN_BUILT_IN_POPCOUNTLL:
   14791                 :           2 :                     if (call_expr_nargs (_p1) == 1)
   14792                 :             :     {
   14793                 :           2 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14794                 :           2 :                         switch (TREE_CODE (_q50))
   14795                 :             :                           {
   14796                 :           1 :                           CASE_CONVERT:
   14797                 :           1 :                             {
   14798                 :           1 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14799                 :           1 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14800                 :             :                                 {
   14801                 :           1 :                                   if (integer_zerop (_p2))
   14802                 :             :                                     {
   14803                 :           1 :                                       {
   14804                 :           1 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14805                 :           1 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_POPCOUNTLL);
   14806                 :           1 :                                         if (res) return res;
   14807                 :             :                                       }
   14808                 :             :                                     }
   14809                 :             :                                 }
   14810                 :             :                               break;
   14811                 :             :                             }
   14812                 :           1 :                           default:;
   14813                 :             :                           }
   14814                 :           1 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   14815                 :             :                           {
   14816                 :           0 :                             if (integer_zerop (_p2))
   14817                 :             :                               {
   14818                 :           0 :                                 {
   14819                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14820                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_POPCOUNTLL);
   14821                 :           0 :                                   if (res) return res;
   14822                 :             :                                 }
   14823                 :             :                               }
   14824                 :             :                           }
   14825                 :             :                       }
   14826                 :             :                     break;
   14827                 :           0 :                   case CFN_POPCOUNT:
   14828                 :           0 :                     if (call_expr_nargs (_p1) == 1)
   14829                 :             :     {
   14830                 :           0 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14831                 :           0 :                         switch (TREE_CODE (_q50))
   14832                 :             :                           {
   14833                 :           0 :                           CASE_CONVERT:
   14834                 :           0 :                             {
   14835                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14836                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14837                 :             :                                 {
   14838                 :           0 :                                   if (integer_zerop (_p2))
   14839                 :             :                                     {
   14840                 :           0 :                                       {
   14841                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14842                 :           0 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_POPCOUNT);
   14843                 :           0 :                                         if (res) return res;
   14844                 :             :                                       }
   14845                 :             :                                     }
   14846                 :             :                                 }
   14847                 :             :                               break;
   14848                 :             :                             }
   14849                 :           0 :                           default:;
   14850                 :             :                           }
   14851                 :           0 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   14852                 :             :                           {
   14853                 :           0 :                             if (integer_zerop (_p2))
   14854                 :             :                               {
   14855                 :           0 :                                 {
   14856                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14857                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_POPCOUNT);
   14858                 :           0 :                                   if (res) return res;
   14859                 :             :                                 }
   14860                 :             :                               }
   14861                 :             :                           }
   14862                 :             :                       }
   14863                 :             :                     break;
   14864                 :           0 :                   case CFN_BUILT_IN_PARITYIMAX:
   14865                 :           0 :                     if (call_expr_nargs (_p1) == 1)
   14866                 :             :     {
   14867                 :           0 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14868                 :           0 :                         switch (TREE_CODE (_q50))
   14869                 :             :                           {
   14870                 :           0 :                           CASE_CONVERT:
   14871                 :           0 :                             {
   14872                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14873                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14874                 :             :                                 {
   14875                 :           0 :                                   if (integer_zerop (_p2))
   14876                 :             :                                     {
   14877                 :           0 :                                       {
   14878                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14879                 :           0 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_PARITYIMAX);
   14880                 :           0 :                                         if (res) return res;
   14881                 :             :                                       }
   14882                 :             :                                     }
   14883                 :             :                                 }
   14884                 :             :                               break;
   14885                 :             :                             }
   14886                 :           0 :                           default:;
   14887                 :             :                           }
   14888                 :           0 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   14889                 :             :                           {
   14890                 :           0 :                             if (integer_zerop (_p2))
   14891                 :             :                               {
   14892                 :           0 :                                 {
   14893                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14894                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_PARITYIMAX);
   14895                 :           0 :                                   if (res) return res;
   14896                 :             :                                 }
   14897                 :             :                               }
   14898                 :             :                           }
   14899                 :             :                       }
   14900                 :             :                     break;
   14901                 :           2 :                   case CFN_BUILT_IN_CLRSBL:
   14902                 :           2 :                     if (call_expr_nargs (_p1) == 1)
   14903                 :             :     {
   14904                 :           2 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14905                 :           2 :                         switch (TREE_CODE (_q50))
   14906                 :             :                           {
   14907                 :           0 :                           CASE_CONVERT:
   14908                 :           0 :                             {
   14909                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14910                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14911                 :             :                                 {
   14912                 :           0 :                                   switch (TREE_CODE (_p2))
   14913                 :             :                                     {
   14914                 :           0 :                                     case INTEGER_CST:
   14915                 :           0 :                                       {
   14916                 :           0 :                                         {
   14917                 :           0 :                                           tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   14918                 :           0 :                                           tree res = generic_simplify_478 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_CLRSBL);
   14919                 :           0 :                                           if (res) return res;
   14920                 :             :                                         }
   14921                 :           0 :                                         break;
   14922                 :             :                                       }
   14923                 :             :                                     default:;
   14924                 :             :                                     }
   14925                 :             :                                 }
   14926                 :             :                               break;
   14927                 :             :                             }
   14928                 :           2 :                           default:;
   14929                 :             :                           }
   14930                 :           2 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   14931                 :             :                           {
   14932                 :           1 :                             switch (TREE_CODE (_p2))
   14933                 :             :                               {
   14934                 :           1 :                               case INTEGER_CST:
   14935                 :           1 :                                 {
   14936                 :           1 :                                   {
   14937                 :           1 :                                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   14938                 :           1 :                                     tree res = generic_simplify_479 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_CLRSBL);
   14939                 :           1 :                                     if (res) return res;
   14940                 :             :                                   }
   14941                 :           0 :                                   break;
   14942                 :             :                                 }
   14943                 :             :                               default:;
   14944                 :             :                               }
   14945                 :             :                           }
   14946                 :             :                       }
   14947                 :             :                     break;
   14948                 :           0 :                   case CFN_FFS:
   14949                 :           0 :                     if (call_expr_nargs (_p1) == 1)
   14950                 :             :     {
   14951                 :           0 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14952                 :           0 :                         switch (TREE_CODE (_q50))
   14953                 :             :                           {
   14954                 :           0 :                           CASE_CONVERT:
   14955                 :           0 :                             {
   14956                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14957                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14958                 :             :                                 {
   14959                 :           0 :                                   if (integer_zerop (_p2))
   14960                 :             :                                     {
   14961                 :           0 :                                       {
   14962                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14963                 :           0 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_FFS);
   14964                 :           0 :                                         if (res) return res;
   14965                 :             :                                       }
   14966                 :             :                                     }
   14967                 :             :                                 }
   14968                 :             :                               break;
   14969                 :             :                             }
   14970                 :           0 :                           default:;
   14971                 :             :                           }
   14972                 :           0 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   14973                 :             :                           {
   14974                 :           0 :                             if (integer_zerop (_p2))
   14975                 :             :                               {
   14976                 :           0 :                                 {
   14977                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   14978                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_FFS);
   14979                 :           0 :                                   if (res) return res;
   14980                 :             :                                 }
   14981                 :             :                               }
   14982                 :             :                           }
   14983                 :             :                       }
   14984                 :             :                     break;
   14985                 :           2 :                   case CFN_BUILT_IN_PARITY:
   14986                 :           2 :                     if (call_expr_nargs (_p1) == 1)
   14987                 :             :     {
   14988                 :           2 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14989                 :           2 :                         switch (TREE_CODE (_q50))
   14990                 :             :                           {
   14991                 :           1 :                           CASE_CONVERT:
   14992                 :           1 :                             {
   14993                 :           1 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   14994                 :           1 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   14995                 :             :                                 {
   14996                 :           1 :                                   if (integer_zerop (_p2))
   14997                 :             :                                     {
   14998                 :           1 :                                       {
   14999                 :           1 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15000                 :           1 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_PARITY);
   15001                 :           1 :                                         if (res) return res;
   15002                 :             :                                       }
   15003                 :             :                                     }
   15004                 :             :                                 }
   15005                 :             :                               break;
   15006                 :             :                             }
   15007                 :           1 :                           default:;
   15008                 :             :                           }
   15009                 :           1 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15010                 :             :                           {
   15011                 :           0 :                             if (integer_zerop (_p2))
   15012                 :             :                               {
   15013                 :           0 :                                 {
   15014                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15015                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_PARITY);
   15016                 :           0 :                                   if (res) return res;
   15017                 :             :                                 }
   15018                 :             :                               }
   15019                 :             :                           }
   15020                 :             :                       }
   15021                 :             :                     break;
   15022                 :           0 :                   case CFN_BUILT_IN_POPCOUNTIMAX:
   15023                 :           0 :                     if (call_expr_nargs (_p1) == 1)
   15024                 :             :     {
   15025                 :           0 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15026                 :           0 :                         switch (TREE_CODE (_q50))
   15027                 :             :                           {
   15028                 :           0 :                           CASE_CONVERT:
   15029                 :           0 :                             {
   15030                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15031                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15032                 :             :                                 {
   15033                 :           0 :                                   if (integer_zerop (_p2))
   15034                 :             :                                     {
   15035                 :           0 :                                       {
   15036                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15037                 :           0 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_POPCOUNTIMAX);
   15038                 :           0 :                                         if (res) return res;
   15039                 :             :                                       }
   15040                 :             :                                     }
   15041                 :             :                                 }
   15042                 :             :                               break;
   15043                 :             :                             }
   15044                 :           0 :                           default:;
   15045                 :             :                           }
   15046                 :           0 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15047                 :             :                           {
   15048                 :           0 :                             if (integer_zerop (_p2))
   15049                 :             :                               {
   15050                 :           0 :                                 {
   15051                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15052                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_POPCOUNTIMAX);
   15053                 :           0 :                                   if (res) return res;
   15054                 :             :                                 }
   15055                 :             :                               }
   15056                 :             :                           }
   15057                 :             :                       }
   15058                 :             :                     break;
   15059                 :           0 :                   case CFN_BUILT_IN_CLRSBIMAX:
   15060                 :           0 :                     if (call_expr_nargs (_p1) == 1)
   15061                 :             :     {
   15062                 :           0 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15063                 :           0 :                         switch (TREE_CODE (_q50))
   15064                 :             :                           {
   15065                 :           0 :                           CASE_CONVERT:
   15066                 :           0 :                             {
   15067                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15068                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15069                 :             :                                 {
   15070                 :           0 :                                   switch (TREE_CODE (_p2))
   15071                 :             :                                     {
   15072                 :           0 :                                     case INTEGER_CST:
   15073                 :           0 :                                       {
   15074                 :           0 :                                         {
   15075                 :           0 :                                           tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   15076                 :           0 :                                           tree res = generic_simplify_478 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_CLRSBIMAX);
   15077                 :           0 :                                           if (res) return res;
   15078                 :             :                                         }
   15079                 :           0 :                                         break;
   15080                 :             :                                       }
   15081                 :             :                                     default:;
   15082                 :             :                                     }
   15083                 :             :                                 }
   15084                 :             :                               break;
   15085                 :             :                             }
   15086                 :           0 :                           default:;
   15087                 :             :                           }
   15088                 :           0 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15089                 :             :                           {
   15090                 :           0 :                             switch (TREE_CODE (_p2))
   15091                 :             :                               {
   15092                 :           0 :                               case INTEGER_CST:
   15093                 :           0 :                                 {
   15094                 :           0 :                                   {
   15095                 :           0 :                                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   15096                 :           0 :                                     tree res = generic_simplify_479 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_CLRSBIMAX);
   15097                 :           0 :                                     if (res) return res;
   15098                 :             :                                   }
   15099                 :           0 :                                   break;
   15100                 :             :                                 }
   15101                 :             :                               default:;
   15102                 :             :                               }
   15103                 :             :                           }
   15104                 :             :                       }
   15105                 :             :                     break;
   15106                 :           2 :                   case CFN_BUILT_IN_CLRSBLL:
   15107                 :           2 :                     if (call_expr_nargs (_p1) == 1)
   15108                 :             :     {
   15109                 :           2 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15110                 :           2 :                         switch (TREE_CODE (_q50))
   15111                 :             :                           {
   15112                 :           0 :                           CASE_CONVERT:
   15113                 :           0 :                             {
   15114                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15115                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15116                 :             :                                 {
   15117                 :           0 :                                   switch (TREE_CODE (_p2))
   15118                 :             :                                     {
   15119                 :           0 :                                     case INTEGER_CST:
   15120                 :           0 :                                       {
   15121                 :           0 :                                         {
   15122                 :           0 :                                           tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   15123                 :           0 :                                           tree res = generic_simplify_478 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_CLRSBLL);
   15124                 :           0 :                                           if (res) return res;
   15125                 :             :                                         }
   15126                 :           0 :                                         break;
   15127                 :             :                                       }
   15128                 :             :                                     default:;
   15129                 :             :                                     }
   15130                 :             :                                 }
   15131                 :             :                               break;
   15132                 :             :                             }
   15133                 :           2 :                           default:;
   15134                 :             :                           }
   15135                 :           2 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15136                 :             :                           {
   15137                 :           1 :                             switch (TREE_CODE (_p2))
   15138                 :             :                               {
   15139                 :           1 :                               case INTEGER_CST:
   15140                 :           1 :                                 {
   15141                 :           1 :                                   {
   15142                 :           1 :                                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   15143                 :           1 :                                     tree res = generic_simplify_479 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_CLRSBLL);
   15144                 :           1 :                                     if (res) return res;
   15145                 :             :                                   }
   15146                 :           0 :                                   break;
   15147                 :             :                                 }
   15148                 :             :                               default:;
   15149                 :             :                               }
   15150                 :             :                           }
   15151                 :             :                       }
   15152                 :             :                     break;
   15153                 :           0 :                   case CFN_CLRSB:
   15154                 :           0 :                     if (call_expr_nargs (_p1) == 1)
   15155                 :             :     {
   15156                 :           0 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15157                 :           0 :                         switch (TREE_CODE (_q50))
   15158                 :             :                           {
   15159                 :           0 :                           CASE_CONVERT:
   15160                 :           0 :                             {
   15161                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15162                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15163                 :             :                                 {
   15164                 :           0 :                                   switch (TREE_CODE (_p2))
   15165                 :             :                                     {
   15166                 :           0 :                                     case INTEGER_CST:
   15167                 :           0 :                                       {
   15168                 :           0 :                                         {
   15169                 :           0 :                                           tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   15170                 :           0 :                                           tree res = generic_simplify_478 (loc, type, _p0, _p1, _p2, captures, CFN_CLRSB);
   15171                 :           0 :                                           if (res) return res;
   15172                 :             :                                         }
   15173                 :           0 :                                         break;
   15174                 :             :                                       }
   15175                 :             :                                     default:;
   15176                 :             :                                     }
   15177                 :             :                                 }
   15178                 :             :                               break;
   15179                 :             :                             }
   15180                 :           0 :                           default:;
   15181                 :             :                           }
   15182                 :           0 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15183                 :             :                           {
   15184                 :           0 :                             switch (TREE_CODE (_p2))
   15185                 :             :                               {
   15186                 :           0 :                               case INTEGER_CST:
   15187                 :           0 :                                 {
   15188                 :           0 :                                   {
   15189                 :           0 :                                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   15190                 :           0 :                                     tree res = generic_simplify_479 (loc, type, _p0, _p1, _p2, captures, CFN_CLRSB);
   15191                 :           0 :                                     if (res) return res;
   15192                 :             :                                   }
   15193                 :           0 :                                   break;
   15194                 :             :                                 }
   15195                 :             :                               default:;
   15196                 :             :                               }
   15197                 :             :                           }
   15198                 :             :                       }
   15199                 :             :                     break;
   15200                 :           0 :                   case CFN_BUILT_IN_BSWAP128:
   15201                 :           0 :                     if (call_expr_nargs (_p1) == 1)
   15202                 :             :     {
   15203                 :           0 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15204                 :           0 :                         switch (TREE_CODE (_q50))
   15205                 :             :                           {
   15206                 :           0 :                           CASE_CONVERT:
   15207                 :           0 :                             {
   15208                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15209                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15210                 :             :                                 {
   15211                 :           0 :                                   if (integer_zerop (_p2))
   15212                 :             :                                     {
   15213                 :           0 :                                       {
   15214                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15215                 :           0 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_BSWAP128);
   15216                 :           0 :                                         if (res) return res;
   15217                 :             :                                       }
   15218                 :             :                                     }
   15219                 :             :                                 }
   15220                 :             :                               break;
   15221                 :             :                             }
   15222                 :           0 :                           default:;
   15223                 :             :                           }
   15224                 :           0 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15225                 :             :                           {
   15226                 :           0 :                             if (integer_zerop (_p2))
   15227                 :             :                               {
   15228                 :           0 :                                 {
   15229                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15230                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_BSWAP128);
   15231                 :           0 :                                   if (res) return res;
   15232                 :             :                                 }
   15233                 :             :                               }
   15234                 :             :                           }
   15235                 :             :                       }
   15236                 :             :                     break;
   15237                 :           2 :                   case CFN_BUILT_IN_POPCOUNTL:
   15238                 :           2 :                     if (call_expr_nargs (_p1) == 1)
   15239                 :             :     {
   15240                 :           2 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15241                 :           2 :                         switch (TREE_CODE (_q50))
   15242                 :             :                           {
   15243                 :           1 :                           CASE_CONVERT:
   15244                 :           1 :                             {
   15245                 :           1 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15246                 :           1 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15247                 :             :                                 {
   15248                 :           1 :                                   if (integer_zerop (_p2))
   15249                 :             :                                     {
   15250                 :           1 :                                       {
   15251                 :           1 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15252                 :           1 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_POPCOUNTL);
   15253                 :           1 :                                         if (res) return res;
   15254                 :             :                                       }
   15255                 :             :                                     }
   15256                 :             :                                 }
   15257                 :             :                               break;
   15258                 :             :                             }
   15259                 :           1 :                           default:;
   15260                 :             :                           }
   15261                 :           1 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15262                 :             :                           {
   15263                 :           0 :                             if (integer_zerop (_p2))
   15264                 :             :                               {
   15265                 :           0 :                                 {
   15266                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15267                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_POPCOUNTL);
   15268                 :           0 :                                   if (res) return res;
   15269                 :             :                                 }
   15270                 :             :                               }
   15271                 :             :                           }
   15272                 :             :                       }
   15273                 :             :                     break;
   15274                 :           2 :                   case CFN_BUILT_IN_CLRSB:
   15275                 :           2 :                     if (call_expr_nargs (_p1) == 1)
   15276                 :             :     {
   15277                 :           2 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15278                 :           2 :                         switch (TREE_CODE (_q50))
   15279                 :             :                           {
   15280                 :           0 :                           CASE_CONVERT:
   15281                 :           0 :                             {
   15282                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15283                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15284                 :             :                                 {
   15285                 :           0 :                                   switch (TREE_CODE (_p2))
   15286                 :             :                                     {
   15287                 :           0 :                                     case INTEGER_CST:
   15288                 :           0 :                                       {
   15289                 :           0 :                                         {
   15290                 :           0 :                                           tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   15291                 :           0 :                                           tree res = generic_simplify_478 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_CLRSB);
   15292                 :           0 :                                           if (res) return res;
   15293                 :             :                                         }
   15294                 :           0 :                                         break;
   15295                 :             :                                       }
   15296                 :             :                                     default:;
   15297                 :             :                                     }
   15298                 :             :                                 }
   15299                 :             :                               break;
   15300                 :             :                             }
   15301                 :           2 :                           default:;
   15302                 :             :                           }
   15303                 :           2 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15304                 :             :                           {
   15305                 :           1 :                             switch (TREE_CODE (_p2))
   15306                 :             :                               {
   15307                 :           1 :                               case INTEGER_CST:
   15308                 :           1 :                                 {
   15309                 :           1 :                                   {
   15310                 :           1 :                                     tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50, _p2 };
   15311                 :           1 :                                     tree res = generic_simplify_479 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_CLRSB);
   15312                 :           1 :                                     if (res) return res;
   15313                 :             :                                   }
   15314                 :           0 :                                   break;
   15315                 :             :                                 }
   15316                 :             :                               default:;
   15317                 :             :                               }
   15318                 :             :                           }
   15319                 :             :                       }
   15320                 :             :                     break;
   15321                 :           0 :                   case CFN_BUILT_IN_FFSLL:
   15322                 :           0 :                     if (call_expr_nargs (_p1) == 1)
   15323                 :             :     {
   15324                 :           0 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15325                 :           0 :                         switch (TREE_CODE (_q50))
   15326                 :             :                           {
   15327                 :           0 :                           CASE_CONVERT:
   15328                 :           0 :                             {
   15329                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15330                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15331                 :             :                                 {
   15332                 :           0 :                                   if (integer_zerop (_p2))
   15333                 :             :                                     {
   15334                 :           0 :                                       {
   15335                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15336                 :           0 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_FFSLL);
   15337                 :           0 :                                         if (res) return res;
   15338                 :             :                                       }
   15339                 :             :                                     }
   15340                 :             :                                 }
   15341                 :             :                               break;
   15342                 :             :                             }
   15343                 :           0 :                           default:;
   15344                 :             :                           }
   15345                 :           0 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15346                 :             :                           {
   15347                 :           0 :                             if (integer_zerop (_p2))
   15348                 :             :                               {
   15349                 :           0 :                                 {
   15350                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15351                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_FFSLL);
   15352                 :           0 :                                   if (res) return res;
   15353                 :             :                                 }
   15354                 :             :                               }
   15355                 :             :                           }
   15356                 :             :                       }
   15357                 :             :                     break;
   15358                 :           2 :                   case CFN_BUILT_IN_PARITYLL:
   15359                 :           2 :                     if (call_expr_nargs (_p1) == 1)
   15360                 :             :     {
   15361                 :           2 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15362                 :           2 :                         switch (TREE_CODE (_q50))
   15363                 :             :                           {
   15364                 :           1 :                           CASE_CONVERT:
   15365                 :           1 :                             {
   15366                 :           1 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15367                 :           1 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15368                 :             :                                 {
   15369                 :           1 :                                   if (integer_zerop (_p2))
   15370                 :             :                                     {
   15371                 :           1 :                                       {
   15372                 :           1 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15373                 :           1 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_PARITYLL);
   15374                 :           1 :                                         if (res) return res;
   15375                 :             :                                       }
   15376                 :             :                                     }
   15377                 :             :                                 }
   15378                 :             :                               break;
   15379                 :             :                             }
   15380                 :           1 :                           default:;
   15381                 :             :                           }
   15382                 :           1 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15383                 :             :                           {
   15384                 :           0 :                             if (integer_zerop (_p2))
   15385                 :             :                               {
   15386                 :           0 :                                 {
   15387                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15388                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_PARITYLL);
   15389                 :           0 :                                   if (res) return res;
   15390                 :             :                                 }
   15391                 :             :                               }
   15392                 :             :                           }
   15393                 :             :                       }
   15394                 :             :                     break;
   15395                 :           3 :                   case CFN_BUILT_IN_BSWAP16:
   15396                 :           3 :                     if (call_expr_nargs (_p1) == 1)
   15397                 :             :     {
   15398                 :           3 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15399                 :           3 :                         switch (TREE_CODE (_q50))
   15400                 :             :                           {
   15401                 :           3 :                           CASE_CONVERT:
   15402                 :           3 :                             {
   15403                 :           3 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15404                 :           3 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15405                 :             :                                 {
   15406                 :           1 :                                   if (integer_zerop (_p2))
   15407                 :             :                                     {
   15408                 :           1 :                                       {
   15409                 :           1 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15410                 :           1 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_BSWAP16);
   15411                 :           1 :                                         if (res) return res;
   15412                 :             :                                       }
   15413                 :             :                                     }
   15414                 :             :                                 }
   15415                 :             :                               break;
   15416                 :             :                             }
   15417                 :           2 :                           default:;
   15418                 :             :                           }
   15419                 :           2 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15420                 :             :                           {
   15421                 :           0 :                             if (integer_zerop (_p2))
   15422                 :             :                               {
   15423                 :           0 :                                 {
   15424                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15425                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_BSWAP16);
   15426                 :           0 :                                   if (res) return res;
   15427                 :             :                                 }
   15428                 :             :                               }
   15429                 :             :                           }
   15430                 :             :                       }
   15431                 :             :                     break;
   15432                 :           2 :                   case CFN_BUILT_IN_BSWAP32:
   15433                 :           2 :                     if (call_expr_nargs (_p1) == 1)
   15434                 :             :     {
   15435                 :           2 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15436                 :           2 :                         switch (TREE_CODE (_q50))
   15437                 :             :                           {
   15438                 :           0 :                           CASE_CONVERT:
   15439                 :           0 :                             {
   15440                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15441                 :           0 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15442                 :             :                                 {
   15443                 :           0 :                                   if (integer_zerop (_p2))
   15444                 :             :                                     {
   15445                 :           0 :                                       {
   15446                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15447                 :           0 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_BSWAP32);
   15448                 :           0 :                                         if (res) return res;
   15449                 :             :                                       }
   15450                 :             :                                     }
   15451                 :             :                                 }
   15452                 :             :                               break;
   15453                 :             :                             }
   15454                 :           2 :                           default:;
   15455                 :             :                           }
   15456                 :           2 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15457                 :             :                           {
   15458                 :           1 :                             if (integer_zerop (_p2))
   15459                 :             :                               {
   15460                 :           1 :                                 {
   15461                 :           1 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15462                 :           1 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_BSWAP32);
   15463                 :           1 :                                   if (res) return res;
   15464                 :             :                                 }
   15465                 :             :                               }
   15466                 :             :                           }
   15467                 :             :                       }
   15468                 :             :                     break;
   15469                 :           2 :                   case CFN_BUILT_IN_BSWAP64:
   15470                 :           2 :                     if (call_expr_nargs (_p1) == 1)
   15471                 :             :     {
   15472                 :           2 :                         tree _q50 = CALL_EXPR_ARG (_p1, 0);
   15473                 :           2 :                         switch (TREE_CODE (_q50))
   15474                 :             :                           {
   15475                 :           1 :                           CASE_CONVERT:
   15476                 :           1 :                             {
   15477                 :           1 :                               tree _q60 = TREE_OPERAND (_q50, 0);
   15478                 :           1 :                               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15479                 :             :                                 {
   15480                 :           1 :                                   if (integer_zerop (_p2))
   15481                 :             :                                     {
   15482                 :           1 :                                       {
   15483                 :           1 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15484                 :           1 :                                         tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_BSWAP64);
   15485                 :           1 :                                         if (res) return res;
   15486                 :             :                                       }
   15487                 :             :                                     }
   15488                 :             :                                 }
   15489                 :             :                               break;
   15490                 :             :                             }
   15491                 :           1 :                           default:;
   15492                 :             :                           }
   15493                 :           1 :                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   15494                 :             :                           {
   15495                 :           0 :                             if (integer_zerop (_p2))
   15496                 :             :                               {
   15497                 :           0 :                                 {
   15498                 :           0 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _p2 };
   15499                 :           0 :                                   tree res = generic_simplify_477 (loc, type, _p0, _p1, _p2, captures, CFN_BUILT_IN_BSWAP64);
   15500                 :           0 :                                   if (res) return res;
   15501                 :             :                                 }
   15502                 :             :                               }
   15503                 :             :                           }
   15504                 :             :                       }
   15505                 :             :                     break;
   15506                 :             :                   default:;
   15507                 :             :                   }
   15508                 :             :                 break;
   15509                 :             :               default:;
   15510                 :             :               }
   15511                 :             :           }
   15512                 :             :         break;
   15513                 :             :       }
   15514                 :           7 :     case LTGT_EXPR:
   15515                 :           7 :       {
   15516                 :           7 :         tree _q20 = TREE_OPERAND (_p0, 0);
   15517                 :           7 :         tree _q21 = TREE_OPERAND (_p0, 1);
   15518                 :           7 :         if (zerop (_q21))
   15519                 :             :           {
   15520                 :           0 :             switch (TREE_CODE (_p2))
   15521                 :             :               {
   15522                 :           0 :               case NEGATE_EXPR:
   15523                 :           0 :                 {
   15524                 :           0 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   15525                 :           0 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   15526                 :             :                     {
   15527                 :           0 :                       {
   15528                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   15529                 :           0 :                         const enum tree_code cmp = LTGT_EXPR;
   15530                 :           0 :                         if (!HONOR_SIGNED_ZEROS (type)
   15531                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
   15532                 :             : )
   15533                 :             :                           {
   15534                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1650;
   15535                 :           0 :                             if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1650;
   15536                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1650;
   15537                 :           0 :                             {
   15538                 :           0 :                               tree _r;
   15539                 :           0 :                               _r = captures[1];
   15540                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 950, __FILE__, __LINE__, true);
   15541                 :           0 :                               return _r;
   15542                 :             :                             }
   15543                 :           0 : next_after_fail1650:;
   15544                 :             :                           }
   15545                 :             :                       }
   15546                 :             :                     }
   15547                 :             :                   break;
   15548                 :             :                 }
   15549                 :           0 :               default:;
   15550                 :             :               }
   15551                 :           0 :           if (integer_zerop (_p2))
   15552                 :             :             {
   15553                 :           0 :               {
   15554                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   15555                 :           0 :                 const enum tree_code cmp = LTGT_EXPR;
   15556                 :           0 :                 if (!HONOR_SIGNED_ZEROS (type)
   15557                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
   15558                 :             : )
   15559                 :             :                   {
   15560                 :           0 :                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1651;
   15561                 :           0 :                     if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1651;
   15562                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1651;
   15563                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1651;
   15564                 :           0 :                     {
   15565                 :           0 :                       tree _r;
   15566                 :           0 :                       _r = captures[1];
   15567                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 951, __FILE__, __LINE__, true);
   15568                 :           0 :                       return _r;
   15569                 :             :                     }
   15570                 :           0 : next_after_fail1651:;
   15571                 :             :                   }
   15572                 :             :               }
   15573                 :             :             }
   15574                 :             :           }
   15575                 :           7 :         switch (TREE_CODE (_q20))
   15576                 :             :           {
   15577                 :           0 :           case MINUS_EXPR:
   15578                 :           0 :             {
   15579                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
   15580                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
   15581                 :           0 :               if (zerop (_q21))
   15582                 :             :                 {
   15583                 :           0 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   15584                 :             :                     {
   15585                 :           0 :                       switch (TREE_CODE (_p2))
   15586                 :             :                         {
   15587                 :           0 :                         case MINUS_EXPR:
   15588                 :           0 :                           {
   15589                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   15590                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   15591                 :           0 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   15592                 :             :                               {
   15593                 :           0 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   15594                 :             :                                   {
   15595                 :           0 :                                     {
   15596                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   15597                 :           0 :                                       const enum tree_code cmp = LTGT_EXPR;
   15598                 :           0 :                                       if (!HONOR_SIGNED_ZEROS (type)
   15599                 :             : )
   15600                 :             :                                         {
   15601                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1652;
   15602                 :           0 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1652;
   15603                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1652;
   15604                 :           0 :                                           {
   15605                 :           0 :                                             tree _r;
   15606                 :           0 :                                             _r = captures[0];
   15607                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
   15608                 :           0 :                                             return _r;
   15609                 :             :                                           }
   15610                 :           0 : next_after_fail1652:;
   15611                 :             :                                         }
   15612                 :             :                                     }
   15613                 :             :                                   }
   15614                 :             :                               }
   15615                 :             :                             break;
   15616                 :             :                           }
   15617                 :             :                         default:;
   15618                 :             :                         }
   15619                 :             :                     }
   15620                 :             :                 }
   15621                 :           0 :               if (integer_zerop (_q21))
   15622                 :             :                 {
   15623                 :           0 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   15624                 :             :                     {
   15625                 :           0 :                       if (integer_zerop (_p2))
   15626                 :             :                         {
   15627                 :           0 :                           {
   15628                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   15629                 :           0 :                             tree res = generic_simplify_476 (loc, type, _p0, _p1, _p2, captures, LTGT_EXPR);
   15630                 :           0 :                             if (res) return res;
   15631                 :             :                           }
   15632                 :             :                         }
   15633                 :             :                     }
   15634                 :             :                 }
   15635                 :             :               break;
   15636                 :             :             }
   15637                 :             :           default:;
   15638                 :             :           }
   15639                 :             :         break;
   15640                 :             :       }
   15641                 :      458043 :     case GE_EXPR:
   15642                 :      458043 :       {
   15643                 :      458043 :         tree _q20 = TREE_OPERAND (_p0, 0);
   15644                 :      458043 :         tree _q21 = TREE_OPERAND (_p0, 1);
   15645                 :      458043 :         if (zerop (_q21))
   15646                 :             :           {
   15647                 :       92732 :             switch (TREE_CODE (_p2))
   15648                 :             :               {
   15649                 :       24113 :               case NEGATE_EXPR:
   15650                 :       24113 :                 {
   15651                 :       24113 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   15652                 :       24113 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   15653                 :             :                     {
   15654                 :       24107 :                       {
   15655                 :       24107 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   15656                 :       24107 :                         const enum tree_code cmp = GE_EXPR;
   15657                 :       24107 :                         if (!HONOR_SIGNED_ZEROS (TREE_TYPE(captures[0]))
   15658                 :       24099 :  && !TYPE_UNSIGNED (TREE_TYPE(captures[0]))
   15659                 :       48206 :  && bitwise_equal_p (captures[0], captures[1])
   15660                 :             : )
   15661                 :             :                           {
   15662                 :       24001 :                             if (TYPE_UNSIGNED (type)
   15663                 :             : )
   15664                 :             :                               {
   15665                 :          36 :                                 if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1653;
   15666                 :          36 :                                 if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1653;
   15667                 :          36 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1653;
   15668                 :          36 :                                 {
   15669                 :          36 :                                   tree res_op0;
   15670                 :          36 :                                   res_op0 = captures[0];
   15671                 :          36 :                                   tree _r;
   15672                 :          36 :                                   _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
   15673                 :          36 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 955, __FILE__, __LINE__, true);
   15674                 :          36 :                                   return _r;
   15675                 :             :                                 }
   15676                 :         106 : next_after_fail1653:;
   15677                 :             :                               }
   15678                 :             :                             else
   15679                 :             :                               {
   15680                 :       23965 :                                 if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1654;
   15681                 :       23965 :                                 if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1654;
   15682                 :       23965 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1654;
   15683                 :       23965 :                                 {
   15684                 :       23965 :                                   tree res_op0;
   15685                 :       23965 :                                   res_op0 = captures[0];
   15686                 :       23965 :                                   tree _r;
   15687                 :       23965 :                                   _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
   15688                 :       23965 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
   15689                 :       23965 :                                   return _r;
   15690                 :             :                                 }
   15691                 :         106 : next_after_fail1654:;
   15692                 :             :                               }
   15693                 :             :                           }
   15694                 :             :                       }
   15695                 :             :                     }
   15696                 :             :                   break;
   15697                 :             :                 }
   15698                 :             :               default:;
   15699                 :             :               }
   15700                 :             :           }
   15701                 :      434042 :         switch (TREE_CODE (_q20))
   15702                 :             :           {
   15703                 :       30307 :           case MINUS_EXPR:
   15704                 :       30307 :             {
   15705                 :       30307 :               tree _q30 = TREE_OPERAND (_q20, 0);
   15706                 :       30307 :               tree _q31 = TREE_OPERAND (_q20, 1);
   15707                 :       30307 :               if (zerop (_q21))
   15708                 :             :                 {
   15709                 :       29879 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   15710                 :             :                     {
   15711                 :           1 :                       switch (TREE_CODE (_p2))
   15712                 :             :                         {
   15713                 :           1 :                         case MINUS_EXPR:
   15714                 :           1 :                           {
   15715                 :           1 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   15716                 :           1 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   15717                 :           1 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   15718                 :             :                               {
   15719                 :           1 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   15720                 :             :                                   {
   15721                 :           1 :                                     {
   15722                 :           1 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   15723                 :           1 :                                       const enum tree_code cmp = GE_EXPR;
   15724                 :           1 :                                       if (!HONOR_SIGNED_ZEROS (type)
   15725                 :           1 :  && !TYPE_UNSIGNED (type)
   15726                 :             : )
   15727                 :             :                                         {
   15728                 :           1 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1655;
   15729                 :           1 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1655;
   15730                 :           1 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1655;
   15731                 :           1 :                                           {
   15732                 :           1 :                                             tree res_op0;
   15733                 :           1 :                                             res_op0 = captures[0];
   15734                 :           1 :                                             tree _r;
   15735                 :           1 :                                             _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
   15736                 :           1 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 957, __FILE__, __LINE__, true);
   15737                 :           1 :                                             return _r;
   15738                 :             :                                           }
   15739                 :           0 : next_after_fail1655:;
   15740                 :             :                                         }
   15741                 :             :                                     }
   15742                 :             :                                   }
   15743                 :             :                               }
   15744                 :             :                             break;
   15745                 :             :                           }
   15746                 :             :                         default:;
   15747                 :             :                         }
   15748                 :             :                     }
   15749                 :             :                 }
   15750                 :             :               break;
   15751                 :             :             }
   15752                 :      434041 :           default:;
   15753                 :             :           }
   15754                 :      434041 :         if (integer_zerop (_q21))
   15755                 :             :           {
   15756                 :       68486 :             switch (TREE_CODE (_p1))
   15757                 :             :               {
   15758                 :          41 :               case BIT_NOT_EXPR:
   15759                 :          41 :                 {
   15760                 :          41 :                   tree _q50 = TREE_OPERAND (_p1, 0);
   15761                 :          41 :                   if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
   15762                 :             :                     {
   15763                 :           9 :                       {
   15764                 :           9 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
   15765                 :           9 :                         tree res = generic_simplify_480 (loc, type, _p0, _p1, _p2, captures, GE_EXPR);
   15766                 :           9 :                         if (res) return res;
   15767                 :             :                       }
   15768                 :             :                     }
   15769                 :             :                   break;
   15770                 :             :                 }
   15771                 :       68477 :               default:;
   15772                 :             :               }
   15773                 :       68477 :             switch (TREE_CODE (_p2))
   15774                 :             :               {
   15775                 :          31 :               case BIT_NOT_EXPR:
   15776                 :          31 :                 {
   15777                 :          31 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   15778                 :          31 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   15779                 :             :                     {
   15780                 :           9 :                       {
   15781                 :           9 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   15782                 :           9 :                         tree res = generic_simplify_481 (loc, type, _p0, _p1, _p2, captures, GE_EXPR);
   15783                 :           9 :                         if (res) return res;
   15784                 :             :                       }
   15785                 :             :                     }
   15786                 :             :                   break;
   15787                 :             :                 }
   15788                 :             :               default:;
   15789                 :             :               }
   15790                 :             :           }
   15791                 :             :         break;
   15792                 :             :       }
   15793                 :      691378 :     case GT_EXPR:
   15794                 :      691378 :       {
   15795                 :      691378 :         tree _q20 = TREE_OPERAND (_p0, 0);
   15796                 :      691378 :         tree _q21 = TREE_OPERAND (_p0, 1);
   15797                 :      691378 :         if (zerop (_q21))
   15798                 :             :           {
   15799                 :      186056 :             switch (TREE_CODE (_p2))
   15800                 :             :               {
   15801                 :         378 :               case NEGATE_EXPR:
   15802                 :         378 :                 {
   15803                 :         378 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   15804                 :         378 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   15805                 :             :                     {
   15806                 :         209 :                       {
   15807                 :         209 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   15808                 :         209 :                         const enum tree_code cmp = GT_EXPR;
   15809                 :         209 :                         if (!HONOR_SIGNED_ZEROS (TREE_TYPE(captures[0]))
   15810                 :         177 :  && !TYPE_UNSIGNED (TREE_TYPE(captures[0]))
   15811                 :         386 :  && bitwise_equal_p (captures[0], captures[1])
   15812                 :             : )
   15813                 :             :                           {
   15814                 :         175 :                             if (TYPE_UNSIGNED (type)
   15815                 :             : )
   15816                 :             :                               {
   15817                 :           0 :                                 if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1656;
   15818                 :           0 :                                 if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1656;
   15819                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1656;
   15820                 :           0 :                                 {
   15821                 :           0 :                                   tree res_op0;
   15822                 :           0 :                                   res_op0 = captures[0];
   15823                 :           0 :                                   tree _r;
   15824                 :           0 :                                   _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
   15825                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 955, __FILE__, __LINE__, true);
   15826                 :           0 :                                   return _r;
   15827                 :             :                                 }
   15828                 :          34 : next_after_fail1656:;
   15829                 :             :                               }
   15830                 :             :                             else
   15831                 :             :                               {
   15832                 :         175 :                                 if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1657;
   15833                 :         175 :                                 if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1657;
   15834                 :         175 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1657;
   15835                 :         175 :                                 {
   15836                 :         175 :                                   tree res_op0;
   15837                 :         175 :                                   res_op0 = captures[0];
   15838                 :         175 :                                   tree _r;
   15839                 :         175 :                                   _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
   15840                 :         175 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
   15841                 :         175 :                                   return _r;
   15842                 :             :                                 }
   15843                 :          34 : next_after_fail1657:;
   15844                 :             :                               }
   15845                 :             :                           }
   15846                 :             :                       }
   15847                 :             :                     }
   15848                 :             :                   break;
   15849                 :             :                 }
   15850                 :             :               default:;
   15851                 :             :               }
   15852                 :             :           }
   15853                 :      691203 :         switch (TREE_CODE (_q20))
   15854                 :             :           {
   15855                 :         850 :           case MINUS_EXPR:
   15856                 :         850 :             {
   15857                 :         850 :               tree _q30 = TREE_OPERAND (_q20, 0);
   15858                 :         850 :               tree _q31 = TREE_OPERAND (_q20, 1);
   15859                 :         850 :               if (zerop (_q21))
   15860                 :             :                 {
   15861                 :         157 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   15862                 :             :                     {
   15863                 :          17 :                       switch (TREE_CODE (_p2))
   15864                 :             :                         {
   15865                 :           9 :                         case MINUS_EXPR:
   15866                 :           9 :                           {
   15867                 :           9 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   15868                 :           9 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   15869                 :           9 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   15870                 :             :                               {
   15871                 :           9 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   15872                 :             :                                   {
   15873                 :           9 :                                     {
   15874                 :           9 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   15875                 :           9 :                                       const enum tree_code cmp = GT_EXPR;
   15876                 :           9 :                                       if (!HONOR_SIGNED_ZEROS (type)
   15877                 :           9 :  && !TYPE_UNSIGNED (type)
   15878                 :             : )
   15879                 :             :                                         {
   15880                 :           9 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1658;
   15881                 :           9 :                                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1658;
   15882                 :           9 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1658;
   15883                 :           9 :                                           {
   15884                 :           9 :                                             tree res_op0;
   15885                 :           9 :                                             res_op0 = captures[0];
   15886                 :           9 :                                             tree _r;
   15887                 :           9 :                                             _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
   15888                 :           9 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 957, __FILE__, __LINE__, true);
   15889                 :           9 :                                             return _r;
   15890                 :             :                                           }
   15891                 :           0 : next_after_fail1658:;
   15892                 :             :                                         }
   15893                 :             :                                     }
   15894                 :             :                                   }
   15895                 :             :                               }
   15896                 :             :                             break;
   15897                 :             :                           }
   15898                 :             :                         default:;
   15899                 :             :                         }
   15900                 :             :                     }
   15901                 :             :                 }
   15902                 :             :               break;
   15903                 :             :             }
   15904                 :             :           default:;
   15905                 :             :           }
   15906                 :             :         break;
   15907                 :             :       }
   15908                 :     1216548 :     case LE_EXPR:
   15909                 :     1216548 :       {
   15910                 :     1216548 :         tree _q20 = TREE_OPERAND (_p0, 0);
   15911                 :     1216548 :         tree _q21 = TREE_OPERAND (_p0, 1);
   15912                 :     1216548 :         if (zerop (_q21))
   15913                 :             :           {
   15914                 :      104450 :             switch (TREE_CODE (_p2))
   15915                 :             :               {
   15916                 :           7 :               case NEGATE_EXPR:
   15917                 :           7 :                 {
   15918                 :           7 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   15919                 :           7 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   15920                 :             :                     {
   15921                 :           7 :                       {
   15922                 :           7 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   15923                 :           7 :                         const enum tree_code cmp = LE_EXPR;
   15924                 :           7 :                         if (!HONOR_SIGNED_ZEROS (TREE_TYPE(captures[0]))
   15925                 :           7 :  && !TYPE_UNSIGNED (TREE_TYPE(captures[0]))
   15926                 :          14 :  && bitwise_equal_p (captures[0], captures[1])
   15927                 :             : )
   15928                 :             :                           {
   15929                 :          14 :                             if ((ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
   15930                 :           7 :  && !TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
   15931                 :           7 :  || TYPE_UNSIGNED (type)
   15932                 :             : )
   15933                 :             :                               {
   15934                 :           7 :                                 {
   15935                 :           7 :  tree utype = unsigned_type_for (TREE_TYPE(captures[0]));
   15936                 :           7 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1659;
   15937                 :           7 :                                     if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1659;
   15938                 :           7 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1659;
   15939                 :           7 :                                     {
   15940                 :           7 :                                       tree res_op0;
   15941                 :           7 :                                       {
   15942                 :           7 :                                         tree _o1[1], _r1;
   15943                 :           7 :                                         {
   15944                 :           7 :                                           tree _o2[1], _r2;
   15945                 :           7 :                                           _o2[0] = captures[0];
   15946                 :           7 :                                           _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
   15947                 :           7 :                                           _o1[0] = _r2;
   15948                 :             :                                         }
   15949                 :           7 :                                         _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   15950                 :           7 :                                         res_op0 = _r1;
   15951                 :             :                                       }
   15952                 :           7 :                                       tree _r;
   15953                 :           7 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
   15954                 :           7 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 958, __FILE__, __LINE__, true);
   15955                 :           7 :                                       return _r;
   15956                 :             :                                     }
   15957                 :           0 : next_after_fail1659:;
   15958                 :             :                                 }
   15959                 :             :                               }
   15960                 :             :                             else
   15961                 :             :                               {
   15962                 :           0 :                                 if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1660;
   15963                 :           0 :                                 if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1660;
   15964                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1660;
   15965                 :           0 :                                 {
   15966                 :           0 :                                   tree res_op0;
   15967                 :           0 :                                   {
   15968                 :           0 :                                     tree _o1[1], _r1;
   15969                 :           0 :                                     _o1[0] = captures[0];
   15970                 :           0 :                                     _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   15971                 :           0 :                                     res_op0 = _r1;
   15972                 :             :                                   }
   15973                 :           0 :                                   tree _r;
   15974                 :           0 :                                   _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
   15975                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
   15976                 :           0 :                                   return _r;
   15977                 :             :                                 }
   15978                 :           0 : next_after_fail1660:;
   15979                 :             :                               }
   15980                 :             :                           }
   15981                 :             :                       }
   15982                 :             :                     }
   15983                 :             :                   break;
   15984                 :             :                 }
   15985                 :             :               default:;
   15986                 :             :               }
   15987                 :             :           }
   15988                 :     1216541 :         switch (TREE_CODE (_q20))
   15989                 :             :           {
   15990                 :         433 :           case MINUS_EXPR:
   15991                 :         433 :             {
   15992                 :         433 :               tree _q30 = TREE_OPERAND (_q20, 0);
   15993                 :         433 :               tree _q31 = TREE_OPERAND (_q20, 1);
   15994                 :         433 :               if (zerop (_q21))
   15995                 :             :                 {
   15996                 :         231 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   15997                 :             :                     {
   15998                 :           0 :                       switch (TREE_CODE (_p2))
   15999                 :             :                         {
   16000                 :           0 :                         case MINUS_EXPR:
   16001                 :           0 :                           {
   16002                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   16003                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   16004                 :           0 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   16005                 :             :                               {
   16006                 :           0 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   16007                 :             :                                   {
   16008                 :           0 :                                     {
   16009                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   16010                 :           0 :                                       const enum tree_code cmp = LE_EXPR;
   16011                 :           0 :                                       if (!HONOR_SIGNED_ZEROS (type)
   16012                 :           0 :  && !TYPE_UNSIGNED (type)
   16013                 :             : )
   16014                 :             :                                         {
   16015                 :           0 :                                           if (ANY_INTEGRAL_TYPE_P (type)
   16016                 :           0 :  && !TYPE_OVERFLOW_WRAPS (type)
   16017                 :             : )
   16018                 :             :                                             {
   16019                 :           0 :                                               {
   16020                 :           0 :  tree utype = unsigned_type_for (type);
   16021                 :           0 :                                                   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1661;
   16022                 :           0 :                                                   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1661;
   16023                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1661;
   16024                 :           0 :                                                   {
   16025                 :           0 :                                                     tree res_op0;
   16026                 :           0 :                                                     {
   16027                 :           0 :                                                       tree _o1[1], _r1;
   16028                 :           0 :                                                       {
   16029                 :           0 :                                                         tree _o2[1], _r2;
   16030                 :           0 :                                                         _o2[0] = captures[0];
   16031                 :           0 :                                                         _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
   16032                 :           0 :                                                         _o1[0] = _r2;
   16033                 :             :                                                       }
   16034                 :           0 :                                                       _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   16035                 :           0 :                                                       res_op0 = _r1;
   16036                 :             :                                                     }
   16037                 :           0 :                                                     tree _r;
   16038                 :           0 :                                                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
   16039                 :           0 :                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 960, __FILE__, __LINE__, true);
   16040                 :           0 :                                                     return _r;
   16041                 :             :                                                   }
   16042                 :           0 : next_after_fail1661:;
   16043                 :             :                                               }
   16044                 :             :                                             }
   16045                 :             :                                           else
   16046                 :             :                                             {
   16047                 :           0 :                                               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1662;
   16048                 :           0 :                                               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1662;
   16049                 :           0 :                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1662;
   16050                 :           0 :                                               {
   16051                 :           0 :                                                 tree res_op0;
   16052                 :           0 :                                                 {
   16053                 :           0 :                                                   tree _o1[1], _r1;
   16054                 :           0 :                                                   _o1[0] = captures[0];
   16055                 :           0 :                                                   _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   16056                 :           0 :                                                   res_op0 = _r1;
   16057                 :             :                                                 }
   16058                 :           0 :                                                 tree _r;
   16059                 :           0 :                                                 _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
   16060                 :           0 :                                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 961, __FILE__, __LINE__, true);
   16061                 :           0 :                                                 return _r;
   16062                 :             :                                               }
   16063                 :           0 : next_after_fail1662:;
   16064                 :             :                                             }
   16065                 :             :                                         }
   16066                 :             :                                     }
   16067                 :             :                                   }
   16068                 :             :                               }
   16069                 :             :                             break;
   16070                 :             :                           }
   16071                 :             :                         default:;
   16072                 :             :                         }
   16073                 :             :                     }
   16074                 :             :                 }
   16075                 :             :               break;
   16076                 :             :             }
   16077                 :             :           default:;
   16078                 :             :           }
   16079                 :             :         break;
   16080                 :             :       }
   16081                 :     1292398 :     case LT_EXPR:
   16082                 :     1292398 :       {
   16083                 :     1292398 :         tree _q20 = TREE_OPERAND (_p0, 0);
   16084                 :     1292398 :         tree _q21 = TREE_OPERAND (_p0, 1);
   16085                 :     1292398 :         if (zerop (_q21))
   16086                 :             :           {
   16087                 :      313057 :             switch (TREE_CODE (_p2))
   16088                 :             :               {
   16089                 :          17 :               case NEGATE_EXPR:
   16090                 :          17 :                 {
   16091                 :          17 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   16092                 :          17 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   16093                 :             :                     {
   16094                 :           9 :                       {
   16095                 :           9 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   16096                 :           9 :                         const enum tree_code cmp = LT_EXPR;
   16097                 :           9 :                         if (!HONOR_SIGNED_ZEROS (TREE_TYPE(captures[0]))
   16098                 :           9 :  && !TYPE_UNSIGNED (TREE_TYPE(captures[0]))
   16099                 :          18 :  && bitwise_equal_p (captures[0], captures[1])
   16100                 :             : )
   16101                 :             :                           {
   16102                 :          18 :                             if ((ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
   16103                 :           9 :  && !TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
   16104                 :          10 :  || TYPE_UNSIGNED (type)
   16105                 :             : )
   16106                 :             :                               {
   16107                 :           8 :                                 {
   16108                 :           8 :  tree utype = unsigned_type_for (TREE_TYPE(captures[0]));
   16109                 :           8 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1663;
   16110                 :           8 :                                     if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1663;
   16111                 :           8 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1663;
   16112                 :           8 :                                     {
   16113                 :           8 :                                       tree res_op0;
   16114                 :           8 :                                       {
   16115                 :           8 :                                         tree _o1[1], _r1;
   16116                 :           8 :                                         {
   16117                 :           8 :                                           tree _o2[1], _r2;
   16118                 :           8 :                                           _o2[0] = captures[0];
   16119                 :           8 :                                           _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
   16120                 :           8 :                                           _o1[0] = _r2;
   16121                 :             :                                         }
   16122                 :           8 :                                         _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   16123                 :           8 :                                         res_op0 = _r1;
   16124                 :             :                                       }
   16125                 :           8 :                                       tree _r;
   16126                 :           8 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
   16127                 :           8 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 958, __FILE__, __LINE__, true);
   16128                 :           8 :                                       return _r;
   16129                 :             :                                     }
   16130                 :           0 : next_after_fail1663:;
   16131                 :             :                                 }
   16132                 :             :                               }
   16133                 :             :                             else
   16134                 :             :                               {
   16135                 :           1 :                                 if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1664;
   16136                 :           1 :                                 if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1664;
   16137                 :           1 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1664;
   16138                 :           1 :                                 {
   16139                 :           1 :                                   tree res_op0;
   16140                 :           1 :                                   {
   16141                 :           1 :                                     tree _o1[1], _r1;
   16142                 :           1 :                                     _o1[0] = captures[0];
   16143                 :           1 :                                     _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   16144                 :           1 :                                     res_op0 = _r1;
   16145                 :             :                                   }
   16146                 :           1 :                                   tree _r;
   16147                 :           1 :                                   _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
   16148                 :           1 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
   16149                 :           1 :                                   return _r;
   16150                 :             :                                 }
   16151                 :           0 : next_after_fail1664:;
   16152                 :             :                               }
   16153                 :             :                           }
   16154                 :             :                       }
   16155                 :             :                     }
   16156                 :             :                   break;
   16157                 :             :                 }
   16158                 :             :               default:;
   16159                 :             :               }
   16160                 :             :           }
   16161                 :     1292389 :         switch (TREE_CODE (_q20))
   16162                 :             :           {
   16163                 :        8570 :           case MINUS_EXPR:
   16164                 :        8570 :             {
   16165                 :        8570 :               tree _q30 = TREE_OPERAND (_q20, 0);
   16166                 :        8570 :               tree _q31 = TREE_OPERAND (_q20, 1);
   16167                 :        8570 :               if (zerop (_q21))
   16168                 :             :                 {
   16169                 :        5518 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   16170                 :             :                     {
   16171                 :           0 :                       switch (TREE_CODE (_p2))
   16172                 :             :                         {
   16173                 :           0 :                         case MINUS_EXPR:
   16174                 :           0 :                           {
   16175                 :           0 :                             tree _q80 = TREE_OPERAND (_p2, 0);
   16176                 :           0 :                             tree _q81 = TREE_OPERAND (_p2, 1);
   16177                 :           0 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   16178                 :             :                               {
   16179                 :           0 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   16180                 :             :                                   {
   16181                 :           0 :                                     {
   16182                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   16183                 :           0 :                                       const enum tree_code cmp = LT_EXPR;
   16184                 :           0 :                                       if (!HONOR_SIGNED_ZEROS (type)
   16185                 :           0 :  && !TYPE_UNSIGNED (type)
   16186                 :             : )
   16187                 :             :                                         {
   16188                 :           0 :                                           if (ANY_INTEGRAL_TYPE_P (type)
   16189                 :           0 :  && !TYPE_OVERFLOW_WRAPS (type)
   16190                 :             : )
   16191                 :             :                                             {
   16192                 :           0 :                                               {
   16193                 :           0 :  tree utype = unsigned_type_for (type);
   16194                 :           0 :                                                   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1665;
   16195                 :           0 :                                                   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1665;
   16196                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1665;
   16197                 :           0 :                                                   {
   16198                 :           0 :                                                     tree res_op0;
   16199                 :           0 :                                                     {
   16200                 :           0 :                                                       tree _o1[1], _r1;
   16201                 :           0 :                                                       {
   16202                 :           0 :                                                         tree _o2[1], _r2;
   16203                 :           0 :                                                         _o2[0] = captures[0];
   16204                 :           0 :                                                         _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
   16205                 :           0 :                                                         _o1[0] = _r2;
   16206                 :             :                                                       }
   16207                 :           0 :                                                       _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   16208                 :           0 :                                                       res_op0 = _r1;
   16209                 :             :                                                     }
   16210                 :           0 :                                                     tree _r;
   16211                 :           0 :                                                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
   16212                 :           0 :                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 960, __FILE__, __LINE__, true);
   16213                 :           0 :                                                     return _r;
   16214                 :             :                                                   }
   16215                 :           0 : next_after_fail1665:;
   16216                 :             :                                               }
   16217                 :             :                                             }
   16218                 :             :                                           else
   16219                 :             :                                             {
   16220                 :           0 :                                               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1666;
   16221                 :           0 :                                               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1666;
   16222                 :           0 :                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1666;
   16223                 :           0 :                                               {
   16224                 :           0 :                                                 tree res_op0;
   16225                 :           0 :                                                 {
   16226                 :           0 :                                                   tree _o1[1], _r1;
   16227                 :           0 :                                                   _o1[0] = captures[0];
   16228                 :           0 :                                                   _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   16229                 :           0 :                                                   res_op0 = _r1;
   16230                 :             :                                                 }
   16231                 :           0 :                                                 tree _r;
   16232                 :           0 :                                                 _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
   16233                 :           0 :                                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 961, __FILE__, __LINE__, true);
   16234                 :           0 :                                                 return _r;
   16235                 :             :                                               }
   16236                 :           0 : next_after_fail1666:;
   16237                 :             :                                             }
   16238                 :             :                                         }
   16239                 :             :                                     }
   16240                 :             :                                   }
   16241                 :             :                               }
   16242                 :             :                             break;
   16243                 :             :                           }
   16244                 :             :                         default:;
   16245                 :             :                         }
   16246                 :             :                     }
   16247                 :             :                 }
   16248                 :             :               break;
   16249                 :             :             }
   16250                 :     1292389 :           default:;
   16251                 :             :           }
   16252                 :     1292389 :         if (integer_zerop (_q21))
   16253                 :             :           {
   16254                 :      256758 :             switch (TREE_CODE (_p1))
   16255                 :             :               {
   16256                 :          22 :               case BIT_NOT_EXPR:
   16257                 :          22 :                 {
   16258                 :          22 :                   tree _q50 = TREE_OPERAND (_p1, 0);
   16259                 :          22 :                   if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
   16260                 :             :                     {
   16261                 :          13 :                       {
   16262                 :          13 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
   16263                 :          13 :                         tree res = generic_simplify_480 (loc, type, _p0, _p1, _p2, captures, LT_EXPR);
   16264                 :          13 :                         if (res) return res;
   16265                 :             :                       }
   16266                 :             :                     }
   16267                 :             :                   break;
   16268                 :             :                 }
   16269                 :      256745 :               default:;
   16270                 :             :               }
   16271                 :      256745 :             switch (TREE_CODE (_p2))
   16272                 :             :               {
   16273                 :           8 :               case BIT_NOT_EXPR:
   16274                 :           8 :                 {
   16275                 :           8 :                   tree _q60 = TREE_OPERAND (_p2, 0);
   16276                 :           8 :                   if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   16277                 :             :                     {
   16278                 :           8 :                       {
   16279                 :           8 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   16280                 :           8 :                         tree res = generic_simplify_481 (loc, type, _p0, _p1, _p2, captures, LT_EXPR);
   16281                 :           8 :                         if (res) return res;
   16282                 :             :                       }
   16283                 :             :                     }
   16284                 :             :                   break;
   16285                 :             :                 }
   16286                 :      256737 :               default:;
   16287                 :             :               }
   16288                 :      256737 :             switch (TREE_CODE (_p1))
   16289                 :             :               {
   16290                 :      243321 :               case INTEGER_CST:
   16291                 :      243321 :                 {
   16292                 :      243321 :                   if (integer_zerop (_p2))
   16293                 :             :                     {
   16294                 :        5143 :                       {
   16295                 :        5143 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   16296                 :        5143 :                         if (integer_pow2p (captures[1])
   16297                 :        5143 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
   16298                 :             : )
   16299                 :             :                           {
   16300                 :        4935 :                             {
   16301                 :        4935 :  int shift = element_precision (captures[0]) - wi::exact_log2 (wi::to_wide (captures[1])) - 1;
   16302                 :        4935 :                                 if (shift >= 0
   16303                 :             : )
   16304                 :             :                                   {
   16305                 :        4920 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1667;
   16306                 :        4920 :                                     if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1667;
   16307                 :        4920 :                                     if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1667;
   16308                 :        4920 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1667;
   16309                 :        4920 :                                     {
   16310                 :        4920 :                                       tree res_op0;
   16311                 :        4920 :                                       {
   16312                 :        4920 :                                         tree _o1[1], _r1;
   16313                 :        4920 :                                         {
   16314                 :        4920 :                                           tree _o2[2], _r2;
   16315                 :        4920 :                                           _o2[0] = captures[0];
   16316                 :        4920 :                                           _o2[1] =  build_int_cst (integer_type_node, shift);
   16317                 :        4920 :                                           _r2 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   16318                 :        4920 :                                           _o1[0] = _r2;
   16319                 :             :                                         }
   16320                 :        4920 :                                         if (TREE_TYPE (_o1[0]) != type)
   16321                 :             :                                           {
   16322                 :        4895 :                                             _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
   16323                 :             :                                           }
   16324                 :             :                                         else
   16325                 :             :                                           _r1 = _o1[0];
   16326                 :        4920 :                                         res_op0 = _r1;
   16327                 :             :                                       }
   16328                 :        4920 :                                       tree res_op1;
   16329                 :        4920 :                                       res_op1 = captures[1];
   16330                 :        4920 :                                       tree _r;
   16331                 :        4920 :                                       _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
   16332                 :        4920 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 962, __FILE__, __LINE__, true);
   16333                 :        4935 :                                       return _r;
   16334                 :             :                                     }
   16335                 :             : next_after_fail1667:;
   16336                 :             :                                   }
   16337                 :             :                                 else
   16338                 :             :                                   {
   16339                 :          15 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1668;
   16340                 :          15 :                                     if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1668;
   16341                 :          15 :                                     if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1668;
   16342                 :          15 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1668;
   16343                 :          15 :                                     {
   16344                 :          15 :                                       tree res_op0;
   16345                 :          15 :                                       {
   16346                 :          15 :                                         tree _o1[1], _r1;
   16347                 :          15 :                                         _o1[0] = captures[0];
   16348                 :          15 :                                         if (TREE_TYPE (_o1[0]) != type)
   16349                 :             :                                           {
   16350                 :          15 :                                             _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
   16351                 :             :                                           }
   16352                 :             :                                         else
   16353                 :             :                                           _r1 = _o1[0];
   16354                 :          15 :                                         res_op0 = _r1;
   16355                 :             :                                       }
   16356                 :          15 :                                       tree res_op1;
   16357                 :          15 :                                       res_op1 = captures[1];
   16358                 :          15 :                                       tree _r;
   16359                 :          15 :                                       _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
   16360                 :          15 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 963, __FILE__, __LINE__, true);
   16361                 :          15 :                                       return _r;
   16362                 :             :                                     }
   16363                 :             : next_after_fail1668:;
   16364                 :             :                                   }
   16365                 :             :                             }
   16366                 :             :                           }
   16367                 :             :                       }
   16368                 :             :                     }
   16369                 :             :                   break;
   16370                 :             :                 }
   16371                 :             :               default:;
   16372                 :             :               }
   16373                 :             :           }
   16374                 :             :         break;
   16375                 :             :       }
   16376                 :     8769764 :     default:;
   16377                 :             :     }
   16378                 :     8769764 : {
   16379                 :     8769764 :   tree _p0_pops[1];
   16380                 :     8769764 :   if (tree_logical_inverted_value (_p0, _p0_pops))
   16381                 :             :     {
   16382                 :      404218 :       tree _q20 = _p0_pops[0];
   16383                 :      404218 :       if (tree_truth_valued_p (_q20))
   16384                 :             :         {
   16385                 :        4453 :           {
   16386                 :        4453 :             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   16387                 :        8906 :             if (COND_EXPR == VEC_COND_EXPR
   16388                 :        4453 :  || TYPE_UNSIGNED (TREE_TYPE (captures[0]))
   16389                 :             : )
   16390                 :             :               {
   16391                 :        3124 :                 if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1669;
   16392                 :          50 :                 if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1669;
   16393                 :          41 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1669;
   16394                 :          41 :                 {
   16395                 :          41 :                   tree res_op0;
   16396                 :          41 :                   res_op0 = captures[0];
   16397                 :          41 :                   tree res_op1;
   16398                 :          41 :                   res_op1 = captures[2];
   16399                 :          41 :                   tree res_op2;
   16400                 :          41 :                   res_op2 = captures[1];
   16401                 :          41 :                   tree _r;
   16402                 :          41 :                   _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
   16403                 :          41 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 964, __FILE__, __LINE__, true);
   16404                 :          41 :                   return _r;
   16405                 :             :                 }
   16406                 :        4412 : next_after_fail1669:;
   16407                 :             :               }
   16408                 :             :           }
   16409                 :             :         }
   16410                 :             : }
   16411                 :             : }
   16412                 :     8769723 :   return NULL_TREE;
   16413                 :             : }
   16414                 :             : #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.