LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - generic-match-10.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 38.1 % 6284 2392
Test Date: 2025-12-13 14:10:19 Functions: 60.0 % 70 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                 :  1085503100 : tree_nop_convert (tree t, tree *res_ops)
      11                 :             : {
      12                 :  1085503100 :   const tree type = TREE_TYPE (t);
      13                 :  1085503100 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :  1085503100 :   if (TREE_SIDE_EFFECTS (t)) return false;
      15                 :  1042617757 :   switch (TREE_CODE (t))
      16                 :             :     {
      17                 :   193759038 :     CASE_CONVERT:
      18                 :   193759038 :       {
      19                 :   193759038 :         tree _p0 = TREE_OPERAND (t, 0);
      20                 :   193759038 :         {
      21                 :   193759038 :           tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
      22                 :   193759038 :           if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
      23                 :             : )
      24                 :             :             {
      25                 :   154637927 :               {
      26                 :   154637927 :                 res_ops[0] = captures[0];
      27                 :   154637927 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 0, __FILE__, __LINE__, false);
      28                 :   154637927 :                 return true;
      29                 :             :               }
      30                 :             :             }
      31                 :             :         }
      32                 :             :         break;
      33                 :             :       }
      34                 :     4297626 :     case VIEW_CONVERT_EXPR:
      35                 :     4297626 :       {
      36                 :     4297626 :         tree _p0 = TREE_OPERAND (t, 0);
      37                 :     4297626 :         {
      38                 :     4297626 :           tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
      39                 :     3195074 :           if (VECTOR_TYPE_P (type) && VECTOR_TYPE_P (TREE_TYPE (captures[0]))
      40                 :     3195056 :  && known_eq (TYPE_VECTOR_SUBPARTS (type),
      41                 :             :  TYPE_VECTOR_SUBPARTS (TREE_TYPE (captures[0])))
      42                 :     6504852 :  && tree_nop_conversion_p (TREE_TYPE (type), TREE_TYPE (TREE_TYPE (captures[0])))
      43                 :             : )
      44                 :             :             {
      45                 :     2207220 :               {
      46                 :     2207220 :                 res_ops[0] = captures[0];
      47                 :     2207220 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1, __FILE__, __LINE__, false);
      48                 :     2207220 :                 return true;
      49                 :             :               }
      50                 :             :             }
      51                 :             :         }
      52                 :     2090406 :         break;
      53                 :             :       }
      54                 :             :     default:;
      55                 :             :     }
      56                 :             :   return false;
      57                 :             : }
      58                 :             : 
      59                 :             : bool
      60                 :    86449809 : tree_with_known_nonzero_bits (tree t)
      61                 :             : {
      62                 :    86449809 :   const tree type = TREE_TYPE (t);
      63                 :    86449809 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      64                 :    86449809 :   if (TREE_SIDE_EFFECTS (t)) return false;
      65                 :    81486887 :   switch (TREE_CODE (t))
      66                 :             :     {
      67                 :      282122 :     case BIT_IOR_EXPR:
      68                 :      282122 :       {
      69                 :      282122 :         tree _p0 = TREE_OPERAND (t, 0);
      70                 :      282122 :         tree _p1 = TREE_OPERAND (t, 1);
      71                 :      282122 :         if (tree_with_known_nonzero_bits_1 (_p0))
      72                 :             :           {
      73                 :      274482 :             {
      74                 :      274482 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      75                 :      274482 :               {
      76                 :      274482 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 39, __FILE__, __LINE__, false);
      77                 :      274482 :                 return true;
      78                 :             :               }
      79                 :             :             }
      80                 :             :           }
      81                 :        7640 :         if (tree_with_known_nonzero_bits_1 (_p1))
      82                 :             :           {
      83                 :         210 :             {
      84                 :         210 :               tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
      85                 :         210 :               {
      86                 :         210 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 39, __FILE__, __LINE__, false);
      87                 :         210 :                 return true;
      88                 :             :               }
      89                 :             :             }
      90                 :             :           }
      91                 :             :         break;
      92                 :             :       }
      93                 :    81212195 :     default:;
      94                 :             :     }
      95                 :    81212195 : if (tree_with_known_nonzero_bits_1 (t))
      96                 :             :   {
      97                 :    40680388 :     {
      98                 :    40680388 :       tree captures[1] ATTRIBUTE_UNUSED = { t };
      99                 :    40680388 :       {
     100                 :    40680388 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 40, __FILE__, __LINE__, false);
     101                 :    40680388 :         return true;
     102                 :             :       }
     103                 :             :     }
     104                 :             :   }
     105                 :             :   return false;
     106                 :             : }
     107                 :             : 
     108                 :             : tree
     109                 :         316 : generic_simplify_4 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     110                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     111                 :             :  const enum tree_code ARG_UNUSED (outer_op),
     112                 :             :  const enum tree_code ARG_UNUSED (inner_op))
     113                 :             : {
     114                 :         316 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     115                 :         316 :   if (real_zerop (captures[2])
     116                 :          34 :  && real_zerop (captures[3])
     117                 :         350 :  && !HONOR_SIGN_DEPENDENT_ROUNDING (type)
     118                 :             : )
     119                 :             :     {
     120                 :          10 :       {
     121                 :          10 :  bool inner_plus = ((inner_op == PLUS_EXPR)
     122                 :          10 :  ^ REAL_VALUE_MINUS_ZERO (TREE_REAL_CST (captures[2])));
     123                 :          10 :  bool outer_plus
     124                 :          10 :  = ((outer_op == PLUS_EXPR)
     125                 :          10 :  ^ REAL_VALUE_MINUS_ZERO (TREE_REAL_CST (captures[3])));
     126                 :          10 :           if (outer_plus && !inner_plus
     127                 :             : )
     128                 :             :             {
     129                 :           2 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail75;
     130                 :           2 :               {
     131                 :           2 :                 tree res_op0;
     132                 :           2 :                 res_op0 = captures[1];
     133                 :           2 :                 tree res_op1;
     134                 :           2 :                 res_op1 = captures[3];
     135                 :           2 :                 tree _r;
     136                 :           2 :                 _r = fold_build2_loc (loc, outer_op, type, res_op0, res_op1);
     137                 :           2 :                 if (TREE_SIDE_EFFECTS (captures[2]))
     138                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
     139                 :           2 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 52, __FILE__, __LINE__, true);
     140                 :           2 :                 return _r;
     141                 :             :               }
     142                 :           0 : next_after_fail75:;
     143                 :             :             }
     144                 :             :           else
     145                 :             :             {
     146                 :           8 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail76;
     147                 :           8 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail76;
     148                 :           8 :               {
     149                 :           8 :                 tree _r;
     150                 :           8 :                 _r = captures[0];
     151                 :           8 :                 if (TREE_SIDE_EFFECTS (captures[3]))
     152                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
     153                 :           8 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 53, __FILE__, __LINE__, true);
     154                 :           8 :                 return _r;
     155                 :             :               }
     156                 :             : next_after_fail76:;
     157                 :             :             }
     158                 :             :       }
     159                 :             :     }
     160                 :             :   return NULL_TREE;
     161                 :             : }
     162                 :             : 
     163                 :             : tree
     164                 :         871 : generic_simplify_19 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     165                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     166                 :             : {
     167                 :         871 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     168                 :         871 :   if (!TYPE_SATURATING (type)
     169                 :             : )
     170                 :             :     {
     171                 :         871 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     172                 :        1742 :  && !FIXED_POINT_TYPE_P (type)
     173                 :             : )
     174                 :             :         {
     175                 :         871 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail99;
     176                 :         871 :           {
     177                 :         871 :             tree res_op0;
     178                 :         871 :             res_op0 = captures[2];
     179                 :         871 :             tree res_op1;
     180                 :         871 :             res_op1 = captures[1];
     181                 :         871 :             tree _r;
     182                 :         871 :             _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
     183                 :         871 :             if (TREE_SIDE_EFFECTS (captures[0]))
     184                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
     185                 :         871 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 76, __FILE__, __LINE__, true);
     186                 :         871 :             return _r;
     187                 :             :           }
     188                 :           0 : next_after_fail99:;
     189                 :             :         }
     190                 :             :     }
     191                 :             :   return NULL_TREE;
     192                 :             : }
     193                 :             : 
     194                 :             : tree
     195                 :     2288268 : generic_simplify_25 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     196                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     197                 :             :  const enum tree_code ARG_UNUSED (plusminus))
     198                 :             : {
     199                 :     2288268 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     200                 :     2288268 :   if (!TYPE_SATURATING (type)
     201                 :     2288268 :  && (!FLOAT_TYPE_P (type) || flag_associative_math)
     202                 :             : )
     203                 :             :     {
     204                 :         110 :       if (!ANY_INTEGRAL_TYPE_P (type)
     205                 :     2288039 :  || TYPE_OVERFLOW_WRAPS (type)
     206                 :     4005908 :  || (INTEGRAL_TYPE_P (type)
     207                 :     1717759 :  && tree_expr_nonzero_p (captures[1])
     208                 :     3210291 :  && expr_not_equal_to (captures[1], wi::minus_one (TYPE_PRECISION (type)),
     209                 :             :  gimple_match_ctx (captures[0])))
     210                 :             : )
     211                 :             :         {
     212                 :     1492228 :           if (single_use (captures[0]) || single_use (captures[3])
     213                 :             : )
     214                 :             :             {
     215                 :     1492228 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail105;
     216                 :     1492228 :               {
     217                 :     1492228 :                 tree res_op0;
     218                 :     1492228 :                 {
     219                 :     1492228 :                   tree _o1[2], _r1;
     220                 :     1492228 :                   _o1[0] = captures[2];
     221                 :     1492228 :                   _o1[1] = captures[4];
     222                 :     1492228 :                   _r1 = fold_build2_loc (loc, plusminus, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     223                 :     1492228 :                   res_op0 = _r1;
     224                 :             :                 }
     225                 :     1492228 :                 tree res_op1;
     226                 :     1492228 :                 res_op1 = captures[1];
     227                 :     1492228 :                 tree _r;
     228                 :     1492228 :                 _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
     229                 :     1492228 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 82, __FILE__, __LINE__, true);
     230                 :     1492228 :                 return _r;
     231                 :             :               }
     232                 :           0 : next_after_fail105:;
     233                 :             :             }
     234                 :             :           else
     235                 :             :             {
     236                 :             :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail106;
     237                 :             :               {
     238                 :             :                 tree res_op0;
     239                 :             :                 {
     240                 :             :                   tree _o1[2], _r1;
     241                 :             :                   _o1[0] = captures[2];
     242                 :             :                   _o1[1] = captures[4];
     243                 :             :                   _r1 = fold_build2_loc (loc, plusminus, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     244                 :             :                   res_op0 = _r1;
     245                 :             :                 }
     246                 :             :                 tree res_op1;
     247                 :             :                 res_op1 = captures[1];
     248                 :             :                 tree _r;
     249                 :             :                 _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
     250                 :             :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 83, __FILE__, __LINE__, true);
     251                 :             :                 return _r;
     252                 :             :               }
     253                 :             : next_after_fail106:;
     254                 :             :             }
     255                 :             :         }
     256                 :             :     }
     257                 :             :   return NULL_TREE;
     258                 :             : }
     259                 :             : 
     260                 :             : tree
     261                 :           4 : generic_simplify_37 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     262                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     263                 :             :  const enum tree_code ARG_UNUSED (log1),
     264                 :             :  const enum tree_code ARG_UNUSED (log2),
     265                 :             :  const combined_fn ARG_UNUSED (popcount))
     266                 :             : {
     267                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     268                 :           4 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail119;
     269                 :           4 :   {
     270                 :           4 :     tree res_op0;
     271                 :           4 :     {
     272                 :           4 :       tree _o1[2], _r1;
     273                 :           4 :       _o1[0] = captures[2];
     274                 :           4 :       _o1[1] = captures[5];
     275                 :           4 :       _r1 = fold_build2_loc (loc, log2, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     276                 :           4 :       res_op0 = _r1;
     277                 :             :     }
     278                 :           4 :     tree _r;
     279                 :           4 :     _r = maybe_build_call_expr_loc (loc, popcount, type, 1, res_op0);
     280                 :           4 :     if (!_r)
     281                 :           0 :       goto next_after_fail119;
     282                 :           4 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 96, __FILE__, __LINE__, true);
     283                 :             :     return _r;
     284                 :             :   }
     285                 :             : next_after_fail119:;
     286                 :             :   return NULL_TREE;
     287                 :             : }
     288                 :             : 
     289                 :             : tree
     290                 :           0 : generic_simplify_43 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     291                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     292                 :             : {
     293                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     294                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail125;
     295                 :           0 :   {
     296                 :           0 :     tree res_op0;
     297                 :           0 :     res_op0 = unshare_expr (captures[2]);
     298                 :           0 :     tree res_op1;
     299                 :           0 :     {
     300                 :           0 :       tree _o1[2], _r1;
     301                 :           0 :       _o1[0] = captures[1];
     302                 :           0 :       _o1[1] = captures[2];
     303                 :           0 :       _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     304                 :           0 :       res_op1 = _r1;
     305                 :             :     }
     306                 :           0 :     tree _r;
     307                 :           0 :     _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
     308                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 102, __FILE__, __LINE__, true);
     309                 :             :     return _r;
     310                 :             :   }
     311                 :           0 : next_after_fail125:;
     312                 :           0 :   return NULL_TREE;
     313                 :             : }
     314                 :             : 
     315                 :             : tree
     316                 :       56001 : generic_simplify_50 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     317                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     318                 :             : {
     319                 :       56001 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     320                 :       56001 :   if (!TYPE_SATURATING (type)
     321                 :             : )
     322                 :             :     {
     323                 :       56001 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     324                 :      111991 :  && !FIXED_POINT_TYPE_P (type)
     325                 :             : )
     326                 :             :         {
     327                 :       55990 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail132;
     328                 :       55990 :           {
     329                 :       55990 :             tree res_op0;
     330                 :       55990 :             res_op0 = captures[1];
     331                 :       55990 :             tree _r;
     332                 :       55990 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
     333                 :       55990 :             if (TREE_SIDE_EFFECTS (captures[0]))
     334                 :          15 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
     335                 :       55990 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 108, __FILE__, __LINE__, true);
     336                 :       55990 :             return _r;
     337                 :             :           }
     338                 :           0 : next_after_fail132:;
     339                 :             :         }
     340                 :             :     }
     341                 :             :   return NULL_TREE;
     342                 :             : }
     343                 :             : 
     344                 :             : tree
     345                 :       10542 : generic_simplify_57 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     346                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     347                 :             : {
     348                 :       10542 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     349                 :       10542 :   if (!TYPE_SATURATING (type)
     350                 :             : )
     351                 :             :     {
     352                 :       10542 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     353                 :       21084 :  && !FIXED_POINT_TYPE_P (type)
     354                 :             : )
     355                 :             :         {
     356                 :       10542 :           if (element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
     357                 :       10542 :  || (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     358                 :        2402 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
     359                 :             : )
     360                 :             :             {
     361                 :       10428 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail143;
     362                 :       10428 :               {
     363                 :       10428 :                 tree res_op0;
     364                 :       10428 :                 res_op0 = captures[1];
     365                 :       10428 :                 tree _r;
     366                 :       10428 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     367                 :       10428 :                 if (TREE_SIDE_EFFECTS (captures[2]))
     368                 :          15 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
     369                 :       10428 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 119, __FILE__, __LINE__, true);
     370                 :       10428 :                 return _r;
     371                 :             :               }
     372                 :           0 : next_after_fail143:;
     373                 :             :             }
     374                 :             :         }
     375                 :             :     }
     376                 :             :   return NULL_TREE;
     377                 :             : }
     378                 :             : 
     379                 :             : tree
     380                 :           4 : generic_simplify_63 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     381                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     382                 :             :  const enum tree_code ARG_UNUSED (log1),
     383                 :             :  const enum tree_code ARG_UNUSED (log2),
     384                 :             :  const combined_fn ARG_UNUSED (popcount))
     385                 :             : {
     386                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     387                 :           4 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail151;
     388                 :           4 :   {
     389                 :           4 :     tree res_op0;
     390                 :           4 :     {
     391                 :           4 :       tree _o1[2], _r1;
     392                 :           4 :       _o1[0] = captures[2];
     393                 :           4 :       _o1[1] = captures[4];
     394                 :           4 :       _r1 = fold_build2_loc (loc, log2, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     395                 :           4 :       res_op0 = _r1;
     396                 :             :     }
     397                 :           4 :     tree _r;
     398                 :           4 :     _r = maybe_build_call_expr_loc (loc, popcount, type, 1, res_op0);
     399                 :           4 :     if (!_r)
     400                 :           0 :       goto next_after_fail151;
     401                 :           4 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 127, __FILE__, __LINE__, true);
     402                 :             :     return _r;
     403                 :             :   }
     404                 :             : next_after_fail151:;
     405                 :             :   return NULL_TREE;
     406                 :             : }
     407                 :             : 
     408                 :             : tree
     409                 :          36 : generic_simplify_67 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     410                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     411                 :             :  const enum tree_code ARG_UNUSED (bitop),
     412                 :             :  const enum tree_code ARG_UNUSED (cmp))
     413                 :             : {
     414                 :          36 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     415                 :          72 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
     416                 :          36 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
     417                 :          72 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[2]))
     418                 :             : )
     419                 :             :     {
     420                 :          36 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail155;
     421                 :          36 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail155;
     422                 :          36 :       {
     423                 :          36 :         tree res_op0;
     424                 :          36 :         {
     425                 :          36 :           tree _o1[2], _r1;
     426                 :          36 :           _o1[0] = captures[0];
     427                 :          36 :           {
     428                 :          36 :             tree _o2[1], _r2;
     429                 :          36 :             _o2[0] = captures[2];
     430                 :          36 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
     431                 :             :               {
     432                 :           0 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
     433                 :             :               }
     434                 :             :             else
     435                 :             :               _r2 = _o2[0];
     436                 :          36 :             _o1[1] = _r2;
     437                 :             :           }
     438                 :          36 :           _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     439                 :          36 :           res_op0 = _r1;
     440                 :             :         }
     441                 :          36 :         tree res_op1;
     442                 :          36 :         res_op1 = captures[1];
     443                 :          36 :         tree _r;
     444                 :          36 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
     445                 :          36 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 131, __FILE__, __LINE__, true);
     446                 :          36 :         return _r;
     447                 :             :       }
     448                 :             : next_after_fail155:;
     449                 :             :     }
     450                 :             :   return NULL_TREE;
     451                 :             : }
     452                 :             : 
     453                 :             : tree
     454                 :           0 : generic_simplify_79 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     455                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     456                 :             :  const enum tree_code ARG_UNUSED (op))
     457                 :             : {
     458                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     459                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail171;
     460                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail171;
     461                 :           0 :   {
     462                 :           0 :     tree _r;
     463                 :           0 :     _r = captures[0];
     464                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 142, __FILE__, __LINE__, true);
     465                 :             :     return _r;
     466                 :             :   }
     467                 :             : next_after_fail171:;
     468                 :             :   return NULL_TREE;
     469                 :             : }
     470                 :             : 
     471                 :             : tree
     472                 :      236872 : generic_simplify_88 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     473                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     474                 :             :  const enum tree_code ARG_UNUSED (op))
     475                 :             : {
     476                 :      236872 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     477                 :      236872 :   {
     478                 :      236872 :  bool wascmp;
     479                 :      236872 :       if (types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
     480                 :      236872 :  && bitwise_inverted_equal_p (captures[0], captures[1], wascmp)
     481                 :             : )
     482                 :             :         {
     483                 :          47 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail180;
     484                 :          47 :           {
     485                 :          47 :             tree res_op0;
     486                 :          47 :             res_op0 =  wascmp
     487                 :          47 :  ? constant_boolean_node (true, type)
     488                 :          40 :  : build_all_ones_cst (TREE_TYPE (captures[0]));
     489                 :          47 :             tree _r;
     490                 :          47 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     491                 :          47 :             if (TREE_SIDE_EFFECTS (captures[0]))
     492                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
     493                 :          47 :             if (TREE_SIDE_EFFECTS (captures[1]))
     494                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     495                 :          47 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 147, __FILE__, __LINE__, true);
     496                 :          47 :             return _r;
     497                 :             :           }
     498                 :           0 : next_after_fail180:;
     499                 :             :         }
     500                 :             :   }
     501                 :      236825 :   return NULL_TREE;
     502                 :             : }
     503                 :             : 
     504                 :             : tree
     505                 :     3031608 : generic_simplify_104 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     506                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     507                 :             :  const enum tree_code ARG_UNUSED (bitop))
     508                 :             : {
     509                 :     3031608 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     510                 :     3031608 :   if (((TREE_CODE (captures[3]) == INTEGER_CST
     511                 :      959090 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     512                 :      764400 :  && (int_fits_type_p (captures[3], TREE_TYPE (captures[1]))
     513                 :       16284 :  || tree_nop_conversion_p (TREE_TYPE (captures[1]), type)))
     514                 :     2281216 :  || types_match (captures[1], captures[3]))
     515                 :     1185799 :  && !POINTER_TYPE_P (TREE_TYPE (captures[1]))
     516                 :     1185799 :  && !VECTOR_TYPE_P (TREE_TYPE (captures[1]))
     517                 :     1185796 :  && TREE_CODE (TREE_TYPE (captures[1])) != OFFSET_TYPE
     518                 :     1185796 :  && (bitop != BIT_AND_EXPR ||
     519                 :             : 
     520                 :             : )
     521                 :     3031608 :  && (
     522                 :       37350 :  TYPE_PRECISION (TREE_TYPE (captures[1])) < TYPE_PRECISION (type)
     523                 :             :  || (
     524                 :             : 
     525                 :             :  && TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (type))
     526                 :       36262 :  || GET_MODE_CLASS (TYPE_MODE (type)) != MODE_INT
     527                 :       36262 :  || !type_has_mode_precision_p (type)
     528                 :       36262 :  || (
     529                 :             : 
     530                 :             :  && TREE_CODE (captures[3]) != INTEGER_CST
     531                 :             :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
     532                 :             :  && single_use (captures[0])
     533                 :             :  && single_use (captures[2])))
     534                 :             : )
     535                 :             :     {
     536                 :        1091 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail200;
     537                 :        1091 :       {
     538                 :        1091 :         tree res_op0;
     539                 :        1091 :         {
     540                 :        1091 :           tree _o1[2], _r1;
     541                 :        1091 :           _o1[0] = captures[1];
     542                 :        1091 :           {
     543                 :        1091 :             tree _o2[1], _r2;
     544                 :        1091 :             _o2[0] = captures[3];
     545                 :        1091 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
     546                 :             :               {
     547                 :        1091 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
     548                 :             :               }
     549                 :             :             else
     550                 :             :               _r2 = _o2[0];
     551                 :        1091 :             _o1[1] = _r2;
     552                 :             :           }
     553                 :        1091 :           _r1 = fold_build2_loc (loc, bitop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     554                 :        1091 :           res_op0 = _r1;
     555                 :             :         }
     556                 :        1091 :         tree _r;
     557                 :        1091 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     558                 :        1091 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 158, __FILE__, __LINE__, true);
     559                 :        1091 :         return _r;
     560                 :             :       }
     561                 :           0 : next_after_fail200:;
     562                 :             :     }
     563                 :             :   return NULL_TREE;
     564                 :             : }
     565                 :             : 
     566                 :             : tree
     567                 :           0 : generic_simplify_118 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     568                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     569                 :             :  const enum tree_code ARG_UNUSED (op))
     570                 :             : {
     571                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     572                 :           0 :   if (INTEGRAL_TYPE_P (type)
     573                 :           0 :  && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[2])) == 0
     574                 :             : )
     575                 :             :     {
     576                 :           0 :       {
     577                 :           0 :  tree t = type;
     578                 :           0 :  if (!TYPE_OVERFLOW_WRAPS (t))
     579                 :           0 :  t = unsigned_type_for (t);
     580                 :           0 :  wide_int c = wi::add (wi::to_wide (captures[3]), 1);
     581                 :           0 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail215;
     582                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail215;
     583                 :           0 :           {
     584                 :           0 :             tree res_op0;
     585                 :           0 :             {
     586                 :           0 :               tree _o1[2], _r1;
     587                 :           0 :               {
     588                 :           0 :                 tree _o2[1], _r2;
     589                 :           0 :                 _o2[0] = captures[2];
     590                 :           0 :                 if (TREE_TYPE (_o2[0]) != t)
     591                 :             :                   {
     592                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
     593                 :             :                   }
     594                 :             :                 else
     595                 :             :                   _r2 = _o2[0];
     596                 :           0 :                 _o1[0] = _r2;
     597                 :             :               }
     598                 :           0 :               _o1[1] =  wide_int_to_tree (t, c);
     599                 :           0 :               _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
     600                 :           0 :               res_op0 = _r1;
     601                 :             :             }
     602                 :           0 :             tree _r;
     603                 :           0 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     604                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 168, __FILE__, __LINE__, true);
     605                 :           0 :             return _r;
     606                 :             :           }
     607                 :           0 : next_after_fail215:;
     608                 :           0 :       }
     609                 :             :     }
     610                 :             :   return NULL_TREE;
     611                 :             : }
     612                 :             : 
     613                 :             : tree
     614                 :           4 : generic_simplify_126 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     615                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     616                 :             : {
     617                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     618                 :           4 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail229;
     619                 :           4 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail229;
     620                 :           4 :   {
     621                 :           4 :     tree _r;
     622                 :           4 :     _r = captures[2];
     623                 :           4 :     if (TREE_SIDE_EFFECTS (captures[1]))
     624                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     625                 :           4 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 182, __FILE__, __LINE__, true);
     626                 :             :     return _r;
     627                 :             :   }
     628                 :             : next_after_fail229:;
     629                 :             :   return NULL_TREE;
     630                 :             : }
     631                 :             : 
     632                 :             : tree
     633                 :           0 : generic_simplify_132 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     634                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     635                 :             :  const enum tree_code ARG_UNUSED (cmp))
     636                 :             : {
     637                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     638                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail253;
     639                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail253;
     640                 :           0 :   {
     641                 :           0 :     tree res_op0;
     642                 :           0 :     {
     643                 :           0 :       tree _o1[2], _r1;
     644                 :           0 :       _o1[0] =  build_zero_cst (TREE_TYPE (captures[0]));
     645                 :           0 :       _o1[1] = captures[2];
     646                 :           0 :       _r1 = fold_build2_loc (loc, cmp, type, _o1[0], _o1[1]);
     647                 :           0 :       res_op0 = _r1;
     648                 :             :     }
     649                 :           0 :     tree res_op1;
     650                 :           0 :     res_op1 = captures[3];
     651                 :           0 :     tree _r;
     652                 :           0 :     _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
     653                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 199, __FILE__, __LINE__, true);
     654                 :             :     return _r;
     655                 :             :   }
     656                 :             : next_after_fail253:;
     657                 :             :   return NULL_TREE;
     658                 :             : }
     659                 :             : 
     660                 :             : tree
     661                 :           0 : generic_simplify_137 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     662                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     663                 :             :  const enum tree_code ARG_UNUSED (code2),
     664                 :             :  const enum tree_code ARG_UNUSED (code1))
     665                 :             : {
     666                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     667                 :           0 :   if ((TREE_CODE (captures[2]) == INTEGER_CST
     668                 :           0 :  && TREE_CODE (captures[5]) == INTEGER_CST)
     669                 :           0 :  || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
     670                 :           0 :  || (VECTOR_TYPE_P (TREE_TYPE (captures[2])))
     671                 :           0 :  || POINTER_TYPE_P (TREE_TYPE (captures[2])))
     672                 :           0 :  && bitwise_equal_p (captures[2], captures[5]))
     673                 :             : )
     674                 :             :     {
     675                 :           0 :       {
     676                 :           0 :  bool one_before = false;
     677                 :           0 :  bool one_after = false;
     678                 :           0 :  int cmp = 0;
     679                 :           0 :  bool allbits = true;
     680                 :           0 :  if (TREE_CODE (captures[2]) == INTEGER_CST
     681                 :           0 :  && TREE_CODE (captures[5]) == INTEGER_CST)
     682                 :             :  {
     683                 :           0 :  allbits = TYPE_PRECISION (TREE_TYPE (captures[2])) <= TYPE_PRECISION (TREE_TYPE (captures[5]));
     684                 :           0 :  auto t1 = wi::to_wide (fold_convert (TREE_TYPE (captures[5]), captures[2]));
     685                 :           0 :  auto t2 = wi::to_wide (captures[5]);
     686                 :           0 :  cmp = wi::cmp (t1, t2, TYPE_SIGN (TREE_TYPE (captures[5])));
     687                 :           0 :  if (cmp < 0
     688                 :           0 :  && t1 == t2 - 1)
     689                 :             :  one_before = true;
     690                 :           0 :  if (cmp > 0
     691                 :           0 :  && t1 == t2 + 1)
     692                 :             :  one_after = true;
     693                 :             :  }
     694                 :           0 :  bool val;
     695                 :           0 :  switch (code2)
     696                 :             :  {
     697                 :           0 :  case EQ_EXPR: val = (cmp == 0); break;
     698                 :           0 :  case NE_EXPR: val = (cmp != 0); break;
     699                 :           0 :  case LT_EXPR: val = (cmp < 0); break;
     700                 :           0 :  case GT_EXPR: val = (cmp > 0); break;
     701                 :           0 :  case LE_EXPR: val = (cmp <= 0); break;
     702                 :           0 :  case GE_EXPR: val = (cmp >= 0); break;
     703                 :           0 :  default: gcc_unreachable ();
     704                 :             :  }
     705                 :           0 :           if (code1 == EQ_EXPR && val
     706                 :             : )
     707                 :             :             {
     708                 :           0 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail259;
     709                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail259;
     710                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail259;
     711                 :           0 :               {
     712                 :           0 :                 tree _r;
     713                 :           0 :                 _r = captures[3];
     714                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 184, __FILE__, __LINE__, true);
     715                 :           0 :                 return _r;
     716                 :             :               }
     717                 :             : next_after_fail259:;
     718                 :             :             }
     719                 :             :           else
     720                 :             :             {
     721                 :           0 :               if (code1 == NE_EXPR && val && allbits
     722                 :             : )
     723                 :             :                 {
     724                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail260;
     725                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail260;
     726                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail260;
     727                 :           0 :                   {
     728                 :           0 :                     tree _r;
     729                 :           0 :                     _r =  constant_boolean_node (true, type);
     730                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
     731                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     732                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 185, __FILE__, __LINE__, true);
     733                 :           0 :                     return _r;
     734                 :             :                   }
     735                 :             : next_after_fail260:;
     736                 :             :                 }
     737                 :             :               else
     738                 :             :                 {
     739                 :           0 :                   if (code1 == NE_EXPR && !val && allbits
     740                 :             : )
     741                 :             :                     {
     742                 :           0 :                       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail261;
     743                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail261;
     744                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail261;
     745                 :           0 :                       {
     746                 :           0 :                         tree _r;
     747                 :           0 :                         _r = captures[0];
     748                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 186, __FILE__, __LINE__, true);
     749                 :           0 :                         return _r;
     750                 :             :                       }
     751                 :             : next_after_fail261:;
     752                 :             :                     }
     753                 :             :                   else
     754                 :             :                     {
     755                 :           0 :                       if (code1 == EQ_EXPR
     756                 :           0 :  && code2 == GT_EXPR
     757                 :           0 :  && cmp == 0
     758                 :           0 :  && allbits
     759                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
     760                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GE_EXPR))
     761                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
     762                 :             : )
     763                 :             :                         {
     764                 :           0 :                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail262;
     765                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail262;
     766                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail262;
     767                 :           0 :                           {
     768                 :           0 :                             tree res_op0;
     769                 :           0 :                             res_op0 = captures[4];
     770                 :           0 :                             tree res_op1;
     771                 :           0 :                             res_op1 = captures[5];
     772                 :           0 :                             tree _r;
     773                 :           0 :                             _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
     774                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 187, __FILE__, __LINE__, true);
     775                 :           0 :                             return _r;
     776                 :             :                           }
     777                 :             : next_after_fail262:;
     778                 :             :                         }
     779                 :             :                       else
     780                 :             :                         {
     781                 :           0 :                           if (code1 == EQ_EXPR
     782                 :           0 :  && code2 == LT_EXPR
     783                 :           0 :  && cmp == 0
     784                 :           0 :  && allbits
     785                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
     786                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LE_EXPR))
     787                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
     788                 :             : )
     789                 :             :                             {
     790                 :           0 :                               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail263;
     791                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail263;
     792                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail263;
     793                 :           0 :                               {
     794                 :           0 :                                 tree res_op0;
     795                 :           0 :                                 res_op0 = captures[4];
     796                 :           0 :                                 tree res_op1;
     797                 :           0 :                                 res_op1 = captures[5];
     798                 :           0 :                                 tree _r;
     799                 :           0 :                                 _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
     800                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 188, __FILE__, __LINE__, true);
     801                 :           0 :                                 return _r;
     802                 :             :                               }
     803                 :             : next_after_fail263:;
     804                 :             :                             }
     805                 :             :                           else
     806                 :             :                             {
     807                 :           0 :                               if (code1 == EQ_EXPR
     808                 :           0 :  && code2 == GE_EXPR
     809                 :             :  && one_before
     810                 :           0 :  && allbits
     811                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
     812                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GE_EXPR))
     813                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
     814                 :             : )
     815                 :             :                                 {
     816                 :           0 :                                   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail264;
     817                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail264;
     818                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail264;
     819                 :           0 :                                   {
     820                 :           0 :                                     tree res_op0;
     821                 :           0 :                                     res_op0 = captures[4];
     822                 :           0 :                                     tree res_op1;
     823                 :           0 :                                     {
     824                 :           0 :                                       tree _o1[1], _r1;
     825                 :           0 :                                       _o1[0] = captures[2];
     826                 :           0 :                                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
     827                 :             :                                         {
     828                 :           0 :                                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
     829                 :             :                                         }
     830                 :             :                                       else
     831                 :             :                                         _r1 = _o1[0];
     832                 :           0 :                                       res_op1 = _r1;
     833                 :             :                                     }
     834                 :           0 :                                     tree _r;
     835                 :           0 :                                     _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
     836                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 189, __FILE__, __LINE__, true);
     837                 :           0 :                                     return _r;
     838                 :             :                                   }
     839                 :             : next_after_fail264:;
     840                 :             :                                 }
     841                 :             :                               else
     842                 :             :                                 {
     843                 :           0 :                                   if (code1 == EQ_EXPR
     844                 :           0 :  && code2 == LE_EXPR
     845                 :             :  && one_after
     846                 :           0 :  && allbits
     847                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
     848                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LE_EXPR))
     849                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
     850                 :             : )
     851                 :             :                                     {
     852                 :           0 :                                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail265;
     853                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail265;
     854                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail265;
     855                 :           0 :                                       {
     856                 :           0 :                                         tree res_op0;
     857                 :           0 :                                         res_op0 = captures[4];
     858                 :           0 :                                         tree res_op1;
     859                 :           0 :                                         {
     860                 :           0 :                                           tree _o1[1], _r1;
     861                 :           0 :                                           _o1[0] = captures[2];
     862                 :           0 :                                           if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
     863                 :             :                                             {
     864                 :           0 :                                               _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
     865                 :             :                                             }
     866                 :             :                                           else
     867                 :             :                                             _r1 = _o1[0];
     868                 :           0 :                                           res_op1 = _r1;
     869                 :             :                                         }
     870                 :           0 :                                         tree _r;
     871                 :           0 :                                         _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
     872                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 190, __FILE__, __LINE__, true);
     873                 :           0 :                                         return _r;
     874                 :             :                                       }
     875                 :             : next_after_fail265:;
     876                 :             :                                     }
     877                 :             :                                 }
     878                 :             :                             }
     879                 :             :                         }
     880                 :             :                     }
     881                 :             :                 }
     882                 :             :             }
     883                 :             :       }
     884                 :             :     }
     885                 :             :   return NULL_TREE;
     886                 :             : }
     887                 :             : 
     888                 :             : tree
     889                 :           0 : generic_simplify_179 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     890                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     891                 :             :  const combined_fn ARG_UNUSED (copysigns))
     892                 :             : {
     893                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     894                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail316;
     895                 :           0 :   {
     896                 :           0 :     if (! tree_invariant_p (captures[1])) goto next_after_fail316;
     897                 :           0 :     tree res_op0;
     898                 :           0 :     res_op0 = unshare_expr (captures[1]);
     899                 :           0 :     tree res_op1;
     900                 :           0 :     res_op1 = captures[1];
     901                 :           0 :     tree _r;
     902                 :           0 :     _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
     903                 :           0 :     if (TREE_SIDE_EFFECTS (captures[2]))
     904                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
     905                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 235, __FILE__, __LINE__, true);
     906                 :             :     return _r;
     907                 :             :   }
     908                 :             : next_after_fail316:;
     909                 :             :   return NULL_TREE;
     910                 :             : }
     911                 :             : 
     912                 :             : tree
     913                 :        4461 : generic_simplify_191 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     914                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     915                 :             :  const enum tree_code ARG_UNUSED (op))
     916                 :             : {
     917                 :        4461 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     918                 :        4461 :   {
     919                 :        4461 :  poly_widest_int factor;
     920                 :        4461 :       if (tree_nop_conversion_p (type, TREE_TYPE (captures[2]))
     921                 :        4430 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[2]))
     922                 :        8891 :  && multiple_p (wi::to_poly_widest (captures[3]), wi::to_widest (captures[1]), &factor)
     923                 :             : )
     924                 :             :         {
     925                 :        4381 :           {
     926                 :        4381 :  wi::overflow_type overflow;
     927                 :        4381 :  wide_int mul;
     928                 :        4381 :               if (types_match (type, TREE_TYPE (captures[2]))
     929                 :        4335 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[2]))
     930                 :           0 :  && TREE_CODE (captures[2]) == INTEGER_CST
     931                 :           0 :  && TREE_CODE (captures[3]) == INTEGER_CST
     932                 :        4381 :  && (mul = wi::mul (wi::to_wide (captures[2]), wi::to_wide (captures[3]),
     933                 :           0 :  TYPE_SIGN (type), &overflow),
     934                 :           0 :  !overflow)
     935                 :        4381 :  && (TYPE_UNSIGNED (type)
     936                 :        4381 :  || known_eq (factor, 1)
     937                 :           0 :  || (get_range_pos_neg (captures[0])
     938                 :           0 :  | (((op == PLUS_EXPR) ^ (tree_int_cst_sgn (captures[2]) < 0))
     939                 :           0 :  ? 1 : 2)) != 3)
     940                 :             : )
     941                 :             :                 {
     942                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail330;
     943                 :           0 :                   {
     944                 :           0 :                     tree res_op0;
     945                 :           0 :                     {
     946                 :           0 :                       tree _o1[2], _r1;
     947                 :           0 :                       _o1[0] = captures[0];
     948                 :           0 :                       _o1[1] =  wide_int_to_tree (type, factor);
     949                 :           0 :                       _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     950                 :           0 :                       res_op0 = _r1;
     951                 :             :                     }
     952                 :           0 :                     tree res_op1;
     953                 :           0 :                     res_op1 =  wide_int_to_tree (type, mul);
     954                 :           0 :                     tree _r;
     955                 :           0 :                     _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
     956                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
     957                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     958                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[2]))
     959                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
     960                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[3]))
     961                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
     962                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 245, __FILE__, __LINE__, true);
     963                 :           0 :                     return _r;
     964                 :             :                   }
     965                 :           0 : next_after_fail330:;
     966                 :             :                 }
     967                 :             :               else
     968                 :             :                 {
     969                 :        4381 :                   {
     970                 :        4381 :  tree utype = unsigned_type_for (type);
     971                 :        4381 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail331;
     972                 :        4381 :                       {
     973                 :        4381 :                         tree res_op0;
     974                 :        4381 :                         {
     975                 :        4381 :                           tree _o1[2], _r1;
     976                 :        4381 :                           {
     977                 :        4381 :                             tree _o2[2], _r2;
     978                 :        4381 :                             {
     979                 :        4381 :                               tree _o3[1], _r3;
     980                 :        4381 :                               _o3[0] = captures[0];
     981                 :        4381 :                               if (TREE_TYPE (_o3[0]) != utype)
     982                 :             :                                 {
     983                 :        4381 :                                   _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
     984                 :             :                                 }
     985                 :             :                               else
     986                 :             :                                 _r3 = _o3[0];
     987                 :        4381 :                               _o2[0] = _r3;
     988                 :             :                             }
     989                 :        4381 :                             _o2[1] =  wide_int_to_tree (utype, factor);
     990                 :        4381 :                             _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
     991                 :        4381 :                             _o1[0] = _r2;
     992                 :             :                           }
     993                 :        4381 :                           {
     994                 :        4381 :                             tree _o2[2], _r2;
     995                 :        4381 :                             {
     996                 :        4381 :                               tree _o3[1], _r3;
     997                 :        4381 :                               _o3[0] = captures[3];
     998                 :        4381 :                               if (TREE_TYPE (_o3[0]) != utype)
     999                 :             :                                 {
    1000                 :          14 :                                   _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    1001                 :             :                                 }
    1002                 :             :                               else
    1003                 :             :                                 _r3 = _o3[0];
    1004                 :        4381 :                               _o2[0] = _r3;
    1005                 :             :                             }
    1006                 :        4381 :                             {
    1007                 :        4381 :                               tree _o3[1], _r3;
    1008                 :        4381 :                               _o3[0] = captures[2];
    1009                 :        4381 :                               if (TREE_TYPE (_o3[0]) != utype)
    1010                 :             :                                 {
    1011                 :          46 :                                   _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    1012                 :             :                                 }
    1013                 :             :                               else
    1014                 :             :                                 _r3 = _o3[0];
    1015                 :        4381 :                               _o2[1] = _r3;
    1016                 :             :                             }
    1017                 :        4381 :                             _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    1018                 :        4381 :                             _o1[1] = _r2;
    1019                 :             :                           }
    1020                 :        4381 :                           _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1021                 :        4381 :                           res_op0 = _r1;
    1022                 :             :                         }
    1023                 :        4381 :                         tree _r;
    1024                 :        4381 :                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1025                 :        4381 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    1026                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1027                 :        4381 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 246, __FILE__, __LINE__, true);
    1028                 :        4381 :                         return _r;
    1029                 :             :                       }
    1030                 :           0 : next_after_fail331:;
    1031                 :             :                   }
    1032                 :             :                 }
    1033                 :           0 :           }
    1034                 :             :         }
    1035                 :        4461 :   }
    1036                 :          80 :   return NULL_TREE;
    1037                 :             : }
    1038                 :             : 
    1039                 :             : tree
    1040                 :           0 : generic_simplify_223 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1041                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1042                 :             :  const enum tree_code ARG_UNUSED (cmp1),
    1043                 :             :  const enum tree_code ARG_UNUSED (cmp2),
    1044                 :             :  const enum tree_code ARG_UNUSED (rcmp))
    1045                 :             : {
    1046                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1047                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1048                 :           0 :  || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    1049                 :           0 :  || (VECTOR_TYPE_P (TREE_TYPE (captures[0]))
    1050                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
    1051                 :             : )
    1052                 :             :     {
    1053                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail379;
    1054                 :           0 :       {
    1055                 :           0 :         tree res_op0;
    1056                 :           0 :         res_op0 = captures[0];
    1057                 :           0 :         tree res_op1;
    1058                 :           0 :         res_op1 = captures[1];
    1059                 :           0 :         tree _r;
    1060                 :           0 :         _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    1061                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 292, __FILE__, __LINE__, true);
    1062                 :           0 :         return _r;
    1063                 :             :       }
    1064                 :           0 : next_after_fail379:;
    1065                 :             :     }
    1066                 :             :   return NULL_TREE;
    1067                 :             : }
    1068                 :             : 
    1069                 :             : tree
    1070                 :           2 : generic_simplify_231 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1071                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1072                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1073                 :             :  const enum tree_code ARG_UNUSED (icmp))
    1074                 :             : {
    1075                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1076                 :           2 :   if (tree_int_cst_sgn (captures[0]) > 0
    1077                 :             : )
    1078                 :             :     {
    1079                 :           2 :       {
    1080                 :           2 :  int c1 = wi::clz (wi::to_wide (captures[0]));
    1081                 :           2 :  int c2 = wi::clz (wi::to_wide (captures[2]));
    1082                 :           2 :           if (c1 > c2
    1083                 :             : )
    1084                 :             :             {
    1085                 :           0 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail391;
    1086                 :           0 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail391;
    1087                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail391;
    1088                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail391;
    1089                 :           0 :               {
    1090                 :           0 :                 tree _r;
    1091                 :           0 :                 _r =  constant_boolean_node (cmp == NE_EXPR ? false : true, type);
    1092                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    1093                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1094                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 304, __FILE__, __LINE__, true);
    1095                 :           0 :                 return _r;
    1096                 :             :               }
    1097                 :             : next_after_fail391:;
    1098                 :             :             }
    1099                 :             :           else
    1100                 :             :             {
    1101                 :           2 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail392;
    1102                 :           2 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail392;
    1103                 :           2 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail392;
    1104                 :           2 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail392;
    1105                 :           2 :               {
    1106                 :           2 :                 tree res_op0;
    1107                 :           2 :                 res_op0 = captures[1];
    1108                 :           2 :                 tree res_op1;
    1109                 :           2 :                 res_op1 =  build_int_cst (TREE_TYPE (captures[1]), c2 - c1);
    1110                 :           2 :                 tree _r;
    1111                 :           2 :                 _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    1112                 :           2 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 305, __FILE__, __LINE__, true);
    1113                 :           2 :                 return _r;
    1114                 :             :               }
    1115                 :             : next_after_fail392:;
    1116                 :             :             }
    1117                 :             :       }
    1118                 :             :     }
    1119                 :             :   return NULL_TREE;
    1120                 :             : }
    1121                 :             : 
    1122                 :             : tree
    1123                 :         177 : generic_simplify_240 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1124                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1125                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1126                 :             :  const enum tree_code ARG_UNUSED (icmp),
    1127                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    1128                 :             : {
    1129                 :         177 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1130                 :         177 :   if (types_match (type, TREE_TYPE (captures[0]))
    1131                 :             : )
    1132                 :             :     {
    1133                 :         125 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail408;
    1134                 :         125 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail408;
    1135                 :         125 :       {
    1136                 :         125 :         tree res_op0;
    1137                 :         125 :         res_op0 = captures[1];
    1138                 :         125 :         tree res_op1;
    1139                 :         125 :         res_op1 = captures[2];
    1140                 :         125 :         tree _r;
    1141                 :         125 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1142                 :         125 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 321, __FILE__, __LINE__, true);
    1143                 :         125 :         return _r;
    1144                 :             :       }
    1145                 :             : next_after_fail408:;
    1146                 :             :     }
    1147                 :             :   return NULL_TREE;
    1148                 :             : }
    1149                 :             : 
    1150                 :             : tree
    1151                 :    45376932 : generic_simplify_247 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1152                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1153                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1154                 :             : {
    1155                 :    45376932 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1156                 :    45376932 :   {
    1157                 :    45376932 :  bool wascmp;
    1158                 :    45376932 :       if (types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    1159                 :    45376932 :  && bitwise_inverted_equal_p (captures[0], captures[1], wascmp)
    1160                 :             : )
    1161                 :             :         {
    1162                 :           5 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail421;
    1163                 :           5 :           {
    1164                 :           5 :             tree _r;
    1165                 :           5 :             _r =  constant_boolean_node (cmp == NE_EXPR, type);
    1166                 :           5 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1167                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1168                 :           5 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1169                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1170                 :           5 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 333, __FILE__, __LINE__, true);
    1171                 :           5 :             return _r;
    1172                 :             :           }
    1173                 :           0 : next_after_fail421:;
    1174                 :             :         }
    1175                 :             :   }
    1176                 :    45376927 :   return NULL_TREE;
    1177                 :             : }
    1178                 :             : 
    1179                 :             : tree
    1180                 :        8900 : generic_simplify_252 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1181                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1182                 :             :  const enum tree_code ARG_UNUSED (op),
    1183                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1184                 :             : {
    1185                 :        8900 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1186                 :        8900 :   if (flag_unsafe_math_optimizations
    1187                 :             : )
    1188                 :             :     {
    1189                 :           5 :       {
    1190                 :           8 :  tree tem = const_binop (op == PLUS_EXPR ? MINUS_EXPR : PLUS_EXPR,
    1191                 :           5 :  TREE_TYPE (captures[1]), captures[2], captures[1]);
    1192                 :           5 :           if (tem && !TREE_OVERFLOW (tem)
    1193                 :             : )
    1194                 :             :             {
    1195                 :           4 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail440;
    1196                 :           4 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail440;
    1197                 :           4 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail440;
    1198                 :           4 :               {
    1199                 :           4 :                 tree res_op0;
    1200                 :           4 :                 res_op0 = captures[0];
    1201                 :           4 :                 tree res_op1;
    1202                 :           4 :                 res_op1 =  tem;
    1203                 :           4 :                 tree _r;
    1204                 :           4 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1205                 :           4 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 351, __FILE__, __LINE__, true);
    1206                 :           4 :                 return _r;
    1207                 :             :               }
    1208                 :             : next_after_fail440:;
    1209                 :             :             }
    1210                 :             :       }
    1211                 :             :     }
    1212                 :             :   return NULL_TREE;
    1213                 :             : }
    1214                 :             : 
    1215                 :             : tree
    1216                 :          69 : generic_simplify_258 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1217                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1218                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1219                 :             : {
    1220                 :          69 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1221                 :          69 :   if (!integer_zerop (captures[1])
    1222                 :             : )
    1223                 :             :     {
    1224                 :          69 :       if (wi::to_wide (captures[2]) == 0
    1225                 :             : )
    1226                 :             :         {
    1227                 :          22 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail471;
    1228                 :          22 :           {
    1229                 :          22 :             tree res_op0;
    1230                 :          22 :             res_op0 = captures[0];
    1231                 :          22 :             tree res_op1;
    1232                 :          22 :             res_op1 = captures[2];
    1233                 :          22 :             tree _r;
    1234                 :          22 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1235                 :          22 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1236                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1237                 :          22 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 382, __FILE__, __LINE__, true);
    1238                 :          22 :             return _r;
    1239                 :             :           }
    1240                 :           0 : next_after_fail471:;
    1241                 :             :         }
    1242                 :             :       else
    1243                 :             :         {
    1244                 :          47 :           if (TREE_CODE (captures[1]) == INTEGER_CST
    1245                 :             : )
    1246                 :             :             {
    1247                 :          47 :               {
    1248                 :          47 :  wi::overflow_type ovf;
    1249                 :          47 :  wide_int prod = wi::mul (wi::to_wide (captures[2]), wi::to_wide (captures[1]),
    1250                 :          94 :  TYPE_SIGN (TREE_TYPE (captures[1])), &ovf);
    1251                 :          47 :                   if (ovf
    1252                 :             : )
    1253                 :             :                     {
    1254                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail472;
    1255                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail472;
    1256                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail472;
    1257                 :           0 :                       {
    1258                 :           0 :                         tree _r;
    1259                 :           0 :                         _r =  constant_boolean_node (cmp == NE_EXPR, type);
    1260                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[0]))
    1261                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1262                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 383, __FILE__, __LINE__, true);
    1263                 :           0 :                         return _r;
    1264                 :             :                       }
    1265                 :           0 : next_after_fail472:;
    1266                 :             :                     }
    1267                 :             :                   else
    1268                 :             :                     {
    1269                 :          47 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail473;
    1270                 :          47 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail473;
    1271                 :          47 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail473;
    1272                 :          47 :                       {
    1273                 :          47 :                         tree res_op0;
    1274                 :          47 :                         res_op0 = captures[0];
    1275                 :          47 :                         tree res_op1;
    1276                 :          47 :                         res_op1 =  wide_int_to_tree (TREE_TYPE (captures[0]), prod);
    1277                 :          47 :                         tree _r;
    1278                 :          47 :                         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1279                 :          47 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 384, __FILE__, __LINE__, true);
    1280                 :          47 :                         return _r;
    1281                 :             :                       }
    1282                 :           0 : next_after_fail473:;
    1283                 :             :                     }
    1284                 :          47 :               }
    1285                 :             :             }
    1286                 :             :         }
    1287                 :             :     }
    1288                 :             :   return NULL_TREE;
    1289                 :             : }
    1290                 :             : 
    1291                 :             : tree
    1292                 :       10786 : generic_simplify_265 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1293                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1294                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1295                 :             : {
    1296                 :       10786 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1297                 :       10786 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail495;
    1298                 :       10786 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail495;
    1299                 :       10786 :   {
    1300                 :       10786 :     tree res_op0;
    1301                 :       10786 :     res_op0 = captures[0];
    1302                 :       10786 :     tree res_op1;
    1303                 :       10786 :     res_op1 = captures[1];
    1304                 :       10786 :     tree _r;
    1305                 :       10786 :     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1306                 :       10786 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 399, __FILE__, __LINE__, true);
    1307                 :             :     return _r;
    1308                 :             :   }
    1309                 :             : next_after_fail495:;
    1310                 :             :   return NULL_TREE;
    1311                 :             : }
    1312                 :             : 
    1313                 :             : tree
    1314                 :      156907 : generic_simplify_267 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1315                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1316                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1317                 :             : {
    1318                 :      156907 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1319                 :      156907 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail497;
    1320                 :      156907 :   {
    1321                 :      156907 :     tree res_op0;
    1322                 :      156907 :     {
    1323                 :      156907 :       tree _o1[2], _r1;
    1324                 :      156907 :       _o1[0] = captures[0];
    1325                 :      156907 :       {
    1326                 :      156907 :         tree _o2[1], _r2;
    1327                 :      156907 :         _o2[0] = captures[1];
    1328                 :      156907 :         _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    1329                 :      156907 :         if (EXPR_P (_r2))
    1330                 :      156878 :           goto next_after_fail497;
    1331                 :          29 :         _o1[1] = _r2;
    1332                 :             :       }
    1333                 :          29 :       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1334                 :          29 :       res_op0 = _r1;
    1335                 :             :     }
    1336                 :          29 :     tree res_op1;
    1337                 :          29 :     res_op1 =  build_zero_cst (TREE_TYPE (captures[0]));
    1338                 :          29 :     tree _r;
    1339                 :          29 :     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1340                 :          29 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 401, __FILE__, __LINE__, true);
    1341                 :             :     return _r;
    1342                 :             :   }
    1343                 :             : next_after_fail497:;
    1344                 :             :   return NULL_TREE;
    1345                 :             : }
    1346                 :             : 
    1347                 :             : tree
    1348                 :    28820429 : generic_simplify_271 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1349                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1350                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1351                 :             : {
    1352                 :    28820429 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1353                 :    28820429 :   if (tree_expr_nonzero_p (captures[0])
    1354                 :             : )
    1355                 :             :     {
    1356                 :     1097106 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail501;
    1357                 :     1097106 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail501;
    1358                 :     1097106 :       {
    1359                 :     1097106 :         tree _r;
    1360                 :     1097106 :         _r =  constant_boolean_node (cmp == NE_EXPR, type);
    1361                 :     1097106 :         if (TREE_SIDE_EFFECTS (captures[0]))
    1362                 :        7779 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1363                 :     1097106 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 405, __FILE__, __LINE__, true);
    1364                 :     1097106 :         return _r;
    1365                 :             :       }
    1366                 :             : next_after_fail501:;
    1367                 :             :     }
    1368                 :             :   return NULL_TREE;
    1369                 :             : }
    1370                 :             : 
    1371                 :             : tree
    1372                 :           4 : generic_simplify_277 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1373                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1374                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1375                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    1376                 :             : {
    1377                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1378                 :           8 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1379                 :           4 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1380                 :           8 :  && types_match (captures[0], captures[2])
    1381                 :             : )
    1382                 :             :     {
    1383                 :           4 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail507;
    1384                 :           4 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail507;
    1385                 :           4 :       {
    1386                 :           4 :         tree res_op0;
    1387                 :           4 :         {
    1388                 :           4 :           tree _o1[2], _r1;
    1389                 :           4 :           _o1[0] = captures[0];
    1390                 :           4 :           _o1[1] = captures[2];
    1391                 :           4 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1392                 :           4 :           res_op0 = _r1;
    1393                 :             :         }
    1394                 :           4 :         tree res_op1;
    1395                 :           4 :         res_op1 = captures[1];
    1396                 :           4 :         tree _r;
    1397                 :           4 :         _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
    1398                 :           4 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 410, __FILE__, __LINE__, true);
    1399                 :           4 :         return _r;
    1400                 :             :       }
    1401                 :             : next_after_fail507:;
    1402                 :             :     }
    1403                 :             :   return NULL_TREE;
    1404                 :             : }
    1405                 :             : 
    1406                 :             : tree
    1407                 :    52574444 : generic_simplify_281 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1408                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1409                 :             :  const enum tree_code ARG_UNUSED (neeq))
    1410                 :             : {
    1411                 :    52574444 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1412                 :    93993094 :   if (POINTER_TYPE_P (TREE_TYPE (captures[0]))
    1413                 :    52595078 :  && ptrs_compare_unequal (captures[0], captures[1])
    1414                 :             : )
    1415                 :             :     {
    1416                 :       12109 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail525;
    1417                 :       12109 :       {
    1418                 :       12109 :         tree _r;
    1419                 :       12109 :         _r =  constant_boolean_node (neeq != EQ_EXPR, type);
    1420                 :       12109 :         if (TREE_SIDE_EFFECTS (captures[0]))
    1421                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1422                 :       12109 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1423                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1424                 :       12109 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 419, __FILE__, __LINE__, true);
    1425                 :       12109 :         return _r;
    1426                 :             :       }
    1427                 :           0 : next_after_fail525:;
    1428                 :             :     }
    1429                 :             :   return NULL_TREE;
    1430                 :             : }
    1431                 :             : 
    1432                 :             : tree
    1433                 :     1061675 : generic_simplify_285 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1434                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1435                 :             :  const enum tree_code ARG_UNUSED (op),
    1436                 :             :  const enum tree_code ARG_UNUSED (rop),
    1437                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1438                 :             : {
    1439                 :     1061675 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1440                 :     2123350 :   if (!TREE_OVERFLOW (captures[2]) && !TREE_OVERFLOW (captures[3])
    1441                 :     1061675 :  && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[1]))
    1442                 :     1061361 :  && !TYPE_OVERFLOW_TRAPS (TREE_TYPE (captures[1]))
    1443                 :     2122892 :  && !TYPE_SATURATING (TREE_TYPE (captures[1]))
    1444                 :             : )
    1445                 :             :     {
    1446                 :     1061217 :       {
    1447                 :     1061217 :  tree res = int_const_binop (rop, captures[3], captures[2]);
    1448                 :     1061217 :           if (TREE_OVERFLOW (res)
    1449                 :     1061217 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
    1450                 :             : )
    1451                 :             :             {
    1452                 :        7637 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail533;
    1453                 :        7637 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail533;
    1454                 :        7637 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail533;
    1455                 :        7637 :               {
    1456                 :        7637 :                 tree _r;
    1457                 :        7637 :                 _r =  constant_boolean_node (cmp == NE_EXPR, type);
    1458                 :        7637 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    1459                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1460                 :        7637 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 427, __FILE__, __LINE__, true);
    1461                 :        7637 :                 return _r;
    1462                 :             :               }
    1463                 :             : next_after_fail533:;
    1464                 :             :             }
    1465                 :             :           else
    1466                 :             :             {
    1467                 :     1053580 :               if (single_use (captures[0])
    1468                 :             : )
    1469                 :             :                 {
    1470                 :     1053580 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail534;
    1471                 :     1053580 :                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail534;
    1472                 :     1053580 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail534;
    1473                 :     1053580 :                   {
    1474                 :     1053580 :                     tree res_op0;
    1475                 :     1053580 :                     res_op0 = captures[1];
    1476                 :     1053580 :                     tree res_op1;
    1477                 :     1053580 :                     res_op1 =  TREE_OVERFLOW (res)
    1478                 :     1053580 :  ? drop_tree_overflow (res) : res;
    1479                 :     1053580 :                     tree _r;
    1480                 :     1053580 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1481                 :     1053580 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 428, __FILE__, __LINE__, true);
    1482                 :     1053580 :                     return _r;
    1483                 :             :                   }
    1484                 :             : next_after_fail534:;
    1485                 :             :                 }
    1486                 :             :             }
    1487                 :             :       }
    1488                 :             :     }
    1489                 :             :   return NULL_TREE;
    1490                 :             : }
    1491                 :             : 
    1492                 :             : tree
    1493                 :           0 : generic_simplify_288 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1494                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1495                 :             :  const enum tree_code ARG_UNUSED (op),
    1496                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1497                 :             : {
    1498                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1499                 :           0 :   if (integer_zerop (captures[3]) && single_use (captures[0])
    1500                 :             : )
    1501                 :             :     {
    1502                 :           0 :       {
    1503                 :           0 :  tree type0 = TREE_TYPE (captures[1]);
    1504                 :           0 :  tree stype = signed_type_for (TREE_TYPE (captures[1]));
    1505                 :           0 :  if (integer_zerop (captures[2]))
    1506                 :             :  stype = NULL_TREE;
    1507                 :           0 :           if (stype
    1508                 :             : )
    1509                 :             :             {
    1510                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail546;
    1511                 :           0 :               {
    1512                 :           0 :                 tree res_op0;
    1513                 :           0 :                 {
    1514                 :           0 :                   tree _o1[1], _r1;
    1515                 :           0 :                   _o1[0] = captures[1];
    1516                 :           0 :                   if (TREE_TYPE (_o1[0]) != stype)
    1517                 :             :                     {
    1518                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
    1519                 :             :                     }
    1520                 :             :                   else
    1521                 :             :                     _r1 = _o1[0];
    1522                 :           0 :                   res_op0 = _r1;
    1523                 :             :                 }
    1524                 :           0 :                 tree res_op1;
    1525                 :           0 :                 res_op1 =  build_zero_cst (stype);
    1526                 :           0 :                 tree _r;
    1527                 :           0 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1528                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    1529                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1530                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[3]))
    1531                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1532                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 440, __FILE__, __LINE__, true);
    1533                 :           0 :                 return _r;
    1534                 :             :               }
    1535                 :           0 : next_after_fail546:;
    1536                 :             :             }
    1537                 :             :       }
    1538                 :             :     }
    1539                 :             :   else
    1540                 :             :     {
    1541                 :           0 :       {
    1542                 :           0 :  bool ok = true;
    1543                 :           0 :  tree type0 = TREE_TYPE (captures[1]);
    1544                 :           0 :  if (wi::to_widest (captures[2]) == TYPE_PRECISION (type0) - 1)
    1545                 :             :  ok = false;
    1546                 :           0 :           if (ok && wi::to_wide (captures[3]) == (TYPE_PRECISION (type0) - 1)
    1547                 :             : )
    1548                 :             :             {
    1549                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail547;
    1550                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail547;
    1551                 :           0 :               {
    1552                 :           0 :                 tree res_op0;
    1553                 :           0 :                 res_op0 = captures[1];
    1554                 :           0 :                 tree res_op1;
    1555                 :           0 :                 res_op1 =  build_one_cst (type0);
    1556                 :           0 :                 tree _r;
    1557                 :           0 :                 _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1558                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[3]))
    1559                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1560                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 441, __FILE__, __LINE__, true);
    1561                 :           0 :                 return _r;
    1562                 :             :               }
    1563                 :             : next_after_fail547:;
    1564                 :             :             }
    1565                 :             :       }
    1566                 :             :     }
    1567                 :             :   return NULL_TREE;
    1568                 :             : }
    1569                 :             : 
    1570                 :             : tree
    1571                 :           0 : generic_simplify_299 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1572                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1573                 :             :  const combined_fn ARG_UNUSED (copysigns))
    1574                 :             : {
    1575                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1576                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail563;
    1577                 :           0 :   {
    1578                 :           0 :     tree res_op0;
    1579                 :           0 :     res_op0 = captures[0];
    1580                 :           0 :     tree res_op1;
    1581                 :           0 :     res_op1 = captures[2];
    1582                 :           0 :     tree _r;
    1583                 :           0 :     _r = maybe_build_call_expr_loc (loc, copysigns, type, 2, res_op0, res_op1);
    1584                 :           0 :     if (!_r)
    1585                 :           0 :       goto next_after_fail563;
    1586                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    1587                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1588                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 457, __FILE__, __LINE__, true);
    1589                 :             :     return _r;
    1590                 :             :   }
    1591                 :             : next_after_fail563:;
    1592                 :             :   return NULL_TREE;
    1593                 :             : }
    1594                 :             : 
    1595                 :             : tree
    1596                 :        2749 : generic_simplify_306 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1597                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1598                 :             :  const enum tree_code ARG_UNUSED (div))
    1599                 :             : {
    1600                 :        2749 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1601                 :        2749 :   if (!TYPE_UNSIGNED (type)
    1602                 :             : )
    1603                 :             :     {
    1604                 :        1683 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail572;
    1605                 :        1683 :       {
    1606                 :        1683 :         tree res_op0;
    1607                 :        1683 :         res_op0 = captures[0];
    1608                 :        1683 :         tree _r;
    1609                 :        1683 :         _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    1610                 :        1683 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1611                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1612                 :        1683 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 464, __FILE__, __LINE__, true);
    1613                 :        1683 :         return _r;
    1614                 :             :       }
    1615                 :           0 : next_after_fail572:;
    1616                 :             :     }
    1617                 :             :   return NULL_TREE;
    1618                 :             : }
    1619                 :             : 
    1620                 :             : tree
    1621                 :       42175 : generic_simplify_312 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1622                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1623                 :             :  const enum tree_code ARG_UNUSED (div))
    1624                 :             : {
    1625                 :       42175 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1626                 :       42175 :   if (integer_pow2p (captures[2])
    1627                 :       39554 :  && tree_int_cst_sgn (captures[2]) > 0
    1628                 :       39554 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    1629                 :       84350 :  && wi::to_wide (captures[2]) + wi::to_wide (captures[1]) == 0
    1630                 :             : )
    1631                 :             :     {
    1632                 :           1 :       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail579;
    1633                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail579;
    1634                 :           1 :       {
    1635                 :           1 :         tree res_op0;
    1636                 :           1 :         {
    1637                 :           1 :           tree _o1[1], _r1;
    1638                 :           1 :           _o1[0] = captures[0];
    1639                 :           1 :           if (TREE_TYPE (_o1[0]) != type)
    1640                 :             :             {
    1641                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1642                 :             :             }
    1643                 :             :           else
    1644                 :             :             _r1 = _o1[0];
    1645                 :           1 :           res_op0 = _r1;
    1646                 :             :         }
    1647                 :           1 :         tree res_op1;
    1648                 :           1 :         res_op1 =  build_int_cst (integer_type_node,
    1649                 :           1 :  wi::exact_log2 (wi::to_wide (captures[2])));
    1650                 :           1 :         tree _r;
    1651                 :           1 :         _r = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1);
    1652                 :           1 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1653                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1654                 :           1 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 471, __FILE__, __LINE__, true);
    1655                 :           1 :         return _r;
    1656                 :             :       }
    1657                 :             : next_after_fail579:;
    1658                 :             :     }
    1659                 :             :   return NULL_TREE;
    1660                 :             : }
    1661                 :             : 
    1662                 :             : tree
    1663                 :         529 : generic_simplify_319 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1664                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1665                 :             :  const enum tree_code ARG_UNUSED (mod))
    1666                 :             : {
    1667                 :         529 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1668                 :         529 :   if (!TYPE_UNSIGNED (type)
    1669                 :             : )
    1670                 :             :     {
    1671                 :          20 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail586;
    1672                 :          20 :       {
    1673                 :          20 :         tree _r;
    1674                 :          20 :         _r =  build_zero_cst (type);
    1675                 :          20 :         if (TREE_SIDE_EFFECTS (captures[0]))
    1676                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1677                 :          20 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1678                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1679                 :          20 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 478, __FILE__, __LINE__, true);
    1680                 :          20 :         return _r;
    1681                 :             :       }
    1682                 :           0 : next_after_fail586:;
    1683                 :             :     }
    1684                 :             :   return NULL_TREE;
    1685                 :             : }
    1686                 :             : 
    1687                 :             : tree
    1688                 :           5 : generic_simplify_329 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1689                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1690                 :             :  const combined_fn ARG_UNUSED (SINH),
    1691                 :             :  const combined_fn ARG_UNUSED (COSH),
    1692                 :             :  const combined_fn ARG_UNUSED (TANH))
    1693                 :             : {
    1694                 :           5 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1695                 :           5 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    1696                 :             : )
    1697                 :             :     {
    1698                 :           3 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail598;
    1699                 :           3 :       {
    1700                 :           3 :         tree res_op0;
    1701                 :           3 :         res_op0 = captures[1];
    1702                 :           3 :         tree _r;
    1703                 :           3 :         _r = maybe_build_call_expr_loc (loc, TANH, type, 1, res_op0);
    1704                 :           3 :         if (!_r)
    1705                 :           0 :           goto next_after_fail598;
    1706                 :           3 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 490, __FILE__, __LINE__, true);
    1707                 :           3 :         return _r;
    1708                 :             :       }
    1709                 :             : next_after_fail598:;
    1710                 :             :     }
    1711                 :             :   return NULL_TREE;
    1712                 :             : }
    1713                 :             : 
    1714                 :             : tree
    1715                 :        6993 : generic_simplify_337 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1716                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    1717                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1718                 :             :  const enum tree_code ARG_UNUSED (op))
    1719                 :             : {
    1720                 :        6993 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1721                 :        6993 :   {
    1722                 :        6993 :  tree from_type = TREE_TYPE (captures[0]), to_type = TREE_TYPE (captures[1]);
    1723                 :        6993 :       if (types_match (from_type, to_type)
    1724                 :        6993 :  || (TYPE_UNSIGNED (from_type)
    1725                 :          37 :  && !TYPE_UNSIGNED (to_type)
    1726                 :          37 :  && TYPE_PRECISION (from_type) == TYPE_PRECISION (to_type)
    1727                 :          37 :  && integer_zerop (captures[1])
    1728                 :          31 :  && (cmp == LT_EXPR || cmp == GE_EXPR))
    1729                 :             : )
    1730                 :             :         {
    1731                 :        6963 :           {
    1732                 :        6963 :  wi::overflow_type overflow = wi::OVF_NONE;
    1733                 :        6963 :  enum tree_code code, cmp_code = cmp;
    1734                 :        6963 :  wide_int real_c1;
    1735                 :        6963 :  wide_int c1 = wi::to_wide (captures[1]);
    1736                 :        6963 :  wide_int c2 = wi::to_wide (captures[2]);
    1737                 :        6963 :  wide_int c3 = wi::to_wide (captures[3]);
    1738                 :        6963 :  signop sgn = TYPE_SIGN (from_type);
    1739                 :        6963 :  if (!types_match (from_type, to_type))
    1740                 :             :  {
    1741                 :           7 :  if (cmp_code == LT_EXPR)
    1742                 :             :  cmp_code = GT_EXPR;
    1743                 :           0 :  if (cmp_code == GE_EXPR)
    1744                 :           0 :  cmp_code = LE_EXPR;
    1745                 :           7 :  c1 = wi::max_value (to_type);
    1746                 :             :  }
    1747                 :        6963 :  if (op == PLUS_EXPR)
    1748                 :        6963 :  real_c1 = wi::sub (c3, c2, sgn, &overflow);
    1749                 :             :  else
    1750                 :           0 :  real_c1 = wi::add (c3, c2, sgn, &overflow);
    1751                 :        6963 :  code = cmp_code;
    1752                 :        6963 :  if (!overflow || !TYPE_OVERFLOW_UNDEFINED (from_type))
    1753                 :             :  {
    1754                 :       13926 :  if (!wi::cmp (wi::sub (real_c1, 1, sgn, &overflow), c1, sgn)
    1755                 :        6963 :  && !overflow)
    1756                 :             :  {
    1757                 :         623 :  if (cmp_code == LE_EXPR)
    1758                 :             :  code = LT_EXPR;
    1759                 :         623 :  if (cmp_code == GT_EXPR)
    1760                 :        6963 :  code = GE_EXPR;
    1761                 :             :  }
    1762                 :       13926 :  if (!wi::cmp (wi::add (real_c1, 1, sgn, &overflow), c1, sgn)
    1763                 :        6963 :  && !overflow)
    1764                 :             :  {
    1765                 :        5911 :  if (cmp_code == LT_EXPR)
    1766                 :             :  code = LE_EXPR;
    1767                 :        5911 :  if (cmp_code == GE_EXPR)
    1768                 :             :  code = GT_EXPR;
    1769                 :             :  }
    1770                 :        1069 :  if (code != cmp_code || !wi::cmp (real_c1, c1, sgn))
    1771                 :             :  {
    1772                 :        6740 :  if (cmp_code == LT_EXPR || cmp_code == LE_EXPR)
    1773                 :             :  code = MIN_EXPR;
    1774                 :        6740 :  if (cmp_code == GT_EXPR || cmp_code == GE_EXPR)
    1775                 :             :  code = MAX_EXPR;
    1776                 :             :  }
    1777                 :             :  }
    1778                 :         223 :               if (code == MAX_EXPR
    1779                 :             : )
    1780                 :             :                 {
    1781                 :        6740 :                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail608;
    1782                 :        6740 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail608;
    1783                 :        6740 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail608;
    1784                 :        6740 :                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail608;
    1785                 :        6740 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail608;
    1786                 :        6740 :                   {
    1787                 :        6740 :                     tree res_op0;
    1788                 :        6740 :                     {
    1789                 :        6740 :                       tree _o1[2], _r1;
    1790                 :        6740 :                       _o1[0] = captures[0];
    1791                 :        6740 :                       _o1[1] =  wide_int_to_tree (from_type, real_c1);
    1792                 :        6740 :                       _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1793                 :        6740 :                       res_op0 = _r1;
    1794                 :             :                     }
    1795                 :        6740 :                     tree res_op1;
    1796                 :        6740 :                     res_op1 =  wide_int_to_tree (from_type, c2);
    1797                 :        6740 :                     tree _r;
    1798                 :        6740 :                     _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1799                 :        6740 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 500, __FILE__, __LINE__, true);
    1800                 :        6740 :                     return _r;
    1801                 :             :                   }
    1802                 :         223 : next_after_fail608:;
    1803                 :             :                 }
    1804                 :             :               else
    1805                 :             :                 {
    1806                 :         223 :                   if (code == MIN_EXPR
    1807                 :             : )
    1808                 :             :                     {
    1809                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail609;
    1810                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail609;
    1811                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail609;
    1812                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail609;
    1813                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail609;
    1814                 :           0 :                       {
    1815                 :           0 :                         tree res_op0;
    1816                 :           0 :                         {
    1817                 :           0 :                           tree _o1[2], _r1;
    1818                 :           0 :                           _o1[0] = captures[0];
    1819                 :           0 :                           _o1[1] =  wide_int_to_tree (from_type, real_c1);
    1820                 :           0 :                           _r1 = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1821                 :           0 :                           res_op0 = _r1;
    1822                 :             :                         }
    1823                 :           0 :                         tree res_op1;
    1824                 :           0 :                         res_op1 =  wide_int_to_tree (from_type, c2);
    1825                 :           0 :                         tree _r;
    1826                 :           0 :                         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1827                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 501, __FILE__, __LINE__, true);
    1828                 :           0 :                         return _r;
    1829                 :             :                       }
    1830                 :         223 : next_after_fail609:;
    1831                 :             :                     }
    1832                 :             :                 }
    1833                 :        6963 :           }
    1834                 :             :         }
    1835                 :             :   }
    1836                 :             :   return NULL_TREE;
    1837                 :             : }
    1838                 :             : 
    1839                 :             : tree
    1840                 :       19735 : generic_simplify_368 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1841                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1842                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1843                 :             : {
    1844                 :       19735 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1845                 :       39470 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1846                 :       39409 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    1847                 :             : )
    1848                 :             :     {
    1849                 :       16272 :       if (tree_expr_nonnegative_p (captures[1]) && tree_expr_nonzero_p (captures[1])
    1850                 :             : )
    1851                 :             :         {
    1852                 :       12754 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail647;
    1853                 :       12754 :           {
    1854                 :       12754 :             tree res_op0;
    1855                 :       12754 :             res_op0 = captures[0];
    1856                 :       12754 :             tree res_op1;
    1857                 :       12754 :             res_op1 = captures[2];
    1858                 :       12754 :             tree _r;
    1859                 :       12754 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1860                 :       12754 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1861                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1862                 :       12754 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 537, __FILE__, __LINE__, true);
    1863                 :       12754 :             return _r;
    1864                 :             :           }
    1865                 :           0 : next_after_fail647:;
    1866                 :             :         }
    1867                 :             :       else
    1868                 :             :         {
    1869                 :        3518 :           if (TREE_CODE (captures[1]) == INTEGER_CST
    1870                 :        3518 :  && wi::neg_p (wi::to_wide (captures[1]), TYPE_SIGN (TREE_TYPE (captures[1])))
    1871                 :             : )
    1872                 :             :             {
    1873                 :        1076 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail648;
    1874                 :        1076 :               {
    1875                 :        1076 :                 tree res_op0;
    1876                 :        1076 :                 res_op0 = captures[2];
    1877                 :        1076 :                 tree res_op1;
    1878                 :        1076 :                 res_op1 = captures[0];
    1879                 :        1076 :                 tree _r;
    1880                 :        1076 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1881                 :        1076 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    1882                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1883                 :        1076 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 538, __FILE__, __LINE__, true);
    1884                 :        1076 :                 return _r;
    1885                 :             :               }
    1886                 :           0 : next_after_fail648:;
    1887                 :             :             }
    1888                 :             :         }
    1889                 :             :     }
    1890                 :             :   return NULL_TREE;
    1891                 :             : }
    1892                 :             : 
    1893                 :             : tree
    1894                 :       37999 : generic_simplify_378 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1895                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1896                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1897                 :             :  const enum tree_code ARG_UNUSED (out))
    1898                 :             : {
    1899                 :       37999 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1900                 :       37999 :   if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
    1901                 :       37983 :  && types_match (TREE_TYPE (captures[3]), TREE_TYPE (captures[0]))
    1902                 :       37983 :  && tree_nop_conversion_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[3]))
    1903                 :       37999 :  && wi::to_wide (captures[4]) != 0
    1904                 :           0 :  && single_use (captures[1])
    1905                 :             : )
    1906                 :             :     {
    1907                 :       37983 :       {
    1908                 :       37983 :  unsigned int prec = TYPE_PRECISION (TREE_TYPE (captures[3]));
    1909                 :       37983 :  signop sign = TYPE_SIGN (TREE_TYPE (captures[3]));
    1910                 :       37983 :           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail659;
    1911                 :       37983 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail659;
    1912                 :       37983 :           {
    1913                 :       37983 :             tree res_op0;
    1914                 :       37983 :             res_op0 = captures[3];
    1915                 :       37983 :             tree res_op1;
    1916                 :       37983 :             res_op1 =  wide_int_to_tree (TREE_TYPE (captures[3]),
    1917                 :       37983 :  wi::max_value (prec, sign)
    1918                 :      113949 :  - wi::to_wide (captures[4]));
    1919                 :       37983 :             tree _r;
    1920                 :       37983 :             _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    1921                 :       37983 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 549, __FILE__, __LINE__, true);
    1922                 :       37983 :             return _r;
    1923                 :             :           }
    1924                 :             : next_after_fail659:;
    1925                 :             :       }
    1926                 :             :     }
    1927                 :             :   return NULL_TREE;
    1928                 :             : }
    1929                 :             : 
    1930                 :             : tree
    1931                 :           0 : generic_simplify_387 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1932                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1933                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1934                 :             :  const enum tree_code ARG_UNUSED (out))
    1935                 :             : {
    1936                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1937                 :           0 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    1938                 :           0 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    1939                 :             : )
    1940                 :             :     {
    1941                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail700;
    1942                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail700;
    1943                 :           0 :       {
    1944                 :           0 :         tree res_op0;
    1945                 :           0 :         {
    1946                 :           0 :           tree _o1[1], _r1;
    1947                 :           0 :           _o1[0] = captures[0];
    1948                 :           0 :           _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    1949                 :           0 :           res_op0 = _r1;
    1950                 :             :         }
    1951                 :           0 :         tree res_op1;
    1952                 :           0 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    1953                 :           0 :         tree _r;
    1954                 :           0 :         _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    1955                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 573, __FILE__, __LINE__, true);
    1956                 :           0 :         return _r;
    1957                 :             :       }
    1958                 :             : next_after_fail700:;
    1959                 :             :     }
    1960                 :             :   return NULL_TREE;
    1961                 :             : }
    1962                 :             : 
    1963                 :             : tree
    1964                 :    18871158 : generic_simplify_394 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1965                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1966                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1967                 :             :  const enum tree_code ARG_UNUSED (acmp))
    1968                 :             : {
    1969                 :    18871158 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1970                 :    18871158 :   {
    1971                 :    18871158 :  tree cst = uniform_integer_cst_p (captures[1]);
    1972                 :    18871158 :       if (tree_int_cst_sgn (cst) == -1
    1973                 :             : )
    1974                 :             :         {
    1975                 :      165073 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail714;
    1976                 :      165073 :           {
    1977                 :      165073 :             tree res_op0;
    1978                 :      165073 :             res_op0 = captures[0];
    1979                 :      165073 :             tree res_op1;
    1980                 :      165073 :             res_op1 =  build_uniform_cst (TREE_TYPE (captures[1]),
    1981                 :      165073 :  wide_int_to_tree (TREE_TYPE (cst),
    1982                 :      165073 :  wi::to_wide (cst)
    1983                 :      330146 :  + 1));
    1984                 :      165073 :             tree _r;
    1985                 :      165073 :             _r = fold_build2_loc (loc, acmp, type, res_op0, res_op1);
    1986                 :      165073 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1987                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1988                 :      165073 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 587, __FILE__, __LINE__, true);
    1989                 :      165073 :             return _r;
    1990                 :             :           }
    1991                 :           0 : next_after_fail714:;
    1992                 :             :         }
    1993                 :             :   }
    1994                 :             :   return NULL_TREE;
    1995                 :             : }
    1996                 :             : 
    1997                 :             : tree
    1998                 :           0 : generic_simplify_397 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1999                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2000                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2001                 :             :  const enum tree_code ARG_UNUSED (out))
    2002                 :             : {
    2003                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2004                 :           0 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2005                 :           0 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    2006                 :             : )
    2007                 :             :     {
    2008                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail717;
    2009                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail717;
    2010                 :           0 :       {
    2011                 :           0 :         tree res_op0;
    2012                 :           0 :         {
    2013                 :           0 :           tree _o1[1], _r1;
    2014                 :           0 :           _o1[0] = captures[0];
    2015                 :           0 :           _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    2016                 :           0 :           res_op0 = _r1;
    2017                 :             :         }
    2018                 :           0 :         tree res_op1;
    2019                 :           0 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    2020                 :           0 :         tree _r;
    2021                 :           0 :         _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    2022                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 572, __FILE__, __LINE__, true);
    2023                 :           0 :         return _r;
    2024                 :             :       }
    2025                 :             : next_after_fail717:;
    2026                 :             :     }
    2027                 :             :   return NULL_TREE;
    2028                 :             : }
    2029                 :             : 
    2030                 :             : tree
    2031                 :          43 : generic_simplify_402 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2032                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2033                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2034                 :             :  const enum tree_code ARG_UNUSED (cmp2),
    2035                 :             :  const enum tree_code ARG_UNUSED (cmp3),
    2036                 :             :  const enum tree_code ARG_UNUSED (bit_op),
    2037                 :             :  const combined_fn ARG_UNUSED (ffs))
    2038                 :             : {
    2039                 :          43 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2040                 :          43 :   {
    2041                 :          43 :  int prec = TYPE_PRECISION (TREE_TYPE (captures[1]));
    2042                 :          43 :       if (integer_zerop (captures[2])
    2043                 :             : )
    2044                 :             :         {
    2045                 :          11 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail722;
    2046                 :          11 :           {
    2047                 :          11 :             tree res_op0;
    2048                 :          11 :             res_op0 = captures[1];
    2049                 :          11 :             tree res_op1;
    2050                 :          11 :             res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    2051                 :          11 :             tree _r;
    2052                 :          11 :             _r = fold_build2_loc (loc, cmp2, type, res_op0, res_op1);
    2053                 :          11 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2054                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2055                 :          11 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 591, __FILE__, __LINE__, true);
    2056                 :          27 :             return _r;
    2057                 :             :           }
    2058                 :           0 : next_after_fail722:;
    2059                 :             :         }
    2060                 :             :       else
    2061                 :             :         {
    2062                 :          32 :           if (tree_int_cst_sgn (captures[2]) < 0
    2063                 :             : )
    2064                 :             :             {
    2065                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail723;
    2066                 :           0 :               {
    2067                 :           0 :                 tree _r;
    2068                 :           0 :                 _r =  constant_boolean_node (cmp == GT_EXPR ? true : false, type);
    2069                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    2070                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2071                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    2072                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2073                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 592, __FILE__, __LINE__, true);
    2074                 :           0 :                 return _r;
    2075                 :             :               }
    2076                 :           0 : next_after_fail723:;
    2077                 :             :             }
    2078                 :             :           else
    2079                 :             :             {
    2080                 :          32 :               if (wi::to_widest (captures[2]) >= prec
    2081                 :             : )
    2082                 :             :                 {
    2083                 :          14 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail724;
    2084                 :          14 :                   {
    2085                 :          14 :                     tree _r;
    2086                 :          14 :                     _r =  constant_boolean_node (cmp == GT_EXPR ? false : true, type);
    2087                 :          14 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    2088                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2089                 :          14 :                     if (TREE_SIDE_EFFECTS (captures[2]))
    2090                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2091                 :          14 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 593, __FILE__, __LINE__, true);
    2092                 :          14 :                     return _r;
    2093                 :             :                   }
    2094                 :           0 : next_after_fail724:;
    2095                 :             :                 }
    2096                 :             :               else
    2097                 :             :                 {
    2098                 :          18 :                   if (wi::to_widest (captures[2]) == prec - 1
    2099                 :             : )
    2100                 :             :                     {
    2101                 :           2 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail725;
    2102                 :           2 :                       {
    2103                 :           2 :                         tree res_op0;
    2104                 :           2 :                         res_op0 = captures[1];
    2105                 :           2 :                         tree res_op1;
    2106                 :           2 :                         res_op1 =  wide_int_to_tree (TREE_TYPE (captures[1]),
    2107                 :           2 :  wi::shifted_mask (prec - 1, 1,
    2108                 :             :  false, prec));
    2109                 :           2 :                         tree _r;
    2110                 :           2 :                         _r = fold_build2_loc (loc, cmp3, type, res_op0, res_op1);
    2111                 :           2 :                         if (TREE_SIDE_EFFECTS (captures[2]))
    2112                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2113                 :           2 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 594, __FILE__, __LINE__, true);
    2114                 :           2 :                         return _r;
    2115                 :             :                       }
    2116                 :           0 : next_after_fail725:;
    2117                 :             :                     }
    2118                 :             :                   else
    2119                 :             :                     {
    2120                 :          16 :                       if (single_use (captures[0])
    2121                 :             : )
    2122                 :             :                         {
    2123                 :          16 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail726;
    2124                 :          16 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail726;
    2125                 :          16 :                           {
    2126                 :          16 :                             if (! tree_invariant_p (captures[1])) goto next_after_fail726;
    2127                 :           0 :                             tree res_op0;
    2128                 :           0 :                             {
    2129                 :           0 :                               tree _o1[2], _r1;
    2130                 :           0 :                               _o1[0] = unshare_expr (captures[1]);
    2131                 :           0 :                               _o1[1] =  build_zero_cst (TREE_TYPE (captures[1]));
    2132                 :           0 :                               _r1 = fold_build2_loc (loc, cmp2, type, _o1[0], _o1[1]);
    2133                 :           0 :                               res_op0 = _r1;
    2134                 :             :                             }
    2135                 :           0 :                             tree res_op1;
    2136                 :           0 :                             {
    2137                 :           0 :                               tree _o1[2], _r1;
    2138                 :           0 :                               {
    2139                 :           0 :                                 tree _o2[2], _r2;
    2140                 :           0 :                                 _o2[0] = captures[1];
    2141                 :           0 :                                 _o2[1] =  wide_int_to_tree (TREE_TYPE (captures[1]),
    2142                 :           0 :  wi::mask (tree_to_uhwi (captures[2]),
    2143                 :             :  false, prec));
    2144                 :           0 :                                 _r2 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    2145                 :           0 :                                 _o1[0] = _r2;
    2146                 :             :                               }
    2147                 :           0 :                               _o1[1] =  build_zero_cst (TREE_TYPE (captures[1]));
    2148                 :           0 :                               _r1 = fold_build2_loc (loc, cmp3, type, _o1[0], _o1[1]);
    2149                 :           0 :                               res_op1 = _r1;
    2150                 :             :                             }
    2151                 :           0 :                             tree _r;
    2152                 :           0 :                             _r = fold_build2_loc (loc, bit_op, type, res_op0, res_op1);
    2153                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 595, __FILE__, __LINE__, true);
    2154                 :           0 :                             return _r;
    2155                 :             :                           }
    2156                 :          16 : next_after_fail726:;
    2157                 :             :                         }
    2158                 :             :                     }
    2159                 :             :                 }
    2160                 :             :             }
    2161                 :             :         }
    2162                 :             :   }
    2163                 :          16 :   return NULL_TREE;
    2164                 :             : }
    2165                 :             : 
    2166                 :             : tree
    2167                 :           0 : generic_simplify_425 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2168                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2169                 :             :  const combined_fn ARG_UNUSED (copysigns),
    2170                 :             :  const combined_fn ARG_UNUSED (coss))
    2171                 :             : {
    2172                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2173                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail769;
    2174                 :           0 :   {
    2175                 :           0 :     tree res_op0;
    2176                 :           0 :     res_op0 = captures[0];
    2177                 :           0 :     tree _r;
    2178                 :           0 :     _r = maybe_build_call_expr_loc (loc, coss, type, 1, res_op0);
    2179                 :           0 :     if (!_r)
    2180                 :           0 :       goto next_after_fail769;
    2181                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    2182                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2183                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 624, __FILE__, __LINE__, true);
    2184                 :             :     return _r;
    2185                 :             :   }
    2186                 :             : next_after_fail769:;
    2187                 :             :   return NULL_TREE;
    2188                 :             : }
    2189                 :             : 
    2190                 :             : tree
    2191                 :           0 : generic_simplify_428 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2192                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2193                 :             :  const combined_fn ARG_UNUSED (copysigns),
    2194                 :             :  const combined_fn ARG_UNUSED (pows))
    2195                 :             : {
    2196                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2197                 :           0 :   {
    2198                 :           0 :  HOST_WIDE_INT n;
    2199                 :           0 :       if (real_isinteger (&TREE_REAL_CST (captures[2]), &n) && (n & 1) == 0
    2200                 :             : )
    2201                 :             :         {
    2202                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail772;
    2203                 :           0 :           {
    2204                 :           0 :             tree res_op0;
    2205                 :           0 :             res_op0 = captures[0];
    2206                 :           0 :             tree res_op1;
    2207                 :           0 :             res_op1 = captures[2];
    2208                 :           0 :             tree _r;
    2209                 :           0 :             _r = maybe_build_call_expr_loc (loc, pows, type, 2, res_op0, res_op1);
    2210                 :           0 :             if (!_r)
    2211                 :           0 :               goto next_after_fail772;
    2212                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    2213                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2214                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 627, __FILE__, __LINE__, true);
    2215                 :           0 :             return _r;
    2216                 :             :           }
    2217                 :           0 : next_after_fail772:;
    2218                 :             :         }
    2219                 :             :   }
    2220                 :           0 :   return NULL_TREE;
    2221                 :             : }
    2222                 :             : 
    2223                 :             : tree
    2224                 :           0 : generic_simplify_430 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2225                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2226                 :             :  const combined_fn ARG_UNUSED (pow))
    2227                 :             : {
    2228                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2229                 :           0 :   if (flag_unsafe_math_optimizations
    2230                 :             : )
    2231                 :             :     {
    2232                 :           0 :       if (! HONOR_INFINITIES (type)
    2233                 :           0 :  && ! flag_trapping_math
    2234                 :           0 :  && ! flag_errno_math
    2235                 :             : )
    2236                 :             :         {
    2237                 :           0 :           if (! HONOR_NANS (type) && ! HONOR_SIGNED_ZEROS (type)
    2238                 :             : )
    2239                 :             :             {
    2240                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail774;
    2241                 :           0 :               {
    2242                 :           0 :                 tree _r;
    2243                 :           0 :                 _r = captures[0];
    2244                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    2245                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2246                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 629, __FILE__, __LINE__, true);
    2247                 :           0 :                 return _r;
    2248                 :             :               }
    2249                 :           0 : next_after_fail774:;
    2250                 :             :             }
    2251                 :             :         }
    2252                 :             :     }
    2253                 :             :   return NULL_TREE;
    2254                 :             : }
    2255                 :             : 
    2256                 :             : tree
    2257                 :           0 : generic_simplify_434 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2258                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2259                 :             :  const combined_fn ARG_UNUSED (copysigns),
    2260                 :             :  const combined_fn ARG_UNUSED (hypots))
    2261                 :             : {
    2262                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2263                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail778;
    2264                 :           0 :   {
    2265                 :           0 :     tree res_op0;
    2266                 :           0 :     res_op0 = captures[0];
    2267                 :           0 :     tree res_op1;
    2268                 :           0 :     res_op1 = captures[1];
    2269                 :           0 :     tree _r;
    2270                 :           0 :     _r = maybe_build_call_expr_loc (loc, hypots, type, 2, res_op0, res_op1);
    2271                 :           0 :     if (!_r)
    2272                 :           0 :       goto next_after_fail778;
    2273                 :           0 :     if (TREE_SIDE_EFFECTS (captures[2]))
    2274                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2275                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 633, __FILE__, __LINE__, true);
    2276                 :             :     return _r;
    2277                 :             :   }
    2278                 :             : next_after_fail778:;
    2279                 :             :   return NULL_TREE;
    2280                 :             : }
    2281                 :             : 
    2282                 :             : tree
    2283                 :          21 : generic_simplify_439 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2284                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2285                 :             : {
    2286                 :          21 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2287                 :          42 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2288                 :          42 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == 1
    2289                 :             : )
    2290                 :             :     {
    2291                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail783;
    2292                 :           0 :       {
    2293                 :           0 :         tree res_op0;
    2294                 :           0 :         res_op0 = captures[0];
    2295                 :           0 :         tree res_op1;
    2296                 :           0 :         res_op1 = captures[1];
    2297                 :           0 :         tree _r;
    2298                 :           0 :         _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    2299                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 638, __FILE__, __LINE__, true);
    2300                 :           0 :         return _r;
    2301                 :             :       }
    2302                 :           0 : next_after_fail783:;
    2303                 :             :     }
    2304                 :             :   return NULL_TREE;
    2305                 :             : }
    2306                 :             : 
    2307                 :             : tree
    2308                 :           0 : generic_simplify_444 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2309                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2310                 :             : {
    2311                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2312                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail788;
    2313                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail788;
    2314                 :           0 :   {
    2315                 :           0 :     tree res_op0;
    2316                 :           0 :     res_op0 = captures[0];
    2317                 :           0 :     tree res_op1;
    2318                 :           0 :     {
    2319                 :           0 :       tree _o1[1], _r1;
    2320                 :           0 :       _o1[0] = captures[5];
    2321                 :           0 :       _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    2322                 :           0 :       res_op1 = _r1;
    2323                 :             :     }
    2324                 :           0 :     tree _r;
    2325                 :           0 :     _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    2326                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 642, __FILE__, __LINE__, true);
    2327                 :             :     return _r;
    2328                 :             :   }
    2329                 :             : next_after_fail788:;
    2330                 :             :   return NULL_TREE;
    2331                 :             : }
    2332                 :             : 
    2333                 :             : tree
    2334                 :         104 : generic_simplify_451 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2335                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2336                 :             : {
    2337                 :         104 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2338                 :         104 :   {
    2339                 :         104 :  bool wascmp;
    2340                 :         104 :       if (bitwise_inverted_equal_p (captures[0], captures[2], wascmp)
    2341                 :         104 :  && (!wascmp || element_precision (type) == 1)
    2342                 :             : )
    2343                 :             :         {
    2344                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail795;
    2345                 :           0 :           {
    2346                 :           0 :             tree res_op0;
    2347                 :           0 :             res_op0 = captures[0];
    2348                 :           0 :             tree res_op1;
    2349                 :           0 :             res_op1 = captures[1];
    2350                 :           0 :             tree _r;
    2351                 :           0 :             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    2352                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2353                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2354                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 649, __FILE__, __LINE__, true);
    2355                 :           0 :             return _r;
    2356                 :             :           }
    2357                 :           0 : next_after_fail795:;
    2358                 :             :         }
    2359                 :             :   }
    2360                 :         104 :   return NULL_TREE;
    2361                 :             : }
    2362                 :             : 
    2363                 :             : tree
    2364                 :     5532549 : generic_simplify_457 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2365                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2366                 :             : {
    2367                 :     5532549 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2368                 :    10870427 :   if (POINTER_TYPE_P (TREE_TYPE (captures[0]))
    2369                 :     5532561 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    2370                 :             : )
    2371                 :             :     {
    2372                 :      194683 :       {
    2373                 :      194683 :  unsigned int align;
    2374                 :      194683 :  unsigned HOST_WIDE_INT bitpos;
    2375                 :      194683 :  get_pointer_alignment_1 (captures[0], &align, &bitpos);
    2376                 :      194683 :           if (wi::ltu_p (wi::to_wide (captures[1]), align / BITS_PER_UNIT)
    2377                 :             : )
    2378                 :             :             {
    2379                 :        4776 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail801;
    2380                 :        4776 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail801;
    2381                 :        4776 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail801;
    2382                 :        4776 :               {
    2383                 :        4776 :                 tree _r;
    2384                 :        9552 :                 _r =  wide_int_to_tree (type, (wi::to_wide (captures[1])
    2385                 :        9552 :  & (bitpos / BITS_PER_UNIT)));
    2386                 :        4776 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 654, __FILE__, __LINE__, true);
    2387                 :        4776 :                 return _r;
    2388                 :             :               }
    2389                 :      189907 : next_after_fail801:;
    2390                 :             :             }
    2391                 :             :       }
    2392                 :             :     }
    2393                 :             :   return NULL_TREE;
    2394                 :             : }
    2395                 :             : 
    2396                 :             : tree
    2397                 :           0 : generic_simplify_467 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2398                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2399                 :             :  const enum tree_code ARG_UNUSED (eqne))
    2400                 :             : {
    2401                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2402                 :           0 :   if (eqne == EQ_EXPR
    2403                 :             : )
    2404                 :             :     {
    2405                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail836;
    2406                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail836;
    2407                 :           0 :       {
    2408                 :           0 :         tree _r;
    2409                 :           0 :         _r =  constant_boolean_node (false, type);
    2410                 :           0 :         if (TREE_SIDE_EFFECTS (captures[2]))
    2411                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2412                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 661, __FILE__, __LINE__, true);
    2413                 :           0 :         return _r;
    2414                 :             :       }
    2415                 :             : next_after_fail836:;
    2416                 :             :     }
    2417                 :             :   else
    2418                 :             :     {
    2419                 :           0 :       if (eqne == NE_EXPR
    2420                 :             : )
    2421                 :             :         {
    2422                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail837;
    2423                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail837;
    2424                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail837;
    2425                 :           0 :           {
    2426                 :           0 :             tree _r;
    2427                 :           0 :             _r = captures[0];
    2428                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 662, __FILE__, __LINE__, true);
    2429                 :           0 :             return _r;
    2430                 :             :           }
    2431                 :             : next_after_fail837:;
    2432                 :             :         }
    2433                 :             :     }
    2434                 :             :   return NULL_TREE;
    2435                 :             : }
    2436                 :             : 
    2437                 :             : tree
    2438                 :           0 : generic_simplify_471 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2439                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2440                 :             :  const enum tree_code ARG_UNUSED (code2),
    2441                 :             :  const enum tree_code ARG_UNUSED (code1))
    2442                 :             : {
    2443                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2444                 :           0 :   if ((TREE_CODE (captures[2]) == INTEGER_CST
    2445                 :           0 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    2446                 :           0 :  || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    2447                 :           0 :  || (VECTOR_TYPE_P (TREE_TYPE (captures[2]))
    2448                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, code2))
    2449                 :           0 :  || POINTER_TYPE_P (TREE_TYPE (captures[2])))
    2450                 :           0 :  && bitwise_equal_p (captures[2], captures[5]))
    2451                 :             : )
    2452                 :             :     {
    2453                 :           0 :       {
    2454                 :           0 :  bool one_before = false;
    2455                 :           0 :  bool one_after = false;
    2456                 :           0 :  int cmp = 0;
    2457                 :           0 :  bool allbits = true;
    2458                 :           0 :  if (TREE_CODE (captures[2]) == INTEGER_CST
    2459                 :           0 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    2460                 :             :  {
    2461                 :           0 :  allbits = TYPE_PRECISION (TREE_TYPE (captures[2])) <= TYPE_PRECISION (TREE_TYPE (captures[5]));
    2462                 :           0 :  auto t1 = wi::to_wide (fold_convert (TREE_TYPE (captures[5]), captures[2]));
    2463                 :           0 :  auto t2 = wi::to_wide (captures[5]);
    2464                 :           0 :  cmp = wi::cmp (t1, t2, TYPE_SIGN (TREE_TYPE (captures[5])));
    2465                 :           0 :  if (cmp < 0
    2466                 :           0 :  && t1 == t2 - 1)
    2467                 :             :  one_before = true;
    2468                 :           0 :  if (cmp > 0
    2469                 :           0 :  && t1 == t2 + 1)
    2470                 :             :  one_after = true;
    2471                 :             :  }
    2472                 :           0 :  bool val;
    2473                 :           0 :  switch (code2)
    2474                 :             :  {
    2475                 :           0 :  case EQ_EXPR: val = (cmp == 0); break;
    2476                 :           0 :  case NE_EXPR: val = (cmp != 0); break;
    2477                 :           0 :  case LT_EXPR: val = (cmp < 0); break;
    2478                 :           0 :  case GT_EXPR: val = (cmp > 0); break;
    2479                 :           0 :  case LE_EXPR: val = (cmp <= 0); break;
    2480                 :           0 :  case GE_EXPR: val = (cmp >= 0); break;
    2481                 :           0 :  default: gcc_unreachable ();
    2482                 :             :  }
    2483                 :           0 :           if (code1 == EQ_EXPR && val
    2484                 :             : )
    2485                 :             :             {
    2486                 :           0 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail842;
    2487                 :           0 :               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail842;
    2488                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail842;
    2489                 :           0 :               {
    2490                 :           0 :                 tree _r;
    2491                 :           0 :                 _r = captures[0];
    2492                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 665, __FILE__, __LINE__, true);
    2493                 :           0 :                 return _r;
    2494                 :             :               }
    2495                 :             : next_after_fail842:;
    2496                 :             :             }
    2497                 :             :           else
    2498                 :             :             {
    2499                 :           0 :               if (code1 == EQ_EXPR && !val
    2500                 :             : )
    2501                 :             :                 {
    2502                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail843;
    2503                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail843;
    2504                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail843;
    2505                 :           0 :                   {
    2506                 :           0 :                     tree _r;
    2507                 :           0 :                     _r =  constant_boolean_node (false, type);
    2508                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    2509                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2510                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 666, __FILE__, __LINE__, true);
    2511                 :           0 :                     return _r;
    2512                 :             :                   }
    2513                 :             : next_after_fail843:;
    2514                 :             :                 }
    2515                 :             :               else
    2516                 :             :                 {
    2517                 :           0 :                   if (code1 == NE_EXPR && !val && allbits
    2518                 :             : )
    2519                 :             :                     {
    2520                 :           0 :                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail844;
    2521                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail844;
    2522                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail844;
    2523                 :           0 :                       {
    2524                 :           0 :                         tree _r;
    2525                 :           0 :                         _r = captures[3];
    2526                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 667, __FILE__, __LINE__, true);
    2527                 :           0 :                         return _r;
    2528                 :             :                       }
    2529                 :             : next_after_fail844:;
    2530                 :             :                     }
    2531                 :             :                   else
    2532                 :             :                     {
    2533                 :           0 :                       if ((code1 == NE_EXPR
    2534                 :           0 :  && code2 == GE_EXPR
    2535                 :           0 :  && cmp == 0
    2536                 :           0 :  && allbits)
    2537                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    2538                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GT_EXPR))
    2539                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    2540                 :             : )
    2541                 :             :                         {
    2542                 :           0 :                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail845;
    2543                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail845;
    2544                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail845;
    2545                 :           0 :                           {
    2546                 :           0 :                             tree res_op0;
    2547                 :           0 :                             res_op0 = captures[4];
    2548                 :           0 :                             tree res_op1;
    2549                 :           0 :                             {
    2550                 :           0 :                               tree _o1[1], _r1;
    2551                 :           0 :                               _o1[0] = captures[2];
    2552                 :           0 :                               if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    2553                 :             :                                 {
    2554                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    2555                 :             :                                 }
    2556                 :             :                               else
    2557                 :             :                                 _r1 = _o1[0];
    2558                 :           0 :                               res_op1 = _r1;
    2559                 :             :                             }
    2560                 :           0 :                             tree _r;
    2561                 :           0 :                             _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    2562                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 668, __FILE__, __LINE__, true);
    2563                 :           0 :                             return _r;
    2564                 :             :                           }
    2565                 :             : next_after_fail845:;
    2566                 :             :                         }
    2567                 :             :                       else
    2568                 :             :                         {
    2569                 :           0 :                           if ((code1 == NE_EXPR
    2570                 :           0 :  && code2 == LE_EXPR
    2571                 :           0 :  && cmp == 0
    2572                 :           0 :  && allbits)
    2573                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    2574                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LT_EXPR))
    2575                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    2576                 :             : )
    2577                 :             :                             {
    2578                 :           0 :                               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail846;
    2579                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail846;
    2580                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail846;
    2581                 :           0 :                               {
    2582                 :           0 :                                 tree res_op0;
    2583                 :           0 :                                 res_op0 = captures[4];
    2584                 :           0 :                                 tree res_op1;
    2585                 :           0 :                                 {
    2586                 :           0 :                                   tree _o1[1], _r1;
    2587                 :           0 :                                   _o1[0] = captures[2];
    2588                 :           0 :                                   if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    2589                 :             :                                     {
    2590                 :           0 :                                       _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    2591                 :             :                                     }
    2592                 :             :                                   else
    2593                 :             :                                     _r1 = _o1[0];
    2594                 :           0 :                                   res_op1 = _r1;
    2595                 :             :                                 }
    2596                 :           0 :                                 tree _r;
    2597                 :           0 :                                 _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    2598                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 669, __FILE__, __LINE__, true);
    2599                 :           0 :                                 return _r;
    2600                 :             :                               }
    2601                 :             : next_after_fail846:;
    2602                 :             :                             }
    2603                 :             :                           else
    2604                 :             :                             {
    2605                 :           0 :                               if ((code1 == NE_EXPR
    2606                 :           0 :  && code2 == GT_EXPR
    2607                 :             :  && one_after
    2608                 :           0 :  && allbits)
    2609                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    2610                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GT_EXPR))
    2611                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    2612                 :             : )
    2613                 :             :                                 {
    2614                 :           0 :                                   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail847;
    2615                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail847;
    2616                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail847;
    2617                 :           0 :                                   {
    2618                 :           0 :                                     tree res_op0;
    2619                 :           0 :                                     res_op0 = captures[4];
    2620                 :           0 :                                     tree res_op1;
    2621                 :           0 :                                     {
    2622                 :           0 :                                       tree _o1[1], _r1;
    2623                 :           0 :                                       _o1[0] = captures[2];
    2624                 :           0 :                                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    2625                 :             :                                         {
    2626                 :           0 :                                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    2627                 :             :                                         }
    2628                 :             :                                       else
    2629                 :             :                                         _r1 = _o1[0];
    2630                 :           0 :                                       res_op1 = _r1;
    2631                 :             :                                     }
    2632                 :           0 :                                     tree _r;
    2633                 :           0 :                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    2634                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 670, __FILE__, __LINE__, true);
    2635                 :           0 :                                     return _r;
    2636                 :             :                                   }
    2637                 :             : next_after_fail847:;
    2638                 :             :                                 }
    2639                 :             :                               else
    2640                 :             :                                 {
    2641                 :           0 :                                   if ((code1 == NE_EXPR
    2642                 :           0 :  && code2 == LT_EXPR
    2643                 :             :  && one_before
    2644                 :           0 :  && allbits)
    2645                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    2646                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LT_EXPR))
    2647                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    2648                 :             : )
    2649                 :             :                                     {
    2650                 :           0 :                                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail848;
    2651                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail848;
    2652                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail848;
    2653                 :           0 :                                       {
    2654                 :           0 :                                         tree res_op0;
    2655                 :           0 :                                         res_op0 = captures[4];
    2656                 :           0 :                                         tree res_op1;
    2657                 :           0 :                                         {
    2658                 :           0 :                                           tree _o1[1], _r1;
    2659                 :           0 :                                           _o1[0] = captures[2];
    2660                 :           0 :                                           if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    2661                 :             :                                             {
    2662                 :           0 :                                               _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    2663                 :             :                                             }
    2664                 :             :                                           else
    2665                 :             :                                             _r1 = _o1[0];
    2666                 :           0 :                                           res_op1 = _r1;
    2667                 :             :                                         }
    2668                 :           0 :                                         tree _r;
    2669                 :           0 :                                         _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    2670                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 671, __FILE__, __LINE__, true);
    2671                 :           0 :                                         return _r;
    2672                 :             :                                       }
    2673                 :             : next_after_fail848:;
    2674                 :             :                                     }
    2675                 :             :                                 }
    2676                 :             :                             }
    2677                 :             :                         }
    2678                 :             :                     }
    2679                 :             :                 }
    2680                 :             :             }
    2681                 :             :       }
    2682                 :             :     }
    2683                 :             :   return NULL_TREE;
    2684                 :             : }
    2685                 :             : 
    2686                 :             : tree
    2687                 :           0 : generic_simplify_506 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2688                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2689                 :             :  const enum tree_code ARG_UNUSED (minmax))
    2690                 :             : {
    2691                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2692                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail896;
    2693                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail896;
    2694                 :           0 :   {
    2695                 :           0 :     tree _r;
    2696                 :           0 :     _r = captures[0];
    2697                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 709, __FILE__, __LINE__, true);
    2698                 :             :     return _r;
    2699                 :             :   }
    2700                 :             : next_after_fail896:;
    2701                 :             :   return NULL_TREE;
    2702                 :             : }
    2703                 :             : 
    2704                 :             : tree
    2705                 :           0 : generic_simplify_514 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2706                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2707                 :             :  const enum tree_code ARG_UNUSED (minmax),
    2708                 :             :  const enum tree_code ARG_UNUSED (maxmin))
    2709                 :             : {
    2710                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2711                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail916;
    2712                 :           0 :   {
    2713                 :           0 :     tree res_op0;
    2714                 :           0 :     {
    2715                 :           0 :       tree _o1[2], _r1;
    2716                 :           0 :       _o1[0] = captures[1];
    2717                 :           0 :       _o1[1] = captures[3];
    2718                 :           0 :       _r1 = fold_build2_loc (loc, maxmin, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2719                 :           0 :       res_op0 = _r1;
    2720                 :             :     }
    2721                 :           0 :     tree _r;
    2722                 :           0 :     _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    2723                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 716, __FILE__, __LINE__, true);
    2724                 :             :     return _r;
    2725                 :             :   }
    2726                 :           0 : next_after_fail916:;
    2727                 :           0 :   return NULL_TREE;
    2728                 :             : }
    2729                 :             : 
    2730                 :             : tree
    2731                 :           0 : generic_simplify_521 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2732                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2733                 :             :  const combined_fn ARG_UNUSED (FMAX_ALL))
    2734                 :             : {
    2735                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2736                 :           0 :   if (flag_finite_math_only
    2737                 :             : )
    2738                 :             :     {
    2739                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail923;
    2740                 :           0 :       {
    2741                 :           0 :         tree res_op0;
    2742                 :           0 :         res_op0 = captures[0];
    2743                 :           0 :         tree res_op1;
    2744                 :           0 :         res_op1 = captures[1];
    2745                 :           0 :         tree _r;
    2746                 :           0 :         _r = fold_build2_loc (loc, MAX_EXPR, type, res_op0, res_op1);
    2747                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 723, __FILE__, __LINE__, true);
    2748                 :           0 :         return _r;
    2749                 :             :       }
    2750                 :           0 : next_after_fail923:;
    2751                 :             :     }
    2752                 :             :   return NULL_TREE;
    2753                 :             : }
    2754                 :             : 
    2755                 :             : tree
    2756                 :           0 : generic_simplify_526 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2757                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2758                 :             :  const combined_fn ARG_UNUSED (bswap))
    2759                 :             : {
    2760                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2761                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail931;
    2762                 :           0 :   {
    2763                 :           0 :     tree _r;
    2764                 :           0 :     _r = captures[0];
    2765                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 731, __FILE__, __LINE__, true);
    2766                 :             :     return _r;
    2767                 :             :   }
    2768                 :           0 : next_after_fail931:;
    2769                 :           0 :   return NULL_TREE;
    2770                 :             : }
    2771                 :             : 
    2772                 :             : tree
    2773                 :           6 : generic_simplify_529 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2774                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
    2775                 :             : {
    2776                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2777                 :           6 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail934;
    2778                 :           6 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail934;
    2779                 :           6 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail934;
    2780                 :           6 :   {
    2781                 :           6 :     tree _r;
    2782                 :           6 :     _r = captures[2];
    2783                 :           6 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 514, __FILE__, __LINE__, true);
    2784                 :             :     return _r;
    2785                 :             :   }
    2786                 :             : next_after_fail934:;
    2787                 :             :   return NULL_TREE;
    2788                 :             : }
    2789                 :             : 
    2790                 :             : tree
    2791                 :           0 : generic_simplify_537 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2792                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    2793                 :             :  const combined_fn ARG_UNUSED (cond_op))
    2794                 :             : {
    2795                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2796                 :           0 :   {
    2797                 :           0 :  tree op_type = TREE_TYPE (captures[6]);
    2798                 :           0 :       if (inverse_conditions_p (captures[0], captures[2])
    2799                 :           0 :  && element_precision (type) == element_precision (op_type)
    2800                 :             : )
    2801                 :             :         {
    2802                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail942;
    2803                 :           0 :           {
    2804                 :           0 :             tree res_op0;
    2805                 :           0 :             {
    2806                 :           0 :               tree _o1[5], _r1;
    2807                 :           0 :               _o1[0] = captures[2];
    2808                 :           0 :               _o1[1] = captures[3];
    2809                 :           0 :               _o1[2] = captures[4];
    2810                 :           0 :               _o1[3] = captures[5];
    2811                 :           0 :               {
    2812                 :           0 :                 tree _o2[1], _r2;
    2813                 :           0 :                 _o2[0] = captures[1];
    2814                 :           0 :                 if (TREE_TYPE (_o2[0]) != op_type)
    2815                 :             :                   {
    2816                 :           0 :                     _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, op_type, _o2[0]);
    2817                 :             :                   }
    2818                 :             :                 else
    2819                 :             :                   _r2 = _o2[0];
    2820                 :           0 :                 _o1[4] = _r2;
    2821                 :             :               }
    2822                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, cond_op, TREE_TYPE (_o1[1]), 5, _o1[0], _o1[1], _o1[2], _o1[3], _o1[4]);
    2823                 :           0 :               if (!_r1)
    2824                 :           0 :                 goto next_after_fail942;
    2825                 :           0 :               res_op0 = _r1;
    2826                 :             :             }
    2827                 :           0 :             tree _r;
    2828                 :           0 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    2829                 :           0 :             if (TREE_SIDE_EFFECTS (captures[0]))
    2830                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2831                 :           0 :             if (TREE_SIDE_EFFECTS (captures[6]))
    2832                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[6]), _r);
    2833                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 737, __FILE__, __LINE__, true);
    2834                 :           0 :             return _r;
    2835                 :             :           }
    2836                 :             : next_after_fail942:;
    2837                 :             :         }
    2838                 :             :   }
    2839                 :             :   return NULL_TREE;
    2840                 :             : }
    2841                 :             : 
    2842                 :             : tree
    2843                 :           0 : generic_simplify_548 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2844                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2845                 :             :  const combined_fn ARG_UNUSED (ovf))
    2846                 :             : {
    2847                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2848                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    2849                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2850                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2]))
    2851                 :           0 :  && (!TYPE_UNSIGNED (TREE_TYPE (captures[1])) || TYPE_UNSIGNED (TREE_TYPE (captures[2])))
    2852                 :             : )
    2853                 :             :     {
    2854                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail953;
    2855                 :           0 :       {
    2856                 :           0 :         tree res_op0;
    2857                 :           0 :         res_op0 = captures[0];
    2858                 :           0 :         tree res_op1;
    2859                 :           0 :         res_op1 = captures[2];
    2860                 :           0 :         tree _r;
    2861                 :           0 :         _r = maybe_build_call_expr_loc (loc, ovf, type, 2, res_op0, res_op1);
    2862                 :           0 :         if (!_r)
    2863                 :           0 :           goto next_after_fail953;
    2864                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 748, __FILE__, __LINE__, true);
    2865                 :           0 :         return _r;
    2866                 :             :       }
    2867                 :             : next_after_fail953:;
    2868                 :             :     }
    2869                 :             :   return NULL_TREE;
    2870                 :             : }
    2871                 :             : 
    2872                 :             : tree
    2873                 :           0 : generic_simplify_559 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2874                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2875                 :             :  const combined_fn ARG_UNUSED (floors),
    2876                 :             :  const combined_fn ARG_UNUSED (truncs))
    2877                 :             : {
    2878                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2879                 :           0 :   if (canonicalize_math_p ()
    2880                 :             : )
    2881                 :             :     {
    2882                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail964;
    2883                 :           0 :       {
    2884                 :           0 :         tree res_op0;
    2885                 :           0 :         res_op0 = captures[0];
    2886                 :           0 :         tree _r;
    2887                 :           0 :         _r = maybe_build_call_expr_loc (loc, truncs, type, 1, res_op0);
    2888                 :           0 :         if (!_r)
    2889                 :           0 :           goto next_after_fail964;
    2890                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 759, __FILE__, __LINE__, true);
    2891                 :           0 :         return _r;
    2892                 :             :       }
    2893                 :             : next_after_fail964:;
    2894                 :             :     }
    2895                 :             :   return NULL_TREE;
    2896                 :             : }
    2897                 :             : 
    2898                 :             : tree
    2899                 :           0 : generic_simplify_566 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2900                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2901                 :             :  const combined_fn ARG_UNUSED (ifn),
    2902                 :             :  const combined_fn ARG_UNUSED (lfn),
    2903                 :             :  const combined_fn ARG_UNUSED (llfn))
    2904                 :             : {
    2905                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2906                 :           0 :   if (canonicalize_math_p ()
    2907                 :             : )
    2908                 :             :     {
    2909                 :           0 :       if (TYPE_PRECISION (integer_type_node)
    2910                 :           0 :  == TYPE_PRECISION (long_integer_type_node)
    2911                 :             : )
    2912                 :             :         {
    2913                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail971;
    2914                 :           0 :           {
    2915                 :           0 :             tree res_op0;
    2916                 :           0 :             res_op0 = captures[0];
    2917                 :           0 :             tree _r;
    2918                 :           0 :             _r = maybe_build_call_expr_loc (loc, lfn, type, 1, res_op0);
    2919                 :           0 :             if (!_r)
    2920                 :           0 :               goto next_after_fail971;
    2921                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 766, __FILE__, __LINE__, true);
    2922                 :           0 :             return _r;
    2923                 :             :           }
    2924                 :             : next_after_fail971:;
    2925                 :             :         }
    2926                 :             :     }
    2927                 :             :   return NULL_TREE;
    2928                 :             : }
    2929                 :             : 
    2930                 :             : tree
    2931                 :           0 : generic_simplify_577 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2932                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
    2933                 :             : {
    2934                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2935                 :           0 :   if (canonicalize_math_after_vectorization_p ()
    2936                 :             : )
    2937                 :             :     {
    2938                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail982;
    2939                 :             :       {
    2940                 :             :         tree res_op0;
    2941                 :             :         res_op0 = captures[0];
    2942                 :             :         tree res_op1;
    2943                 :             :         res_op1 = captures[1];
    2944                 :             :         tree res_op2;
    2945                 :             :         res_op2 = captures[2];
    2946                 :             :         tree _r;
    2947                 :             :         _r = maybe_build_call_expr_loc (loc, CFN_FMS, type, 3, res_op0, res_op1, res_op2);
    2948                 :             :         if (!_r)
    2949                 :             :           goto next_after_fail982;
    2950                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 777, __FILE__, __LINE__, true);
    2951                 :             :         return _r;
    2952                 :             :       }
    2953                 :           0 : next_after_fail982:;
    2954                 :             :     }
    2955                 :           0 :   return NULL_TREE;
    2956                 :             : }
    2957                 :             : 
    2958                 :             : tree
    2959                 :           0 : generic_simplify_587 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2960                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2961                 :             :  const enum tree_code ARG_UNUSED (rot),
    2962                 :             :  const combined_fn ARG_UNUSED (popcount))
    2963                 :             : {
    2964                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2965                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2966                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2967                 :           0 :  && (
    2968                 :             : 
    2969                 :           0 :  || !TREE_SIDE_EFFECTS (captures[3]))
    2970                 :             : )
    2971                 :             :     {
    2972                 :           0 :       {
    2973                 :           0 :  tree type0 = TREE_TYPE (captures[0]);
    2974                 :           0 :  tree type1 = TREE_TYPE (captures[1]);
    2975                 :           0 :  unsigned int prec0 = TYPE_PRECISION (type0);
    2976                 :           0 :  unsigned int prec1 = TYPE_PRECISION (type1);
    2977                 :           0 :           if (prec0 == prec1 || (prec0 > prec1 && TYPE_UNSIGNED (type1))
    2978                 :             : )
    2979                 :             :             {
    2980                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail992;
    2981                 :           0 :               {
    2982                 :           0 :                 tree res_op0;
    2983                 :           0 :                 {
    2984                 :           0 :                   tree _o1[1], _r1;
    2985                 :           0 :                   _o1[0] = captures[2];
    2986                 :           0 :                   if (TREE_TYPE (_o1[0]) != type0)
    2987                 :             :                     {
    2988                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
    2989                 :             :                     }
    2990                 :             :                   else
    2991                 :             :                     _r1 = _o1[0];
    2992                 :           0 :                   res_op0 = _r1;
    2993                 :             :                 }
    2994                 :           0 :                 tree _r;
    2995                 :           0 :                 _r = maybe_build_call_expr_loc (loc, popcount, type, 1, res_op0);
    2996                 :           0 :                 if (!_r)
    2997                 :           0 :                   goto next_after_fail992;
    2998                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[3]))
    2999                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    3000                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 782, __FILE__, __LINE__, true);
    3001                 :           0 :                 return _r;
    3002                 :             :               }
    3003                 :             : next_after_fail992:;
    3004                 :             :             }
    3005                 :             :       }
    3006                 :             :     }
    3007                 :             :   return NULL_TREE;
    3008                 :             : }
    3009                 :             : 
    3010                 :             : tree
    3011                 :     2811896 : generic_simplify_ABS_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    3012                 :             : {
    3013                 :     2811896 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3014                 :     2811896 :   switch (TREE_CODE (_p0))
    3015                 :             :     {
    3016                 :      215108 :     CASE_CONVERT:
    3017                 :      215108 :       {
    3018                 :      215108 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3019                 :      215108 :         {
    3020                 :      215108 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    3021                 :      430214 :           if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3022                 :         914 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3023                 :      215948 :  && element_precision (type) > element_precision (TREE_TYPE (captures[0]))
    3024                 :             : )
    3025                 :             :             {
    3026                 :         225 :               {
    3027                 :         225 :  tree utype = unsigned_type_for (TREE_TYPE (captures[0]));
    3028                 :         225 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1005;
    3029                 :         225 :                   {
    3030                 :         225 :                     tree res_op0;
    3031                 :         225 :                     {
    3032                 :         225 :                       tree _o1[1], _r1;
    3033                 :         225 :                       _o1[0] = captures[0];
    3034                 :         225 :                       _r1 = fold_build1_loc (loc, ABSU_EXPR, utype, _o1[0]);
    3035                 :         225 :                       res_op0 = _r1;
    3036                 :             :                     }
    3037                 :         225 :                     tree _r;
    3038                 :         225 :                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3039                 :         225 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
    3040                 :         225 :                     return _r;
    3041                 :             :                   }
    3042                 :           0 : next_after_fail1005:;
    3043                 :             :               }
    3044                 :             :             }
    3045                 :             :         }
    3046                 :             :         break;
    3047                 :             :       }
    3048                 :          12 :     case ABS_EXPR:
    3049                 :          12 :       {
    3050                 :          12 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3051                 :          12 :         {
    3052                 :          12 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    3053                 :          12 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1006;
    3054                 :          12 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1006;
    3055                 :          12 :           {
    3056                 :          12 :             tree _r;
    3057                 :          12 :             _r = captures[0];
    3058                 :          12 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
    3059                 :          12 :             return _r;
    3060                 :             :           }
    3061                 :           0 : next_after_fail1006:;
    3062                 :             :         }
    3063                 :           0 :         break;
    3064                 :             :       }
    3065                 :          57 :     case NEGATE_EXPR:
    3066                 :          57 :       {
    3067                 :          57 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3068                 :          57 :         {
    3069                 :          57 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    3070                 :          57 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1007;
    3071                 :          57 :           {
    3072                 :          57 :             tree res_op0;
    3073                 :          57 :             res_op0 = captures[0];
    3074                 :          57 :             tree _r;
    3075                 :          57 :             _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
    3076                 :          57 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
    3077                 :     2811896 :             return _r;
    3078                 :             :           }
    3079                 :           0 : next_after_fail1007:;
    3080                 :             :         }
    3081                 :           0 :         break;
    3082                 :             :       }
    3083                 :         317 :     case PLUS_EXPR:
    3084                 :         317 :       {
    3085                 :         317 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3086                 :         317 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3087                 :         317 :         if (real_zerop (_q21))
    3088                 :             :           {
    3089                 :           3 :             {
    3090                 :           3 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3091                 :           3 :               tree res = generic_simplify_1 (loc, type, _p0, captures, PLUS_EXPR);
    3092                 :           3 :               if (res) return res;
    3093                 :             :             }
    3094                 :             :           }
    3095                 :             :         break;
    3096                 :             :       }
    3097                 :        7271 :     case MINUS_EXPR:
    3098                 :        7271 :       {
    3099                 :        7271 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3100                 :        7271 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3101                 :        7271 :         if (real_zerop (_q21))
    3102                 :             :           {
    3103                 :           0 :             {
    3104                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3105                 :           0 :               tree res = generic_simplify_1 (loc, type, _p0, captures, MINUS_EXPR);
    3106                 :           0 :               if (res) return res;
    3107                 :             :             }
    3108                 :             :           }
    3109                 :             :         break;
    3110                 :             :       }
    3111                 :           0 :     case VEC_COND_EXPR:
    3112                 :           0 :       {
    3113                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3114                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3115                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    3116                 :           0 :         {
    3117                 :           0 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    3118                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1008;
    3119                 :           0 :           {
    3120                 :           0 :             tree res_op0;
    3121                 :           0 :             res_op0 = captures[1];
    3122                 :           0 :             tree res_op1;
    3123                 :           0 :             {
    3124                 :           0 :               tree _o1[1], _r1;
    3125                 :           0 :               _o1[0] = captures[2];
    3126                 :           0 :               _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3127                 :           0 :               if (EXPR_P (_r1))
    3128                 :           0 :                 goto next_after_fail1008;
    3129                 :           0 :               res_op1 = _r1;
    3130                 :             :             }
    3131                 :           0 :             tree res_op2;
    3132                 :           0 :             {
    3133                 :           0 :               tree _o1[1], _r1;
    3134                 :           0 :               _o1[0] = captures[3];
    3135                 :           0 :               _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3136                 :           0 :               if (EXPR_P (_r1))
    3137                 :           0 :                 goto next_after_fail1008;
    3138                 :           0 :               res_op2 = _r1;
    3139                 :             :             }
    3140                 :           0 :             tree _r;
    3141                 :           0 :             _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    3142                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 796, __FILE__, __LINE__, true);
    3143                 :           0 :             return _r;
    3144                 :             :           }
    3145                 :           0 : next_after_fail1008:;
    3146                 :             :         }
    3147                 :           0 :         break;
    3148                 :             :       }
    3149                 :        1088 :     case CALL_EXPR:
    3150                 :        1088 :       switch (get_call_combined_fn (_p0))
    3151                 :             :         {
    3152                 :           0 :         case CFN_BUILT_IN_COPYSIGNF16:
    3153                 :           0 :           if (call_expr_nargs (_p0) == 2)
    3154                 :             :     {
    3155                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    3156                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    3157                 :           0 :               {
    3158                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3159                 :           0 :                 tree res = generic_simplify_2 (loc, type, _p0, captures, CFN_BUILT_IN_COPYSIGNF16);
    3160                 :           0 :                 if (res) return res;
    3161                 :             :               }
    3162                 :             :             }
    3163                 :             :           break;
    3164                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32:
    3165                 :           0 :           if (call_expr_nargs (_p0) == 2)
    3166                 :             :     {
    3167                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    3168                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    3169                 :           0 :               {
    3170                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3171                 :           0 :                 tree res = generic_simplify_2 (loc, type, _p0, captures, CFN_BUILT_IN_COPYSIGNF32);
    3172                 :           0 :                 if (res) return res;
    3173                 :             :               }
    3174                 :             :             }
    3175                 :             :           break;
    3176                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64:
    3177                 :           0 :           if (call_expr_nargs (_p0) == 2)
    3178                 :             :     {
    3179                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    3180                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    3181                 :           0 :               {
    3182                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3183                 :           0 :                 tree res = generic_simplify_2 (loc, type, _p0, captures, CFN_BUILT_IN_COPYSIGNF64);
    3184                 :           0 :                 if (res) return res;
    3185                 :             :               }
    3186                 :             :             }
    3187                 :             :           break;
    3188                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128X:
    3189                 :           0 :           if (call_expr_nargs (_p0) == 2)
    3190                 :             :     {
    3191                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    3192                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    3193                 :           0 :               {
    3194                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3195                 :           0 :                 tree res = generic_simplify_2 (loc, type, _p0, captures, CFN_BUILT_IN_COPYSIGNF128X);
    3196                 :           0 :                 if (res) return res;
    3197                 :             :               }
    3198                 :             :             }
    3199                 :             :           break;
    3200                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128:
    3201                 :           0 :           if (call_expr_nargs (_p0) == 2)
    3202                 :             :     {
    3203                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    3204                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    3205                 :           0 :               {
    3206                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3207                 :           0 :                 tree res = generic_simplify_2 (loc, type, _p0, captures, CFN_BUILT_IN_COPYSIGNF128);
    3208                 :           0 :                 if (res) return res;
    3209                 :             :               }
    3210                 :             :             }
    3211                 :             :           break;
    3212                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32X:
    3213                 :           0 :           if (call_expr_nargs (_p0) == 2)
    3214                 :             :     {
    3215                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    3216                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    3217                 :           0 :               {
    3218                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3219                 :           0 :                 tree res = generic_simplify_2 (loc, type, _p0, captures, CFN_BUILT_IN_COPYSIGNF32X);
    3220                 :           0 :                 if (res) return res;
    3221                 :             :               }
    3222                 :             :             }
    3223                 :             :           break;
    3224                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64X:
    3225                 :           0 :           if (call_expr_nargs (_p0) == 2)
    3226                 :             :     {
    3227                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    3228                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    3229                 :           0 :               {
    3230                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3231                 :           0 :                 tree res = generic_simplify_2 (loc, type, _p0, captures, CFN_BUILT_IN_COPYSIGNF64X);
    3232                 :           0 :                 if (res) return res;
    3233                 :             :               }
    3234                 :             :             }
    3235                 :             :           break;
    3236                 :           0 :         case CFN_BUILT_IN_COPYSIGN:
    3237                 :           0 :           if (call_expr_nargs (_p0) == 2)
    3238                 :             :     {
    3239                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    3240                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    3241                 :           0 :               {
    3242                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3243                 :           0 :                 tree res = generic_simplify_2 (loc, type, _p0, captures, CFN_BUILT_IN_COPYSIGN);
    3244                 :           0 :                 if (res) return res;
    3245                 :             :               }
    3246                 :             :             }
    3247                 :             :           break;
    3248                 :           1 :         case CFN_BUILT_IN_COPYSIGNF:
    3249                 :           1 :           if (call_expr_nargs (_p0) == 2)
    3250                 :             :     {
    3251                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    3252                 :           1 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    3253                 :           1 :               {
    3254                 :           1 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3255                 :           1 :                 tree res = generic_simplify_2 (loc, type, _p0, captures, CFN_BUILT_IN_COPYSIGNF);
    3256                 :           1 :                 if (res) return res;
    3257                 :             :               }
    3258                 :             :             }
    3259                 :             :           break;
    3260                 :           0 :         case CFN_BUILT_IN_COPYSIGNL:
    3261                 :           0 :           if (call_expr_nargs (_p0) == 2)
    3262                 :             :     {
    3263                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    3264                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    3265                 :           0 :               {
    3266                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3267                 :           0 :                 tree res = generic_simplify_2 (loc, type, _p0, captures, CFN_BUILT_IN_COPYSIGNL);
    3268                 :           0 :                 if (res) return res;
    3269                 :             :               }
    3270                 :             :             }
    3271                 :             :           break;
    3272                 :           0 :         case CFN_COPYSIGN:
    3273                 :           0 :           if (call_expr_nargs (_p0) == 2)
    3274                 :             :     {
    3275                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    3276                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    3277                 :           0 :               {
    3278                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3279                 :           0 :                 tree res = generic_simplify_2 (loc, type, _p0, captures, CFN_COPYSIGN);
    3280                 :           0 :                 if (res) return res;
    3281                 :             :               }
    3282                 :             :             }
    3283                 :             :           break;
    3284                 :             :         default:;
    3285                 :             :         }
    3286                 :             :       break;
    3287                 :     2811599 :     default:;
    3288                 :             :     }
    3289                 :     2811599 : if (tree_expr_nonnegative_p (_p0))
    3290                 :             :   {
    3291                 :         549 :     {
    3292                 :         549 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    3293                 :         549 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1009;
    3294                 :         549 :       {
    3295                 :         549 :         tree _r;
    3296                 :         549 :         _r = captures[0];
    3297                 :         549 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 797, __FILE__, __LINE__, true);
    3298                 :         549 :         return _r;
    3299                 :             :       }
    3300                 :           0 : next_after_fail1009:;
    3301                 :             :     }
    3302                 :             :   }
    3303                 :             :   return NULL_TREE;
    3304                 :             : }
    3305                 :             : 
    3306                 :             : tree
    3307                 :    95714341 : generic_simplify_PLUS_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    3308                 :             : {
    3309                 :    95714341 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3310                 :    95714341 :   if (integer_zerop (_p1))
    3311                 :             :     {
    3312                 :    27261634 :       {
    3313                 :    27261634 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    3314                 :    27261634 :         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1124;
    3315                 :    27261634 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1124;
    3316                 :    27261634 :         {
    3317                 :    27261634 :           tree res_op0;
    3318                 :    27261634 :           res_op0 = captures[0];
    3319                 :    27261634 :           tree _r;
    3320                 :    27261634 :           _r = non_lvalue_loc (loc, res_op0);
    3321                 :    27261634 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 850, __FILE__, __LINE__, true);
    3322                 :    27261634 :           return _r;
    3323                 :             :         }
    3324                 :             : next_after_fail1124:;
    3325                 :             :       }
    3326                 :             :     }
    3327                 :    68452707 :   if (real_zerop (_p1))
    3328                 :             :     {
    3329                 :        5272 :       {
    3330                 :        5272 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    3331                 :        5272 :         tree res = generic_simplify_3 (loc, type, _p0, _p1, captures);
    3332                 :        5272 :         if (res) return res;
    3333                 :             :       }
    3334                 :             :     }
    3335                 :    68452612 :   switch (TREE_CODE (_p0))
    3336                 :             :     {
    3337                 :     6520146 :     case PLUS_EXPR:
    3338                 :     6520146 :       {
    3339                 :     6520146 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3340                 :     6520146 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3341                 :     6520146 :         switch (TREE_CODE (_q21))
    3342                 :             :           {
    3343                 :      125110 :           case REAL_CST:
    3344                 :      125110 :             {
    3345                 :      125110 :               switch (TREE_CODE (_p1))
    3346                 :             :                 {
    3347                 :          70 :                 case REAL_CST:
    3348                 :          70 :                   {
    3349                 :          70 :                     {
    3350                 :          70 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    3351                 :          70 :                       tree res = generic_simplify_4 (loc, type, _p0, _p1, captures, PLUS_EXPR, PLUS_EXPR);
    3352                 :          70 :                       if (res) return res;
    3353                 :             :                     }
    3354                 :          67 :                     break;
    3355                 :             :                   }
    3356                 :             :                 default:;
    3357                 :             :                 }
    3358                 :             :               break;
    3359                 :             :             }
    3360                 :             :           default:;
    3361                 :             :           }
    3362                 :             :         break;
    3363                 :             :       }
    3364                 :     2027300 :     case MINUS_EXPR:
    3365                 :     2027300 :       {
    3366                 :     2027300 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3367                 :     2027300 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3368                 :     2027300 :         switch (TREE_CODE (_q21))
    3369                 :             :           {
    3370                 :       23467 :           case REAL_CST:
    3371                 :       23467 :             {
    3372                 :       23467 :               switch (TREE_CODE (_p1))
    3373                 :             :                 {
    3374                 :         195 :                 case REAL_CST:
    3375                 :         195 :                   {
    3376                 :         195 :                     {
    3377                 :         195 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    3378                 :         195 :                       tree res = generic_simplify_4 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR);
    3379                 :         195 :                       if (res) return res;
    3380                 :             :                     }
    3381                 :         193 :                     break;
    3382                 :             :                   }
    3383                 :             :                 default:;
    3384                 :             :                 }
    3385                 :             :               break;
    3386                 :             :             }
    3387                 :             :           default:;
    3388                 :             :           }
    3389                 :             :         break;
    3390                 :             :       }
    3391                 :       11617 :     case MAX_EXPR:
    3392                 :       11617 :       {
    3393                 :       11617 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3394                 :       11617 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3395                 :       11617 :         if (integer_zerop (_q21))
    3396                 :             :           {
    3397                 :        4540 :             switch (TREE_CODE (_p1))
    3398                 :             :               {
    3399                 :         113 :               case MAX_EXPR:
    3400                 :         113 :                 {
    3401                 :         113 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    3402                 :         113 :                   tree _q51 = TREE_OPERAND (_p1, 1);
    3403                 :         113 :                   switch (TREE_CODE (_q50))
    3404                 :             :                     {
    3405                 :          48 :                     case NEGATE_EXPR:
    3406                 :          48 :                       {
    3407                 :          48 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    3408                 :          48 :                         if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    3409                 :             :                           {
    3410                 :          48 :                             if (integer_zerop (_q51))
    3411                 :             :                               {
    3412                 :          48 :                                 {
    3413                 :          48 :                                   tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    3414                 :          48 :                                   tree res = generic_simplify_5 (loc, type, _p0, _p1, captures);
    3415                 :          48 :                                   if (res) return res;
    3416                 :             :                                 }
    3417                 :             :                               }
    3418                 :             :                           }
    3419                 :             :                         break;
    3420                 :             :                       }
    3421                 :             :                     default:;
    3422                 :             :                     }
    3423                 :             :                   break;
    3424                 :             :                 }
    3425                 :             :               default:;
    3426                 :             :               }
    3427                 :             :           }
    3428                 :       11569 :         switch (TREE_CODE (_q20))
    3429                 :             :           {
    3430                 :          18 :           case NEGATE_EXPR:
    3431                 :          18 :             {
    3432                 :          18 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3433                 :          18 :               if (integer_zerop (_q21))
    3434                 :             :                 {
    3435                 :          18 :                   switch (TREE_CODE (_p1))
    3436                 :             :                     {
    3437                 :          18 :                     case MAX_EXPR:
    3438                 :          18 :                       {
    3439                 :          18 :                         tree _q60 = TREE_OPERAND (_p1, 0);
    3440                 :          18 :                         tree _q61 = TREE_OPERAND (_p1, 1);
    3441                 :          18 :                         if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    3442                 :             :                           {
    3443                 :          18 :                             if (integer_zerop (_q61))
    3444                 :             :                               {
    3445                 :          18 :                                 {
    3446                 :          18 :                                   tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    3447                 :          18 :                                   tree res = generic_simplify_5 (loc, type, _p0, _p1, captures);
    3448                 :          18 :                                   if (res) return res;
    3449                 :             :                                 }
    3450                 :             :                               }
    3451                 :             :                           }
    3452                 :             :                         break;
    3453                 :             :                       }
    3454                 :             :                     default:;
    3455                 :             :                     }
    3456                 :             :                 }
    3457                 :             :               break;
    3458                 :             :             }
    3459                 :             :           default:;
    3460                 :             :           }
    3461                 :             :         break;
    3462                 :             :       }
    3463                 :    12849186 :     case MULT_EXPR:
    3464                 :    12849186 :       {
    3465                 :    12849186 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3466                 :    12849186 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3467                 :    12849186 :         switch (TREE_CODE (_q20))
    3468                 :             :           {
    3469                 :     1812422 :           case PLUS_EXPR:
    3470                 :     1812422 :             {
    3471                 :     1812422 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3472                 :     1812422 :               tree _q31 = TREE_OPERAND (_q20, 1);
    3473                 :     1812422 :               switch (TREE_CODE (_q31))
    3474                 :             :                 {
    3475                 :      479967 :                 case INTEGER_CST:
    3476                 :      479967 :                   {
    3477                 :      479967 :                     switch (TREE_CODE (_q21))
    3478                 :             :                       {
    3479                 :      166171 :                       case INTEGER_CST:
    3480                 :      166171 :                         {
    3481                 :      166171 :                           switch (TREE_CODE (_p1))
    3482                 :             :                             {
    3483                 :      114501 :                             case INTEGER_CST:
    3484                 :      114501 :                               {
    3485                 :      114501 :                                 {
    3486                 :      114501 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1 };
    3487                 :      114501 :                                   {
    3488                 :      114501 :  bool overflowed = true;
    3489                 :      114501 :  wi::overflow_type ovf1;
    3490                 :      114501 :  wi::overflow_type ovf2;
    3491                 :      114501 :  wide_int mul = wi::mul (wi::to_wide (captures[3]), wi::to_wide (captures[4]),
    3492                 :      229002 :  TYPE_SIGN (type), &ovf1);
    3493                 :      343503 :  wide_int add = wi::add (mul, wi::to_wide (captures[5]),
    3494                 :      114501 :  TYPE_SIGN (type), &ovf2);
    3495                 :      114501 :  if (TYPE_OVERFLOW_UNDEFINED (type))
    3496                 :             :  {
    3497                 :             :  }
    3498                 :             :  else
    3499                 :       52600 :  overflowed = false;
    3500                 :       52600 :                                       if (!overflowed
    3501                 :             : )
    3502                 :             :                                         {
    3503                 :       52600 :                                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1125;
    3504                 :       52600 :                                           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1125;
    3505                 :       52600 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1125;
    3506                 :       52600 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1125;
    3507                 :       52600 :                                           {
    3508                 :       52600 :                                             tree res_op0;
    3509                 :       52600 :                                             {
    3510                 :       52600 :                                               tree _o1[2], _r1;
    3511                 :       52600 :                                               _o1[0] = captures[2];
    3512                 :       52600 :                                               _o1[1] = captures[4];
    3513                 :       52600 :                                               _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3514                 :       52600 :                                               res_op0 = _r1;
    3515                 :             :                                             }
    3516                 :       52600 :                                             tree res_op1;
    3517                 :       52600 :                                             res_op1 =  wide_int_to_tree (type, add);
    3518                 :       52600 :                                             tree _r;
    3519                 :       52600 :                                             _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    3520                 :       52600 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 851, __FILE__, __LINE__, true);
    3521                 :       52600 :                                             return _r;
    3522                 :             :                                           }
    3523                 :       61901 : next_after_fail1125:;
    3524                 :             :                                         }
    3525                 :      114501 :                                   }
    3526                 :             :                                 }
    3527                 :       61901 :                                 break;
    3528                 :             :                               }
    3529                 :             :                             default:;
    3530                 :             :                             }
    3531                 :             :                           break;
    3532                 :             :                         }
    3533                 :             :                       default:;
    3534                 :             :                       }
    3535                 :             :                     break;
    3536                 :             :                   }
    3537                 :             :                 default:;
    3538                 :             :                 }
    3539                 :             :               break;
    3540                 :             :             }
    3541                 :             :           default:;
    3542                 :             :           }
    3543                 :             :         break;
    3544                 :             :       }
    3545                 :       19338 :     case LSHIFT_EXPR:
    3546                 :       19338 :       {
    3547                 :       19338 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3548                 :       19338 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3549                 :       19338 :         switch (TREE_CODE (_p1))
    3550                 :             :           {
    3551                 :         688 :           case LSHIFT_EXPR:
    3552                 :         688 :             {
    3553                 :         688 :               tree _q50 = TREE_OPERAND (_p1, 0);
    3554                 :         688 :               tree _q51 = TREE_OPERAND (_p1, 1);
    3555                 :         688 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    3556                 :             :                 {
    3557                 :           7 :                   {
    3558                 :           7 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    3559                 :           7 :                     tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    3560                 :           7 :                     if (res) return res;
    3561                 :             :                   }
    3562                 :             :                 }
    3563                 :             :               break;
    3564                 :             :             }
    3565                 :             :           default:;
    3566                 :             :           }
    3567                 :             :         break;
    3568                 :             :       }
    3569                 :      195009 :     case BIT_AND_EXPR:
    3570                 :      195009 :       {
    3571                 :      195009 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3572                 :      195009 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3573                 :      195009 :         switch (TREE_CODE (_p1))
    3574                 :             :           {
    3575                 :         286 :           case BIT_AND_EXPR:
    3576                 :         286 :             {
    3577                 :         286 :               tree _q50 = TREE_OPERAND (_p1, 0);
    3578                 :         286 :               tree _q51 = TREE_OPERAND (_p1, 1);
    3579                 :         286 :               {
    3580                 :         286 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
    3581                 :         286 :                 tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    3582                 :         286 :                 if (res) return res;
    3583                 :             :               }
    3584                 :         286 :               {
    3585                 :         286 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q50 };
    3586                 :         286 :                 tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    3587                 :         286 :                 if (res) return res;
    3588                 :             :               }
    3589                 :         286 :               {
    3590                 :         286 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q51 };
    3591                 :         286 :                 tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    3592                 :         286 :                 if (res) return res;
    3593                 :             :               }
    3594                 :         286 :               {
    3595                 :         286 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q50 };
    3596                 :         286 :                 tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    3597                 :         286 :                 if (res) return res;
    3598                 :             :               }
    3599                 :         286 :               break;
    3600                 :             :             }
    3601                 :      195009 :           default:;
    3602                 :             :           }
    3603                 :      195009 :         if (integer_onep (_q21))
    3604                 :             :           {
    3605                 :      129246 :             if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    3606                 :             :               {
    3607                 :          29 :                 {
    3608                 :          29 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
    3609                 :          29 :                   tree res = generic_simplify_8 (loc, type, _p0, _p1, captures);
    3610                 :          29 :                   if (res) return res;
    3611                 :             :                 }
    3612                 :             :               }
    3613                 :             :           }
    3614                 :             :         break;
    3615                 :             :       }
    3616                 :    68399905 :     default:;
    3617                 :             :     }
    3618                 :    68399905 : if (real_zerop (_p0))
    3619                 :             :   {
    3620                 :           0 :     {
    3621                 :           0 :       tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
    3622                 :           0 :       tree res = generic_simplify_3 (loc, type, _p0, _p1, captures);
    3623                 :           0 :       if (res) return res;
    3624                 :             :     }
    3625                 :             :   }
    3626                 :    68399905 :   switch (TREE_CODE (_p1))
    3627                 :             :     {
    3628                 :        5287 :     case BIT_AND_EXPR:
    3629                 :        5287 :       {
    3630                 :        5287 :         tree _q30 = TREE_OPERAND (_p1, 0);
    3631                 :        5287 :         tree _q31 = TREE_OPERAND (_p1, 1);
    3632                 :        5287 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    3633                 :             :           {
    3634                 :          16 :             if (integer_onep (_q31))
    3635                 :             :               {
    3636                 :          16 :                 {
    3637                 :          16 :                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    3638                 :          16 :                   tree res = generic_simplify_8 (loc, type, _p0, _p1, captures);
    3639                 :          16 :                   if (res) return res;
    3640                 :             :                 }
    3641                 :             :               }
    3642                 :             :           }
    3643                 :             :         break;
    3644                 :             :       }
    3645                 :    68399889 :     default:;
    3646                 :             :     }
    3647                 :    68399889 :   switch (TREE_CODE (_p0))
    3648                 :             :     {
    3649                 :      194980 :     case BIT_AND_EXPR:
    3650                 :      194980 :       {
    3651                 :      194980 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3652                 :      194980 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3653                 :      194980 :         switch (TREE_CODE (_p1))
    3654                 :             :           {
    3655                 :           9 :           case BIT_XOR_EXPR:
    3656                 :           9 :             {
    3657                 :           9 :               tree _q50 = TREE_OPERAND (_p1, 0);
    3658                 :           9 :               tree _q51 = TREE_OPERAND (_p1, 1);
    3659                 :           9 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    3660                 :             :                 {
    3661                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    3662                 :             :                     {
    3663                 :           0 :                       {
    3664                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3665                 :           0 :                         tree res = generic_simplify_9 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    3666                 :           0 :                         if (res) return res;
    3667                 :             :                       }
    3668                 :             :                     }
    3669                 :             :                 }
    3670                 :             :               break;
    3671                 :             :             }
    3672                 :           1 :           case BIT_IOR_EXPR:
    3673                 :           1 :             {
    3674                 :           1 :               tree _q50 = TREE_OPERAND (_p1, 0);
    3675                 :           1 :               tree _q51 = TREE_OPERAND (_p1, 1);
    3676                 :           1 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    3677                 :             :                 {
    3678                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    3679                 :             :                     {
    3680                 :           0 :                       {
    3681                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3682                 :           0 :                         tree res = generic_simplify_10 (loc, type, _p0, _p1, captures);
    3683                 :           0 :                         if (res) return res;
    3684                 :             :                       }
    3685                 :             :                     }
    3686                 :             :                 }
    3687                 :             :               break;
    3688                 :             :             }
    3689                 :      194980 :           default:;
    3690                 :             :           }
    3691                 :      194980 :         switch (TREE_CODE (_q21))
    3692                 :             :           {
    3693                 :      194675 :           case INTEGER_CST:
    3694                 :      194675 :             {
    3695                 :      194675 :               switch (TREE_CODE (_p1))
    3696                 :             :                 {
    3697                 :       15075 :                 CASE_CONVERT:
    3698                 :       15075 :                   {
    3699                 :       15075 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    3700                 :       15075 :                     switch (TREE_CODE (_q50))
    3701                 :             :                       {
    3702                 :           0 :                       case BIT_AND_EXPR:
    3703                 :           0 :                         {
    3704                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    3705                 :           0 :                           tree _q61 = TREE_OPERAND (_q50, 1);
    3706                 :           0 :                           switch (TREE_CODE (_q61))
    3707                 :             :                             {
    3708                 :           0 :                             case INTEGER_CST:
    3709                 :           0 :                               {
    3710                 :           0 :                                 {
    3711                 :           0 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50, _q60, _q61 };
    3712                 :           0 :                                   tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    3713                 :           0 :                                   if (res) return res;
    3714                 :             :                                 }
    3715                 :           0 :                                 break;
    3716                 :             :                               }
    3717                 :             :                             default:;
    3718                 :             :                             }
    3719                 :             :                           break;
    3720                 :             :                         }
    3721                 :             :                       default:;
    3722                 :             :                       }
    3723                 :             :                     break;
    3724                 :             :                   }
    3725                 :         286 :                 case BIT_AND_EXPR:
    3726                 :         286 :                   {
    3727                 :         286 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    3728                 :         286 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    3729                 :         286 :                     switch (TREE_CODE (_q51))
    3730                 :             :                       {
    3731                 :         286 :                       case INTEGER_CST:
    3732                 :         286 :                         {
    3733                 :         286 :                           {
    3734                 :         286 :                             tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
    3735                 :         286 :                             tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    3736                 :         286 :                             if (res) return res;
    3737                 :             :                           }
    3738                 :         186 :                           break;
    3739                 :             :                         }
    3740                 :             :                       default:;
    3741                 :             :                       }
    3742                 :             :                     break;
    3743                 :             :                   }
    3744                 :             :                 default:;
    3745                 :             :                 }
    3746                 :             :               break;
    3747                 :             :             }
    3748                 :             :           default:;
    3749                 :             :           }
    3750                 :             :         break;
    3751                 :             :       }
    3752                 :        1521 :     case BIT_XOR_EXPR:
    3753                 :        1521 :       {
    3754                 :        1521 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3755                 :        1521 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3756                 :        1521 :         switch (TREE_CODE (_p1))
    3757                 :             :           {
    3758                 :           0 :           case BIT_AND_EXPR:
    3759                 :           0 :             {
    3760                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    3761                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    3762                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    3763                 :             :                 {
    3764                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    3765                 :             :                     {
    3766                 :           0 :                       {
    3767                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3768                 :           0 :                         tree res = generic_simplify_9 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    3769                 :           0 :                         if (res) return res;
    3770                 :             :                       }
    3771                 :             :                     }
    3772                 :             :                 }
    3773                 :             :               break;
    3774                 :             :             }
    3775                 :             :           default:;
    3776                 :             :           }
    3777                 :             :         break;
    3778                 :             :       }
    3779                 :         552 :     case BIT_IOR_EXPR:
    3780                 :         552 :       {
    3781                 :         552 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3782                 :         552 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3783                 :         552 :         switch (TREE_CODE (_p1))
    3784                 :             :           {
    3785                 :           0 :           case BIT_AND_EXPR:
    3786                 :           0 :             {
    3787                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    3788                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    3789                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    3790                 :             :                 {
    3791                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    3792                 :             :                     {
    3793                 :           0 :                       {
    3794                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3795                 :           0 :                         tree res = generic_simplify_10 (loc, type, _p0, _p1, captures);
    3796                 :           0 :                         if (res) return res;
    3797                 :             :                       }
    3798                 :             :                     }
    3799                 :             :                 }
    3800                 :             :               break;
    3801                 :             :             }
    3802                 :             :           default:;
    3803                 :             :           }
    3804                 :             :         break;
    3805                 :             :       }
    3806                 :     2027298 :     case MINUS_EXPR:
    3807                 :     2027298 :       {
    3808                 :     2027298 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3809                 :     2027298 :         tree _q21 = TREE_OPERAND (_p0, 1);
    3810                 :     2027298 :         switch (TREE_CODE (_q20))
    3811                 :             :           {
    3812                 :           2 :           case BIT_AND_EXPR:
    3813                 :           2 :             {
    3814                 :           2 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3815                 :           2 :               tree _q31 = TREE_OPERAND (_q20, 1);
    3816                 :           2 :               switch (TREE_CODE (_q21))
    3817                 :             :                 {
    3818                 :           1 :                 case BIT_IOR_EXPR:
    3819                 :           1 :                   {
    3820                 :           1 :                     tree _q60 = TREE_OPERAND (_q21, 0);
    3821                 :           1 :                     tree _q61 = TREE_OPERAND (_q21, 1);
    3822                 :           1 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    3823                 :             :                       {
    3824                 :           1 :                         if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
    3825                 :             :                           {
    3826                 :           1 :                             if (integer_all_onesp (_p1))
    3827                 :             :                               {
    3828                 :           1 :                                 {
    3829                 :           1 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    3830                 :           1 :                                   tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    3831                 :           1 :                                   if (res) return res;
    3832                 :             :                                 }
    3833                 :             :                               }
    3834                 :             :                           }
    3835                 :             :                       }
    3836                 :           0 :                     if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
    3837                 :             :                       {
    3838                 :           0 :                         if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    3839                 :             :                           {
    3840                 :           0 :                             if (integer_all_onesp (_p1))
    3841                 :             :                               {
    3842                 :           0 :                                 {
    3843                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q31, _q30 };
    3844                 :           0 :                                   tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    3845                 :           0 :                                   if (res) return res;
    3846                 :             :                                 }
    3847                 :             :                               }
    3848                 :             :                           }
    3849                 :             :                       }
    3850                 :             :                     break;
    3851                 :             :                   }
    3852                 :             :                 default:;
    3853                 :             :                 }
    3854                 :             :               break;
    3855                 :             :             }
    3856                 :     2027297 :           default:;
    3857                 :             :           }
    3858                 :     2027297 :       {
    3859                 :     2027297 :         tree _q20_pops[1];
    3860                 :     2027297 :         if (tree_nop_convert (_q20, _q20_pops))
    3861                 :             :           {
    3862                 :      884101 :             tree _q30 = _q20_pops[0];
    3863                 :      884101 :             switch (TREE_CODE (_q30))
    3864                 :             :               {
    3865                 :           0 :               case BIT_AND_EXPR:
    3866                 :           0 :                 {
    3867                 :           0 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    3868                 :           0 :                   tree _q41 = TREE_OPERAND (_q30, 1);
    3869                 :           0 :                   {
    3870                 :           0 :                     tree _q21_pops[1];
    3871                 :           0 :                     if (tree_nop_convert (_q21, _q21_pops))
    3872                 :             :                       {
    3873                 :           0 :                         tree _q70 = _q21_pops[0];
    3874                 :           0 :                         switch (TREE_CODE (_q70))
    3875                 :             :                           {
    3876                 :           0 :                           case BIT_IOR_EXPR:
    3877                 :           0 :                             {
    3878                 :           0 :                               tree _q80 = TREE_OPERAND (_q70, 0);
    3879                 :           0 :                               tree _q81 = TREE_OPERAND (_q70, 1);
    3880                 :           0 :                               if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
    3881                 :             :                                 {
    3882                 :           0 :                                   if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
    3883                 :             :                                     {
    3884                 :           0 :                                       if (integer_all_onesp (_p1))
    3885                 :             :                                         {
    3886                 :           0 :                                           {
    3887                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q41 };
    3888                 :           0 :                                             tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    3889                 :           0 :                                             if (res) return res;
    3890                 :             :                                           }
    3891                 :             :                                         }
    3892                 :             :                                     }
    3893                 :             :                                 }
    3894                 :           0 :                               if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
    3895                 :             :                                 {
    3896                 :           0 :                                   if ((_q81 == _q40 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q40, 0) && types_match (_q81, _q40)))
    3897                 :             :                                     {
    3898                 :           0 :                                       if (integer_all_onesp (_p1))
    3899                 :             :                                         {
    3900                 :           0 :                                           {
    3901                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q41, _q40 };
    3902                 :           0 :                                             tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    3903                 :           0 :                                             if (res) return res;
    3904                 :             :                                           }
    3905                 :             :                                         }
    3906                 :             :                                     }
    3907                 :             :                                 }
    3908                 :             :                               break;
    3909                 :             :                             }
    3910                 :             :                           default:;
    3911                 :             :                           }
    3912                 :             :                       }
    3913                 :             :                   }
    3914                 :           0 :                   break;
    3915                 :             :                 }
    3916                 :             :               default:;
    3917                 :             :               }
    3918                 :             :           }
    3919                 :             :       }
    3920                 :     2027297 :         {
    3921                 :     2027297 :           tree _q21_pops[1];
    3922                 :     2027297 :           if (tree_nop_convert (_q21, _q21_pops))
    3923                 :             :             {
    3924                 :     1110914 :               tree _q40 = _q21_pops[0];
    3925                 :     1110914 :               if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    3926                 :             :                 {
    3927                 :          66 :                   {
    3928                 :          66 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    3929                 :          66 :                     tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    3930                 :          66 :                     if (res) return res;
    3931                 :             :                   }
    3932                 :             :                 }
    3933                 :             :             }
    3934                 :             :         }
    3935                 :     2027235 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    3936                 :             :           {
    3937                 :       47259 :             {
    3938                 :       47259 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    3939                 :       47259 :               tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    3940                 :       47259 :               if (res) return res;
    3941                 :             :             }
    3942                 :             :           }
    3943                 :             :         break;
    3944                 :             :       }
    3945                 :    18235536 :     CASE_CONVERT:
    3946                 :    18235536 :       {
    3947                 :    18235536 :         tree _q20 = TREE_OPERAND (_p0, 0);
    3948                 :    18235536 :         switch (TREE_CODE (_q20))
    3949                 :             :           {
    3950                 :          72 :           case BIT_AND_EXPR:
    3951                 :          72 :             {
    3952                 :          72 :               tree _q30 = TREE_OPERAND (_q20, 0);
    3953                 :          72 :               tree _q31 = TREE_OPERAND (_q20, 1);
    3954                 :          72 :               switch (TREE_CODE (_q31))
    3955                 :             :                 {
    3956                 :           8 :                 case INTEGER_CST:
    3957                 :           8 :                   {
    3958                 :           8 :                     switch (TREE_CODE (_p1))
    3959                 :             :                       {
    3960                 :           0 :                       CASE_CONVERT:
    3961                 :           0 :                         {
    3962                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    3963                 :           0 :                           switch (TREE_CODE (_q60))
    3964                 :             :                             {
    3965                 :           0 :                             case BIT_AND_EXPR:
    3966                 :           0 :                               {
    3967                 :           0 :                                 tree _q70 = TREE_OPERAND (_q60, 0);
    3968                 :           0 :                                 tree _q71 = TREE_OPERAND (_q60, 1);
    3969                 :           0 :                                 switch (TREE_CODE (_q71))
    3970                 :             :                                   {
    3971                 :           0 :                                   case INTEGER_CST:
    3972                 :           0 :                                     {
    3973                 :           0 :                                       {
    3974                 :           0 :                                         tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q60, _q70, _q71 };
    3975                 :           0 :                                         tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    3976                 :           0 :                                         if (res) return res;
    3977                 :             :                                       }
    3978                 :           0 :                                       break;
    3979                 :             :                                     }
    3980                 :             :                                   default:;
    3981                 :             :                                   }
    3982                 :             :                                 break;
    3983                 :             :                               }
    3984                 :             :                             default:;
    3985                 :             :                             }
    3986                 :             :                           break;
    3987                 :             :                         }
    3988                 :           0 :                       case BIT_AND_EXPR:
    3989                 :           0 :                         {
    3990                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    3991                 :           0 :                           tree _q61 = TREE_OPERAND (_p1, 1);
    3992                 :           0 :                           switch (TREE_CODE (_q61))
    3993                 :             :                             {
    3994                 :           0 :                             case INTEGER_CST:
    3995                 :           0 :                               {
    3996                 :           0 :                                 {
    3997                 :           0 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1, _q60, _q61 };
    3998                 :           0 :                                   tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    3999                 :           0 :                                   if (res) return res;
    4000                 :             :                                 }
    4001                 :           0 :                                 break;
    4002                 :             :                               }
    4003                 :             :                             default:;
    4004                 :             :                             }
    4005                 :             :                           break;
    4006                 :             :                         }
    4007                 :             :                       default:;
    4008                 :             :                       }
    4009                 :             :                     break;
    4010                 :             :                   }
    4011                 :             :                 default:;
    4012                 :             :                 }
    4013                 :             :               break;
    4014                 :             :             }
    4015                 :        4599 :           case NEGATE_EXPR:
    4016                 :        4599 :             {
    4017                 :        4599 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4018                 :        4599 :               {
    4019                 :        4599 :                 tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q30 };
    4020                 :        4599 :                 tree res = generic_simplify_14 (loc, type, _p0, _p1, captures);
    4021                 :        4599 :                 if (res) return res;
    4022                 :             :               }
    4023                 :        1711 :               break;
    4024                 :             :             }
    4025                 :             :           default:;
    4026                 :             :           }
    4027                 :             :         break;
    4028                 :             :       }
    4029                 :      124526 :     case COND_EXPR:
    4030                 :      124526 :       {
    4031                 :      124526 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4032                 :      124526 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4033                 :      124526 :         tree _q22 = TREE_OPERAND (_p0, 2);
    4034                 :      124526 :         if (integer_zerop (_q22))
    4035                 :             :           {
    4036                 :      115770 :             switch (TREE_CODE (_p1))
    4037                 :             :               {
    4038                 :          44 :               case COND_EXPR:
    4039                 :          44 :                 {
    4040                 :          44 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    4041                 :          44 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    4042                 :          44 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    4043                 :          44 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4044                 :             :                     {
    4045                 :           6 :                       if (integer_zerop (_q61))
    4046                 :             :                         {
    4047                 :           0 :                           {
    4048                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
    4049                 :           0 :                             const enum tree_code op = PLUS_EXPR;
    4050                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1126;
    4051                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1126;
    4052                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1126;
    4053                 :           0 :                             {
    4054                 :           0 :                               tree res_op0;
    4055                 :           0 :                               res_op0 = captures[1];
    4056                 :           0 :                               tree res_op1;
    4057                 :           0 :                               res_op1 = captures[2];
    4058                 :           0 :                               tree res_op2;
    4059                 :           0 :                               res_op2 = captures[4];
    4060                 :           0 :                               tree _r;
    4061                 :           0 :                               _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    4062                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 852, __FILE__, __LINE__, true);
    4063                 :           0 :                               return _r;
    4064                 :             :                             }
    4065                 :           0 : next_after_fail1126:;
    4066                 :             :                           }
    4067                 :             :                         }
    4068                 :             :                     }
    4069                 :             :                   break;
    4070                 :             :                 }
    4071                 :             :               default:;
    4072                 :             :               }
    4073                 :             :           }
    4074                 :      124526 :         if (integer_zerop (_q21))
    4075                 :             :           {
    4076                 :        1004 :             switch (TREE_CODE (_p1))
    4077                 :             :               {
    4078                 :           0 :               case COND_EXPR:
    4079                 :           0 :                 {
    4080                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    4081                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    4082                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    4083                 :           0 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4084                 :             :                     {
    4085                 :           0 :                       if (integer_zerop (_q62))
    4086                 :             :                         {
    4087                 :           0 :                           {
    4088                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
    4089                 :           0 :                             const enum tree_code op = PLUS_EXPR;
    4090                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1127;
    4091                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1127;
    4092                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1127;
    4093                 :           0 :                             {
    4094                 :           0 :                               tree res_op0;
    4095                 :           0 :                               res_op0 = captures[1];
    4096                 :           0 :                               tree res_op1;
    4097                 :           0 :                               res_op1 = captures[2];
    4098                 :           0 :                               tree res_op2;
    4099                 :           0 :                               res_op2 = captures[4];
    4100                 :           0 :                               tree _r;
    4101                 :           0 :                               _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    4102                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 852, __FILE__, __LINE__, true);
    4103                 :           0 :                               return _r;
    4104                 :             :                             }
    4105                 :           0 : next_after_fail1127:;
    4106                 :             :                           }
    4107                 :             :                         }
    4108                 :             :                     }
    4109                 :             :                   break;
    4110                 :             :                 }
    4111                 :             :               default:;
    4112                 :             :               }
    4113                 :             :           }
    4114                 :      124526 :         switch (TREE_CODE (_q20))
    4115                 :             :           {
    4116                 :       29578 :           case LT_EXPR:
    4117                 :       29578 :             {
    4118                 :       29578 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4119                 :       29578 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4120                 :       29578 :               if (zerop (_q22))
    4121                 :             :                 {
    4122                 :       29524 :                   switch (TREE_CODE (_p1))
    4123                 :             :                     {
    4124                 :           0 :                     case COND_EXPR:
    4125                 :           0 :                       {
    4126                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4127                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4128                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4129                 :           0 :                         switch (TREE_CODE (_q80))
    4130                 :             :                           {
    4131                 :           0 :                           case GE_EXPR:
    4132                 :           0 :                             {
    4133                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4134                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4135                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4136                 :             :                                 {
    4137                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4138                 :             :                                     {
    4139                 :           0 :                                       if (zerop (_q82))
    4140                 :             :                                         {
    4141                 :           0 :                                           {
    4142                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4143                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, LT_EXPR, GE_EXPR);
    4144                 :           0 :                                             if (res) return res;
    4145                 :             :                                           }
    4146                 :             :                                         }
    4147                 :             :                                     }
    4148                 :             :                                 }
    4149                 :             :                               break;
    4150                 :             :                             }
    4151                 :             :                           default:;
    4152                 :             :                           }
    4153                 :             :                         break;
    4154                 :             :                       }
    4155                 :             :                     default:;
    4156                 :             :                     }
    4157                 :             :                 }
    4158                 :             :               break;
    4159                 :             :             }
    4160                 :       30873 :           case LE_EXPR:
    4161                 :       30873 :             {
    4162                 :       30873 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4163                 :       30873 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4164                 :       30873 :               if (zerop (_q22))
    4165                 :             :                 {
    4166                 :       30591 :                   switch (TREE_CODE (_p1))
    4167                 :             :                     {
    4168                 :           5 :                     case COND_EXPR:
    4169                 :           5 :                       {
    4170                 :           5 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4171                 :           5 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4172                 :           5 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4173                 :           5 :                         switch (TREE_CODE (_q80))
    4174                 :             :                           {
    4175                 :           0 :                           case GT_EXPR:
    4176                 :           0 :                             {
    4177                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4178                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4179                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4180                 :             :                                 {
    4181                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4182                 :             :                                     {
    4183                 :           0 :                                       if (zerop (_q82))
    4184                 :             :                                         {
    4185                 :           0 :                                           {
    4186                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4187                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, LE_EXPR, GT_EXPR);
    4188                 :           0 :                                             if (res) return res;
    4189                 :             :                                           }
    4190                 :             :                                         }
    4191                 :             :                                     }
    4192                 :             :                                 }
    4193                 :             :                               break;
    4194                 :             :                             }
    4195                 :             :                           default:;
    4196                 :             :                           }
    4197                 :             :                         break;
    4198                 :             :                       }
    4199                 :             :                     default:;
    4200                 :             :                     }
    4201                 :             :                 }
    4202                 :             :               break;
    4203                 :             :             }
    4204                 :        1048 :           case EQ_EXPR:
    4205                 :        1048 :             {
    4206                 :        1048 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4207                 :        1048 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4208                 :        1048 :               if (zerop (_q22))
    4209                 :             :                 {
    4210                 :         567 :                   switch (TREE_CODE (_p1))
    4211                 :             :                     {
    4212                 :          32 :                     case COND_EXPR:
    4213                 :          32 :                       {
    4214                 :          32 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4215                 :          32 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4216                 :          32 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4217                 :          32 :                         switch (TREE_CODE (_q80))
    4218                 :             :                           {
    4219                 :           0 :                           case NE_EXPR:
    4220                 :           0 :                             {
    4221                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4222                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4223                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4224                 :             :                                 {
    4225                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4226                 :             :                                     {
    4227                 :           0 :                                       if (zerop (_q82))
    4228                 :             :                                         {
    4229                 :           0 :                                           {
    4230                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4231                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, EQ_EXPR, NE_EXPR);
    4232                 :           0 :                                             if (res) return res;
    4233                 :             :                                           }
    4234                 :             :                                         }
    4235                 :             :                                     }
    4236                 :             :                                 }
    4237                 :             :                               break;
    4238                 :             :                             }
    4239                 :             :                           default:;
    4240                 :             :                           }
    4241                 :             :                         break;
    4242                 :             :                       }
    4243                 :             :                     default:;
    4244                 :             :                     }
    4245                 :             :                 }
    4246                 :             :               break;
    4247                 :             :             }
    4248                 :        7746 :           case NE_EXPR:
    4249                 :        7746 :             {
    4250                 :        7746 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4251                 :        7746 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4252                 :        7746 :               if (zerop (_q22))
    4253                 :             :                 {
    4254                 :        5149 :                   switch (TREE_CODE (_p1))
    4255                 :             :                     {
    4256                 :           7 :                     case COND_EXPR:
    4257                 :           7 :                       {
    4258                 :           7 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4259                 :           7 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4260                 :           7 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4261                 :           7 :                         switch (TREE_CODE (_q80))
    4262                 :             :                           {
    4263                 :           0 :                           case EQ_EXPR:
    4264                 :           0 :                             {
    4265                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4266                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4267                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4268                 :             :                                 {
    4269                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4270                 :             :                                     {
    4271                 :           0 :                                       if (zerop (_q82))
    4272                 :             :                                         {
    4273                 :           0 :                                           {
    4274                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4275                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, NE_EXPR, EQ_EXPR);
    4276                 :           0 :                                             if (res) return res;
    4277                 :             :                                           }
    4278                 :             :                                         }
    4279                 :             :                                     }
    4280                 :             :                                 }
    4281                 :             :                               break;
    4282                 :             :                             }
    4283                 :             :                           default:;
    4284                 :             :                           }
    4285                 :             :                         break;
    4286                 :             :                       }
    4287                 :             :                     default:;
    4288                 :             :                     }
    4289                 :             :                 }
    4290                 :             :               break;
    4291                 :             :             }
    4292                 :       20267 :           case GE_EXPR:
    4293                 :       20267 :             {
    4294                 :       20267 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4295                 :       20267 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4296                 :       20267 :               if (zerop (_q22))
    4297                 :             :                 {
    4298                 :       18992 :                   switch (TREE_CODE (_p1))
    4299                 :             :                     {
    4300                 :           0 :                     case COND_EXPR:
    4301                 :           0 :                       {
    4302                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4303                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4304                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4305                 :           0 :                         switch (TREE_CODE (_q80))
    4306                 :             :                           {
    4307                 :           0 :                           case LT_EXPR:
    4308                 :           0 :                             {
    4309                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4310                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4311                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4312                 :             :                                 {
    4313                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4314                 :             :                                     {
    4315                 :           0 :                                       if (zerop (_q82))
    4316                 :             :                                         {
    4317                 :           0 :                                           {
    4318                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4319                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, GE_EXPR, LT_EXPR);
    4320                 :           0 :                                             if (res) return res;
    4321                 :             :                                           }
    4322                 :             :                                         }
    4323                 :             :                                     }
    4324                 :             :                                 }
    4325                 :             :                               break;
    4326                 :             :                             }
    4327                 :             :                           default:;
    4328                 :             :                           }
    4329                 :             :                         break;
    4330                 :             :                       }
    4331                 :             :                     default:;
    4332                 :             :                     }
    4333                 :             :                 }
    4334                 :             :               break;
    4335                 :             :             }
    4336                 :       28271 :           case GT_EXPR:
    4337                 :       28271 :             {
    4338                 :       28271 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4339                 :       28271 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4340                 :       28271 :               if (zerop (_q22))
    4341                 :             :                 {
    4342                 :       28242 :                   switch (TREE_CODE (_p1))
    4343                 :             :                     {
    4344                 :           0 :                     case COND_EXPR:
    4345                 :           0 :                       {
    4346                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4347                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4348                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4349                 :           0 :                         switch (TREE_CODE (_q80))
    4350                 :             :                           {
    4351                 :           0 :                           case LE_EXPR:
    4352                 :           0 :                             {
    4353                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4354                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4355                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4356                 :             :                                 {
    4357                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4358                 :             :                                     {
    4359                 :           0 :                                       if (zerop (_q82))
    4360                 :             :                                         {
    4361                 :           0 :                                           {
    4362                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4363                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, GT_EXPR, LE_EXPR);
    4364                 :           0 :                                             if (res) return res;
    4365                 :             :                                           }
    4366                 :             :                                         }
    4367                 :             :                                     }
    4368                 :             :                                 }
    4369                 :             :                               break;
    4370                 :             :                             }
    4371                 :             :                           default:;
    4372                 :             :                           }
    4373                 :             :                         break;
    4374                 :             :                       }
    4375                 :             :                     default:;
    4376                 :             :                     }
    4377                 :             :                 }
    4378                 :             :               break;
    4379                 :             :             }
    4380                 :           0 :           case UNORDERED_EXPR:
    4381                 :           0 :             {
    4382                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4383                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4384                 :           0 :               if (zerop (_q22))
    4385                 :             :                 {
    4386                 :           0 :                   switch (TREE_CODE (_p1))
    4387                 :             :                     {
    4388                 :           0 :                     case COND_EXPR:
    4389                 :           0 :                       {
    4390                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4391                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4392                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4393                 :           0 :                         switch (TREE_CODE (_q80))
    4394                 :             :                           {
    4395                 :           0 :                           case ORDERED_EXPR:
    4396                 :           0 :                             {
    4397                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4398                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4399                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4400                 :             :                                 {
    4401                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4402                 :             :                                     {
    4403                 :           0 :                                       if (zerop (_q82))
    4404                 :             :                                         {
    4405                 :           0 :                                           {
    4406                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4407                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
    4408                 :           0 :                                             if (res) return res;
    4409                 :             :                                           }
    4410                 :             :                                         }
    4411                 :             :                                     }
    4412                 :             :                                 }
    4413                 :             :                               break;
    4414                 :             :                             }
    4415                 :             :                           default:;
    4416                 :             :                           }
    4417                 :             :                         break;
    4418                 :             :                       }
    4419                 :             :                     default:;
    4420                 :             :                     }
    4421                 :             :                 }
    4422                 :             :               break;
    4423                 :             :             }
    4424                 :           0 :           case ORDERED_EXPR:
    4425                 :           0 :             {
    4426                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4427                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4428                 :           0 :               if (zerop (_q22))
    4429                 :             :                 {
    4430                 :           0 :                   switch (TREE_CODE (_p1))
    4431                 :             :                     {
    4432                 :           0 :                     case COND_EXPR:
    4433                 :           0 :                       {
    4434                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4435                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4436                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4437                 :           0 :                         switch (TREE_CODE (_q80))
    4438                 :             :                           {
    4439                 :           0 :                           case UNORDERED_EXPR:
    4440                 :           0 :                             {
    4441                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4442                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4443                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4444                 :             :                                 {
    4445                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4446                 :             :                                     {
    4447                 :           0 :                                       if (zerop (_q82))
    4448                 :             :                                         {
    4449                 :           0 :                                           {
    4450                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4451                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
    4452                 :           0 :                                             if (res) return res;
    4453                 :             :                                           }
    4454                 :             :                                         }
    4455                 :             :                                     }
    4456                 :             :                                 }
    4457                 :             :                               break;
    4458                 :             :                             }
    4459                 :             :                           default:;
    4460                 :             :                           }
    4461                 :             :                         break;
    4462                 :             :                       }
    4463                 :             :                     default:;
    4464                 :             :                     }
    4465                 :             :                 }
    4466                 :             :               break;
    4467                 :             :             }
    4468                 :           0 :           case UNLT_EXPR:
    4469                 :           0 :             {
    4470                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4471                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4472                 :           0 :               if (zerop (_q22))
    4473                 :             :                 {
    4474                 :           0 :                   switch (TREE_CODE (_p1))
    4475                 :             :                     {
    4476                 :           0 :                     case COND_EXPR:
    4477                 :           0 :                       {
    4478                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4479                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4480                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4481                 :           0 :                         switch (TREE_CODE (_q80))
    4482                 :             :                           {
    4483                 :           0 :                           case GE_EXPR:
    4484                 :           0 :                             {
    4485                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4486                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4487                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4488                 :             :                                 {
    4489                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4490                 :             :                                     {
    4491                 :           0 :                                       if (zerop (_q82))
    4492                 :             :                                         {
    4493                 :           0 :                                           {
    4494                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4495                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNLT_EXPR, GE_EXPR);
    4496                 :           0 :                                             if (res) return res;
    4497                 :             :                                           }
    4498                 :             :                                         }
    4499                 :             :                                     }
    4500                 :             :                                 }
    4501                 :             :                               break;
    4502                 :             :                             }
    4503                 :             :                           default:;
    4504                 :             :                           }
    4505                 :             :                         break;
    4506                 :             :                       }
    4507                 :             :                     default:;
    4508                 :             :                     }
    4509                 :             :                 }
    4510                 :             :               break;
    4511                 :             :             }
    4512                 :           0 :           case UNLE_EXPR:
    4513                 :           0 :             {
    4514                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4515                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4516                 :           0 :               if (zerop (_q22))
    4517                 :             :                 {
    4518                 :           0 :                   switch (TREE_CODE (_p1))
    4519                 :             :                     {
    4520                 :           0 :                     case COND_EXPR:
    4521                 :           0 :                       {
    4522                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4523                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4524                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4525                 :           0 :                         switch (TREE_CODE (_q80))
    4526                 :             :                           {
    4527                 :           0 :                           case GT_EXPR:
    4528                 :           0 :                             {
    4529                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4530                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4531                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4532                 :             :                                 {
    4533                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4534                 :             :                                     {
    4535                 :           0 :                                       if (zerop (_q82))
    4536                 :             :                                         {
    4537                 :           0 :                                           {
    4538                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4539                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNLE_EXPR, GT_EXPR);
    4540                 :           0 :                                             if (res) return res;
    4541                 :             :                                           }
    4542                 :             :                                         }
    4543                 :             :                                     }
    4544                 :             :                                 }
    4545                 :             :                               break;
    4546                 :             :                             }
    4547                 :             :                           default:;
    4548                 :             :                           }
    4549                 :             :                         break;
    4550                 :             :                       }
    4551                 :             :                     default:;
    4552                 :             :                     }
    4553                 :             :                 }
    4554                 :             :               break;
    4555                 :             :             }
    4556                 :           0 :           case UNGT_EXPR:
    4557                 :           0 :             {
    4558                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4559                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4560                 :           0 :               if (zerop (_q22))
    4561                 :             :                 {
    4562                 :           0 :                   switch (TREE_CODE (_p1))
    4563                 :             :                     {
    4564                 :           0 :                     case COND_EXPR:
    4565                 :           0 :                       {
    4566                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4567                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4568                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4569                 :           0 :                         switch (TREE_CODE (_q80))
    4570                 :             :                           {
    4571                 :           0 :                           case LE_EXPR:
    4572                 :           0 :                             {
    4573                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4574                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4575                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4576                 :             :                                 {
    4577                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4578                 :             :                                     {
    4579                 :           0 :                                       if (zerop (_q82))
    4580                 :             :                                         {
    4581                 :           0 :                                           {
    4582                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4583                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNGT_EXPR, LE_EXPR);
    4584                 :           0 :                                             if (res) return res;
    4585                 :             :                                           }
    4586                 :             :                                         }
    4587                 :             :                                     }
    4588                 :             :                                 }
    4589                 :             :                               break;
    4590                 :             :                             }
    4591                 :             :                           default:;
    4592                 :             :                           }
    4593                 :             :                         break;
    4594                 :             :                       }
    4595                 :             :                     default:;
    4596                 :             :                     }
    4597                 :             :                 }
    4598                 :             :               break;
    4599                 :             :             }
    4600                 :           0 :           case UNGE_EXPR:
    4601                 :           0 :             {
    4602                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4603                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4604                 :           0 :               if (zerop (_q22))
    4605                 :             :                 {
    4606                 :           0 :                   switch (TREE_CODE (_p1))
    4607                 :             :                     {
    4608                 :           0 :                     case COND_EXPR:
    4609                 :           0 :                       {
    4610                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4611                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4612                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4613                 :           0 :                         switch (TREE_CODE (_q80))
    4614                 :             :                           {
    4615                 :           0 :                           case LT_EXPR:
    4616                 :           0 :                             {
    4617                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4618                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4619                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4620                 :             :                                 {
    4621                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4622                 :             :                                     {
    4623                 :           0 :                                       if (zerop (_q82))
    4624                 :             :                                         {
    4625                 :           0 :                                           {
    4626                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4627                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNGE_EXPR, LT_EXPR);
    4628                 :           0 :                                             if (res) return res;
    4629                 :             :                                           }
    4630                 :             :                                         }
    4631                 :             :                                     }
    4632                 :             :                                 }
    4633                 :             :                               break;
    4634                 :             :                             }
    4635                 :             :                           default:;
    4636                 :             :                           }
    4637                 :             :                         break;
    4638                 :             :                       }
    4639                 :             :                     default:;
    4640                 :             :                     }
    4641                 :             :                 }
    4642                 :             :               break;
    4643                 :             :             }
    4644                 :           0 :           case UNEQ_EXPR:
    4645                 :           0 :             {
    4646                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4647                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4648                 :           0 :               if (zerop (_q22))
    4649                 :             :                 {
    4650                 :           0 :                   switch (TREE_CODE (_p1))
    4651                 :             :                     {
    4652                 :           0 :                     case COND_EXPR:
    4653                 :           0 :                       {
    4654                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4655                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4656                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4657                 :           0 :                         switch (TREE_CODE (_q80))
    4658                 :             :                           {
    4659                 :           0 :                           case LTGT_EXPR:
    4660                 :           0 :                             {
    4661                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4662                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4663                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4664                 :             :                                 {
    4665                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4666                 :             :                                     {
    4667                 :           0 :                                       if (zerop (_q82))
    4668                 :             :                                         {
    4669                 :           0 :                                           {
    4670                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4671                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNEQ_EXPR, LTGT_EXPR);
    4672                 :           0 :                                             if (res) return res;
    4673                 :             :                                           }
    4674                 :             :                                         }
    4675                 :             :                                     }
    4676                 :             :                                 }
    4677                 :             :                               break;
    4678                 :             :                             }
    4679                 :             :                           default:;
    4680                 :             :                           }
    4681                 :             :                         break;
    4682                 :             :                       }
    4683                 :             :                     default:;
    4684                 :             :                     }
    4685                 :             :                 }
    4686                 :             :               break;
    4687                 :             :             }
    4688                 :           0 :           case LTGT_EXPR:
    4689                 :           0 :             {
    4690                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4691                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4692                 :           0 :               if (zerop (_q22))
    4693                 :             :                 {
    4694                 :           0 :                   switch (TREE_CODE (_p1))
    4695                 :             :                     {
    4696                 :           0 :                     case COND_EXPR:
    4697                 :           0 :                       {
    4698                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4699                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4700                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4701                 :           0 :                         switch (TREE_CODE (_q80))
    4702                 :             :                           {
    4703                 :           0 :                           case UNEQ_EXPR:
    4704                 :           0 :                             {
    4705                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4706                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4707                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4708                 :             :                                 {
    4709                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4710                 :             :                                     {
    4711                 :           0 :                                       if (zerop (_q82))
    4712                 :             :                                         {
    4713                 :           0 :                                           {
    4714                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    4715                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, LTGT_EXPR, UNEQ_EXPR);
    4716                 :           0 :                                             if (res) return res;
    4717                 :             :                                           }
    4718                 :             :                                         }
    4719                 :             :                                     }
    4720                 :             :                                 }
    4721                 :             :                               break;
    4722                 :             :                             }
    4723                 :             :                           default:;
    4724                 :             :                           }
    4725                 :             :                         break;
    4726                 :             :                       }
    4727                 :             :                     default:;
    4728                 :             :                     }
    4729                 :             :                 }
    4730                 :             :               break;
    4731                 :             :             }
    4732                 :             :           default:;
    4733                 :             :           }
    4734                 :             :         break;
    4735                 :             :       }
    4736                 :         168 :     case VEC_COND_EXPR:
    4737                 :         168 :       {
    4738                 :         168 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4739                 :         168 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4740                 :         168 :         tree _q22 = TREE_OPERAND (_p0, 2);
    4741                 :         168 :         if (integer_zerop (_q22))
    4742                 :             :           {
    4743                 :         106 :             switch (TREE_CODE (_p1))
    4744                 :             :               {
    4745                 :          24 :               case VEC_COND_EXPR:
    4746                 :          24 :                 {
    4747                 :          24 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    4748                 :          24 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    4749                 :          24 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    4750                 :          24 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4751                 :             :                     {
    4752                 :           0 :                       if (integer_zerop (_q61))
    4753                 :             :                         {
    4754                 :           0 :                           {
    4755                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
    4756                 :           0 :                             const enum tree_code op = PLUS_EXPR;
    4757                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1128;
    4758                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1128;
    4759                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1128;
    4760                 :           0 :                             {
    4761                 :           0 :                               tree res_op0;
    4762                 :           0 :                               res_op0 = captures[1];
    4763                 :           0 :                               tree res_op1;
    4764                 :           0 :                               res_op1 = captures[2];
    4765                 :           0 :                               tree res_op2;
    4766                 :           0 :                               res_op2 = captures[4];
    4767                 :           0 :                               tree _r;
    4768                 :           0 :                               _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4769                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 852, __FILE__, __LINE__, true);
    4770                 :           0 :                               return _r;
    4771                 :             :                             }
    4772                 :           0 : next_after_fail1128:;
    4773                 :             :                           }
    4774                 :             :                         }
    4775                 :             :                     }
    4776                 :             :                   break;
    4777                 :             :                 }
    4778                 :             :               default:;
    4779                 :             :               }
    4780                 :             :           }
    4781                 :         168 :         if (integer_zerop (_q21))
    4782                 :             :           {
    4783                 :           0 :             switch (TREE_CODE (_p1))
    4784                 :             :               {
    4785                 :           0 :               case VEC_COND_EXPR:
    4786                 :           0 :                 {
    4787                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    4788                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    4789                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    4790                 :           0 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4791                 :             :                     {
    4792                 :           0 :                       if (integer_zerop (_q62))
    4793                 :             :                         {
    4794                 :           0 :                           {
    4795                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
    4796                 :           0 :                             const enum tree_code op = PLUS_EXPR;
    4797                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1129;
    4798                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1129;
    4799                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1129;
    4800                 :           0 :                             {
    4801                 :           0 :                               tree res_op0;
    4802                 :           0 :                               res_op0 = captures[1];
    4803                 :           0 :                               tree res_op1;
    4804                 :           0 :                               res_op1 = captures[2];
    4805                 :           0 :                               tree res_op2;
    4806                 :           0 :                               res_op2 = captures[4];
    4807                 :           0 :                               tree _r;
    4808                 :           0 :                               _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4809                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 852, __FILE__, __LINE__, true);
    4810                 :           0 :                               return _r;
    4811                 :             :                             }
    4812                 :           0 : next_after_fail1129:;
    4813                 :             :                           }
    4814                 :             :                         }
    4815                 :             :                     }
    4816                 :             :                   break;
    4817                 :             :                 }
    4818                 :             :               default:;
    4819                 :             :               }
    4820                 :             :           }
    4821                 :         168 :         switch (TREE_CODE (_q20))
    4822                 :             :           {
    4823                 :           8 :           case LT_EXPR:
    4824                 :           8 :             {
    4825                 :           8 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4826                 :           8 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4827                 :           8 :               if (integer_zerop (_q22))
    4828                 :             :                 {
    4829                 :           8 :                   switch (TREE_CODE (_p1))
    4830                 :             :                     {
    4831                 :           0 :                     case VEC_COND_EXPR:
    4832                 :           0 :                       {
    4833                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4834                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4835                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4836                 :           0 :                         switch (TREE_CODE (_q80))
    4837                 :             :                           {
    4838                 :           0 :                           case GE_EXPR:
    4839                 :           0 :                             {
    4840                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4841                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4842                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4843                 :             :                                 {
    4844                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4845                 :             :                                     {
    4846                 :           0 :                                       if (integer_zerop (_q82))
    4847                 :             :                                         {
    4848                 :           0 :                                           {
    4849                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    4850                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, LT_EXPR, GE_EXPR);
    4851                 :           0 :                                             if (res) return res;
    4852                 :             :                                           }
    4853                 :             :                                         }
    4854                 :             :                                     }
    4855                 :             :                                 }
    4856                 :             :                               break;
    4857                 :             :                             }
    4858                 :             :                           default:;
    4859                 :             :                           }
    4860                 :             :                         break;
    4861                 :             :                       }
    4862                 :             :                     default:;
    4863                 :             :                     }
    4864                 :             :                 }
    4865                 :             :               break;
    4866                 :             :             }
    4867                 :           8 :           case LE_EXPR:
    4868                 :           8 :             {
    4869                 :           8 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4870                 :           8 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4871                 :           8 :               if (integer_zerop (_q22))
    4872                 :             :                 {
    4873                 :           8 :                   switch (TREE_CODE (_p1))
    4874                 :             :                     {
    4875                 :           0 :                     case VEC_COND_EXPR:
    4876                 :           0 :                       {
    4877                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4878                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4879                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4880                 :           0 :                         switch (TREE_CODE (_q80))
    4881                 :             :                           {
    4882                 :           0 :                           case GT_EXPR:
    4883                 :           0 :                             {
    4884                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4885                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4886                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4887                 :             :                                 {
    4888                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4889                 :             :                                     {
    4890                 :           0 :                                       if (integer_zerop (_q82))
    4891                 :             :                                         {
    4892                 :           0 :                                           {
    4893                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    4894                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, LE_EXPR, GT_EXPR);
    4895                 :           0 :                                             if (res) return res;
    4896                 :             :                                           }
    4897                 :             :                                         }
    4898                 :             :                                     }
    4899                 :             :                                 }
    4900                 :             :                               break;
    4901                 :             :                             }
    4902                 :             :                           default:;
    4903                 :             :                           }
    4904                 :             :                         break;
    4905                 :             :                       }
    4906                 :             :                     default:;
    4907                 :             :                     }
    4908                 :             :                 }
    4909                 :             :               break;
    4910                 :             :             }
    4911                 :          34 :           case EQ_EXPR:
    4912                 :          34 :             {
    4913                 :          34 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4914                 :          34 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4915                 :          34 :               if (integer_zerop (_q22))
    4916                 :             :                 {
    4917                 :          34 :                   switch (TREE_CODE (_p1))
    4918                 :             :                     {
    4919                 :          24 :                     case VEC_COND_EXPR:
    4920                 :          24 :                       {
    4921                 :          24 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4922                 :          24 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4923                 :          24 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4924                 :          24 :                         switch (TREE_CODE (_q80))
    4925                 :             :                           {
    4926                 :          24 :                           case NE_EXPR:
    4927                 :          24 :                             {
    4928                 :          24 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4929                 :          24 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4930                 :          24 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4931                 :             :                                 {
    4932                 :          24 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4933                 :             :                                     {
    4934                 :          24 :                                       if (integer_zerop (_q82))
    4935                 :             :                                         {
    4936                 :          24 :                                           {
    4937                 :          24 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    4938                 :          24 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, EQ_EXPR, NE_EXPR);
    4939                 :          24 :                                             if (res) return res;
    4940                 :             :                                           }
    4941                 :             :                                         }
    4942                 :             :                                     }
    4943                 :             :                                 }
    4944                 :             :                               break;
    4945                 :             :                             }
    4946                 :             :                           default:;
    4947                 :             :                           }
    4948                 :             :                         break;
    4949                 :             :                       }
    4950                 :             :                     default:;
    4951                 :             :                     }
    4952                 :             :                 }
    4953                 :             :               break;
    4954                 :             :             }
    4955                 :          22 :           case NE_EXPR:
    4956                 :          22 :             {
    4957                 :          22 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4958                 :          22 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4959                 :          22 :               if (integer_zerop (_q22))
    4960                 :             :                 {
    4961                 :           8 :                   switch (TREE_CODE (_p1))
    4962                 :             :                     {
    4963                 :           0 :                     case VEC_COND_EXPR:
    4964                 :           0 :                       {
    4965                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    4966                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    4967                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    4968                 :           0 :                         switch (TREE_CODE (_q80))
    4969                 :             :                           {
    4970                 :           0 :                           case EQ_EXPR:
    4971                 :           0 :                             {
    4972                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    4973                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    4974                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    4975                 :             :                                 {
    4976                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    4977                 :             :                                     {
    4978                 :           0 :                                       if (integer_zerop (_q82))
    4979                 :             :                                         {
    4980                 :           0 :                                           {
    4981                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    4982                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, NE_EXPR, EQ_EXPR);
    4983                 :           0 :                                             if (res) return res;
    4984                 :             :                                           }
    4985                 :             :                                         }
    4986                 :             :                                     }
    4987                 :             :                                 }
    4988                 :             :                               break;
    4989                 :             :                             }
    4990                 :             :                           default:;
    4991                 :             :                           }
    4992                 :             :                         break;
    4993                 :             :                       }
    4994                 :             :                     default:;
    4995                 :             :                     }
    4996                 :             :                 }
    4997                 :             :               break;
    4998                 :             :             }
    4999                 :          15 :           case GE_EXPR:
    5000                 :          15 :             {
    5001                 :          15 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5002                 :          15 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5003                 :          15 :               if (integer_zerop (_q22))
    5004                 :             :                 {
    5005                 :          15 :                   switch (TREE_CODE (_p1))
    5006                 :             :                     {
    5007                 :           0 :                     case VEC_COND_EXPR:
    5008                 :           0 :                       {
    5009                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5010                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5011                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5012                 :           0 :                         switch (TREE_CODE (_q80))
    5013                 :             :                           {
    5014                 :           0 :                           case LT_EXPR:
    5015                 :           0 :                             {
    5016                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5017                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5018                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5019                 :             :                                 {
    5020                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5021                 :             :                                     {
    5022                 :           0 :                                       if (integer_zerop (_q82))
    5023                 :             :                                         {
    5024                 :           0 :                                           {
    5025                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5026                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, GE_EXPR, LT_EXPR);
    5027                 :           0 :                                             if (res) return res;
    5028                 :             :                                           }
    5029                 :             :                                         }
    5030                 :             :                                     }
    5031                 :             :                                 }
    5032                 :             :                               break;
    5033                 :             :                             }
    5034                 :             :                           default:;
    5035                 :             :                           }
    5036                 :             :                         break;
    5037                 :             :                       }
    5038                 :             :                     default:;
    5039                 :             :                     }
    5040                 :             :                 }
    5041                 :             :               break;
    5042                 :             :             }
    5043                 :          81 :           case GT_EXPR:
    5044                 :          81 :             {
    5045                 :          81 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5046                 :          81 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5047                 :          81 :               if (integer_zerop (_q22))
    5048                 :             :                 {
    5049                 :          33 :                   switch (TREE_CODE (_p1))
    5050                 :             :                     {
    5051                 :           0 :                     case VEC_COND_EXPR:
    5052                 :           0 :                       {
    5053                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5054                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5055                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5056                 :           0 :                         switch (TREE_CODE (_q80))
    5057                 :             :                           {
    5058                 :           0 :                           case LE_EXPR:
    5059                 :           0 :                             {
    5060                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5061                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5062                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5063                 :             :                                 {
    5064                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5065                 :             :                                     {
    5066                 :           0 :                                       if (integer_zerop (_q82))
    5067                 :             :                                         {
    5068                 :           0 :                                           {
    5069                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5070                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, GT_EXPR, LE_EXPR);
    5071                 :           0 :                                             if (res) return res;
    5072                 :             :                                           }
    5073                 :             :                                         }
    5074                 :             :                                     }
    5075                 :             :                                 }
    5076                 :             :                               break;
    5077                 :             :                             }
    5078                 :             :                           default:;
    5079                 :             :                           }
    5080                 :             :                         break;
    5081                 :             :                       }
    5082                 :             :                     default:;
    5083                 :             :                     }
    5084                 :             :                 }
    5085                 :             :               break;
    5086                 :             :             }
    5087                 :           0 :           case UNORDERED_EXPR:
    5088                 :           0 :             {
    5089                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5090                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5091                 :           0 :               if (integer_zerop (_q22))
    5092                 :             :                 {
    5093                 :           0 :                   switch (TREE_CODE (_p1))
    5094                 :             :                     {
    5095                 :           0 :                     case VEC_COND_EXPR:
    5096                 :           0 :                       {
    5097                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5098                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5099                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5100                 :           0 :                         switch (TREE_CODE (_q80))
    5101                 :             :                           {
    5102                 :           0 :                           case ORDERED_EXPR:
    5103                 :           0 :                             {
    5104                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5105                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5106                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5107                 :             :                                 {
    5108                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5109                 :             :                                     {
    5110                 :           0 :                                       if (integer_zerop (_q82))
    5111                 :             :                                         {
    5112                 :           0 :                                           {
    5113                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5114                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
    5115                 :           0 :                                             if (res) return res;
    5116                 :             :                                           }
    5117                 :             :                                         }
    5118                 :             :                                     }
    5119                 :             :                                 }
    5120                 :             :                               break;
    5121                 :             :                             }
    5122                 :             :                           default:;
    5123                 :             :                           }
    5124                 :             :                         break;
    5125                 :             :                       }
    5126                 :             :                     default:;
    5127                 :             :                     }
    5128                 :             :                 }
    5129                 :             :               break;
    5130                 :             :             }
    5131                 :           0 :           case ORDERED_EXPR:
    5132                 :           0 :             {
    5133                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5134                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5135                 :           0 :               if (integer_zerop (_q22))
    5136                 :             :                 {
    5137                 :           0 :                   switch (TREE_CODE (_p1))
    5138                 :             :                     {
    5139                 :           0 :                     case VEC_COND_EXPR:
    5140                 :           0 :                       {
    5141                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5142                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5143                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5144                 :           0 :                         switch (TREE_CODE (_q80))
    5145                 :             :                           {
    5146                 :           0 :                           case UNORDERED_EXPR:
    5147                 :           0 :                             {
    5148                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5149                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5150                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5151                 :             :                                 {
    5152                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5153                 :             :                                     {
    5154                 :           0 :                                       if (integer_zerop (_q82))
    5155                 :             :                                         {
    5156                 :           0 :                                           {
    5157                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5158                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
    5159                 :           0 :                                             if (res) return res;
    5160                 :             :                                           }
    5161                 :             :                                         }
    5162                 :             :                                     }
    5163                 :             :                                 }
    5164                 :             :                               break;
    5165                 :             :                             }
    5166                 :             :                           default:;
    5167                 :             :                           }
    5168                 :             :                         break;
    5169                 :             :                       }
    5170                 :             :                     default:;
    5171                 :             :                     }
    5172                 :             :                 }
    5173                 :             :               break;
    5174                 :             :             }
    5175                 :           0 :           case UNLT_EXPR:
    5176                 :           0 :             {
    5177                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5178                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5179                 :           0 :               if (integer_zerop (_q22))
    5180                 :             :                 {
    5181                 :           0 :                   switch (TREE_CODE (_p1))
    5182                 :             :                     {
    5183                 :           0 :                     case VEC_COND_EXPR:
    5184                 :           0 :                       {
    5185                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5186                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5187                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5188                 :           0 :                         switch (TREE_CODE (_q80))
    5189                 :             :                           {
    5190                 :           0 :                           case GE_EXPR:
    5191                 :           0 :                             {
    5192                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5193                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5194                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5195                 :             :                                 {
    5196                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5197                 :             :                                     {
    5198                 :           0 :                                       if (integer_zerop (_q82))
    5199                 :             :                                         {
    5200                 :           0 :                                           {
    5201                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5202                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNLT_EXPR, GE_EXPR);
    5203                 :           0 :                                             if (res) return res;
    5204                 :             :                                           }
    5205                 :             :                                         }
    5206                 :             :                                     }
    5207                 :             :                                 }
    5208                 :             :                               break;
    5209                 :             :                             }
    5210                 :             :                           default:;
    5211                 :             :                           }
    5212                 :             :                         break;
    5213                 :             :                       }
    5214                 :             :                     default:;
    5215                 :             :                     }
    5216                 :             :                 }
    5217                 :             :               break;
    5218                 :             :             }
    5219                 :           0 :           case UNLE_EXPR:
    5220                 :           0 :             {
    5221                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5222                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5223                 :           0 :               if (integer_zerop (_q22))
    5224                 :             :                 {
    5225                 :           0 :                   switch (TREE_CODE (_p1))
    5226                 :             :                     {
    5227                 :           0 :                     case VEC_COND_EXPR:
    5228                 :           0 :                       {
    5229                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5230                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5231                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5232                 :           0 :                         switch (TREE_CODE (_q80))
    5233                 :             :                           {
    5234                 :           0 :                           case GT_EXPR:
    5235                 :           0 :                             {
    5236                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5237                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5238                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5239                 :             :                                 {
    5240                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5241                 :             :                                     {
    5242                 :           0 :                                       if (integer_zerop (_q82))
    5243                 :             :                                         {
    5244                 :           0 :                                           {
    5245                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5246                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNLE_EXPR, GT_EXPR);
    5247                 :           0 :                                             if (res) return res;
    5248                 :             :                                           }
    5249                 :             :                                         }
    5250                 :             :                                     }
    5251                 :             :                                 }
    5252                 :             :                               break;
    5253                 :             :                             }
    5254                 :             :                           default:;
    5255                 :             :                           }
    5256                 :             :                         break;
    5257                 :             :                       }
    5258                 :             :                     default:;
    5259                 :             :                     }
    5260                 :             :                 }
    5261                 :             :               break;
    5262                 :             :             }
    5263                 :           0 :           case UNGT_EXPR:
    5264                 :           0 :             {
    5265                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5266                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5267                 :           0 :               if (integer_zerop (_q22))
    5268                 :             :                 {
    5269                 :           0 :                   switch (TREE_CODE (_p1))
    5270                 :             :                     {
    5271                 :           0 :                     case VEC_COND_EXPR:
    5272                 :           0 :                       {
    5273                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5274                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5275                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5276                 :           0 :                         switch (TREE_CODE (_q80))
    5277                 :             :                           {
    5278                 :           0 :                           case LE_EXPR:
    5279                 :           0 :                             {
    5280                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5281                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5282                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5283                 :             :                                 {
    5284                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5285                 :             :                                     {
    5286                 :           0 :                                       if (integer_zerop (_q82))
    5287                 :             :                                         {
    5288                 :           0 :                                           {
    5289                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5290                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNGT_EXPR, LE_EXPR);
    5291                 :           0 :                                             if (res) return res;
    5292                 :             :                                           }
    5293                 :             :                                         }
    5294                 :             :                                     }
    5295                 :             :                                 }
    5296                 :             :                               break;
    5297                 :             :                             }
    5298                 :             :                           default:;
    5299                 :             :                           }
    5300                 :             :                         break;
    5301                 :             :                       }
    5302                 :             :                     default:;
    5303                 :             :                     }
    5304                 :             :                 }
    5305                 :             :               break;
    5306                 :             :             }
    5307                 :           0 :           case UNGE_EXPR:
    5308                 :           0 :             {
    5309                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5310                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5311                 :           0 :               if (integer_zerop (_q22))
    5312                 :             :                 {
    5313                 :           0 :                   switch (TREE_CODE (_p1))
    5314                 :             :                     {
    5315                 :           0 :                     case VEC_COND_EXPR:
    5316                 :           0 :                       {
    5317                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5318                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5319                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5320                 :           0 :                         switch (TREE_CODE (_q80))
    5321                 :             :                           {
    5322                 :           0 :                           case LT_EXPR:
    5323                 :           0 :                             {
    5324                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5325                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5326                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5327                 :             :                                 {
    5328                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5329                 :             :                                     {
    5330                 :           0 :                                       if (integer_zerop (_q82))
    5331                 :             :                                         {
    5332                 :           0 :                                           {
    5333                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5334                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNGE_EXPR, LT_EXPR);
    5335                 :           0 :                                             if (res) return res;
    5336                 :             :                                           }
    5337                 :             :                                         }
    5338                 :             :                                     }
    5339                 :             :                                 }
    5340                 :             :                               break;
    5341                 :             :                             }
    5342                 :             :                           default:;
    5343                 :             :                           }
    5344                 :             :                         break;
    5345                 :             :                       }
    5346                 :             :                     default:;
    5347                 :             :                     }
    5348                 :             :                 }
    5349                 :             :               break;
    5350                 :             :             }
    5351                 :           0 :           case UNEQ_EXPR:
    5352                 :           0 :             {
    5353                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5354                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5355                 :           0 :               if (integer_zerop (_q22))
    5356                 :             :                 {
    5357                 :           0 :                   switch (TREE_CODE (_p1))
    5358                 :             :                     {
    5359                 :           0 :                     case VEC_COND_EXPR:
    5360                 :           0 :                       {
    5361                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5362                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5363                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5364                 :           0 :                         switch (TREE_CODE (_q80))
    5365                 :             :                           {
    5366                 :           0 :                           case LTGT_EXPR:
    5367                 :           0 :                             {
    5368                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5369                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5370                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5371                 :             :                                 {
    5372                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5373                 :             :                                     {
    5374                 :           0 :                                       if (integer_zerop (_q82))
    5375                 :             :                                         {
    5376                 :           0 :                                           {
    5377                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5378                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNEQ_EXPR, LTGT_EXPR);
    5379                 :           0 :                                             if (res) return res;
    5380                 :             :                                           }
    5381                 :             :                                         }
    5382                 :             :                                     }
    5383                 :             :                                 }
    5384                 :             :                               break;
    5385                 :             :                             }
    5386                 :             :                           default:;
    5387                 :             :                           }
    5388                 :             :                         break;
    5389                 :             :                       }
    5390                 :             :                     default:;
    5391                 :             :                     }
    5392                 :             :                 }
    5393                 :             :               break;
    5394                 :             :             }
    5395                 :           0 :           case LTGT_EXPR:
    5396                 :           0 :             {
    5397                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5398                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5399                 :           0 :               if (integer_zerop (_q22))
    5400                 :             :                 {
    5401                 :           0 :                   switch (TREE_CODE (_p1))
    5402                 :             :                     {
    5403                 :           0 :                     case VEC_COND_EXPR:
    5404                 :           0 :                       {
    5405                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5406                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5407                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5408                 :           0 :                         switch (TREE_CODE (_q80))
    5409                 :             :                           {
    5410                 :           0 :                           case UNEQ_EXPR:
    5411                 :           0 :                             {
    5412                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5413                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5414                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5415                 :             :                                 {
    5416                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5417                 :             :                                     {
    5418                 :           0 :                                       if (integer_zerop (_q82))
    5419                 :             :                                         {
    5420                 :           0 :                                           {
    5421                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5422                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, LTGT_EXPR, UNEQ_EXPR);
    5423                 :           0 :                                             if (res) return res;
    5424                 :             :                                           }
    5425                 :             :                                         }
    5426                 :             :                                     }
    5427                 :             :                                 }
    5428                 :             :                               break;
    5429                 :             :                             }
    5430                 :             :                           default:;
    5431                 :             :                           }
    5432                 :             :                         break;
    5433                 :             :                       }
    5434                 :             :                     default:;
    5435                 :             :                     }
    5436                 :             :                 }
    5437                 :             :               break;
    5438                 :             :             }
    5439                 :             :           default:;
    5440                 :             :           }
    5441                 :             :         break;
    5442                 :             :       }
    5443                 :    68349625 :     default:;
    5444                 :             :     }
    5445                 :    68349625 : {
    5446                 :    68349625 :   tree _p0_pops[1];
    5447                 :    68349625 :   if (tree_nop_convert (_p0, _p0_pops))
    5448                 :             :     {
    5449                 :    13663838 :       tree _q20 = _p0_pops[0];
    5450                 :    13663838 :       switch (TREE_CODE (_q20))
    5451                 :             :         {
    5452                 :      141372 :         case MINUS_EXPR:
    5453                 :      141372 :           {
    5454                 :      141372 :             tree _q30 = TREE_OPERAND (_q20, 0);
    5455                 :      141372 :             tree _q31 = TREE_OPERAND (_q20, 1);
    5456                 :      141372 :             switch (TREE_CODE (_q30))
    5457                 :             :               {
    5458                 :           2 :               case BIT_AND_EXPR:
    5459                 :           2 :                 {
    5460                 :           2 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    5461                 :           2 :                   tree _q41 = TREE_OPERAND (_q30, 1);
    5462                 :           2 :                   switch (TREE_CODE (_q31))
    5463                 :             :                     {
    5464                 :           1 :                     case BIT_IOR_EXPR:
    5465                 :           1 :                       {
    5466                 :           1 :                         tree _q70 = TREE_OPERAND (_q31, 0);
    5467                 :           1 :                         tree _q71 = TREE_OPERAND (_q31, 1);
    5468                 :           1 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    5469                 :             :                           {
    5470                 :           1 :                             if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
    5471                 :             :                               {
    5472                 :           1 :                                 if (integer_all_onesp (_p1))
    5473                 :             :                                   {
    5474                 :           1 :                                     {
    5475                 :           1 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _q41 };
    5476                 :           1 :                                       tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    5477                 :           1 :                                       if (res) return res;
    5478                 :             :                                     }
    5479                 :             :                                   }
    5480                 :             :                               }
    5481                 :             :                           }
    5482                 :           0 :                         if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
    5483                 :             :                           {
    5484                 :           0 :                             if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
    5485                 :             :                               {
    5486                 :           0 :                                 if (integer_all_onesp (_p1))
    5487                 :             :                                   {
    5488                 :           0 :                                     {
    5489                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q41, _q40 };
    5490                 :           0 :                                       tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    5491                 :           0 :                                       if (res) return res;
    5492                 :             :                                     }
    5493                 :             :                                   }
    5494                 :             :                               }
    5495                 :             :                           }
    5496                 :             :                         break;
    5497                 :             :                       }
    5498                 :             :                     default:;
    5499                 :             :                     }
    5500                 :             :                   break;
    5501                 :             :                 }
    5502                 :      141371 :               default:;
    5503                 :             :               }
    5504                 :      141371 :           {
    5505                 :      141371 :             tree _q30_pops[1];
    5506                 :      141371 :             if (tree_nop_convert (_q30, _q30_pops))
    5507                 :             :               {
    5508                 :       90609 :                 tree _q40 = _q30_pops[0];
    5509                 :       90609 :                 switch (TREE_CODE (_q40))
    5510                 :             :                   {
    5511                 :           0 :                   case BIT_AND_EXPR:
    5512                 :           0 :                     {
    5513                 :           0 :                       tree _q50 = TREE_OPERAND (_q40, 0);
    5514                 :           0 :                       tree _q51 = TREE_OPERAND (_q40, 1);
    5515                 :           0 :                       {
    5516                 :           0 :                         tree _q31_pops[1];
    5517                 :           0 :                         if (tree_nop_convert (_q31, _q31_pops))
    5518                 :             :                           {
    5519                 :           0 :                             tree _q80 = _q31_pops[0];
    5520                 :           0 :                             switch (TREE_CODE (_q80))
    5521                 :             :                               {
    5522                 :           0 :                               case BIT_IOR_EXPR:
    5523                 :           0 :                                 {
    5524                 :           0 :                                   tree _q90 = TREE_OPERAND (_q80, 0);
    5525                 :           0 :                                   tree _q91 = TREE_OPERAND (_q80, 1);
    5526                 :           0 :                                   if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
    5527                 :             :                                     {
    5528                 :           0 :                                       if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
    5529                 :             :                                         {
    5530                 :           0 :                                           if (integer_all_onesp (_p1))
    5531                 :             :                                             {
    5532                 :           0 :                                               {
    5533                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _q51 };
    5534                 :           0 :                                                 tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    5535                 :           0 :                                                 if (res) return res;
    5536                 :             :                                               }
    5537                 :             :                                             }
    5538                 :             :                                         }
    5539                 :             :                                     }
    5540                 :           0 :                                   if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
    5541                 :             :                                     {
    5542                 :           0 :                                       if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
    5543                 :             :                                         {
    5544                 :           0 :                                           if (integer_all_onesp (_p1))
    5545                 :             :                                             {
    5546                 :           0 :                                               {
    5547                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _q50 };
    5548                 :           0 :                                                 tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    5549                 :           0 :                                                 if (res) return res;
    5550                 :             :                                               }
    5551                 :             :                                             }
    5552                 :             :                                         }
    5553                 :             :                                     }
    5554                 :             :                                   break;
    5555                 :             :                                 }
    5556                 :             :                               default:;
    5557                 :             :                               }
    5558                 :             :                           }
    5559                 :             :                       }
    5560                 :           0 :                       break;
    5561                 :             :                     }
    5562                 :             :                   default:;
    5563                 :             :                   }
    5564                 :             :               }
    5565                 :             :           }
    5566                 :      141371 :             break;
    5567                 :             :           }
    5568                 :             :         default:;
    5569                 :             :         }
    5570                 :             :     }
    5571                 :             : }
    5572                 :    68349624 :   switch (TREE_CODE (_p1))
    5573                 :             :     {
    5574                 :     7841123 :     CASE_CONVERT:
    5575                 :     7841123 :       {
    5576                 :     7841123 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5577                 :     7841123 :         switch (TREE_CODE (_q30))
    5578                 :             :           {
    5579                 :         361 :           case NEGATE_EXPR:
    5580                 :         361 :             {
    5581                 :         361 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5582                 :         361 :               {
    5583                 :         361 :                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
    5584                 :         361 :                 tree res = generic_simplify_14 (loc, type, _p0, _p1, captures);
    5585                 :         361 :                 if (res) return res;
    5586                 :             :               }
    5587                 :         304 :               break;
    5588                 :             :             }
    5589                 :             :           default:;
    5590                 :             :           }
    5591                 :             :         break;
    5592                 :             :       }
    5593                 :        9476 :     case NEGATE_EXPR:
    5594                 :        9476 :       {
    5595                 :        9476 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5596                 :        9476 :         {
    5597                 :        9476 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    5598                 :        9476 :           tree res = generic_simplify_14 (loc, type, _p0, _p1, captures);
    5599                 :        9476 :           if (res) return res;
    5600                 :             :         }
    5601                 :           0 :         break;
    5602                 :             :       }
    5603                 :    68340091 :     default:;
    5604                 :             :     }
    5605                 :    68340091 :   switch (TREE_CODE (_p0))
    5606                 :             :     {
    5607                 :      197199 :     case NEGATE_EXPR:
    5608                 :      197199 :       {
    5609                 :      197199 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5610                 :      197199 :         {
    5611                 :      197199 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q20 };
    5612                 :      197199 :           tree res = generic_simplify_14 (loc, type, _p0, _p1, captures);
    5613                 :      197199 :           if (res) return res;
    5614                 :             :         }
    5615                 :         134 :         break;
    5616                 :             :       }
    5617                 :    68143026 :     default:;
    5618                 :             :     }
    5619                 :    68143026 : {
    5620                 :    68143026 :   tree _p0_pops[1];
    5621                 :    68143026 :   if (tree_nop_convert (_p0, _p0_pops))
    5622                 :             :     {
    5623                 :    13657811 :       tree _q20 = _p0_pops[0];
    5624                 :    13657811 :       switch (TREE_CODE (_q20))
    5625                 :             :         {
    5626                 :      140953 :         case MINUS_EXPR:
    5627                 :      140953 :           {
    5628                 :      140953 :             tree _q30 = TREE_OPERAND (_q20, 0);
    5629                 :      140953 :             tree _q31 = TREE_OPERAND (_q20, 1);
    5630                 :      140953 :             {
    5631                 :      140953 :               tree _q31_pops[1];
    5632                 :      140953 :               if (tree_nop_convert (_q31, _q31_pops))
    5633                 :             :                 {
    5634                 :      107423 :                   tree _q50 = _q31_pops[0];
    5635                 :      107423 :                   if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    5636                 :             :                     {
    5637                 :          62 :                       {
    5638                 :          62 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
    5639                 :          62 :                         tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    5640                 :          62 :                         if (res) return res;
    5641                 :             :                       }
    5642                 :             :                     }
    5643                 :             :                 }
    5644                 :             :             }
    5645                 :      140891 :             if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    5646                 :             :               {
    5647                 :           0 :                 {
    5648                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    5649                 :           0 :                   tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    5650                 :           0 :                   if (res) return res;
    5651                 :             :                 }
    5652                 :             :               }
    5653                 :      140891 :             if (CONSTANT_CLASS_P (_q31))
    5654                 :             :               {
    5655                 :       14174 :                 if (CONSTANT_CLASS_P (_p1))
    5656                 :             :                   {
    5657                 :       14008 :                     {
    5658                 :       14008 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    5659                 :       14008 :                       tree res = generic_simplify_17 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR, PLUS_EXPR);
    5660                 :       14008 :                       if (res) return res;
    5661                 :             :                     }
    5662                 :             :                   }
    5663                 :             :               }
    5664                 :      126883 :             if (CONSTANT_CLASS_P (_q30))
    5665                 :             :               {
    5666                 :       21147 :                 if (CONSTANT_CLASS_P (_p1))
    5667                 :             :                   {
    5668                 :        5746 :                     {
    5669                 :        5746 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    5670                 :        5746 :                       tree res = generic_simplify_18 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    5671                 :        5746 :                       if (res) return res;
    5672                 :             :                     }
    5673                 :             :                   }
    5674                 :             :               }
    5675                 :             :             break;
    5676                 :             :           }
    5677                 :     1358970 :         case PLUS_EXPR:
    5678                 :     1358970 :           {
    5679                 :     1358970 :             tree _q30 = TREE_OPERAND (_q20, 0);
    5680                 :     1358970 :             tree _q31 = TREE_OPERAND (_q20, 1);
    5681                 :     1358970 :             if (CONSTANT_CLASS_P (_q31))
    5682                 :             :               {
    5683                 :     1161439 :                 if (CONSTANT_CLASS_P (_p1))
    5684                 :             :                   {
    5685                 :     1053261 :                     {
    5686                 :     1053261 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    5687                 :     1053261 :                       tree res = generic_simplify_17 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR, PLUS_EXPR);
    5688                 :     1053261 :                       if (res) return res;
    5689                 :             :                     }
    5690                 :             :                   }
    5691                 :             :               }
    5692                 :             :             break;
    5693                 :             :           }
    5694                 :             :         default:;
    5695                 :             :         }
    5696                 :             :     }
    5697                 :             : }
    5698                 :    67070849 :   switch (TREE_CODE (_p1))
    5699                 :             :     {
    5700                 :      184478 :     case MINUS_EXPR:
    5701                 :      184478 :       {
    5702                 :      184478 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5703                 :      184478 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5704                 :      184478 :         {
    5705                 :      184478 :           tree _q31_pops[1];
    5706                 :      184478 :           if (tree_nop_convert (_q31, _q31_pops))
    5707                 :             :             {
    5708                 :       61320 :               tree _q50 = _q31_pops[0];
    5709                 :       61320 :               if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    5710                 :             :                 {
    5711                 :           0 :                   {
    5712                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    5713                 :           0 :                     tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    5714                 :           0 :                     if (res) return res;
    5715                 :             :                   }
    5716                 :             :                 }
    5717                 :             :             }
    5718                 :             :         }
    5719                 :      184478 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5720                 :             :           {
    5721                 :         293 :             {
    5722                 :         293 :               tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    5723                 :         293 :               tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    5724                 :         293 :               if (res) return res;
    5725                 :             :             }
    5726                 :             :           }
    5727                 :             :         break;
    5728                 :             :       }
    5729                 :    67070556 :     default:;
    5730                 :             :     }
    5731                 :    67070556 : {
    5732                 :    67070556 :   tree _p1_pops[1];
    5733                 :    67070556 :   if (tree_nop_convert (_p1, _p1_pops))
    5734                 :             :     {
    5735                 :     7597441 :       tree _q30 = _p1_pops[0];
    5736                 :     7597441 :       switch (TREE_CODE (_q30))
    5737                 :             :         {
    5738                 :        2745 :         case MINUS_EXPR:
    5739                 :        2745 :           {
    5740                 :        2745 :             tree _q40 = TREE_OPERAND (_q30, 0);
    5741                 :        2745 :             tree _q41 = TREE_OPERAND (_q30, 1);
    5742                 :        2745 :             {
    5743                 :        2745 :               tree _q41_pops[1];
    5744                 :        2745 :               if (tree_nop_convert (_q41, _q41_pops))
    5745                 :             :                 {
    5746                 :         510 :                   tree _q60 = _q41_pops[0];
    5747                 :         510 :                   if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    5748                 :             :                     {
    5749                 :           0 :                       {
    5750                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q40, _p0 };
    5751                 :           0 :                         tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    5752                 :           0 :                         if (res) return res;
    5753                 :             :                       }
    5754                 :             :                     }
    5755                 :             :                 }
    5756                 :             :             }
    5757                 :        2745 :             if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    5758                 :             :               {
    5759                 :           0 :                 {
    5760                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _p0 };
    5761                 :           0 :                   tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    5762                 :           0 :                   if (res) return res;
    5763                 :             :                 }
    5764                 :             :               }
    5765                 :             :             break;
    5766                 :             :           }
    5767                 :             :         default:;
    5768                 :             :         }
    5769                 :             :     }
    5770                 :             : }
    5771                 :    67070556 :   switch (TREE_CODE (_p0))
    5772                 :             :     {
    5773                 :     6519615 :     case PLUS_EXPR:
    5774                 :     6519615 :       {
    5775                 :     6519615 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5776                 :     6519615 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5777                 :     6519615 :         switch (TREE_CODE (_p1))
    5778                 :             :           {
    5779                 :       47522 :           case MINUS_EXPR:
    5780                 :       47522 :             {
    5781                 :       47522 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5782                 :       47522 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5783                 :       47522 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5784                 :             :                 {
    5785                 :         148 :                   {
    5786                 :         148 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5787                 :         148 :                     tree res = generic_simplify_19 (loc, type, _p0, _p1, captures);
    5788                 :         148 :                     if (res) return res;
    5789                 :             :                   }
    5790                 :             :                 }
    5791                 :       47374 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5792                 :             :                 {
    5793                 :         327 :                   {
    5794                 :         327 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    5795                 :         327 :                     tree res = generic_simplify_19 (loc, type, _p0, _p1, captures);
    5796                 :         327 :                     if (res) return res;
    5797                 :             :                   }
    5798                 :             :                 }
    5799                 :             :               break;
    5800                 :             :             }
    5801                 :     6519140 :           default:;
    5802                 :             :           }
    5803                 :     6519140 :         if (CONSTANT_CLASS_P (_q21))
    5804                 :             :           {
    5805                 :     2598003 :             if (CONSTANT_CLASS_P (_p1))
    5806                 :             :               {
    5807                 :     1916375 :                 {
    5808                 :     1916375 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5809                 :     1916375 :                   tree res = generic_simplify_17 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR, PLUS_EXPR);
    5810                 :     1916375 :                   if (res) return res;
    5811                 :             :                 }
    5812                 :             :               }
    5813                 :             :           }
    5814                 :             :         break;
    5815                 :             :       }
    5816                 :     1978833 :     case MINUS_EXPR:
    5817                 :     1978833 :       {
    5818                 :     1978833 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5819                 :     1978833 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5820                 :     1978833 :         switch (TREE_CODE (_p1))
    5821                 :             :           {
    5822                 :        1930 :           case PLUS_EXPR:
    5823                 :        1930 :             {
    5824                 :        1930 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5825                 :        1930 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5826                 :        1930 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5827                 :             :                 {
    5828                 :         367 :                   {
    5829                 :         367 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q51, _q20 };
    5830                 :         367 :                     tree res = generic_simplify_19 (loc, type, _p0, _p1, captures);
    5831                 :         367 :                     if (res) return res;
    5832                 :             :                   }
    5833                 :             :                 }
    5834                 :        1563 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5835                 :             :                 {
    5836                 :          29 :                   {
    5837                 :          29 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q50, _q20 };
    5838                 :          29 :                     tree res = generic_simplify_19 (loc, type, _p0, _p1, captures);
    5839                 :          29 :                     if (res) return res;
    5840                 :             :                   }
    5841                 :             :                 }
    5842                 :             :               break;
    5843                 :             :             }
    5844                 :         459 :           case MINUS_EXPR:
    5845                 :         459 :             {
    5846                 :         459 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5847                 :         459 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5848                 :         459 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5849                 :             :                 {
    5850                 :           1 :                   {
    5851                 :           1 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5852                 :           1 :                     tree res = generic_simplify_20 (loc, type, _p0, _p1, captures);
    5853                 :           1 :                     if (res) return res;
    5854                 :             :                   }
    5855                 :             :                 }
    5856                 :         458 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5857                 :             :                 {
    5858                 :           9 :                   {
    5859                 :           9 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q51, _q20 };
    5860                 :           9 :                     tree res = generic_simplify_20 (loc, type, _p0, _p1, captures);
    5861                 :           9 :                     if (res) return res;
    5862                 :             :                   }
    5863                 :             :                 }
    5864                 :             :               break;
    5865                 :             :             }
    5866                 :     1978427 :           default:;
    5867                 :             :           }
    5868                 :     1978427 :         if (CONSTANT_CLASS_P (_q21))
    5869                 :             :           {
    5870                 :      122395 :             if (CONSTANT_CLASS_P (_p1))
    5871                 :             :               {
    5872                 :       84512 :                 {
    5873                 :       84512 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5874                 :       84512 :                   tree res = generic_simplify_17 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR, PLUS_EXPR);
    5875                 :       84512 :                   if (res) return res;
    5876                 :             :                 }
    5877                 :             :               }
    5878                 :             :           }
    5879                 :     1894112 :         if (CONSTANT_CLASS_P (_q20))
    5880                 :             :           {
    5881                 :      411219 :             if (CONSTANT_CLASS_P (_p1))
    5882                 :             :               {
    5883                 :      234392 :                 {
    5884                 :      234392 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5885                 :      234392 :                   tree res = generic_simplify_18 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    5886                 :      234392 :                   if (res) return res;
    5887                 :             :                 }
    5888                 :             :               }
    5889                 :             :           }
    5890                 :             :         break;
    5891                 :             :       }
    5892                 :         474 :     case POINTER_DIFF_EXPR:
    5893                 :         474 :       {
    5894                 :         474 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5895                 :         474 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5896                 :         474 :         switch (TREE_CODE (_p1))
    5897                 :             :           {
    5898                 :           7 :           case POINTER_DIFF_EXPR:
    5899                 :           7 :             {
    5900                 :           7 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5901                 :           7 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5902                 :           7 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5903                 :             :                 {
    5904                 :           7 :                   {
    5905                 :           7 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5906                 :           7 :                     tree res = generic_simplify_21 (loc, type, _p0, _p1, captures);
    5907                 :           7 :                     if (res) return res;
    5908                 :             :                   }
    5909                 :             :                 }
    5910                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5911                 :             :                 {
    5912                 :           0 :                   {
    5913                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q51, _q20 };
    5914                 :           0 :                     tree res = generic_simplify_21 (loc, type, _p0, _p1, captures);
    5915                 :           0 :                     if (res) return res;
    5916                 :             :                   }
    5917                 :             :                 }
    5918                 :             :               break;
    5919                 :             :             }
    5920                 :             :           default:;
    5921                 :             :           }
    5922                 :             :         break;
    5923                 :             :       }
    5924                 :    17153922 :     CASE_CONVERT:
    5925                 :    17153922 :       {
    5926                 :    17153922 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5927                 :    17153922 :         switch (TREE_CODE (_p1))
    5928                 :             :           {
    5929                 :     2659785 :           CASE_CONVERT:
    5930                 :     2659785 :             {
    5931                 :     2659785 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5932                 :     2659785 :               {
    5933                 :     2659785 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    5934                 :     2659785 :                 tree res = generic_simplify_22 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    5935                 :     2659785 :                 if (res) return res;
    5936                 :             :               }
    5937                 :     2659630 :               break;
    5938                 :             :             }
    5939                 :    17153767 :           default:;
    5940                 :             :           }
    5941                 :    17153767 :         switch (TREE_CODE (_q20))
    5942                 :             :           {
    5943                 :      129216 :           case BIT_NOT_EXPR:
    5944                 :      129216 :             {
    5945                 :      129216 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5946                 :      129216 :               switch (TREE_CODE (_p1))
    5947                 :             :                 {
    5948                 :         185 :                 CASE_CONVERT:
    5949                 :         185 :                   {
    5950                 :         185 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5951                 :         185 :                     if ((_q50 == _q30 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q30, 0) && types_match (_q50, _q30)))
    5952                 :             :                       {
    5953                 :           0 :                         {
    5954                 :           0 :                           tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    5955                 :           0 :                           tree res = generic_simplify_23 (loc, type, _p0, _p1, captures);
    5956                 :           0 :                           if (res) return res;
    5957                 :             :                         }
    5958                 :             :                       }
    5959                 :             :                     break;
    5960                 :             :                   }
    5961                 :             :                 default:;
    5962                 :             :                 }
    5963                 :             :               break;
    5964                 :             :             }
    5965                 :    17153767 :           default:;
    5966                 :             :           }
    5967                 :    17153767 :         switch (TREE_CODE (_p1))
    5968                 :             :           {
    5969                 :     2659630 :           CASE_CONVERT:
    5970                 :     2659630 :             {
    5971                 :     2659630 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5972                 :     2659630 :               switch (TREE_CODE (_q40))
    5973                 :             :                 {
    5974                 :         425 :                 case BIT_NOT_EXPR:
    5975                 :         425 :                   {
    5976                 :         425 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    5977                 :         425 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5978                 :             :                       {
    5979                 :           0 :                         {
    5980                 :           0 :                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5981                 :           0 :                           tree res = generic_simplify_23 (loc, type, _p0, _p1, captures);
    5982                 :           0 :                           if (res) return res;
    5983                 :             :                         }
    5984                 :             :                       }
    5985                 :             :                     break;
    5986                 :             :                   }
    5987                 :             :                 default:;
    5988                 :             :                 }
    5989                 :             :               break;
    5990                 :             :             }
    5991                 :             :           default:;
    5992                 :             :           }
    5993                 :             :         break;
    5994                 :             :       }
    5995                 :      335220 :     case BIT_NOT_EXPR:
    5996                 :      335220 :       {
    5997                 :      335220 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5998                 :      335220 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5999                 :             :           {
    6000                 :         535 :             {
    6001                 :         535 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6002                 :         535 :               tree res = generic_simplify_23 (loc, type, _p0, _p1, captures);
    6003                 :         535 :               if (res) return res;
    6004                 :             :             }
    6005                 :             :           }
    6006                 :      334685 :         if (integer_each_onep (_p1))
    6007                 :             :           {
    6008                 :        2722 :             {
    6009                 :        2722 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6010                 :        2722 :               tree res = generic_simplify_24 (loc, type, _p0, _p1, captures);
    6011                 :        2722 :               if (res) return res;
    6012                 :             :             }
    6013                 :             :           }
    6014                 :             :         break;
    6015                 :             :       }
    6016                 :    64831582 :     default:;
    6017                 :             :     }
    6018                 :    64831582 :   switch (TREE_CODE (_p1))
    6019                 :             :     {
    6020                 :       38847 :     case BIT_NOT_EXPR:
    6021                 :       38847 :       {
    6022                 :       38847 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6023                 :       38847 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6024                 :             :           {
    6025                 :           0 :             {
    6026                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6027                 :           0 :               tree res = generic_simplify_23 (loc, type, _p0, _p1, captures);
    6028                 :           0 :               if (res) return res;
    6029                 :             :             }
    6030                 :             :           }
    6031                 :             :         break;
    6032                 :             :       }
    6033                 :    64831582 :     default:;
    6034                 :             :     }
    6035                 :    64831582 :   switch (TREE_CODE (_p0))
    6036                 :             :     {
    6037                 :    17153767 :     CASE_CONVERT:
    6038                 :    17153767 :       {
    6039                 :    17153767 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6040                 :    17153767 :         switch (TREE_CODE (_q20))
    6041                 :             :           {
    6042                 :      129216 :           case BIT_NOT_EXPR:
    6043                 :      129216 :             {
    6044                 :      129216 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6045                 :      129216 :               if (integer_each_onep (_p1))
    6046                 :             :                 {
    6047                 :      125670 :                   {
    6048                 :      125670 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    6049                 :      125670 :                     tree res = generic_simplify_24 (loc, type, _p0, _p1, captures);
    6050                 :      125670 :                     if (res) return res;
    6051                 :             :                   }
    6052                 :             :                 }
    6053                 :             :               break;
    6054                 :             :             }
    6055                 :             :           default:;
    6056                 :             :           }
    6057                 :             :         break;
    6058                 :             :       }
    6059                 :    12796119 :     case MULT_EXPR:
    6060                 :    12796119 :       {
    6061                 :    12796119 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6062                 :    12796119 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6063                 :    12796119 :         switch (TREE_CODE (_p1))
    6064                 :             :           {
    6065                 :     3311934 :           case MULT_EXPR:
    6066                 :     3311934 :             {
    6067                 :     3311934 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6068                 :     3311934 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6069                 :     3311934 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6070                 :             :                 {
    6071                 :      792098 :                   {
    6072                 :      792098 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
    6073                 :      792098 :                     tree res = generic_simplify_25 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    6074                 :      792098 :                     if (res) return res;
    6075                 :             :                   }
    6076                 :             :                 }
    6077                 :     3307182 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6078                 :             :                 {
    6079                 :          21 :                   {
    6080                 :          21 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    6081                 :          21 :                     tree res = generic_simplify_25 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    6082                 :          21 :                     if (res) return res;
    6083                 :             :                   }
    6084                 :             :                 }
    6085                 :     3307177 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6086                 :             :                 {
    6087                 :         241 :                   {
    6088                 :         241 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
    6089                 :         241 :                     tree res = generic_simplify_25 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    6090                 :         241 :                     if (res) return res;
    6091                 :             :                   }
    6092                 :             :                 }
    6093                 :     3307006 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6094                 :             :                 {
    6095                 :     1236080 :                   {
    6096                 :     1236080 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
    6097                 :     1236080 :                     tree res = generic_simplify_25 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    6098                 :     1236080 :                     if (res) return res;
    6099                 :             :                   }
    6100                 :             :                 }
    6101                 :             :               break;
    6102                 :             :             }
    6103                 :             :           default:;
    6104                 :             :           }
    6105                 :             :         break;
    6106                 :             :       }
    6107                 :    63466001 :     default:;
    6108                 :             :     }
    6109                 :    63466001 :   switch (TREE_CODE (_p1))
    6110                 :             :     {
    6111                 :     3517579 :     case MULT_EXPR:
    6112                 :     3517579 :       {
    6113                 :     3517579 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6114                 :     3517579 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6115                 :     3517579 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6116                 :             :           {
    6117                 :        3833 :             {
    6118                 :        3833 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    6119                 :        3833 :               tree res = generic_simplify_26 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    6120                 :        3833 :               if (res) return res;
    6121                 :             :             }
    6122                 :             :           }
    6123                 :     3513793 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6124                 :             :           {
    6125                 :           2 :             {
    6126                 :           2 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q30 };
    6127                 :           2 :               tree res = generic_simplify_26 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    6128                 :           2 :               if (res) return res;
    6129                 :             :             }
    6130                 :             :           }
    6131                 :             :         break;
    6132                 :             :       }
    6133                 :    63462213 :     default:;
    6134                 :             :     }
    6135                 :    63462213 :   switch (TREE_CODE (_p0))
    6136                 :             :     {
    6137                 :    11555365 :     case MULT_EXPR:
    6138                 :    11555365 :       {
    6139                 :    11555365 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6140                 :    11555365 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6141                 :    11555365 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    6142                 :             :           {
    6143                 :       33258 :             {
    6144                 :       33258 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6145                 :       33258 :               tree res = generic_simplify_27 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    6146                 :       33258 :               if (res) return res;
    6147                 :             :             }
    6148                 :             :           }
    6149                 :    11522753 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6150                 :             :           {
    6151                 :      304316 :             {
    6152                 :      304316 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    6153                 :      304316 :               tree res = generic_simplify_27 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    6154                 :      304316 :               if (res) return res;
    6155                 :             :             }
    6156                 :             :           }
    6157                 :    11219078 :         if (integer_nonzerop (_q20))
    6158                 :             :           {
    6159                 :         102 :             switch (TREE_CODE (_p1))
    6160                 :             :               {
    6161                 :          50 :               case INTEGER_CST:
    6162                 :          50 :                 {
    6163                 :          50 :                   {
    6164                 :          50 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    6165                 :          50 :                     tree res = generic_simplify_28 (loc, type, _p0, _p1, captures);
    6166                 :          50 :                     if (res) return res;
    6167                 :             :                   }
    6168                 :          50 :                   break;
    6169                 :             :                 }
    6170                 :             :               default:;
    6171                 :             :               }
    6172                 :             :           }
    6173                 :    11219078 :         if (integer_nonzerop (_q21))
    6174                 :             :           {
    6175                 :     7267942 :             switch (TREE_CODE (_p1))
    6176                 :             :               {
    6177                 :     3577990 :               case INTEGER_CST:
    6178                 :     3577990 :                 {
    6179                 :     3577990 :                   {
    6180                 :     3577990 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1 };
    6181                 :     3577990 :                     tree res = generic_simplify_28 (loc, type, _p0, _p1, captures);
    6182                 :     3577990 :                     if (res) return res;
    6183                 :             :                   }
    6184                 :     3183670 :                   break;
    6185                 :             :                 }
    6186                 :             :               default:;
    6187                 :             :               }
    6188                 :             :           }
    6189                 :    10824758 :         switch (TREE_CODE (_q20))
    6190                 :             :           {
    6191                 :      193395 :           case MINUS_EXPR:
    6192                 :      193395 :             {
    6193                 :      193395 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6194                 :      193395 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6195                 :      193395 :               if (tree_zero_one_valued_p (_q21))
    6196                 :             :                 {
    6197                 :           0 :                   if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    6198                 :             :                     {
    6199                 :           0 :                       {
    6200                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q21 };
    6201                 :           0 :                         tree res = generic_simplify_29 (loc, type, _p0, _p1, captures);
    6202                 :           0 :                         if (res) return res;
    6203                 :             :                       }
    6204                 :             :                     }
    6205                 :             :                 }
    6206                 :             :               break;
    6207                 :             :             }
    6208                 :    10824758 :           default:;
    6209                 :             :           }
    6210                 :    10824758 :       if (tree_zero_one_valued_p (_q20))
    6211                 :             :         {
    6212                 :       38150 :           switch (TREE_CODE (_q21))
    6213                 :             :             {
    6214                 :           9 :             case MINUS_EXPR:
    6215                 :           9 :               {
    6216                 :           9 :                 tree _q40 = TREE_OPERAND (_q21, 0);
    6217                 :           9 :                 tree _q41 = TREE_OPERAND (_q21, 1);
    6218                 :           9 :                 if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
    6219                 :             :                   {
    6220                 :           9 :                     {
    6221                 :           9 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
    6222                 :           9 :                       tree res = generic_simplify_29 (loc, type, _p0, _p1, captures);
    6223                 :           9 :                       if (res) return res;
    6224                 :             :                     }
    6225                 :             :                   }
    6226                 :             :                 break;
    6227                 :             :               }
    6228                 :             :             default:;
    6229                 :             :             }
    6230                 :             :         }
    6231                 :             :         break;
    6232                 :             :       }
    6233                 :        3101 :     case MIN_EXPR:
    6234                 :        3101 :       {
    6235                 :        3101 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6236                 :        3101 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6237                 :        3101 :         switch (TREE_CODE (_p1))
    6238                 :             :           {
    6239                 :           0 :           case MAX_EXPR:
    6240                 :           0 :             {
    6241                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6242                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6243                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6244                 :             :                 {
    6245                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6246                 :             :                     {
    6247                 :           0 :                       {
    6248                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6249                 :           0 :                         if (!HONOR_NANS (captures[0])
    6250                 :             : )
    6251                 :             :                           {
    6252                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1130;
    6253                 :           0 :                             {
    6254                 :           0 :                               tree res_op0;
    6255                 :           0 :                               res_op0 = captures[0];
    6256                 :           0 :                               tree res_op1;
    6257                 :           0 :                               res_op1 = captures[1];
    6258                 :           0 :                               tree _r;
    6259                 :           0 :                               _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    6260                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 853, __FILE__, __LINE__, true);
    6261                 :           0 :                               return _r;
    6262                 :             :                             }
    6263                 :           0 : next_after_fail1130:;
    6264                 :             :                           }
    6265                 :             :                       }
    6266                 :             :                     }
    6267                 :             :                 }
    6268                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6269                 :             :                 {
    6270                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6271                 :             :                     {
    6272                 :           0 :                       {
    6273                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6274                 :           0 :                         if (!HONOR_NANS (captures[0])
    6275                 :             : )
    6276                 :             :                           {
    6277                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1131;
    6278                 :           0 :                             {
    6279                 :           0 :                               tree res_op0;
    6280                 :           0 :                               res_op0 = captures[0];
    6281                 :           0 :                               tree res_op1;
    6282                 :           0 :                               res_op1 = captures[1];
    6283                 :           0 :                               tree _r;
    6284                 :           0 :                               _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    6285                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 853, __FILE__, __LINE__, true);
    6286                 :           0 :                               return _r;
    6287                 :             :                             }
    6288                 :           0 : next_after_fail1131:;
    6289                 :             :                           }
    6290                 :             :                       }
    6291                 :             :                     }
    6292                 :             :                 }
    6293                 :             :               break;
    6294                 :             :             }
    6295                 :             :           default:;
    6296                 :             :           }
    6297                 :             :         break;
    6298                 :             :       }
    6299                 :       11551 :     case MAX_EXPR:
    6300                 :       11551 :       {
    6301                 :       11551 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6302                 :       11551 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6303                 :       11551 :         switch (TREE_CODE (_p1))
    6304                 :             :           {
    6305                 :           0 :           case MIN_EXPR:
    6306                 :           0 :             {
    6307                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6308                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6309                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6310                 :             :                 {
    6311                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6312                 :             :                     {
    6313                 :           0 :                       {
    6314                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6315                 :           0 :                         if (!HONOR_NANS (captures[0])
    6316                 :             : )
    6317                 :             :                           {
    6318                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1132;
    6319                 :           0 :                             {
    6320                 :           0 :                               tree res_op0;
    6321                 :           0 :                               res_op0 = captures[0];
    6322                 :           0 :                               tree res_op1;
    6323                 :           0 :                               res_op1 = captures[1];
    6324                 :           0 :                               tree _r;
    6325                 :           0 :                               _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    6326                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 853, __FILE__, __LINE__, true);
    6327                 :           0 :                               return _r;
    6328                 :             :                             }
    6329                 :           0 : next_after_fail1132:;
    6330                 :             :                           }
    6331                 :             :                       }
    6332                 :             :                     }
    6333                 :             :                 }
    6334                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6335                 :             :                 {
    6336                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6337                 :             :                     {
    6338                 :           0 :                       {
    6339                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6340                 :           0 :                         if (!HONOR_NANS (captures[0])
    6341                 :             : )
    6342                 :             :                           {
    6343                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1133;
    6344                 :           0 :                             {
    6345                 :           0 :                               tree res_op0;
    6346                 :           0 :                               res_op0 = captures[0];
    6347                 :           0 :                               tree res_op1;
    6348                 :           0 :                               res_op1 = captures[1];
    6349                 :           0 :                               tree _r;
    6350                 :           0 :                               _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    6351                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 853, __FILE__, __LINE__, true);
    6352                 :           0 :                               return _r;
    6353                 :             :                             }
    6354                 :           0 : next_after_fail1133:;
    6355                 :             :                           }
    6356                 :             :                       }
    6357                 :             :                     }
    6358                 :             :                 }
    6359                 :             :               break;
    6360                 :             :             }
    6361                 :             :           default:;
    6362                 :             :           }
    6363                 :             :         break;
    6364                 :             :       }
    6365                 :    62731604 :     default:;
    6366                 :             :     }
    6367                 :    62731604 :   switch (TREE_CODE (_p1))
    6368                 :             :     {
    6369                 :     3513727 :     case MULT_EXPR:
    6370                 :     3513727 :       {
    6371                 :     3513727 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6372                 :     3513727 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6373                 :     3513727 :         switch (TREE_CODE (_q30))
    6374                 :             :           {
    6375                 :      120101 :           case MINUS_EXPR:
    6376                 :      120101 :             {
    6377                 :      120101 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6378                 :      120101 :               tree _q41 = TREE_OPERAND (_q30, 1);
    6379                 :      120101 :               if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    6380                 :             :                 {
    6381                 :          16 :                   if (tree_zero_one_valued_p (_q31))
    6382                 :             :                     {
    6383                 :           0 :                       {
    6384                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q31 };
    6385                 :           0 :                         tree res = generic_simplify_29 (loc, type, _p0, _p1, captures);
    6386                 :           0 :                         if (res) return res;
    6387                 :             :                       }
    6388                 :             :                     }
    6389                 :             :                 }
    6390                 :             :               break;
    6391                 :             :             }
    6392                 :     3513727 :           default:;
    6393                 :             :           }
    6394                 :     3513727 :       if (tree_zero_one_valued_p (_q30))
    6395                 :             :         {
    6396                 :       13826 :           switch (TREE_CODE (_q31))
    6397                 :             :             {
    6398                 :           0 :             case MINUS_EXPR:
    6399                 :           0 :               {
    6400                 :           0 :                 tree _q50 = TREE_OPERAND (_q31, 0);
    6401                 :           0 :                 tree _q51 = TREE_OPERAND (_q31, 1);
    6402                 :           0 :                 if ((_q51 == _p0 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _p0, 0) && types_match (_q51, _p0)))
    6403                 :             :                   {
    6404                 :           0 :                     {
    6405                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q50, _q30 };
    6406                 :           0 :                       tree res = generic_simplify_29 (loc, type, _p0, _p1, captures);
    6407                 :           0 :                       if (res) return res;
    6408                 :             :                     }
    6409                 :             :                   }
    6410                 :             :                 break;
    6411                 :             :               }
    6412                 :             :             default:;
    6413                 :             :             }
    6414                 :             :         }
    6415                 :             :         break;
    6416                 :             :       }
    6417                 :    62731604 :     default:;
    6418                 :             :     }
    6419                 :    62731604 :   switch (TREE_CODE (_p0))
    6420                 :             :     {
    6421                 :    10824756 :     case MULT_EXPR:
    6422                 :    10824756 :       {
    6423                 :    10824756 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6424                 :    10824756 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6425                 :    10824756 :         switch (TREE_CODE (_q20))
    6426                 :             :           {
    6427                 :       19678 :           case TRUNC_DIV_EXPR:
    6428                 :       19678 :             {
    6429                 :       19678 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6430                 :       19678 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6431                 :       19678 :               if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    6432                 :             :                 {
    6433                 :        2395 :                   switch (TREE_CODE (_p1))
    6434                 :             :                     {
    6435                 :           2 :                     case TRUNC_MOD_EXPR:
    6436                 :           2 :                       {
    6437                 :           2 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    6438                 :           2 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    6439                 :           2 :                         if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    6440                 :             :                           {
    6441                 :           2 :                             if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    6442                 :             :                               {
    6443                 :           2 :                                 {
    6444                 :           2 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    6445                 :           2 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR);
    6446                 :           2 :                                   if (res) return res;
    6447                 :             :                                 }
    6448                 :             :                               }
    6449                 :             :                           }
    6450                 :             :                         break;
    6451                 :             :                       }
    6452                 :             :                     default:;
    6453                 :             :                     }
    6454                 :             :                 }
    6455                 :             :               break;
    6456                 :             :             }
    6457                 :           0 :           case CEIL_DIV_EXPR:
    6458                 :           0 :             {
    6459                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6460                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6461                 :           0 :               if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    6462                 :             :                 {
    6463                 :           0 :                   switch (TREE_CODE (_p1))
    6464                 :             :                     {
    6465                 :           0 :                     case CEIL_MOD_EXPR:
    6466                 :           0 :                       {
    6467                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    6468                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    6469                 :           0 :                         if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    6470                 :             :                           {
    6471                 :           0 :                             if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    6472                 :             :                               {
    6473                 :           0 :                                 {
    6474                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    6475                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR);
    6476                 :           0 :                                   if (res) return res;
    6477                 :             :                                 }
    6478                 :             :                               }
    6479                 :             :                           }
    6480                 :             :                         break;
    6481                 :             :                       }
    6482                 :             :                     default:;
    6483                 :             :                     }
    6484                 :             :                 }
    6485                 :             :               break;
    6486                 :             :             }
    6487                 :           0 :           case FLOOR_DIV_EXPR:
    6488                 :           0 :             {
    6489                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6490                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6491                 :           0 :               if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    6492                 :             :                 {
    6493                 :           0 :                   switch (TREE_CODE (_p1))
    6494                 :             :                     {
    6495                 :           0 :                     case FLOOR_MOD_EXPR:
    6496                 :           0 :                       {
    6497                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    6498                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    6499                 :           0 :                         if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    6500                 :             :                           {
    6501                 :           0 :                             if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    6502                 :             :                               {
    6503                 :           0 :                                 {
    6504                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    6505                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR);
    6506                 :           0 :                                   if (res) return res;
    6507                 :             :                                 }
    6508                 :             :                               }
    6509                 :             :                           }
    6510                 :             :                         break;
    6511                 :             :                       }
    6512                 :             :                     default:;
    6513                 :             :                     }
    6514                 :             :                 }
    6515                 :             :               break;
    6516                 :             :             }
    6517                 :           0 :           case ROUND_DIV_EXPR:
    6518                 :           0 :             {
    6519                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6520                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6521                 :           0 :               if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    6522                 :             :                 {
    6523                 :           0 :                   switch (TREE_CODE (_p1))
    6524                 :             :                     {
    6525                 :           0 :                     case ROUND_MOD_EXPR:
    6526                 :           0 :                       {
    6527                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    6528                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    6529                 :           0 :                         if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    6530                 :             :                           {
    6531                 :           0 :                             if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    6532                 :             :                               {
    6533                 :           0 :                                 {
    6534                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    6535                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR);
    6536                 :           0 :                                   if (res) return res;
    6537                 :             :                                 }
    6538                 :             :                               }
    6539                 :             :                           }
    6540                 :             :                         break;
    6541                 :             :                       }
    6542                 :             :                     default:;
    6543                 :             :                     }
    6544                 :             :                 }
    6545                 :             :               break;
    6546                 :             :             }
    6547                 :    10824754 :           default:;
    6548                 :             :           }
    6549                 :    10824754 :         switch (TREE_CODE (_q21))
    6550                 :             :           {
    6551                 :           5 :           case TRUNC_DIV_EXPR:
    6552                 :           5 :             {
    6553                 :           5 :               tree _q40 = TREE_OPERAND (_q21, 0);
    6554                 :           5 :               tree _q41 = TREE_OPERAND (_q21, 1);
    6555                 :           5 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    6556                 :             :                 {
    6557                 :           0 :                   switch (TREE_CODE (_p1))
    6558                 :             :                     {
    6559                 :           0 :                     case TRUNC_MOD_EXPR:
    6560                 :           0 :                       {
    6561                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    6562                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    6563                 :           0 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    6564                 :             :                           {
    6565                 :           0 :                             if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    6566                 :             :                               {
    6567                 :           0 :                                 {
    6568                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    6569                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR);
    6570                 :           0 :                                   if (res) return res;
    6571                 :             :                                 }
    6572                 :             :                               }
    6573                 :             :                           }
    6574                 :             :                         break;
    6575                 :             :                       }
    6576                 :             :                     default:;
    6577                 :             :                     }
    6578                 :             :                 }
    6579                 :             :               break;
    6580                 :             :             }
    6581                 :           4 :           case CEIL_DIV_EXPR:
    6582                 :           4 :             {
    6583                 :           4 :               tree _q40 = TREE_OPERAND (_q21, 0);
    6584                 :           4 :               tree _q41 = TREE_OPERAND (_q21, 1);
    6585                 :           4 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    6586                 :             :                 {
    6587                 :           0 :                   switch (TREE_CODE (_p1))
    6588                 :             :                     {
    6589                 :           0 :                     case CEIL_MOD_EXPR:
    6590                 :           0 :                       {
    6591                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    6592                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    6593                 :           0 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    6594                 :             :                           {
    6595                 :           0 :                             if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    6596                 :             :                               {
    6597                 :           0 :                                 {
    6598                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    6599                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR);
    6600                 :           0 :                                   if (res) return res;
    6601                 :             :                                 }
    6602                 :             :                               }
    6603                 :             :                           }
    6604                 :             :                         break;
    6605                 :             :                       }
    6606                 :             :                     default:;
    6607                 :             :                     }
    6608                 :             :                 }
    6609                 :             :               break;
    6610                 :             :             }
    6611                 :           0 :           case FLOOR_DIV_EXPR:
    6612                 :           0 :             {
    6613                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
    6614                 :           0 :               tree _q41 = TREE_OPERAND (_q21, 1);
    6615                 :           0 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    6616                 :             :                 {
    6617                 :           0 :                   switch (TREE_CODE (_p1))
    6618                 :             :                     {
    6619                 :           0 :                     case FLOOR_MOD_EXPR:
    6620                 :           0 :                       {
    6621                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    6622                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    6623                 :           0 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    6624                 :             :                           {
    6625                 :           0 :                             if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    6626                 :             :                               {
    6627                 :           0 :                                 {
    6628                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    6629                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR);
    6630                 :           0 :                                   if (res) return res;
    6631                 :             :                                 }
    6632                 :             :                               }
    6633                 :             :                           }
    6634                 :             :                         break;
    6635                 :             :                       }
    6636                 :             :                     default:;
    6637                 :             :                     }
    6638                 :             :                 }
    6639                 :             :               break;
    6640                 :             :             }
    6641                 :           0 :           case ROUND_DIV_EXPR:
    6642                 :           0 :             {
    6643                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
    6644                 :           0 :               tree _q41 = TREE_OPERAND (_q21, 1);
    6645                 :           0 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    6646                 :             :                 {
    6647                 :           0 :                   switch (TREE_CODE (_p1))
    6648                 :             :                     {
    6649                 :           0 :                     case ROUND_MOD_EXPR:
    6650                 :           0 :                       {
    6651                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    6652                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    6653                 :           0 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    6654                 :             :                           {
    6655                 :           0 :                             if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    6656                 :             :                               {
    6657                 :           0 :                                 {
    6658                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    6659                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR);
    6660                 :           0 :                                   if (res) return res;
    6661                 :             :                                 }
    6662                 :             :                               }
    6663                 :             :                           }
    6664                 :             :                         break;
    6665                 :             :                       }
    6666                 :             :                     default:;
    6667                 :             :                     }
    6668                 :             :                 }
    6669                 :             :               break;
    6670                 :             :             }
    6671                 :             :           default:;
    6672                 :             :           }
    6673                 :             :         break;
    6674                 :             :       }
    6675                 :       10630 :     case TRUNC_MOD_EXPR:
    6676                 :       10630 :       {
    6677                 :       10630 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6678                 :       10630 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6679                 :       10630 :         switch (TREE_CODE (_p1))
    6680                 :             :           {
    6681                 :         119 :           case MULT_EXPR:
    6682                 :         119 :             {
    6683                 :         119 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6684                 :         119 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6685                 :         119 :               switch (TREE_CODE (_q50))
    6686                 :             :                 {
    6687                 :         106 :                 case TRUNC_DIV_EXPR:
    6688                 :         106 :                   {
    6689                 :         106 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    6690                 :         106 :                     tree _q61 = TREE_OPERAND (_q50, 1);
    6691                 :         106 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    6692                 :             :                       {
    6693                 :         106 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    6694                 :             :                           {
    6695                 :          94 :                             if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6696                 :             :                               {
    6697                 :           0 :                                 {
    6698                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6699                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR);
    6700                 :           0 :                                   if (res) return res;
    6701                 :             :                                 }
    6702                 :             :                               }
    6703                 :             :                           }
    6704                 :             :                       }
    6705                 :             :                     break;
    6706                 :             :                   }
    6707                 :         119 :                 default:;
    6708                 :             :                 }
    6709                 :         119 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6710                 :             :                 {
    6711                 :           0 :                   switch (TREE_CODE (_q51))
    6712                 :             :                     {
    6713                 :           0 :                     case TRUNC_DIV_EXPR:
    6714                 :           0 :                       {
    6715                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    6716                 :           0 :                         tree _q71 = TREE_OPERAND (_q51, 1);
    6717                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    6718                 :             :                           {
    6719                 :           0 :                             if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
    6720                 :             :                               {
    6721                 :           0 :                                 {
    6722                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6723                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR);
    6724                 :           0 :                                   if (res) return res;
    6725                 :             :                                 }
    6726                 :             :                               }
    6727                 :             :                           }
    6728                 :             :                         break;
    6729                 :             :                       }
    6730                 :             :                     default:;
    6731                 :             :                     }
    6732                 :             :                 }
    6733                 :             :               break;
    6734                 :             :             }
    6735                 :             :           default:;
    6736                 :             :           }
    6737                 :             :         break;
    6738                 :             :       }
    6739                 :           0 :     case CEIL_MOD_EXPR:
    6740                 :           0 :       {
    6741                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6742                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6743                 :           0 :         switch (TREE_CODE (_p1))
    6744                 :             :           {
    6745                 :           0 :           case MULT_EXPR:
    6746                 :           0 :             {
    6747                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6748                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6749                 :           0 :               switch (TREE_CODE (_q50))
    6750                 :             :                 {
    6751                 :           0 :                 case CEIL_DIV_EXPR:
    6752                 :           0 :                   {
    6753                 :           0 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    6754                 :           0 :                     tree _q61 = TREE_OPERAND (_q50, 1);
    6755                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    6756                 :             :                       {
    6757                 :           0 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    6758                 :             :                           {
    6759                 :           0 :                             if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6760                 :             :                               {
    6761                 :           0 :                                 {
    6762                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6763                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR);
    6764                 :           0 :                                   if (res) return res;
    6765                 :             :                                 }
    6766                 :             :                               }
    6767                 :             :                           }
    6768                 :             :                       }
    6769                 :             :                     break;
    6770                 :             :                   }
    6771                 :           0 :                 default:;
    6772                 :             :                 }
    6773                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6774                 :             :                 {
    6775                 :           0 :                   switch (TREE_CODE (_q51))
    6776                 :             :                     {
    6777                 :           0 :                     case CEIL_DIV_EXPR:
    6778                 :           0 :                       {
    6779                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    6780                 :           0 :                         tree _q71 = TREE_OPERAND (_q51, 1);
    6781                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    6782                 :             :                           {
    6783                 :           0 :                             if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
    6784                 :             :                               {
    6785                 :           0 :                                 {
    6786                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6787                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR);
    6788                 :           0 :                                   if (res) return res;
    6789                 :             :                                 }
    6790                 :             :                               }
    6791                 :             :                           }
    6792                 :             :                         break;
    6793                 :             :                       }
    6794                 :             :                     default:;
    6795                 :             :                     }
    6796                 :             :                 }
    6797                 :             :               break;
    6798                 :             :             }
    6799                 :             :           default:;
    6800                 :             :           }
    6801                 :             :         break;
    6802                 :             :       }
    6803                 :         118 :     case FLOOR_MOD_EXPR:
    6804                 :         118 :       {
    6805                 :         118 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6806                 :         118 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6807                 :         118 :         switch (TREE_CODE (_p1))
    6808                 :             :           {
    6809                 :           0 :           case MULT_EXPR:
    6810                 :           0 :             {
    6811                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6812                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6813                 :           0 :               switch (TREE_CODE (_q50))
    6814                 :             :                 {
    6815                 :           0 :                 case FLOOR_DIV_EXPR:
    6816                 :           0 :                   {
    6817                 :           0 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    6818                 :           0 :                     tree _q61 = TREE_OPERAND (_q50, 1);
    6819                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    6820                 :             :                       {
    6821                 :           0 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    6822                 :             :                           {
    6823                 :           0 :                             if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6824                 :             :                               {
    6825                 :           0 :                                 {
    6826                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6827                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR);
    6828                 :           0 :                                   if (res) return res;
    6829                 :             :                                 }
    6830                 :             :                               }
    6831                 :             :                           }
    6832                 :             :                       }
    6833                 :             :                     break;
    6834                 :             :                   }
    6835                 :           0 :                 default:;
    6836                 :             :                 }
    6837                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6838                 :             :                 {
    6839                 :           0 :                   switch (TREE_CODE (_q51))
    6840                 :             :                     {
    6841                 :           0 :                     case FLOOR_DIV_EXPR:
    6842                 :           0 :                       {
    6843                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    6844                 :           0 :                         tree _q71 = TREE_OPERAND (_q51, 1);
    6845                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    6846                 :             :                           {
    6847                 :           0 :                             if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
    6848                 :             :                               {
    6849                 :           0 :                                 {
    6850                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6851                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR);
    6852                 :           0 :                                   if (res) return res;
    6853                 :             :                                 }
    6854                 :             :                               }
    6855                 :             :                           }
    6856                 :             :                         break;
    6857                 :             :                       }
    6858                 :             :                     default:;
    6859                 :             :                     }
    6860                 :             :                 }
    6861                 :             :               break;
    6862                 :             :             }
    6863                 :             :           default:;
    6864                 :             :           }
    6865                 :             :         break;
    6866                 :             :       }
    6867                 :           0 :     case ROUND_MOD_EXPR:
    6868                 :           0 :       {
    6869                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6870                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6871                 :           0 :         switch (TREE_CODE (_p1))
    6872                 :             :           {
    6873                 :           0 :           case MULT_EXPR:
    6874                 :           0 :             {
    6875                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6876                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6877                 :           0 :               switch (TREE_CODE (_q50))
    6878                 :             :                 {
    6879                 :           0 :                 case ROUND_DIV_EXPR:
    6880                 :           0 :                   {
    6881                 :           0 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    6882                 :           0 :                     tree _q61 = TREE_OPERAND (_q50, 1);
    6883                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    6884                 :             :                       {
    6885                 :           0 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    6886                 :             :                           {
    6887                 :           0 :                             if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6888                 :             :                               {
    6889                 :           0 :                                 {
    6890                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6891                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR);
    6892                 :           0 :                                   if (res) return res;
    6893                 :             :                                 }
    6894                 :             :                               }
    6895                 :             :                           }
    6896                 :             :                       }
    6897                 :             :                     break;
    6898                 :             :                   }
    6899                 :           0 :                 default:;
    6900                 :             :                 }
    6901                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6902                 :             :                 {
    6903                 :           0 :                   switch (TREE_CODE (_q51))
    6904                 :             :                     {
    6905                 :           0 :                     case ROUND_DIV_EXPR:
    6906                 :           0 :                       {
    6907                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    6908                 :           0 :                         tree _q71 = TREE_OPERAND (_q51, 1);
    6909                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    6910                 :             :                           {
    6911                 :           0 :                             if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
    6912                 :             :                               {
    6913                 :           0 :                                 {
    6914                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6915                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR);
    6916                 :           0 :                                   if (res) return res;
    6917                 :             :                                 }
    6918                 :             :                               }
    6919                 :             :                           }
    6920                 :             :                         break;
    6921                 :             :                       }
    6922                 :             :                     default:;
    6923                 :             :                     }
    6924                 :             :                 }
    6925                 :             :               break;
    6926                 :             :             }
    6927                 :             :           default:;
    6928                 :             :           }
    6929                 :             :         break;
    6930                 :             :       }
    6931                 :    62731602 :     default:;
    6932                 :             :     }
    6933                 :    62731602 :   switch (TREE_CODE (_p1))
    6934                 :             :     {
    6935                 :     3326918 :     case REAL_CST:
    6936                 :     3326918 :       {
    6937                 :     3326918 :         {
    6938                 :     3326918 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    6939                 :     3326918 :           if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[1]))
    6940                 :             : )
    6941                 :             :             {
    6942                 :      123356 :               {
    6943                 :      123356 :  tree tem = const_unop (NEGATE_EXPR, type, captures[1]);
    6944                 :      123356 :                   if (!TREE_OVERFLOW (tem) || !flag_trapping_math
    6945                 :             : )
    6946                 :             :                     {
    6947                 :      123356 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1134;
    6948                 :      123356 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1134;
    6949                 :      123356 :                       {
    6950                 :      123356 :                         tree res_op0;
    6951                 :      123356 :                         res_op0 = captures[0];
    6952                 :      123356 :                         tree res_op1;
    6953                 :      123356 :                         res_op1 =  tem;
    6954                 :      123356 :                         tree _r;
    6955                 :      123356 :                         _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    6956                 :      123356 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 854, __FILE__, __LINE__, true);
    6957                 :      123356 :                         return _r;
    6958                 :             :                       }
    6959                 :     3203562 : next_after_fail1134:;
    6960                 :             :                     }
    6961                 :             :               }
    6962                 :             :             }
    6963                 :             :         }
    6964                 :     3203562 :         break;
    6965                 :             :       }
    6966                 :    62608246 :     default:;
    6967                 :             :     }
    6968                 :    62608246 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6969                 :             :     {
    6970                 :     1595889 :       {
    6971                 :     1595889 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6972                 :     1595889 :         if (SCALAR_FLOAT_TYPE_P (type)
    6973                 :             : )
    6974                 :             :           {
    6975                 :         691 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1135;
    6976                 :         691 :             {
    6977                 :         691 :               tree res_op0;
    6978                 :         691 :               res_op0 = captures[0];
    6979                 :         691 :               tree res_op1;
    6980                 :         691 :               res_op1 =  build_real (type, dconst2);
    6981                 :         691 :               tree _r;
    6982                 :         691 :               _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    6983                 :         691 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 855, __FILE__, __LINE__, true);
    6984                 :         691 :               return _r;
    6985                 :             :             }
    6986                 :           0 : next_after_fail1135:;
    6987                 :             :           }
    6988                 :             :         else
    6989                 :             :           {
    6990                 :     1595198 :             if (INTEGRAL_TYPE_P (type)
    6991                 :             : )
    6992                 :             :               {
    6993                 :     1595148 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1136;
    6994                 :     1595148 :                 {
    6995                 :     1595148 :                   tree res_op0;
    6996                 :     1595148 :                   res_op0 = captures[0];
    6997                 :     1595148 :                   tree res_op1;
    6998                 :     1595148 :                   res_op1 =  build_int_cst (type, 2);
    6999                 :     1595148 :                   tree _r;
    7000                 :     1595148 :                   _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    7001                 :     1595148 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 856, __FILE__, __LINE__, true);
    7002                 :     1595148 :                   return _r;
    7003                 :             :                 }
    7004                 :           0 : next_after_fail1136:;
    7005                 :             :               }
    7006                 :             :           }
    7007                 :             :       }
    7008                 :             :     }
    7009                 :    61012407 :   switch (TREE_CODE (_p0))
    7010                 :             :     {
    7011                 :         144 :     case VEC_COND_EXPR:
    7012                 :         144 :       {
    7013                 :         144 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7014                 :         144 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7015                 :         144 :         tree _q22 = TREE_OPERAND (_p0, 2);
    7016                 :         144 :         switch (TREE_CODE (_p1))
    7017                 :             :           {
    7018                 :          48 :           case VEC_COND_EXPR:
    7019                 :          48 :             {
    7020                 :          48 :               tree _q60 = TREE_OPERAND (_p1, 0);
    7021                 :          48 :               tree _q61 = TREE_OPERAND (_p1, 1);
    7022                 :          48 :               tree _q62 = TREE_OPERAND (_p1, 2);
    7023                 :          48 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7024                 :             :                 {
    7025                 :          24 :                   {
    7026                 :          24 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    7027                 :          24 :                     if (VECTOR_TYPE_P (type)
    7028                 :          24 :  && (TREE_CODE_CLASS (PLUS_EXPR) != tcc_comparison
    7029                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    7030                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    7031                 :             :  || (optimize_vectors_before_lowering_p ()
    7032                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    7033                 :             : )
    7034                 :             :                       {
    7035                 :          24 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1137;
    7036                 :          24 :                         {
    7037                 :          24 :                           tree res_op0;
    7038                 :          24 :                           res_op0 = captures[1];
    7039                 :          24 :                           tree res_op1;
    7040                 :          24 :                           {
    7041                 :          24 :                             tree _o1[2], _r1;
    7042                 :          24 :                             _o1[0] = captures[2];
    7043                 :          24 :                             _o1[1] = captures[5];
    7044                 :          24 :                             _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7045                 :          24 :                             if (EXPR_P (_r1))
    7046                 :           0 :                               goto next_after_fail1137;
    7047                 :          24 :                             res_op1 = _r1;
    7048                 :             :                           }
    7049                 :          24 :                           tree res_op2;
    7050                 :          24 :                           {
    7051                 :          24 :                             tree _o1[2], _r1;
    7052                 :          24 :                             _o1[0] = captures[3];
    7053                 :          24 :                             _o1[1] = captures[6];
    7054                 :          24 :                             _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7055                 :          24 :                             if (EXPR_P (_r1))
    7056                 :           0 :                               goto next_after_fail1137;
    7057                 :          24 :                             res_op2 = _r1;
    7058                 :             :                           }
    7059                 :          24 :                           tree _r;
    7060                 :          24 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7061                 :          24 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 857, __FILE__, __LINE__, true);
    7062                 :          24 :                           return _r;
    7063                 :             :                         }
    7064                 :           0 : next_after_fail1137:;
    7065                 :             :                       }
    7066                 :             :                   }
    7067                 :             :                 }
    7068                 :             :               break;
    7069                 :             :             }
    7070                 :         120 :           default:;
    7071                 :             :           }
    7072                 :         120 :         {
    7073                 :         120 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    7074                 :         120 :           if (VECTOR_TYPE_P (type)
    7075                 :         120 :  && (TREE_CODE_CLASS (PLUS_EXPR) != tcc_comparison
    7076                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    7077                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    7078                 :             :  || (optimize_vectors_before_lowering_p ()
    7079                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    7080                 :             : )
    7081                 :             :             {
    7082                 :         120 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1138;
    7083                 :         120 :               {
    7084                 :         120 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1138;
    7085                 :          26 :                 tree res_op0;
    7086                 :          26 :                 res_op0 = captures[1];
    7087                 :          26 :                 tree res_op1;
    7088                 :          26 :                 {
    7089                 :          26 :                   tree _o1[2], _r1;
    7090                 :          26 :                   _o1[0] = captures[2];
    7091                 :          26 :                   _o1[1] = unshare_expr (captures[4]);
    7092                 :          26 :                   _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7093                 :          26 :                   if (EXPR_P (_r1))
    7094                 :           0 :                     goto next_after_fail1138;
    7095                 :          26 :                   res_op1 = _r1;
    7096                 :             :                 }
    7097                 :          26 :                 tree res_op2;
    7098                 :          26 :                 {
    7099                 :          26 :                   tree _o1[2], _r1;
    7100                 :          26 :                   _o1[0] = captures[3];
    7101                 :          26 :                   _o1[1] = captures[4];
    7102                 :          26 :                   _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7103                 :          26 :                   if (EXPR_P (_r1))
    7104                 :           0 :                     goto next_after_fail1138;
    7105                 :          26 :                   res_op2 = _r1;
    7106                 :             :                 }
    7107                 :          26 :                 tree _r;
    7108                 :          26 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7109                 :          26 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 858, __FILE__, __LINE__, true);
    7110                 :          26 :                 return _r;
    7111                 :             :               }
    7112                 :          94 : next_after_fail1138:;
    7113                 :             :             }
    7114                 :             :         }
    7115                 :          94 :         if (integer_each_onep (_q21))
    7116                 :             :           {
    7117                 :           0 :             if (integer_zerop (_q22))
    7118                 :             :               {
    7119                 :           0 :                 {
    7120                 :           0 :                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _p0, _q20, _q21, _q22 };
    7121                 :           0 :                   tree res = generic_simplify_31 (loc, type, _p0, _p1, captures);
    7122                 :           0 :                   if (res) return res;
    7123                 :             :                 }
    7124                 :             :               }
    7125                 :             :           }
    7126                 :             :         break;
    7127                 :             :       }
    7128                 :    61012357 :     default:;
    7129                 :             :     }
    7130                 :    61012357 :   switch (TREE_CODE (_p1))
    7131                 :             :     {
    7132                 :          40 :     case VEC_COND_EXPR:
    7133                 :          40 :       {
    7134                 :          40 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7135                 :          40 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7136                 :          40 :         tree _q32 = TREE_OPERAND (_p1, 2);
    7137                 :          40 :         {
    7138                 :          40 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    7139                 :          40 :           if (VECTOR_TYPE_P (type)
    7140                 :          40 :  && (TREE_CODE_CLASS (PLUS_EXPR) != tcc_comparison
    7141                 :             :  || types_match (type, TREE_TYPE (captures[3]))
    7142                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
    7143                 :             :  || (optimize_vectors_before_lowering_p ()
    7144                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
    7145                 :             : )
    7146                 :             :             {
    7147                 :          40 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1139;
    7148                 :          40 :               {
    7149                 :          40 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1139;
    7150                 :           0 :                 tree res_op0;
    7151                 :           0 :                 res_op0 = captures[2];
    7152                 :           0 :                 tree res_op1;
    7153                 :           0 :                 {
    7154                 :           0 :                   tree _o1[2], _r1;
    7155                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    7156                 :           0 :                   _o1[1] = captures[3];
    7157                 :           0 :                   _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7158                 :           0 :                   if (EXPR_P (_r1))
    7159                 :           0 :                     goto next_after_fail1139;
    7160                 :           0 :                   res_op1 = _r1;
    7161                 :             :                 }
    7162                 :           0 :                 tree res_op2;
    7163                 :           0 :                 {
    7164                 :           0 :                   tree _o1[2], _r1;
    7165                 :           0 :                   _o1[0] = captures[0];
    7166                 :           0 :                   _o1[1] = captures[4];
    7167                 :           0 :                   _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7168                 :           0 :                   if (EXPR_P (_r1))
    7169                 :           0 :                     goto next_after_fail1139;
    7170                 :           0 :                   res_op2 = _r1;
    7171                 :             :                 }
    7172                 :           0 :                 tree _r;
    7173                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7174                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 859, __FILE__, __LINE__, true);
    7175                 :           0 :                 return _r;
    7176                 :             :               }
    7177                 :          40 : next_after_fail1139:;
    7178                 :             :             }
    7179                 :             :         }
    7180                 :          40 :         break;
    7181                 :             :       }
    7182                 :      303703 :     case VIEW_CONVERT_EXPR:
    7183                 :      303703 :       {
    7184                 :      303703 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7185                 :      303703 :         switch (TREE_CODE (_q30))
    7186                 :             :           {
    7187                 :           0 :           case VEC_COND_EXPR:
    7188                 :           0 :             {
    7189                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7190                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7191                 :           0 :               tree _q42 = TREE_OPERAND (_q30, 2);
    7192                 :           0 :               if (integer_each_onep (_q41))
    7193                 :             :                 {
    7194                 :           0 :                   if (integer_zerop (_q42))
    7195                 :             :                     {
    7196                 :           0 :                       {
    7197                 :           0 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42 };
    7198                 :           0 :                         tree res = generic_simplify_31 (loc, type, _p0, _p1, captures);
    7199                 :           0 :                         if (res) return res;
    7200                 :             :                       }
    7201                 :             :                     }
    7202                 :             :                 }
    7203                 :             :               break;
    7204                 :             :             }
    7205                 :             :           default:;
    7206                 :             :           }
    7207                 :             :         break;
    7208                 :             :       }
    7209                 :    61012357 :     default:;
    7210                 :             :     }
    7211                 :    61012357 :   switch (TREE_CODE (_p0))
    7212                 :             :     {
    7213                 :      299427 :     case VIEW_CONVERT_EXPR:
    7214                 :      299427 :       {
    7215                 :      299427 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7216                 :      299427 :         switch (TREE_CODE (_q20))
    7217                 :             :           {
    7218                 :           0 :           case VEC_COND_EXPR:
    7219                 :           0 :             {
    7220                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7221                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7222                 :           0 :               tree _q32 = TREE_OPERAND (_q20, 2);
    7223                 :           0 :               if (integer_each_onep (_q31))
    7224                 :             :                 {
    7225                 :           0 :                   if (integer_zerop (_q32))
    7226                 :             :                     {
    7227                 :           0 :                       {
    7228                 :           0 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q30, _q31, _q32 };
    7229                 :           0 :                         tree res = generic_simplify_31 (loc, type, _p0, _p1, captures);
    7230                 :           0 :                         if (res) return res;
    7231                 :             :                       }
    7232                 :             :                     }
    7233                 :             :                 }
    7234                 :             :               break;
    7235                 :             :             }
    7236                 :             :           default:;
    7237                 :             :           }
    7238                 :             :         break;
    7239                 :             :       }
    7240                 :    61012357 :     default:;
    7241                 :             :     }
    7242                 :    61012357 :   switch (TREE_CODE (_p1))
    7243                 :             :     {
    7244                 :          40 :     case VEC_COND_EXPR:
    7245                 :          40 :       {
    7246                 :          40 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7247                 :          40 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7248                 :          40 :         tree _q32 = TREE_OPERAND (_p1, 2);
    7249                 :          40 :         if (integer_each_onep (_q31))
    7250                 :             :           {
    7251                 :           0 :             if (integer_zerop (_q32))
    7252                 :             :               {
    7253                 :           0 :                 {
    7254                 :           0 :                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    7255                 :           0 :                   tree res = generic_simplify_31 (loc, type, _p0, _p1, captures);
    7256                 :           0 :                   if (res) return res;
    7257                 :             :                 }
    7258                 :             :               }
    7259                 :             :           }
    7260                 :             :         break;
    7261                 :             :       }
    7262                 :    61012357 :     default:;
    7263                 :             :     }
    7264                 :    61012357 :   switch (TREE_CODE (_p0))
    7265                 :             :     {
    7266                 :    17022411 :     CASE_CONVERT:
    7267                 :    17022411 :       {
    7268                 :    17022411 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7269                 :    17022411 :         switch (TREE_CODE (_q20))
    7270                 :             :           {
    7271                 :           0 :           case LT_EXPR:
    7272                 :           0 :             {
    7273                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7274                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7275                 :           0 :               if (integer_minus_onep (_p1))
    7276                 :             :                 {
    7277                 :           0 :                   {
    7278                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7279                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
    7280                 :           0 :                     if (res) return res;
    7281                 :             :                   }
    7282                 :             :                 }
    7283                 :             :               break;
    7284                 :             :             }
    7285                 :           0 :           case LE_EXPR:
    7286                 :           0 :             {
    7287                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7288                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7289                 :           0 :               if (integer_minus_onep (_p1))
    7290                 :             :                 {
    7291                 :           0 :                   {
    7292                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7293                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
    7294                 :           0 :                     if (res) return res;
    7295                 :             :                   }
    7296                 :             :                 }
    7297                 :             :               break;
    7298                 :             :             }
    7299                 :          78 :           case EQ_EXPR:
    7300                 :          78 :             {
    7301                 :          78 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7302                 :          78 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7303                 :          78 :               if (integer_minus_onep (_p1))
    7304                 :             :                 {
    7305                 :           0 :                   {
    7306                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7307                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
    7308                 :           0 :                     if (res) return res;
    7309                 :             :                   }
    7310                 :             :                 }
    7311                 :             :               break;
    7312                 :             :             }
    7313                 :         212 :           case NE_EXPR:
    7314                 :         212 :             {
    7315                 :         212 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7316                 :         212 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7317                 :         212 :               if (integer_minus_onep (_p1))
    7318                 :             :                 {
    7319                 :           0 :                   {
    7320                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7321                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
    7322                 :           0 :                     if (res) return res;
    7323                 :             :                   }
    7324                 :             :                 }
    7325                 :             :               break;
    7326                 :             :             }
    7327                 :          12 :           case GE_EXPR:
    7328                 :          12 :             {
    7329                 :          12 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7330                 :          12 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7331                 :          12 :               if (integer_minus_onep (_p1))
    7332                 :             :                 {
    7333                 :           0 :                   {
    7334                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7335                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
    7336                 :           0 :                     if (res) return res;
    7337                 :             :                   }
    7338                 :             :                 }
    7339                 :             :               break;
    7340                 :             :             }
    7341                 :           1 :           case GT_EXPR:
    7342                 :           1 :             {
    7343                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7344                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7345                 :           1 :               if (integer_minus_onep (_p1))
    7346                 :             :                 {
    7347                 :           0 :                   {
    7348                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7349                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
    7350                 :           0 :                     if (res) return res;
    7351                 :             :                   }
    7352                 :             :                 }
    7353                 :             :               break;
    7354                 :             :             }
    7355                 :           0 :           case UNORDERED_EXPR:
    7356                 :           0 :             {
    7357                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7358                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7359                 :           0 :               if (integer_minus_onep (_p1))
    7360                 :             :                 {
    7361                 :           0 :                   {
    7362                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7363                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
    7364                 :           0 :                     if (res) return res;
    7365                 :             :                   }
    7366                 :             :                 }
    7367                 :             :               break;
    7368                 :             :             }
    7369                 :           0 :           case ORDERED_EXPR:
    7370                 :           0 :             {
    7371                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7372                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7373                 :           0 :               if (integer_minus_onep (_p1))
    7374                 :             :                 {
    7375                 :           0 :                   {
    7376                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7377                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
    7378                 :           0 :                     if (res) return res;
    7379                 :             :                   }
    7380                 :             :                 }
    7381                 :             :               break;
    7382                 :             :             }
    7383                 :           0 :           case UNLT_EXPR:
    7384                 :           0 :             {
    7385                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7386                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7387                 :           0 :               if (integer_minus_onep (_p1))
    7388                 :             :                 {
    7389                 :           0 :                   {
    7390                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7391                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
    7392                 :           0 :                     if (res) return res;
    7393                 :             :                   }
    7394                 :             :                 }
    7395                 :             :               break;
    7396                 :             :             }
    7397                 :           0 :           case UNLE_EXPR:
    7398                 :           0 :             {
    7399                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7400                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7401                 :           0 :               if (integer_minus_onep (_p1))
    7402                 :             :                 {
    7403                 :           0 :                   {
    7404                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7405                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
    7406                 :           0 :                     if (res) return res;
    7407                 :             :                   }
    7408                 :             :                 }
    7409                 :             :               break;
    7410                 :             :             }
    7411                 :           0 :           case UNGT_EXPR:
    7412                 :           0 :             {
    7413                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7414                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7415                 :           0 :               if (integer_minus_onep (_p1))
    7416                 :             :                 {
    7417                 :           0 :                   {
    7418                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7419                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
    7420                 :           0 :                     if (res) return res;
    7421                 :             :                   }
    7422                 :             :                 }
    7423                 :             :               break;
    7424                 :             :             }
    7425                 :           0 :           case UNGE_EXPR:
    7426                 :           0 :             {
    7427                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7428                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7429                 :           0 :               if (integer_minus_onep (_p1))
    7430                 :             :                 {
    7431                 :           0 :                   {
    7432                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7433                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
    7434                 :           0 :                     if (res) return res;
    7435                 :             :                   }
    7436                 :             :                 }
    7437                 :             :               break;
    7438                 :             :             }
    7439                 :           0 :           case UNEQ_EXPR:
    7440                 :           0 :             {
    7441                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7442                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7443                 :           0 :               if (integer_minus_onep (_p1))
    7444                 :             :                 {
    7445                 :           0 :                   {
    7446                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7447                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
    7448                 :           0 :                     if (res) return res;
    7449                 :             :                   }
    7450                 :             :                 }
    7451                 :             :               break;
    7452                 :             :             }
    7453                 :           0 :           case LTGT_EXPR:
    7454                 :           0 :             {
    7455                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7456                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7457                 :           0 :               if (integer_minus_onep (_p1))
    7458                 :             :                 {
    7459                 :           0 :                   {
    7460                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7461                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
    7462                 :           0 :                     if (res) return res;
    7463                 :             :                   }
    7464                 :             :                 }
    7465                 :             :               break;
    7466                 :             :             }
    7467                 :             :           default:;
    7468                 :             :           }
    7469                 :             :         break;
    7470                 :             :       }
    7471                 :         155 :     case LT_EXPR:
    7472                 :         155 :       {
    7473                 :         155 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7474                 :         155 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7475                 :         155 :         if (integer_minus_onep (_p1))
    7476                 :             :           {
    7477                 :           0 :             {
    7478                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7479                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
    7480                 :           0 :               if (res) return res;
    7481                 :             :             }
    7482                 :             :           }
    7483                 :             :         break;
    7484                 :             :       }
    7485                 :          49 :     case LE_EXPR:
    7486                 :          49 :       {
    7487                 :          49 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7488                 :          49 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7489                 :          49 :         if (integer_minus_onep (_p1))
    7490                 :             :           {
    7491                 :           0 :             {
    7492                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7493                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
    7494                 :           0 :               if (res) return res;
    7495                 :             :             }
    7496                 :             :           }
    7497                 :             :         break;
    7498                 :             :       }
    7499                 :       45751 :     case EQ_EXPR:
    7500                 :       45751 :       {
    7501                 :       45751 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7502                 :       45751 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7503                 :       45751 :         if (integer_minus_onep (_p1))
    7504                 :             :           {
    7505                 :          23 :             {
    7506                 :          23 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7507                 :          23 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
    7508                 :          23 :               if (res) return res;
    7509                 :             :             }
    7510                 :             :           }
    7511                 :             :         break;
    7512                 :             :       }
    7513                 :        1670 :     case NE_EXPR:
    7514                 :        1670 :       {
    7515                 :        1670 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7516                 :        1670 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7517                 :        1670 :         if (integer_minus_onep (_p1))
    7518                 :             :           {
    7519                 :          33 :             {
    7520                 :          33 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7521                 :          33 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
    7522                 :          33 :               if (res) return res;
    7523                 :             :             }
    7524                 :             :           }
    7525                 :             :         break;
    7526                 :             :       }
    7527                 :          35 :     case GE_EXPR:
    7528                 :          35 :       {
    7529                 :          35 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7530                 :          35 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7531                 :          35 :         if (integer_minus_onep (_p1))
    7532                 :             :           {
    7533                 :           0 :             {
    7534                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7535                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
    7536                 :           0 :               if (res) return res;
    7537                 :             :             }
    7538                 :             :           }
    7539                 :             :         break;
    7540                 :             :       }
    7541                 :         103 :     case GT_EXPR:
    7542                 :         103 :       {
    7543                 :         103 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7544                 :         103 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7545                 :         103 :         if (integer_minus_onep (_p1))
    7546                 :             :           {
    7547                 :           0 :             {
    7548                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7549                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
    7550                 :           0 :               if (res) return res;
    7551                 :             :             }
    7552                 :             :           }
    7553                 :             :         break;
    7554                 :             :       }
    7555                 :           0 :     case UNORDERED_EXPR:
    7556                 :           0 :       {
    7557                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7558                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7559                 :           0 :         if (integer_minus_onep (_p1))
    7560                 :             :           {
    7561                 :           0 :             {
    7562                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7563                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
    7564                 :           0 :               if (res) return res;
    7565                 :             :             }
    7566                 :             :           }
    7567                 :             :         break;
    7568                 :             :       }
    7569                 :           0 :     case ORDERED_EXPR:
    7570                 :           0 :       {
    7571                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7572                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7573                 :           0 :         if (integer_minus_onep (_p1))
    7574                 :             :           {
    7575                 :           0 :             {
    7576                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7577                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
    7578                 :           0 :               if (res) return res;
    7579                 :             :             }
    7580                 :             :           }
    7581                 :             :         break;
    7582                 :             :       }
    7583                 :           0 :     case UNLT_EXPR:
    7584                 :           0 :       {
    7585                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7586                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7587                 :           0 :         if (integer_minus_onep (_p1))
    7588                 :             :           {
    7589                 :           0 :             {
    7590                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7591                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
    7592                 :           0 :               if (res) return res;
    7593                 :             :             }
    7594                 :             :           }
    7595                 :             :         break;
    7596                 :             :       }
    7597                 :           0 :     case UNLE_EXPR:
    7598                 :           0 :       {
    7599                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7600                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7601                 :           0 :         if (integer_minus_onep (_p1))
    7602                 :             :           {
    7603                 :           0 :             {
    7604                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7605                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
    7606                 :           0 :               if (res) return res;
    7607                 :             :             }
    7608                 :             :           }
    7609                 :             :         break;
    7610                 :             :       }
    7611                 :           0 :     case UNGT_EXPR:
    7612                 :           0 :       {
    7613                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7614                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7615                 :           0 :         if (integer_minus_onep (_p1))
    7616                 :             :           {
    7617                 :           0 :             {
    7618                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7619                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
    7620                 :           0 :               if (res) return res;
    7621                 :             :             }
    7622                 :             :           }
    7623                 :             :         break;
    7624                 :             :       }
    7625                 :           0 :     case UNGE_EXPR:
    7626                 :           0 :       {
    7627                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7628                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7629                 :           0 :         if (integer_minus_onep (_p1))
    7630                 :             :           {
    7631                 :           0 :             {
    7632                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7633                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
    7634                 :           0 :               if (res) return res;
    7635                 :             :             }
    7636                 :             :           }
    7637                 :             :         break;
    7638                 :             :       }
    7639                 :           0 :     case UNEQ_EXPR:
    7640                 :           0 :       {
    7641                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7642                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7643                 :           0 :         if (integer_minus_onep (_p1))
    7644                 :             :           {
    7645                 :           0 :             {
    7646                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7647                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
    7648                 :           0 :               if (res) return res;
    7649                 :             :             }
    7650                 :             :           }
    7651                 :             :         break;
    7652                 :             :       }
    7653                 :           0 :     case LTGT_EXPR:
    7654                 :           0 :       {
    7655                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7656                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7657                 :           0 :         if (integer_minus_onep (_p1))
    7658                 :             :           {
    7659                 :           0 :             {
    7660                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7661                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
    7662                 :           0 :               if (res) return res;
    7663                 :             :             }
    7664                 :             :           }
    7665                 :             :         break;
    7666                 :             :       }
    7667                 :      566473 :     case RDIV_EXPR:
    7668                 :      566473 :       {
    7669                 :      566473 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7670                 :      566473 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7671                 :      566473 :         switch (TREE_CODE (_p1))
    7672                 :             :           {
    7673                 :      120678 :           case RDIV_EXPR:
    7674                 :      120678 :             {
    7675                 :      120678 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7676                 :      120678 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7677                 :      120678 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7678                 :             :                 {
    7679                 :           1 :                   {
    7680                 :           1 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    7681                 :           1 :                     tree res = generic_simplify_33 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    7682                 :           1 :                     if (res) return res;
    7683                 :             :                   }
    7684                 :             :                 }
    7685                 :             :               break;
    7686                 :             :             }
    7687                 :             :           default:;
    7688                 :             :           }
    7689                 :             :         break;
    7690                 :             :       }
    7691                 :     1659725 :     case MINUS_EXPR:
    7692                 :     1659725 :       {
    7693                 :     1659725 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7694                 :     1659725 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7695                 :     1659725 :         switch (TREE_CODE (_q20))
    7696                 :             :           {
    7697                 :          41 :           case CALL_EXPR:
    7698                 :          41 :             switch (get_call_combined_fn (_q20))
    7699                 :             :               {
    7700                 :           4 :               case CFN_BUILT_IN_POPCOUNT:
    7701                 :           4 :                 if (call_expr_nargs (_q20) == 1)
    7702                 :             :     {
    7703                 :           4 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    7704                 :           4 :                     switch (TREE_CODE (_q21))
    7705                 :             :                       {
    7706                 :           4 :                       case CALL_EXPR:
    7707                 :           4 :                         switch (get_call_combined_fn (_q21))
    7708                 :             :                           {
    7709                 :           4 :                           case CFN_BUILT_IN_POPCOUNT:
    7710                 :           4 :                             if (call_expr_nargs (_q21) == 1)
    7711                 :             :     {
    7712                 :           4 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    7713                 :           4 :                                 switch (TREE_CODE (_q50))
    7714                 :             :                                   {
    7715                 :           2 :                                   case BIT_AND_EXPR:
    7716                 :           2 :                                     {
    7717                 :           2 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    7718                 :           2 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    7719                 :           2 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    7720                 :             :                                         {
    7721                 :           1 :                                           switch (TREE_CODE (_p1))
    7722                 :             :                                             {
    7723                 :           1 :                                             case CALL_EXPR:
    7724                 :           1 :                                               switch (get_call_combined_fn (_p1))
    7725                 :             :                                                 {
    7726                 :           1 :                                                 case CFN_BUILT_IN_POPCOUNT:
    7727                 :           1 :                                                   if (call_expr_nargs (_p1) == 1)
    7728                 :             :     {
    7729                 :           1 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    7730                 :           1 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    7731                 :             :                                                         {
    7732                 :           1 :                                                           {
    7733                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    7734                 :           1 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT);
    7735                 :           1 :                                                             if (res) return res;
    7736                 :             :                                                           }
    7737                 :             :                                                         }
    7738                 :             :                                                     }
    7739                 :             :                                                   break;
    7740                 :             :                                                 default:;
    7741                 :             :                                                 }
    7742                 :             :                                               break;
    7743                 :             :                                             default:;
    7744                 :             :                                             }
    7745                 :             :                                         }
    7746                 :           1 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    7747                 :             :                                         {
    7748                 :           1 :                                           switch (TREE_CODE (_p1))
    7749                 :             :                                             {
    7750                 :           1 :                                             case CALL_EXPR:
    7751                 :           1 :                                               switch (get_call_combined_fn (_p1))
    7752                 :             :                                                 {
    7753                 :           1 :                                                 case CFN_BUILT_IN_POPCOUNT:
    7754                 :           1 :                                                   if (call_expr_nargs (_p1) == 1)
    7755                 :             :     {
    7756                 :           1 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    7757                 :           1 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    7758                 :             :                                                         {
    7759                 :           1 :                                                           {
    7760                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    7761                 :           1 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT);
    7762                 :           1 :                                                             if (res) return res;
    7763                 :             :                                                           }
    7764                 :             :                                                         }
    7765                 :             :                                                     }
    7766                 :             :                                                   break;
    7767                 :             :                                                 default:;
    7768                 :             :                                                 }
    7769                 :             :                                               break;
    7770                 :             :                                             default:;
    7771                 :             :                                             }
    7772                 :             :                                         }
    7773                 :             :                                       break;
    7774                 :             :                                     }
    7775                 :           2 :                                   case BIT_IOR_EXPR:
    7776                 :           2 :                                     {
    7777                 :           2 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    7778                 :           2 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    7779                 :           2 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    7780                 :             :                                         {
    7781                 :           1 :                                           switch (TREE_CODE (_p1))
    7782                 :             :                                             {
    7783                 :           1 :                                             case CALL_EXPR:
    7784                 :           1 :                                               switch (get_call_combined_fn (_p1))
    7785                 :             :                                                 {
    7786                 :           1 :                                                 case CFN_BUILT_IN_POPCOUNT:
    7787                 :           1 :                                                   if (call_expr_nargs (_p1) == 1)
    7788                 :             :     {
    7789                 :           1 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    7790                 :           1 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    7791                 :             :                                                         {
    7792                 :           1 :                                                           {
    7793                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    7794                 :           1 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT);
    7795                 :           1 :                                                             if (res) return res;
    7796                 :             :                                                           }
    7797                 :             :                                                         }
    7798                 :             :                                                     }
    7799                 :             :                                                   break;
    7800                 :             :                                                 default:;
    7801                 :             :                                                 }
    7802                 :             :                                               break;
    7803                 :             :                                             default:;
    7804                 :             :                                             }
    7805                 :             :                                         }
    7806                 :           1 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    7807                 :             :                                         {
    7808                 :           1 :                                           switch (TREE_CODE (_p1))
    7809                 :             :                                             {
    7810                 :           1 :                                             case CALL_EXPR:
    7811                 :           1 :                                               switch (get_call_combined_fn (_p1))
    7812                 :             :                                                 {
    7813                 :           1 :                                                 case CFN_BUILT_IN_POPCOUNT:
    7814                 :           1 :                                                   if (call_expr_nargs (_p1) == 1)
    7815                 :             :     {
    7816                 :           1 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    7817                 :           1 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    7818                 :             :                                                         {
    7819                 :           1 :                                                           {
    7820                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    7821                 :           1 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT);
    7822                 :           1 :                                                             if (res) return res;
    7823                 :             :                                                           }
    7824                 :             :                                                         }
    7825                 :             :                                                     }
    7826                 :             :                                                   break;
    7827                 :             :                                                 default:;
    7828                 :             :                                                 }
    7829                 :             :                                               break;
    7830                 :             :                                             default:;
    7831                 :             :                                             }
    7832                 :             :                                         }
    7833                 :             :                                       break;
    7834                 :             :                                     }
    7835                 :             :                                   default:;
    7836                 :             :                                   }
    7837                 :             :                               }
    7838                 :             :                             break;
    7839                 :             :                           default:;
    7840                 :             :                           }
    7841                 :             :                         break;
    7842                 :             :                       default:;
    7843                 :             :                       }
    7844                 :             :                   }
    7845                 :             :                 break;
    7846                 :           0 :               case CFN_BUILT_IN_POPCOUNTLL:
    7847                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    7848                 :             :     {
    7849                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    7850                 :           0 :                     switch (TREE_CODE (_q21))
    7851                 :             :                       {
    7852                 :           0 :                       case CALL_EXPR:
    7853                 :           0 :                         switch (get_call_combined_fn (_q21))
    7854                 :             :                           {
    7855                 :           0 :                           case CFN_BUILT_IN_POPCOUNTLL:
    7856                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    7857                 :             :     {
    7858                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    7859                 :           0 :                                 switch (TREE_CODE (_q50))
    7860                 :             :                                   {
    7861                 :           0 :                                   case BIT_AND_EXPR:
    7862                 :           0 :                                     {
    7863                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    7864                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    7865                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    7866                 :             :                                         {
    7867                 :           0 :                                           switch (TREE_CODE (_p1))
    7868                 :             :                                             {
    7869                 :           0 :                                             case CALL_EXPR:
    7870                 :           0 :                                               switch (get_call_combined_fn (_p1))
    7871                 :             :                                                 {
    7872                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
    7873                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    7874                 :             :     {
    7875                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    7876                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    7877                 :             :                                                         {
    7878                 :           0 :                                                           {
    7879                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    7880                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    7881                 :           0 :                                                             if (res) return res;
    7882                 :             :                                                           }
    7883                 :             :                                                         }
    7884                 :             :                                                     }
    7885                 :             :                                                   break;
    7886                 :             :                                                 default:;
    7887                 :             :                                                 }
    7888                 :             :                                               break;
    7889                 :             :                                             default:;
    7890                 :             :                                             }
    7891                 :             :                                         }
    7892                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    7893                 :             :                                         {
    7894                 :           0 :                                           switch (TREE_CODE (_p1))
    7895                 :             :                                             {
    7896                 :           0 :                                             case CALL_EXPR:
    7897                 :           0 :                                               switch (get_call_combined_fn (_p1))
    7898                 :             :                                                 {
    7899                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
    7900                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    7901                 :             :     {
    7902                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    7903                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    7904                 :             :                                                         {
    7905                 :           0 :                                                           {
    7906                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    7907                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    7908                 :           0 :                                                             if (res) return res;
    7909                 :             :                                                           }
    7910                 :             :                                                         }
    7911                 :             :                                                     }
    7912                 :             :                                                   break;
    7913                 :             :                                                 default:;
    7914                 :             :                                                 }
    7915                 :             :                                               break;
    7916                 :             :                                             default:;
    7917                 :             :                                             }
    7918                 :             :                                         }
    7919                 :             :                                       break;
    7920                 :             :                                     }
    7921                 :           0 :                                   case BIT_IOR_EXPR:
    7922                 :           0 :                                     {
    7923                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    7924                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    7925                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    7926                 :             :                                         {
    7927                 :           0 :                                           switch (TREE_CODE (_p1))
    7928                 :             :                                             {
    7929                 :           0 :                                             case CALL_EXPR:
    7930                 :           0 :                                               switch (get_call_combined_fn (_p1))
    7931                 :             :                                                 {
    7932                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
    7933                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    7934                 :             :     {
    7935                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    7936                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    7937                 :             :                                                         {
    7938                 :           0 :                                                           {
    7939                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    7940                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    7941                 :           0 :                                                             if (res) return res;
    7942                 :             :                                                           }
    7943                 :             :                                                         }
    7944                 :             :                                                     }
    7945                 :             :                                                   break;
    7946                 :             :                                                 default:;
    7947                 :             :                                                 }
    7948                 :             :                                               break;
    7949                 :             :                                             default:;
    7950                 :             :                                             }
    7951                 :             :                                         }
    7952                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    7953                 :             :                                         {
    7954                 :           0 :                                           switch (TREE_CODE (_p1))
    7955                 :             :                                             {
    7956                 :           0 :                                             case CALL_EXPR:
    7957                 :           0 :                                               switch (get_call_combined_fn (_p1))
    7958                 :             :                                                 {
    7959                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
    7960                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    7961                 :             :     {
    7962                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    7963                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    7964                 :             :                                                         {
    7965                 :           0 :                                                           {
    7966                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    7967                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    7968                 :           0 :                                                             if (res) return res;
    7969                 :             :                                                           }
    7970                 :             :                                                         }
    7971                 :             :                                                     }
    7972                 :             :                                                   break;
    7973                 :             :                                                 default:;
    7974                 :             :                                                 }
    7975                 :             :                                               break;
    7976                 :             :                                             default:;
    7977                 :             :                                             }
    7978                 :             :                                         }
    7979                 :             :                                       break;
    7980                 :             :                                     }
    7981                 :             :                                   default:;
    7982                 :             :                                   }
    7983                 :             :                               }
    7984                 :             :                             break;
    7985                 :             :                           default:;
    7986                 :             :                           }
    7987                 :             :                         break;
    7988                 :             :                       default:;
    7989                 :             :                       }
    7990                 :             :                   }
    7991                 :             :                 break;
    7992                 :           0 :               case CFN_POPCOUNT:
    7993                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    7994                 :             :     {
    7995                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    7996                 :           0 :                     switch (TREE_CODE (_q21))
    7997                 :             :                       {
    7998                 :           0 :                       case CALL_EXPR:
    7999                 :           0 :                         switch (get_call_combined_fn (_q21))
    8000                 :             :                           {
    8001                 :           0 :                           case CFN_POPCOUNT:
    8002                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    8003                 :             :     {
    8004                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    8005                 :           0 :                                 switch (TREE_CODE (_q50))
    8006                 :             :                                   {
    8007                 :           0 :                                   case BIT_AND_EXPR:
    8008                 :           0 :                                     {
    8009                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    8010                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    8011                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8012                 :             :                                         {
    8013                 :           0 :                                           switch (TREE_CODE (_p1))
    8014                 :             :                                             {
    8015                 :           0 :                                             case CALL_EXPR:
    8016                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8017                 :             :                                                 {
    8018                 :           0 :                                                 case CFN_POPCOUNT:
    8019                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8020                 :             :     {
    8021                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8022                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    8023                 :             :                                                         {
    8024                 :           0 :                                                           {
    8025                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    8026                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT);
    8027                 :           0 :                                                             if (res) return res;
    8028                 :             :                                                           }
    8029                 :             :                                                         }
    8030                 :             :                                                     }
    8031                 :             :                                                   break;
    8032                 :             :                                                 default:;
    8033                 :             :                                                 }
    8034                 :             :                                               break;
    8035                 :             :                                             default:;
    8036                 :             :                                             }
    8037                 :             :                                         }
    8038                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    8039                 :             :                                         {
    8040                 :           0 :                                           switch (TREE_CODE (_p1))
    8041                 :             :                                             {
    8042                 :           0 :                                             case CALL_EXPR:
    8043                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8044                 :             :                                                 {
    8045                 :           0 :                                                 case CFN_POPCOUNT:
    8046                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8047                 :             :     {
    8048                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8049                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    8050                 :             :                                                         {
    8051                 :           0 :                                                           {
    8052                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    8053                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT);
    8054                 :           0 :                                                             if (res) return res;
    8055                 :             :                                                           }
    8056                 :             :                                                         }
    8057                 :             :                                                     }
    8058                 :             :                                                   break;
    8059                 :             :                                                 default:;
    8060                 :             :                                                 }
    8061                 :             :                                               break;
    8062                 :             :                                             default:;
    8063                 :             :                                             }
    8064                 :             :                                         }
    8065                 :             :                                       break;
    8066                 :             :                                     }
    8067                 :           0 :                                   case BIT_IOR_EXPR:
    8068                 :           0 :                                     {
    8069                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    8070                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    8071                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8072                 :             :                                         {
    8073                 :           0 :                                           switch (TREE_CODE (_p1))
    8074                 :             :                                             {
    8075                 :           0 :                                             case CALL_EXPR:
    8076                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8077                 :             :                                                 {
    8078                 :           0 :                                                 case CFN_POPCOUNT:
    8079                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8080                 :             :     {
    8081                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8082                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    8083                 :             :                                                         {
    8084                 :           0 :                                                           {
    8085                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    8086                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT);
    8087                 :           0 :                                                             if (res) return res;
    8088                 :             :                                                           }
    8089                 :             :                                                         }
    8090                 :             :                                                     }
    8091                 :             :                                                   break;
    8092                 :             :                                                 default:;
    8093                 :             :                                                 }
    8094                 :             :                                               break;
    8095                 :             :                                             default:;
    8096                 :             :                                             }
    8097                 :             :                                         }
    8098                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    8099                 :             :                                         {
    8100                 :           0 :                                           switch (TREE_CODE (_p1))
    8101                 :             :                                             {
    8102                 :           0 :                                             case CALL_EXPR:
    8103                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8104                 :             :                                                 {
    8105                 :           0 :                                                 case CFN_POPCOUNT:
    8106                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8107                 :             :     {
    8108                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8109                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    8110                 :             :                                                         {
    8111                 :           0 :                                                           {
    8112                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    8113                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT);
    8114                 :           0 :                                                             if (res) return res;
    8115                 :             :                                                           }
    8116                 :             :                                                         }
    8117                 :             :                                                     }
    8118                 :             :                                                   break;
    8119                 :             :                                                 default:;
    8120                 :             :                                                 }
    8121                 :             :                                               break;
    8122                 :             :                                             default:;
    8123                 :             :                                             }
    8124                 :             :                                         }
    8125                 :             :                                       break;
    8126                 :             :                                     }
    8127                 :             :                                   default:;
    8128                 :             :                                   }
    8129                 :             :                               }
    8130                 :             :                             break;
    8131                 :             :                           default:;
    8132                 :             :                           }
    8133                 :             :                         break;
    8134                 :             :                       default:;
    8135                 :             :                       }
    8136                 :             :                   }
    8137                 :             :                 break;
    8138                 :           0 :               case CFN_BUILT_IN_POPCOUNTIMAX:
    8139                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    8140                 :             :     {
    8141                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    8142                 :           0 :                     switch (TREE_CODE (_q21))
    8143                 :             :                       {
    8144                 :           0 :                       case CALL_EXPR:
    8145                 :           0 :                         switch (get_call_combined_fn (_q21))
    8146                 :             :                           {
    8147                 :           0 :                           case CFN_BUILT_IN_POPCOUNTIMAX:
    8148                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    8149                 :             :     {
    8150                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    8151                 :           0 :                                 switch (TREE_CODE (_q50))
    8152                 :             :                                   {
    8153                 :           0 :                                   case BIT_AND_EXPR:
    8154                 :           0 :                                     {
    8155                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    8156                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    8157                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8158                 :             :                                         {
    8159                 :           0 :                                           switch (TREE_CODE (_p1))
    8160                 :             :                                             {
    8161                 :           0 :                                             case CALL_EXPR:
    8162                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8163                 :             :                                                 {
    8164                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
    8165                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8166                 :             :     {
    8167                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8168                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    8169                 :             :                                                         {
    8170                 :           0 :                                                           {
    8171                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    8172                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    8173                 :           0 :                                                             if (res) return res;
    8174                 :             :                                                           }
    8175                 :             :                                                         }
    8176                 :             :                                                     }
    8177                 :             :                                                   break;
    8178                 :             :                                                 default:;
    8179                 :             :                                                 }
    8180                 :             :                                               break;
    8181                 :             :                                             default:;
    8182                 :             :                                             }
    8183                 :             :                                         }
    8184                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    8185                 :             :                                         {
    8186                 :           0 :                                           switch (TREE_CODE (_p1))
    8187                 :             :                                             {
    8188                 :           0 :                                             case CALL_EXPR:
    8189                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8190                 :             :                                                 {
    8191                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
    8192                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8193                 :             :     {
    8194                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8195                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    8196                 :             :                                                         {
    8197                 :           0 :                                                           {
    8198                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    8199                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    8200                 :           0 :                                                             if (res) return res;
    8201                 :             :                                                           }
    8202                 :             :                                                         }
    8203                 :             :                                                     }
    8204                 :             :                                                   break;
    8205                 :             :                                                 default:;
    8206                 :             :                                                 }
    8207                 :             :                                               break;
    8208                 :             :                                             default:;
    8209                 :             :                                             }
    8210                 :             :                                         }
    8211                 :             :                                       break;
    8212                 :             :                                     }
    8213                 :           0 :                                   case BIT_IOR_EXPR:
    8214                 :           0 :                                     {
    8215                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    8216                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    8217                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8218                 :             :                                         {
    8219                 :           0 :                                           switch (TREE_CODE (_p1))
    8220                 :             :                                             {
    8221                 :           0 :                                             case CALL_EXPR:
    8222                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8223                 :             :                                                 {
    8224                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
    8225                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8226                 :             :     {
    8227                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8228                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    8229                 :             :                                                         {
    8230                 :           0 :                                                           {
    8231                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    8232                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    8233                 :           0 :                                                             if (res) return res;
    8234                 :             :                                                           }
    8235                 :             :                                                         }
    8236                 :             :                                                     }
    8237                 :             :                                                   break;
    8238                 :             :                                                 default:;
    8239                 :             :                                                 }
    8240                 :             :                                               break;
    8241                 :             :                                             default:;
    8242                 :             :                                             }
    8243                 :             :                                         }
    8244                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    8245                 :             :                                         {
    8246                 :           0 :                                           switch (TREE_CODE (_p1))
    8247                 :             :                                             {
    8248                 :           0 :                                             case CALL_EXPR:
    8249                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8250                 :             :                                                 {
    8251                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
    8252                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8253                 :             :     {
    8254                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8255                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    8256                 :             :                                                         {
    8257                 :           0 :                                                           {
    8258                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    8259                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    8260                 :           0 :                                                             if (res) return res;
    8261                 :             :                                                           }
    8262                 :             :                                                         }
    8263                 :             :                                                     }
    8264                 :             :                                                   break;
    8265                 :             :                                                 default:;
    8266                 :             :                                                 }
    8267                 :             :                                               break;
    8268                 :             :                                             default:;
    8269                 :             :                                             }
    8270                 :             :                                         }
    8271                 :             :                                       break;
    8272                 :             :                                     }
    8273                 :             :                                   default:;
    8274                 :             :                                   }
    8275                 :             :                               }
    8276                 :             :                             break;
    8277                 :             :                           default:;
    8278                 :             :                           }
    8279                 :             :                         break;
    8280                 :             :                       default:;
    8281                 :             :                       }
    8282                 :             :                   }
    8283                 :             :                 break;
    8284                 :           0 :               case CFN_BUILT_IN_POPCOUNTL:
    8285                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    8286                 :             :     {
    8287                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    8288                 :           0 :                     switch (TREE_CODE (_q21))
    8289                 :             :                       {
    8290                 :           0 :                       case CALL_EXPR:
    8291                 :           0 :                         switch (get_call_combined_fn (_q21))
    8292                 :             :                           {
    8293                 :           0 :                           case CFN_BUILT_IN_POPCOUNTL:
    8294                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    8295                 :             :     {
    8296                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    8297                 :           0 :                                 switch (TREE_CODE (_q50))
    8298                 :             :                                   {
    8299                 :           0 :                                   case BIT_AND_EXPR:
    8300                 :           0 :                                     {
    8301                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    8302                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    8303                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8304                 :             :                                         {
    8305                 :           0 :                                           switch (TREE_CODE (_p1))
    8306                 :             :                                             {
    8307                 :           0 :                                             case CALL_EXPR:
    8308                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8309                 :             :                                                 {
    8310                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTL:
    8311                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8312                 :             :     {
    8313                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8314                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    8315                 :             :                                                         {
    8316                 :           0 :                                                           {
    8317                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    8318                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL);
    8319                 :           0 :                                                             if (res) return res;
    8320                 :             :                                                           }
    8321                 :             :                                                         }
    8322                 :             :                                                     }
    8323                 :             :                                                   break;
    8324                 :             :                                                 default:;
    8325                 :             :                                                 }
    8326                 :             :                                               break;
    8327                 :             :                                             default:;
    8328                 :             :                                             }
    8329                 :             :                                         }
    8330                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    8331                 :             :                                         {
    8332                 :           0 :                                           switch (TREE_CODE (_p1))
    8333                 :             :                                             {
    8334                 :           0 :                                             case CALL_EXPR:
    8335                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8336                 :             :                                                 {
    8337                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTL:
    8338                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8339                 :             :     {
    8340                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8341                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    8342                 :             :                                                         {
    8343                 :           0 :                                                           {
    8344                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    8345                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL);
    8346                 :           0 :                                                             if (res) return res;
    8347                 :             :                                                           }
    8348                 :             :                                                         }
    8349                 :             :                                                     }
    8350                 :             :                                                   break;
    8351                 :             :                                                 default:;
    8352                 :             :                                                 }
    8353                 :             :                                               break;
    8354                 :             :                                             default:;
    8355                 :             :                                             }
    8356                 :             :                                         }
    8357                 :             :                                       break;
    8358                 :             :                                     }
    8359                 :           0 :                                   case BIT_IOR_EXPR:
    8360                 :           0 :                                     {
    8361                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    8362                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    8363                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8364                 :             :                                         {
    8365                 :           0 :                                           switch (TREE_CODE (_p1))
    8366                 :             :                                             {
    8367                 :           0 :                                             case CALL_EXPR:
    8368                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8369                 :             :                                                 {
    8370                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTL:
    8371                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8372                 :             :     {
    8373                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8374                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    8375                 :             :                                                         {
    8376                 :           0 :                                                           {
    8377                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    8378                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL);
    8379                 :           0 :                                                             if (res) return res;
    8380                 :             :                                                           }
    8381                 :             :                                                         }
    8382                 :             :                                                     }
    8383                 :             :                                                   break;
    8384                 :             :                                                 default:;
    8385                 :             :                                                 }
    8386                 :             :                                               break;
    8387                 :             :                                             default:;
    8388                 :             :                                             }
    8389                 :             :                                         }
    8390                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    8391                 :             :                                         {
    8392                 :           0 :                                           switch (TREE_CODE (_p1))
    8393                 :             :                                             {
    8394                 :           0 :                                             case CALL_EXPR:
    8395                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8396                 :             :                                                 {
    8397                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTL:
    8398                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8399                 :             :     {
    8400                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8401                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    8402                 :             :                                                         {
    8403                 :           0 :                                                           {
    8404                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    8405                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL);
    8406                 :           0 :                                                             if (res) return res;
    8407                 :             :                                                           }
    8408                 :             :                                                         }
    8409                 :             :                                                     }
    8410                 :             :                                                   break;
    8411                 :             :                                                 default:;
    8412                 :             :                                                 }
    8413                 :             :                                               break;
    8414                 :             :                                             default:;
    8415                 :             :                                             }
    8416                 :             :                                         }
    8417                 :             :                                       break;
    8418                 :             :                                     }
    8419                 :             :                                   default:;
    8420                 :             :                                   }
    8421                 :             :                               }
    8422                 :             :                             break;
    8423                 :             :                           default:;
    8424                 :             :                           }
    8425                 :             :                         break;
    8426                 :             :                       default:;
    8427                 :             :                       }
    8428                 :             :                   }
    8429                 :             :                 break;
    8430                 :             :               default:;
    8431                 :             :               }
    8432                 :             :             break;
    8433                 :             :           default:;
    8434                 :             :           }
    8435                 :             :         break;
    8436                 :             :       }
    8437                 :           1 :     case VEC_PERM_EXPR:
    8438                 :           1 :       {
    8439                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8440                 :           1 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8441                 :           1 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8442                 :           1 :         switch (TREE_CODE (_q20))
    8443                 :             :           {
    8444                 :           0 :           case MULT_EXPR:
    8445                 :           0 :             {
    8446                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8447                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8448                 :           0 :               if (tree_vec_same_elem_p (_q31))
    8449                 :             :                 {
    8450                 :           0 :                   if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
    8451                 :             :                     {
    8452                 :           0 :                       {
    8453                 :           0 :                         tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q22, _p1 };
    8454                 :           0 :                         tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    8455                 :           0 :                         if (res) return res;
    8456                 :             :                       }
    8457                 :             :                     }
    8458                 :             :                 }
    8459                 :           0 :               if (tree_vec_same_elem_p (_q30))
    8460                 :             :                 {
    8461                 :           0 :                   if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
    8462                 :             :                     {
    8463                 :           0 :                       {
    8464                 :           0 :                         tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _q22, _p1 };
    8465                 :           0 :                         tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    8466                 :           0 :                         if (res) return res;
    8467                 :             :                       }
    8468                 :             :                     }
    8469                 :             :                 }
    8470                 :             :               break;
    8471                 :             :             }
    8472                 :           1 :           default:;
    8473                 :             :           }
    8474                 :           1 :         if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
    8475                 :             :           {
    8476                 :           0 :             switch (TREE_CODE (_p1))
    8477                 :             :               {
    8478                 :           0 :               case VEC_PERM_EXPR:
    8479                 :           0 :                 {
    8480                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    8481                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    8482                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    8483                 :           0 :                   if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
    8484                 :             :                     {
    8485                 :           0 :                       if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    8486                 :             :                         {
    8487                 :           0 :                           {
    8488                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
    8489                 :           0 :                             if (VECTOR_INTEGER_TYPE_P (type)
    8490                 :             : )
    8491                 :             :                               {
    8492                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1140;
    8493                 :           0 :                                 {
    8494                 :           0 :                                   tree res_op0;
    8495                 :           0 :                                   {
    8496                 :           0 :                                     tree _o1[2], _r1;
    8497                 :           0 :                                     _o1[0] = captures[0];
    8498                 :           0 :                                     _o1[1] = captures[2];
    8499                 :           0 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8500                 :           0 :                                     captures[3] = _r1;
    8501                 :             :                                   }
    8502                 :           0 :                                   res_op0 = unshare_expr (captures[3]);
    8503                 :           0 :                                   tree res_op1;
    8504                 :           0 :                                   res_op1 = captures[3];
    8505                 :           0 :                                   tree res_op2;
    8506                 :           0 :                                   res_op2 = captures[1];
    8507                 :           0 :                                   tree _r;
    8508                 :           0 :                                   _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
    8509                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 860, __FILE__, __LINE__, true);
    8510                 :           0 :                                   return _r;
    8511                 :             :                                 }
    8512                 :           0 : next_after_fail1140:;
    8513                 :             :                               }
    8514                 :             :                           }
    8515                 :             :                         }
    8516                 :             :                     }
    8517                 :             :                   break;
    8518                 :             :                 }
    8519                 :           0 :               default:;
    8520                 :             :               }
    8521                 :           0 :             switch (TREE_CODE (_q22))
    8522                 :             :               {
    8523                 :           0 :               case VECTOR_CST:
    8524                 :           0 :                 {
    8525                 :           0 :                   switch (TREE_CODE (_p1))
    8526                 :             :                     {
    8527                 :           0 :                     case VEC_PERM_EXPR:
    8528                 :           0 :                       {
    8529                 :           0 :                         tree _q60 = TREE_OPERAND (_p1, 0);
    8530                 :           0 :                         tree _q61 = TREE_OPERAND (_p1, 1);
    8531                 :           0 :                         tree _q62 = TREE_OPERAND (_p1, 2);
    8532                 :           0 :                         if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
    8533                 :             :                           {
    8534                 :           0 :                             if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    8535                 :             :                               {
    8536                 :           0 :                                 switch (TREE_CODE (_q62))
    8537                 :             :                                   {
    8538                 :           0 :                                   case VECTOR_CST:
    8539                 :           0 :                                     {
    8540                 :           0 :                                       {
    8541                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
    8542                 :           0 :                                         tree res = generic_simplify_39 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    8543                 :           0 :                                         if (res) return res;
    8544                 :             :                                       }
    8545                 :           0 :                                       break;
    8546                 :             :                                     }
    8547                 :             :                                   default:;
    8548                 :             :                                   }
    8549                 :             :                               }
    8550                 :             :                           }
    8551                 :             :                         break;
    8552                 :             :                       }
    8553                 :             :                     default:;
    8554                 :             :                     }
    8555                 :             :                   break;
    8556                 :             :                 }
    8557                 :             :               default:;
    8558                 :             :               }
    8559                 :             :           }
    8560                 :             :         break;
    8561                 :             :       }
    8562                 :     1199507 :     case CALL_EXPR:
    8563                 :     1199507 :       switch (get_call_combined_fn (_p0))
    8564                 :             :         {
    8565                 :           9 :         case CFN_BUILT_IN_LOG:
    8566                 :           9 :           if (call_expr_nargs (_p0) == 1)
    8567                 :             :     {
    8568                 :           9 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8569                 :           9 :               switch (TREE_CODE (_p1))
    8570                 :             :                 {
    8571                 :           0 :                 case CALL_EXPR:
    8572                 :           0 :                   switch (get_call_combined_fn (_p1))
    8573                 :             :                     {
    8574                 :           0 :                     case CFN_BUILT_IN_LOG:
    8575                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8576                 :             :     {
    8577                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8578                 :           0 :                           {
    8579                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8580                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG);
    8581                 :           0 :                             if (res) return res;
    8582                 :             :                           }
    8583                 :             :                         }
    8584                 :             :                       break;
    8585                 :             :                     default:;
    8586                 :             :                     }
    8587                 :             :                   break;
    8588                 :             :                 default:;
    8589                 :             :                 }
    8590                 :             :             }
    8591                 :             :           break;
    8592                 :         450 :         case CFN_BUILT_IN_POPCOUNT:
    8593                 :         450 :           if (call_expr_nargs (_p0) == 1)
    8594                 :             :     {
    8595                 :         450 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8596                 :         450 :               switch (TREE_CODE (_p1))
    8597                 :             :                 {
    8598                 :          22 :                 case CALL_EXPR:
    8599                 :          22 :                   switch (get_call_combined_fn (_p1))
    8600                 :             :                     {
    8601                 :          22 :                     case CFN_BUILT_IN_POPCOUNT:
    8602                 :          22 :                       if (call_expr_nargs (_p1) == 1)
    8603                 :             :     {
    8604                 :          22 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8605                 :          22 :                           {
    8606                 :          22 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8607                 :          22 :                             tree res = generic_simplify_35 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNT);
    8608                 :          22 :                             if (res) return res;
    8609                 :             :                           }
    8610                 :             :                         }
    8611                 :             :                       break;
    8612                 :             :                     default:;
    8613                 :             :                     }
    8614                 :             :                   break;
    8615                 :         449 :                 default:;
    8616                 :             :                 }
    8617                 :         449 :               switch (TREE_CODE (_q20))
    8618                 :             :                 {
    8619                 :           9 :                 case BIT_AND_EXPR:
    8620                 :           9 :                   {
    8621                 :           9 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    8622                 :           9 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    8623                 :           9 :                     switch (TREE_CODE (_p1))
    8624                 :             :                       {
    8625                 :           9 :                       case CALL_EXPR:
    8626                 :           9 :                         switch (get_call_combined_fn (_p1))
    8627                 :             :                           {
    8628                 :           9 :                           case CFN_BUILT_IN_POPCOUNT:
    8629                 :           9 :                             if (call_expr_nargs (_p1) == 1)
    8630                 :             :     {
    8631                 :           9 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    8632                 :           9 :                                 switch (TREE_CODE (_q60))
    8633                 :             :                                   {
    8634                 :           9 :                                   case BIT_IOR_EXPR:
    8635                 :           9 :                                     {
    8636                 :           9 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    8637                 :           9 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    8638                 :           9 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    8639                 :             :                                         {
    8640                 :           1 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    8641                 :             :                                             {
    8642                 :           1 :                                               {
    8643                 :           1 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    8644                 :           1 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNT);
    8645                 :           1 :                                                 if (res) return res;
    8646                 :             :                                               }
    8647                 :             :                                             }
    8648                 :             :                                         }
    8649                 :           8 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    8650                 :             :                                         {
    8651                 :           1 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    8652                 :             :                                             {
    8653                 :           1 :                                               {
    8654                 :           1 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    8655                 :           1 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNT);
    8656                 :           1 :                                                 if (res) return res;
    8657                 :             :                                               }
    8658                 :             :                                             }
    8659                 :             :                                         }
    8660                 :             :                                       break;
    8661                 :             :                                     }
    8662                 :             :                                   default:;
    8663                 :             :                                   }
    8664                 :             :                               }
    8665                 :             :                             break;
    8666                 :             :                           default:;
    8667                 :             :                           }
    8668                 :             :                         break;
    8669                 :             :                       default:;
    8670                 :             :                       }
    8671                 :             :                     break;
    8672                 :             :                   }
    8673                 :           2 :                 case BIT_IOR_EXPR:
    8674                 :           2 :                   {
    8675                 :           2 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    8676                 :           2 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    8677                 :           2 :                     switch (TREE_CODE (_p1))
    8678                 :             :                       {
    8679                 :           2 :                       case CALL_EXPR:
    8680                 :           2 :                         switch (get_call_combined_fn (_p1))
    8681                 :             :                           {
    8682                 :           2 :                           case CFN_BUILT_IN_POPCOUNT:
    8683                 :           2 :                             if (call_expr_nargs (_p1) == 1)
    8684                 :             :     {
    8685                 :           2 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    8686                 :           2 :                                 switch (TREE_CODE (_q60))
    8687                 :             :                                   {
    8688                 :           2 :                                   case BIT_AND_EXPR:
    8689                 :           2 :                                     {
    8690                 :           2 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    8691                 :           2 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    8692                 :           2 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    8693                 :             :                                         {
    8694                 :           1 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    8695                 :             :                                             {
    8696                 :           1 :                                               {
    8697                 :           1 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
    8698                 :           1 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNT);
    8699                 :           1 :                                                 if (res) return res;
    8700                 :             :                                               }
    8701                 :             :                                             }
    8702                 :             :                                         }
    8703                 :           1 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    8704                 :             :                                         {
    8705                 :           1 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    8706                 :             :                                             {
    8707                 :           1 :                                               {
    8708                 :           1 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
    8709                 :           1 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNT);
    8710                 :           1 :                                                 if (res) return res;
    8711                 :             :                                               }
    8712                 :             :                                             }
    8713                 :             :                                         }
    8714                 :             :                                       break;
    8715                 :             :                                     }
    8716                 :             :                                   default:;
    8717                 :             :                                   }
    8718                 :             :                               }
    8719                 :             :                             break;
    8720                 :             :                           default:;
    8721                 :             :                           }
    8722                 :             :                         break;
    8723                 :             :                       default:;
    8724                 :             :                       }
    8725                 :             :                     break;
    8726                 :             :                   }
    8727                 :         445 :                 default:;
    8728                 :             :                 }
    8729                 :         445 :               switch (TREE_CODE (_p1))
    8730                 :             :                 {
    8731                 :           0 :                 case MINUS_EXPR:
    8732                 :           0 :                   {
    8733                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
    8734                 :           0 :                     tree _q41 = TREE_OPERAND (_p1, 1);
    8735                 :           0 :                     switch (TREE_CODE (_q40))
    8736                 :             :                       {
    8737                 :           0 :                       case CALL_EXPR:
    8738                 :           0 :                         switch (get_call_combined_fn (_q40))
    8739                 :             :                           {
    8740                 :           0 :                           case CFN_BUILT_IN_POPCOUNT:
    8741                 :           0 :                             if (call_expr_nargs (_q40) == 1)
    8742                 :             :     {
    8743                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q40, 0);
    8744                 :           0 :                                 switch (TREE_CODE (_q41))
    8745                 :             :                                   {
    8746                 :           0 :                                   case CALL_EXPR:
    8747                 :           0 :                                     switch (get_call_combined_fn (_q41))
    8748                 :             :                                       {
    8749                 :           0 :                                       case CFN_BUILT_IN_POPCOUNT:
    8750                 :           0 :                                         if (call_expr_nargs (_q41) == 1)
    8751                 :             :     {
    8752                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_q41, 0);
    8753                 :           0 :                                             switch (TREE_CODE (_q70))
    8754                 :             :                                               {
    8755                 :           0 :                                               case BIT_AND_EXPR:
    8756                 :           0 :                                                 {
    8757                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8758                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8759                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    8760                 :             :                                                     {
    8761                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    8762                 :             :                                                         {
    8763                 :           0 :                                                           {
    8764                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    8765                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT);
    8766                 :           0 :                                                             if (res) return res;
    8767                 :             :                                                           }
    8768                 :             :                                                         }
    8769                 :             :                                                     }
    8770                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    8771                 :             :                                                     {
    8772                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    8773                 :             :                                                         {
    8774                 :           0 :                                                           {
    8775                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    8776                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT);
    8777                 :           0 :                                                             if (res) return res;
    8778                 :             :                                                           }
    8779                 :             :                                                         }
    8780                 :             :                                                     }
    8781                 :             :                                                   break;
    8782                 :             :                                                 }
    8783                 :           0 :                                               case BIT_IOR_EXPR:
    8784                 :           0 :                                                 {
    8785                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8786                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8787                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    8788                 :             :                                                     {
    8789                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    8790                 :             :                                                         {
    8791                 :           0 :                                                           {
    8792                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    8793                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT);
    8794                 :           0 :                                                             if (res) return res;
    8795                 :             :                                                           }
    8796                 :             :                                                         }
    8797                 :             :                                                     }
    8798                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    8799                 :             :                                                     {
    8800                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    8801                 :             :                                                         {
    8802                 :           0 :                                                           {
    8803                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    8804                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT);
    8805                 :           0 :                                                             if (res) return res;
    8806                 :             :                                                           }
    8807                 :             :                                                         }
    8808                 :             :                                                     }
    8809                 :             :                                                   break;
    8810                 :             :                                                 }
    8811                 :             :                                               default:;
    8812                 :             :                                               }
    8813                 :             :                                           }
    8814                 :             :                                         break;
    8815                 :             :                                       default:;
    8816                 :             :                                       }
    8817                 :             :                                     break;
    8818                 :             :                                   default:;
    8819                 :             :                                   }
    8820                 :             :                               }
    8821                 :             :                             break;
    8822                 :             :                           default:;
    8823                 :             :                           }
    8824                 :             :                         break;
    8825                 :             :                       default:;
    8826                 :             :                       }
    8827                 :             :                     break;
    8828                 :             :                   }
    8829                 :             :                 default:;
    8830                 :             :                 }
    8831                 :             :             }
    8832                 :             :           break;
    8833                 :           1 :         case CFN_BUILT_IN_LOG2:
    8834                 :           1 :           if (call_expr_nargs (_p0) == 1)
    8835                 :             :     {
    8836                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8837                 :           1 :               switch (TREE_CODE (_p1))
    8838                 :             :                 {
    8839                 :           1 :                 case CALL_EXPR:
    8840                 :           1 :                   switch (get_call_combined_fn (_p1))
    8841                 :             :                     {
    8842                 :           1 :                     case CFN_BUILT_IN_LOG2:
    8843                 :           1 :                       if (call_expr_nargs (_p1) == 1)
    8844                 :             :     {
    8845                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8846                 :           1 :                           {
    8847                 :           1 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8848                 :           1 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2);
    8849                 :           1 :                             if (res) return res;
    8850                 :             :                           }
    8851                 :             :                         }
    8852                 :             :                       break;
    8853                 :             :                     default:;
    8854                 :             :                     }
    8855                 :             :                   break;
    8856                 :             :                 default:;
    8857                 :             :                 }
    8858                 :             :             }
    8859                 :             :           break;
    8860                 :           0 :         case CFN_BUILT_IN_LOGF:
    8861                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8862                 :             :     {
    8863                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8864                 :           0 :               switch (TREE_CODE (_p1))
    8865                 :             :                 {
    8866                 :           0 :                 case CALL_EXPR:
    8867                 :           0 :                   switch (get_call_combined_fn (_p1))
    8868                 :             :                     {
    8869                 :           0 :                     case CFN_BUILT_IN_LOGF:
    8870                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8871                 :             :     {
    8872                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8873                 :           0 :                           {
    8874                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8875                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGF);
    8876                 :           0 :                             if (res) return res;
    8877                 :             :                           }
    8878                 :             :                         }
    8879                 :             :                       break;
    8880                 :             :                     default:;
    8881                 :             :                     }
    8882                 :             :                   break;
    8883                 :             :                 default:;
    8884                 :             :                 }
    8885                 :             :             }
    8886                 :             :           break;
    8887                 :           0 :         case CFN_BUILT_IN_LOGL:
    8888                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8889                 :             :     {
    8890                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8891                 :           0 :               switch (TREE_CODE (_p1))
    8892                 :             :                 {
    8893                 :           0 :                 case CALL_EXPR:
    8894                 :           0 :                   switch (get_call_combined_fn (_p1))
    8895                 :             :                     {
    8896                 :           0 :                     case CFN_BUILT_IN_LOGL:
    8897                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8898                 :             :     {
    8899                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8900                 :           0 :                           {
    8901                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8902                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGL);
    8903                 :           0 :                             if (res) return res;
    8904                 :             :                           }
    8905                 :             :                         }
    8906                 :             :                       break;
    8907                 :             :                     default:;
    8908                 :             :                     }
    8909                 :             :                   break;
    8910                 :             :                 default:;
    8911                 :             :                 }
    8912                 :             :             }
    8913                 :             :           break;
    8914                 :          26 :         case CFN_BUILT_IN_POPCOUNTLL:
    8915                 :          26 :           if (call_expr_nargs (_p0) == 1)
    8916                 :             :     {
    8917                 :          26 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8918                 :          26 :               switch (TREE_CODE (_p1))
    8919                 :             :                 {
    8920                 :          24 :                 case CALL_EXPR:
    8921                 :          24 :                   switch (get_call_combined_fn (_p1))
    8922                 :             :                     {
    8923                 :          24 :                     case CFN_BUILT_IN_POPCOUNTLL:
    8924                 :          24 :                       if (call_expr_nargs (_p1) == 1)
    8925                 :             :     {
    8926                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8927                 :          24 :                           {
    8928                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8929                 :          24 :                             tree res = generic_simplify_35 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTLL);
    8930                 :          24 :                             if (res) return res;
    8931                 :             :                           }
    8932                 :             :                         }
    8933                 :             :                       break;
    8934                 :             :                     default:;
    8935                 :             :                     }
    8936                 :             :                   break;
    8937                 :          26 :                 default:;
    8938                 :             :                 }
    8939                 :          26 :               switch (TREE_CODE (_q20))
    8940                 :             :                 {
    8941                 :           0 :                 case BIT_AND_EXPR:
    8942                 :           0 :                   {
    8943                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    8944                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    8945                 :           0 :                     switch (TREE_CODE (_p1))
    8946                 :             :                       {
    8947                 :           0 :                       case CALL_EXPR:
    8948                 :           0 :                         switch (get_call_combined_fn (_p1))
    8949                 :             :                           {
    8950                 :           0 :                           case CFN_BUILT_IN_POPCOUNTLL:
    8951                 :           0 :                             if (call_expr_nargs (_p1) == 1)
    8952                 :             :     {
    8953                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    8954                 :           0 :                                 switch (TREE_CODE (_q60))
    8955                 :             :                                   {
    8956                 :           0 :                                   case BIT_IOR_EXPR:
    8957                 :           0 :                                     {
    8958                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    8959                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    8960                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    8961                 :             :                                         {
    8962                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    8963                 :             :                                             {
    8964                 :           0 :                                               {
    8965                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    8966                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTLL);
    8967                 :           0 :                                                 if (res) return res;
    8968                 :             :                                               }
    8969                 :             :                                             }
    8970                 :             :                                         }
    8971                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    8972                 :             :                                         {
    8973                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    8974                 :             :                                             {
    8975                 :           0 :                                               {
    8976                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    8977                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTLL);
    8978                 :           0 :                                                 if (res) return res;
    8979                 :             :                                               }
    8980                 :             :                                             }
    8981                 :             :                                         }
    8982                 :             :                                       break;
    8983                 :             :                                     }
    8984                 :             :                                   default:;
    8985                 :             :                                   }
    8986                 :             :                               }
    8987                 :             :                             break;
    8988                 :             :                           default:;
    8989                 :             :                           }
    8990                 :             :                         break;
    8991                 :             :                       default:;
    8992                 :             :                       }
    8993                 :             :                     break;
    8994                 :             :                   }
    8995                 :           0 :                 case BIT_IOR_EXPR:
    8996                 :           0 :                   {
    8997                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    8998                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    8999                 :           0 :                     switch (TREE_CODE (_p1))
    9000                 :             :                       {
    9001                 :           0 :                       case CALL_EXPR:
    9002                 :           0 :                         switch (get_call_combined_fn (_p1))
    9003                 :             :                           {
    9004                 :           0 :                           case CFN_BUILT_IN_POPCOUNTLL:
    9005                 :           0 :                             if (call_expr_nargs (_p1) == 1)
    9006                 :             :     {
    9007                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    9008                 :           0 :                                 switch (TREE_CODE (_q60))
    9009                 :             :                                   {
    9010                 :           0 :                                   case BIT_AND_EXPR:
    9011                 :           0 :                                     {
    9012                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    9013                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    9014                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9015                 :             :                                         {
    9016                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9017                 :             :                                             {
    9018                 :           0 :                                               {
    9019                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
    9020                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTLL);
    9021                 :           0 :                                                 if (res) return res;
    9022                 :             :                                               }
    9023                 :             :                                             }
    9024                 :             :                                         }
    9025                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    9026                 :             :                                         {
    9027                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    9028                 :             :                                             {
    9029                 :           0 :                                               {
    9030                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
    9031                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTLL);
    9032                 :           0 :                                                 if (res) return res;
    9033                 :             :                                               }
    9034                 :             :                                             }
    9035                 :             :                                         }
    9036                 :             :                                       break;
    9037                 :             :                                     }
    9038                 :             :                                   default:;
    9039                 :             :                                   }
    9040                 :             :                               }
    9041                 :             :                             break;
    9042                 :             :                           default:;
    9043                 :             :                           }
    9044                 :             :                         break;
    9045                 :             :                       default:;
    9046                 :             :                       }
    9047                 :             :                     break;
    9048                 :             :                   }
    9049                 :          26 :                 default:;
    9050                 :             :                 }
    9051                 :          26 :               switch (TREE_CODE (_p1))
    9052                 :             :                 {
    9053                 :           0 :                 case MINUS_EXPR:
    9054                 :           0 :                   {
    9055                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
    9056                 :           0 :                     tree _q41 = TREE_OPERAND (_p1, 1);
    9057                 :           0 :                     switch (TREE_CODE (_q40))
    9058                 :             :                       {
    9059                 :           0 :                       case CALL_EXPR:
    9060                 :           0 :                         switch (get_call_combined_fn (_q40))
    9061                 :             :                           {
    9062                 :           0 :                           case CFN_BUILT_IN_POPCOUNTLL:
    9063                 :           0 :                             if (call_expr_nargs (_q40) == 1)
    9064                 :             :     {
    9065                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q40, 0);
    9066                 :           0 :                                 switch (TREE_CODE (_q41))
    9067                 :             :                                   {
    9068                 :           0 :                                   case CALL_EXPR:
    9069                 :           0 :                                     switch (get_call_combined_fn (_q41))
    9070                 :             :                                       {
    9071                 :           0 :                                       case CFN_BUILT_IN_POPCOUNTLL:
    9072                 :           0 :                                         if (call_expr_nargs (_q41) == 1)
    9073                 :             :     {
    9074                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_q41, 0);
    9075                 :           0 :                                             switch (TREE_CODE (_q70))
    9076                 :             :                                               {
    9077                 :           0 :                                               case BIT_AND_EXPR:
    9078                 :           0 :                                                 {
    9079                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    9080                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    9081                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    9082                 :             :                                                     {
    9083                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    9084                 :             :                                                         {
    9085                 :           0 :                                                           {
    9086                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9087                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    9088                 :           0 :                                                             if (res) return res;
    9089                 :             :                                                           }
    9090                 :             :                                                         }
    9091                 :             :                                                     }
    9092                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9093                 :             :                                                     {
    9094                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    9095                 :             :                                                         {
    9096                 :           0 :                                                           {
    9097                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9098                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    9099                 :           0 :                                                             if (res) return res;
    9100                 :             :                                                           }
    9101                 :             :                                                         }
    9102                 :             :                                                     }
    9103                 :             :                                                   break;
    9104                 :             :                                                 }
    9105                 :           0 :                                               case BIT_IOR_EXPR:
    9106                 :           0 :                                                 {
    9107                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    9108                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    9109                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    9110                 :             :                                                     {
    9111                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    9112                 :             :                                                         {
    9113                 :           0 :                                                           {
    9114                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9115                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    9116                 :           0 :                                                             if (res) return res;
    9117                 :             :                                                           }
    9118                 :             :                                                         }
    9119                 :             :                                                     }
    9120                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9121                 :             :                                                     {
    9122                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    9123                 :             :                                                         {
    9124                 :           0 :                                                           {
    9125                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9126                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    9127                 :           0 :                                                             if (res) return res;
    9128                 :             :                                                           }
    9129                 :             :                                                         }
    9130                 :             :                                                     }
    9131                 :             :                                                   break;
    9132                 :             :                                                 }
    9133                 :             :                                               default:;
    9134                 :             :                                               }
    9135                 :             :                                           }
    9136                 :             :                                         break;
    9137                 :             :                                       default:;
    9138                 :             :                                       }
    9139                 :             :                                     break;
    9140                 :             :                                   default:;
    9141                 :             :                                   }
    9142                 :             :                               }
    9143                 :             :                             break;
    9144                 :             :                           default:;
    9145                 :             :                           }
    9146                 :             :                         break;
    9147                 :             :                       default:;
    9148                 :             :                       }
    9149                 :             :                     break;
    9150                 :             :                   }
    9151                 :             :                 default:;
    9152                 :             :                 }
    9153                 :             :             }
    9154                 :             :           break;
    9155                 :           0 :         case CFN_BUILT_IN_LOG10F:
    9156                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9157                 :             :     {
    9158                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9159                 :           0 :               switch (TREE_CODE (_p1))
    9160                 :             :                 {
    9161                 :           0 :                 case CALL_EXPR:
    9162                 :           0 :                   switch (get_call_combined_fn (_p1))
    9163                 :             :                     {
    9164                 :           0 :                     case CFN_BUILT_IN_LOG10F:
    9165                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9166                 :             :     {
    9167                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9168                 :           0 :                           {
    9169                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9170                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10F);
    9171                 :           0 :                             if (res) return res;
    9172                 :             :                           }
    9173                 :             :                         }
    9174                 :             :                       break;
    9175                 :             :                     default:;
    9176                 :             :                     }
    9177                 :             :                   break;
    9178                 :             :                 default:;
    9179                 :             :                 }
    9180                 :             :             }
    9181                 :             :           break;
    9182                 :           0 :         case CFN_BUILT_IN_LOG10L:
    9183                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9184                 :             :     {
    9185                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9186                 :           0 :               switch (TREE_CODE (_p1))
    9187                 :             :                 {
    9188                 :           0 :                 case CALL_EXPR:
    9189                 :           0 :                   switch (get_call_combined_fn (_p1))
    9190                 :             :                     {
    9191                 :           0 :                     case CFN_BUILT_IN_LOG10L:
    9192                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9193                 :             :     {
    9194                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9195                 :           0 :                           {
    9196                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9197                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10L);
    9198                 :           0 :                             if (res) return res;
    9199                 :             :                           }
    9200                 :             :                         }
    9201                 :             :                       break;
    9202                 :             :                     default:;
    9203                 :             :                     }
    9204                 :             :                   break;
    9205                 :             :                 default:;
    9206                 :             :                 }
    9207                 :             :             }
    9208                 :             :           break;
    9209                 :           4 :         case CFN_POPCOUNT:
    9210                 :           4 :           if (call_expr_nargs (_p0) == 1)
    9211                 :             :     {
    9212                 :           4 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9213                 :           4 :               switch (TREE_CODE (_p1))
    9214                 :             :                 {
    9215                 :           1 :                 case CALL_EXPR:
    9216                 :           1 :                   switch (get_call_combined_fn (_p1))
    9217                 :             :                     {
    9218                 :           1 :                     case CFN_POPCOUNT:
    9219                 :           1 :                       if (call_expr_nargs (_p1) == 1)
    9220                 :             :     {
    9221                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9222                 :           1 :                           {
    9223                 :           1 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9224                 :           1 :                             tree res = generic_simplify_35 (loc, type, _p0, _p1, captures, CFN_POPCOUNT);
    9225                 :           1 :                             if (res) return res;
    9226                 :             :                           }
    9227                 :             :                         }
    9228                 :             :                       break;
    9229                 :             :                     default:;
    9230                 :             :                     }
    9231                 :             :                   break;
    9232                 :           4 :                 default:;
    9233                 :             :                 }
    9234                 :           4 :               switch (TREE_CODE (_q20))
    9235                 :             :                 {
    9236                 :           0 :                 case BIT_AND_EXPR:
    9237                 :           0 :                   {
    9238                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    9239                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    9240                 :           0 :                     switch (TREE_CODE (_p1))
    9241                 :             :                       {
    9242                 :           0 :                       case CALL_EXPR:
    9243                 :           0 :                         switch (get_call_combined_fn (_p1))
    9244                 :             :                           {
    9245                 :           0 :                           case CFN_POPCOUNT:
    9246                 :           0 :                             if (call_expr_nargs (_p1) == 1)
    9247                 :             :     {
    9248                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    9249                 :           0 :                                 switch (TREE_CODE (_q60))
    9250                 :             :                                   {
    9251                 :           0 :                                   case BIT_IOR_EXPR:
    9252                 :           0 :                                     {
    9253                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    9254                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    9255                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9256                 :             :                                         {
    9257                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9258                 :             :                                             {
    9259                 :           0 :                                               {
    9260                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    9261                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_POPCOUNT);
    9262                 :           0 :                                                 if (res) return res;
    9263                 :             :                                               }
    9264                 :             :                                             }
    9265                 :             :                                         }
    9266                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    9267                 :             :                                         {
    9268                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    9269                 :             :                                             {
    9270                 :           0 :                                               {
    9271                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    9272                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_POPCOUNT);
    9273                 :           0 :                                                 if (res) return res;
    9274                 :             :                                               }
    9275                 :             :                                             }
    9276                 :             :                                         }
    9277                 :             :                                       break;
    9278                 :             :                                     }
    9279                 :             :                                   default:;
    9280                 :             :                                   }
    9281                 :             :                               }
    9282                 :             :                             break;
    9283                 :             :                           default:;
    9284                 :             :                           }
    9285                 :             :                         break;
    9286                 :             :                       default:;
    9287                 :             :                       }
    9288                 :             :                     break;
    9289                 :             :                   }
    9290                 :           0 :                 case BIT_IOR_EXPR:
    9291                 :           0 :                   {
    9292                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    9293                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    9294                 :           0 :                     switch (TREE_CODE (_p1))
    9295                 :             :                       {
    9296                 :           0 :                       case CALL_EXPR:
    9297                 :           0 :                         switch (get_call_combined_fn (_p1))
    9298                 :             :                           {
    9299                 :           0 :                           case CFN_POPCOUNT:
    9300                 :           0 :                             if (call_expr_nargs (_p1) == 1)
    9301                 :             :     {
    9302                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    9303                 :           0 :                                 switch (TREE_CODE (_q60))
    9304                 :             :                                   {
    9305                 :           0 :                                   case BIT_AND_EXPR:
    9306                 :           0 :                                     {
    9307                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    9308                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    9309                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9310                 :             :                                         {
    9311                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9312                 :             :                                             {
    9313                 :           0 :                                               {
    9314                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
    9315                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_POPCOUNT);
    9316                 :           0 :                                                 if (res) return res;
    9317                 :             :                                               }
    9318                 :             :                                             }
    9319                 :             :                                         }
    9320                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    9321                 :             :                                         {
    9322                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    9323                 :             :                                             {
    9324                 :           0 :                                               {
    9325                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
    9326                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_POPCOUNT);
    9327                 :           0 :                                                 if (res) return res;
    9328                 :             :                                               }
    9329                 :             :                                             }
    9330                 :             :                                         }
    9331                 :             :                                       break;
    9332                 :             :                                     }
    9333                 :             :                                   default:;
    9334                 :             :                                   }
    9335                 :             :                               }
    9336                 :             :                             break;
    9337                 :             :                           default:;
    9338                 :             :                           }
    9339                 :             :                         break;
    9340                 :             :                       default:;
    9341                 :             :                       }
    9342                 :             :                     break;
    9343                 :             :                   }
    9344                 :           4 :                 default:;
    9345                 :             :                 }
    9346                 :           4 :               switch (TREE_CODE (_p1))
    9347                 :             :                 {
    9348                 :           0 :                 case MINUS_EXPR:
    9349                 :           0 :                   {
    9350                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
    9351                 :           0 :                     tree _q41 = TREE_OPERAND (_p1, 1);
    9352                 :           0 :                     switch (TREE_CODE (_q40))
    9353                 :             :                       {
    9354                 :           0 :                       case CALL_EXPR:
    9355                 :           0 :                         switch (get_call_combined_fn (_q40))
    9356                 :             :                           {
    9357                 :           0 :                           case CFN_POPCOUNT:
    9358                 :           0 :                             if (call_expr_nargs (_q40) == 1)
    9359                 :             :     {
    9360                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q40, 0);
    9361                 :           0 :                                 switch (TREE_CODE (_q41))
    9362                 :             :                                   {
    9363                 :           0 :                                   case CALL_EXPR:
    9364                 :           0 :                                     switch (get_call_combined_fn (_q41))
    9365                 :             :                                       {
    9366                 :           0 :                                       case CFN_POPCOUNT:
    9367                 :           0 :                                         if (call_expr_nargs (_q41) == 1)
    9368                 :             :     {
    9369                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_q41, 0);
    9370                 :           0 :                                             switch (TREE_CODE (_q70))
    9371                 :             :                                               {
    9372                 :           0 :                                               case BIT_AND_EXPR:
    9373                 :           0 :                                                 {
    9374                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    9375                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    9376                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    9377                 :             :                                                     {
    9378                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    9379                 :             :                                                         {
    9380                 :           0 :                                                           {
    9381                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9382                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT);
    9383                 :           0 :                                                             if (res) return res;
    9384                 :             :                                                           }
    9385                 :             :                                                         }
    9386                 :             :                                                     }
    9387                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9388                 :             :                                                     {
    9389                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    9390                 :             :                                                         {
    9391                 :           0 :                                                           {
    9392                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9393                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT);
    9394                 :           0 :                                                             if (res) return res;
    9395                 :             :                                                           }
    9396                 :             :                                                         }
    9397                 :             :                                                     }
    9398                 :             :                                                   break;
    9399                 :             :                                                 }
    9400                 :           0 :                                               case BIT_IOR_EXPR:
    9401                 :           0 :                                                 {
    9402                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    9403                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    9404                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    9405                 :             :                                                     {
    9406                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    9407                 :             :                                                         {
    9408                 :           0 :                                                           {
    9409                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9410                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT);
    9411                 :           0 :                                                             if (res) return res;
    9412                 :             :                                                           }
    9413                 :             :                                                         }
    9414                 :             :                                                     }
    9415                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9416                 :             :                                                     {
    9417                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    9418                 :             :                                                         {
    9419                 :           0 :                                                           {
    9420                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9421                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT);
    9422                 :           0 :                                                             if (res) return res;
    9423                 :             :                                                           }
    9424                 :             :                                                         }
    9425                 :             :                                                     }
    9426                 :             :                                                   break;
    9427                 :             :                                                 }
    9428                 :             :                                               default:;
    9429                 :             :                                               }
    9430                 :             :                                           }
    9431                 :             :                                         break;
    9432                 :             :                                       default:;
    9433                 :             :                                       }
    9434                 :             :                                     break;
    9435                 :             :                                   default:;
    9436                 :             :                                   }
    9437                 :             :                               }
    9438                 :             :                             break;
    9439                 :             :                           default:;
    9440                 :             :                           }
    9441                 :             :                         break;
    9442                 :             :                       default:;
    9443                 :             :                       }
    9444                 :             :                     break;
    9445                 :             :                   }
    9446                 :             :                 default:;
    9447                 :             :                 }
    9448                 :             :             }
    9449                 :             :           break;
    9450                 :           0 :         case CFN_LOG:
    9451                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9452                 :             :     {
    9453                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9454                 :           0 :               switch (TREE_CODE (_p1))
    9455                 :             :                 {
    9456                 :           0 :                 case CALL_EXPR:
    9457                 :           0 :                   switch (get_call_combined_fn (_p1))
    9458                 :             :                     {
    9459                 :           0 :                     case CFN_LOG:
    9460                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9461                 :             :     {
    9462                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9463                 :           0 :                           {
    9464                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9465                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_LOG);
    9466                 :           0 :                             if (res) return res;
    9467                 :             :                           }
    9468                 :             :                         }
    9469                 :             :                       break;
    9470                 :             :                     default:;
    9471                 :             :                     }
    9472                 :             :                   break;
    9473                 :             :                 default:;
    9474                 :             :                 }
    9475                 :             :             }
    9476                 :             :           break;
    9477                 :           0 :         case CFN_BUILT_IN_POPCOUNTIMAX:
    9478                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9479                 :             :     {
    9480                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9481                 :           0 :               switch (TREE_CODE (_p1))
    9482                 :             :                 {
    9483                 :           0 :                 case CALL_EXPR:
    9484                 :           0 :                   switch (get_call_combined_fn (_p1))
    9485                 :             :                     {
    9486                 :           0 :                     case CFN_BUILT_IN_POPCOUNTIMAX:
    9487                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9488                 :             :     {
    9489                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9490                 :           0 :                           {
    9491                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9492                 :           0 :                             tree res = generic_simplify_35 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTIMAX);
    9493                 :           0 :                             if (res) return res;
    9494                 :             :                           }
    9495                 :             :                         }
    9496                 :             :                       break;
    9497                 :             :                     default:;
    9498                 :             :                     }
    9499                 :             :                   break;
    9500                 :           0 :                 default:;
    9501                 :             :                 }
    9502                 :           0 :               switch (TREE_CODE (_q20))
    9503                 :             :                 {
    9504                 :           0 :                 case BIT_AND_EXPR:
    9505                 :           0 :                   {
    9506                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    9507                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    9508                 :           0 :                     switch (TREE_CODE (_p1))
    9509                 :             :                       {
    9510                 :           0 :                       case CALL_EXPR:
    9511                 :           0 :                         switch (get_call_combined_fn (_p1))
    9512                 :             :                           {
    9513                 :           0 :                           case CFN_BUILT_IN_POPCOUNTIMAX:
    9514                 :           0 :                             if (call_expr_nargs (_p1) == 1)
    9515                 :             :     {
    9516                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    9517                 :           0 :                                 switch (TREE_CODE (_q60))
    9518                 :             :                                   {
    9519                 :           0 :                                   case BIT_IOR_EXPR:
    9520                 :           0 :                                     {
    9521                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    9522                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    9523                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9524                 :             :                                         {
    9525                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9526                 :             :                                             {
    9527                 :           0 :                                               {
    9528                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    9529                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTIMAX);
    9530                 :           0 :                                                 if (res) return res;
    9531                 :             :                                               }
    9532                 :             :                                             }
    9533                 :             :                                         }
    9534                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    9535                 :             :                                         {
    9536                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    9537                 :             :                                             {
    9538                 :           0 :                                               {
    9539                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    9540                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTIMAX);
    9541                 :           0 :                                                 if (res) return res;
    9542                 :             :                                               }
    9543                 :             :                                             }
    9544                 :             :                                         }
    9545                 :             :                                       break;
    9546                 :             :                                     }
    9547                 :             :                                   default:;
    9548                 :             :                                   }
    9549                 :             :                               }
    9550                 :             :                             break;
    9551                 :             :                           default:;
    9552                 :             :                           }
    9553                 :             :                         break;
    9554                 :             :                       default:;
    9555                 :             :                       }
    9556                 :             :                     break;
    9557                 :             :                   }
    9558                 :           0 :                 case BIT_IOR_EXPR:
    9559                 :           0 :                   {
    9560                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    9561                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    9562                 :           0 :                     switch (TREE_CODE (_p1))
    9563                 :             :                       {
    9564                 :           0 :                       case CALL_EXPR:
    9565                 :           0 :                         switch (get_call_combined_fn (_p1))
    9566                 :             :                           {
    9567                 :           0 :                           case CFN_BUILT_IN_POPCOUNTIMAX:
    9568                 :           0 :                             if (call_expr_nargs (_p1) == 1)
    9569                 :             :     {
    9570                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    9571                 :           0 :                                 switch (TREE_CODE (_q60))
    9572                 :             :                                   {
    9573                 :           0 :                                   case BIT_AND_EXPR:
    9574                 :           0 :                                     {
    9575                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    9576                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    9577                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9578                 :             :                                         {
    9579                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9580                 :             :                                             {
    9581                 :           0 :                                               {
    9582                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
    9583                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTIMAX);
    9584                 :           0 :                                                 if (res) return res;
    9585                 :             :                                               }
    9586                 :             :                                             }
    9587                 :             :                                         }
    9588                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    9589                 :             :                                         {
    9590                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    9591                 :             :                                             {
    9592                 :           0 :                                               {
    9593                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
    9594                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTIMAX);
    9595                 :           0 :                                                 if (res) return res;
    9596                 :             :                                               }
    9597                 :             :                                             }
    9598                 :             :                                         }
    9599                 :             :                                       break;
    9600                 :             :                                     }
    9601                 :             :                                   default:;
    9602                 :             :                                   }
    9603                 :             :                               }
    9604                 :             :                             break;
    9605                 :             :                           default:;
    9606                 :             :                           }
    9607                 :             :                         break;
    9608                 :             :                       default:;
    9609                 :             :                       }
    9610                 :             :                     break;
    9611                 :             :                   }
    9612                 :           0 :                 default:;
    9613                 :             :                 }
    9614                 :           0 :               switch (TREE_CODE (_p1))
    9615                 :             :                 {
    9616                 :           0 :                 case MINUS_EXPR:
    9617                 :           0 :                   {
    9618                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
    9619                 :           0 :                     tree _q41 = TREE_OPERAND (_p1, 1);
    9620                 :           0 :                     switch (TREE_CODE (_q40))
    9621                 :             :                       {
    9622                 :           0 :                       case CALL_EXPR:
    9623                 :           0 :                         switch (get_call_combined_fn (_q40))
    9624                 :             :                           {
    9625                 :           0 :                           case CFN_BUILT_IN_POPCOUNTIMAX:
    9626                 :           0 :                             if (call_expr_nargs (_q40) == 1)
    9627                 :             :     {
    9628                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q40, 0);
    9629                 :           0 :                                 switch (TREE_CODE (_q41))
    9630                 :             :                                   {
    9631                 :           0 :                                   case CALL_EXPR:
    9632                 :           0 :                                     switch (get_call_combined_fn (_q41))
    9633                 :             :                                       {
    9634                 :           0 :                                       case CFN_BUILT_IN_POPCOUNTIMAX:
    9635                 :           0 :                                         if (call_expr_nargs (_q41) == 1)
    9636                 :             :     {
    9637                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_q41, 0);
    9638                 :           0 :                                             switch (TREE_CODE (_q70))
    9639                 :             :                                               {
    9640                 :           0 :                                               case BIT_AND_EXPR:
    9641                 :           0 :                                                 {
    9642                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    9643                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    9644                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    9645                 :             :                                                     {
    9646                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    9647                 :             :                                                         {
    9648                 :           0 :                                                           {
    9649                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9650                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    9651                 :           0 :                                                             if (res) return res;
    9652                 :             :                                                           }
    9653                 :             :                                                         }
    9654                 :             :                                                     }
    9655                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9656                 :             :                                                     {
    9657                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    9658                 :             :                                                         {
    9659                 :           0 :                                                           {
    9660                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9661                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    9662                 :           0 :                                                             if (res) return res;
    9663                 :             :                                                           }
    9664                 :             :                                                         }
    9665                 :             :                                                     }
    9666                 :             :                                                   break;
    9667                 :             :                                                 }
    9668                 :           0 :                                               case BIT_IOR_EXPR:
    9669                 :           0 :                                                 {
    9670                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    9671                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    9672                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    9673                 :             :                                                     {
    9674                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    9675                 :             :                                                         {
    9676                 :           0 :                                                           {
    9677                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9678                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    9679                 :           0 :                                                             if (res) return res;
    9680                 :             :                                                           }
    9681                 :             :                                                         }
    9682                 :             :                                                     }
    9683                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9684                 :             :                                                     {
    9685                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    9686                 :             :                                                         {
    9687                 :           0 :                                                           {
    9688                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9689                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    9690                 :           0 :                                                             if (res) return res;
    9691                 :             :                                                           }
    9692                 :             :                                                         }
    9693                 :             :                                                     }
    9694                 :             :                                                   break;
    9695                 :             :                                                 }
    9696                 :             :                                               default:;
    9697                 :             :                                               }
    9698                 :             :                                           }
    9699                 :             :                                         break;
    9700                 :             :                                       default:;
    9701                 :             :                                       }
    9702                 :             :                                     break;
    9703                 :             :                                   default:;
    9704                 :             :                                   }
    9705                 :             :                               }
    9706                 :             :                             break;
    9707                 :             :                           default:;
    9708                 :             :                           }
    9709                 :             :                         break;
    9710                 :             :                       default:;
    9711                 :             :                       }
    9712                 :             :                     break;
    9713                 :             :                   }
    9714                 :             :                 default:;
    9715                 :             :                 }
    9716                 :             :             }
    9717                 :             :           break;
    9718                 :           0 :         case CFN_LOG2:
    9719                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9720                 :             :     {
    9721                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9722                 :           0 :               switch (TREE_CODE (_p1))
    9723                 :             :                 {
    9724                 :           0 :                 case CALL_EXPR:
    9725                 :           0 :                   switch (get_call_combined_fn (_p1))
    9726                 :             :                     {
    9727                 :           0 :                     case CFN_LOG2:
    9728                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9729                 :             :     {
    9730                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9731                 :           0 :                           {
    9732                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9733                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_LOG2);
    9734                 :           0 :                             if (res) return res;
    9735                 :             :                           }
    9736                 :             :                         }
    9737                 :             :                       break;
    9738                 :             :                     default:;
    9739                 :             :                     }
    9740                 :             :                   break;
    9741                 :             :                 default:;
    9742                 :             :                 }
    9743                 :             :             }
    9744                 :             :           break;
    9745                 :         145 :         case CFN_BUILT_IN_POPCOUNTL:
    9746                 :         145 :           if (call_expr_nargs (_p0) == 1)
    9747                 :             :     {
    9748                 :         145 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9749                 :         145 :               switch (TREE_CODE (_p1))
    9750                 :             :                 {
    9751                 :          79 :                 case CALL_EXPR:
    9752                 :          79 :                   switch (get_call_combined_fn (_p1))
    9753                 :             :                     {
    9754                 :          79 :                     case CFN_BUILT_IN_POPCOUNTL:
    9755                 :          79 :                       if (call_expr_nargs (_p1) == 1)
    9756                 :             :     {
    9757                 :          79 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9758                 :          79 :                           {
    9759                 :          79 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9760                 :          79 :                             tree res = generic_simplify_35 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTL);
    9761                 :          79 :                             if (res) return res;
    9762                 :             :                           }
    9763                 :             :                         }
    9764                 :             :                       break;
    9765                 :             :                     default:;
    9766                 :             :                     }
    9767                 :             :                   break;
    9768                 :         145 :                 default:;
    9769                 :             :                 }
    9770                 :         145 :               switch (TREE_CODE (_q20))
    9771                 :             :                 {
    9772                 :           0 :                 case BIT_AND_EXPR:
    9773                 :           0 :                   {
    9774                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    9775                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    9776                 :           0 :                     switch (TREE_CODE (_p1))
    9777                 :             :                       {
    9778                 :           0 :                       case CALL_EXPR:
    9779                 :           0 :                         switch (get_call_combined_fn (_p1))
    9780                 :             :                           {
    9781                 :           0 :                           case CFN_BUILT_IN_POPCOUNTL:
    9782                 :           0 :                             if (call_expr_nargs (_p1) == 1)
    9783                 :             :     {
    9784                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    9785                 :           0 :                                 switch (TREE_CODE (_q60))
    9786                 :             :                                   {
    9787                 :           0 :                                   case BIT_IOR_EXPR:
    9788                 :           0 :                                     {
    9789                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    9790                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    9791                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9792                 :             :                                         {
    9793                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9794                 :             :                                             {
    9795                 :           0 :                                               {
    9796                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    9797                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTL);
    9798                 :           0 :                                                 if (res) return res;
    9799                 :             :                                               }
    9800                 :             :                                             }
    9801                 :             :                                         }
    9802                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    9803                 :             :                                         {
    9804                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    9805                 :             :                                             {
    9806                 :           0 :                                               {
    9807                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    9808                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTL);
    9809                 :           0 :                                                 if (res) return res;
    9810                 :             :                                               }
    9811                 :             :                                             }
    9812                 :             :                                         }
    9813                 :             :                                       break;
    9814                 :             :                                     }
    9815                 :             :                                   default:;
    9816                 :             :                                   }
    9817                 :             :                               }
    9818                 :             :                             break;
    9819                 :             :                           default:;
    9820                 :             :                           }
    9821                 :             :                         break;
    9822                 :             :                       default:;
    9823                 :             :                       }
    9824                 :             :                     break;
    9825                 :             :                   }
    9826                 :           0 :                 case BIT_IOR_EXPR:
    9827                 :           0 :                   {
    9828                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    9829                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    9830                 :           0 :                     switch (TREE_CODE (_p1))
    9831                 :             :                       {
    9832                 :           0 :                       case CALL_EXPR:
    9833                 :           0 :                         switch (get_call_combined_fn (_p1))
    9834                 :             :                           {
    9835                 :           0 :                           case CFN_BUILT_IN_POPCOUNTL:
    9836                 :           0 :                             if (call_expr_nargs (_p1) == 1)
    9837                 :             :     {
    9838                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    9839                 :           0 :                                 switch (TREE_CODE (_q60))
    9840                 :             :                                   {
    9841                 :           0 :                                   case BIT_AND_EXPR:
    9842                 :           0 :                                     {
    9843                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    9844                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    9845                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9846                 :             :                                         {
    9847                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9848                 :             :                                             {
    9849                 :           0 :                                               {
    9850                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
    9851                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTL);
    9852                 :           0 :                                                 if (res) return res;
    9853                 :             :                                               }
    9854                 :             :                                             }
    9855                 :             :                                         }
    9856                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    9857                 :             :                                         {
    9858                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    9859                 :             :                                             {
    9860                 :           0 :                                               {
    9861                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
    9862                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTL);
    9863                 :           0 :                                                 if (res) return res;
    9864                 :             :                                               }
    9865                 :             :                                             }
    9866                 :             :                                         }
    9867                 :             :                                       break;
    9868                 :             :                                     }
    9869                 :             :                                   default:;
    9870                 :             :                                   }
    9871                 :             :                               }
    9872                 :             :                             break;
    9873                 :             :                           default:;
    9874                 :             :                           }
    9875                 :             :                         break;
    9876                 :             :                       default:;
    9877                 :             :                       }
    9878                 :             :                     break;
    9879                 :             :                   }
    9880                 :         145 :                 default:;
    9881                 :             :                 }
    9882                 :         145 :               switch (TREE_CODE (_p1))
    9883                 :             :                 {
    9884                 :           0 :                 case MINUS_EXPR:
    9885                 :           0 :                   {
    9886                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
    9887                 :           0 :                     tree _q41 = TREE_OPERAND (_p1, 1);
    9888                 :           0 :                     switch (TREE_CODE (_q40))
    9889                 :             :                       {
    9890                 :           0 :                       case CALL_EXPR:
    9891                 :           0 :                         switch (get_call_combined_fn (_q40))
    9892                 :             :                           {
    9893                 :           0 :                           case CFN_BUILT_IN_POPCOUNTL:
    9894                 :           0 :                             if (call_expr_nargs (_q40) == 1)
    9895                 :             :     {
    9896                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q40, 0);
    9897                 :           0 :                                 switch (TREE_CODE (_q41))
    9898                 :             :                                   {
    9899                 :           0 :                                   case CALL_EXPR:
    9900                 :           0 :                                     switch (get_call_combined_fn (_q41))
    9901                 :             :                                       {
    9902                 :           0 :                                       case CFN_BUILT_IN_POPCOUNTL:
    9903                 :           0 :                                         if (call_expr_nargs (_q41) == 1)
    9904                 :             :     {
    9905                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_q41, 0);
    9906                 :           0 :                                             switch (TREE_CODE (_q70))
    9907                 :             :                                               {
    9908                 :           0 :                                               case BIT_AND_EXPR:
    9909                 :           0 :                                                 {
    9910                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    9911                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    9912                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    9913                 :             :                                                     {
    9914                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    9915                 :             :                                                         {
    9916                 :           0 :                                                           {
    9917                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9918                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL);
    9919                 :           0 :                                                             if (res) return res;
    9920                 :             :                                                           }
    9921                 :             :                                                         }
    9922                 :             :                                                     }
    9923                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9924                 :             :                                                     {
    9925                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    9926                 :             :                                                         {
    9927                 :           0 :                                                           {
    9928                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9929                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL);
    9930                 :           0 :                                                             if (res) return res;
    9931                 :             :                                                           }
    9932                 :             :                                                         }
    9933                 :             :                                                     }
    9934                 :             :                                                   break;
    9935                 :             :                                                 }
    9936                 :           0 :                                               case BIT_IOR_EXPR:
    9937                 :           0 :                                                 {
    9938                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    9939                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    9940                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    9941                 :             :                                                     {
    9942                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    9943                 :             :                                                         {
    9944                 :           0 :                                                           {
    9945                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9946                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL);
    9947                 :           0 :                                                             if (res) return res;
    9948                 :             :                                                           }
    9949                 :             :                                                         }
    9950                 :             :                                                     }
    9951                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9952                 :             :                                                     {
    9953                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    9954                 :             :                                                         {
    9955                 :           0 :                                                           {
    9956                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9957                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL);
    9958                 :           0 :                                                             if (res) return res;
    9959                 :             :                                                           }
    9960                 :             :                                                         }
    9961                 :             :                                                     }
    9962                 :             :                                                   break;
    9963                 :             :                                                 }
    9964                 :             :                                               default:;
    9965                 :             :                                               }
    9966                 :             :                                           }
    9967                 :             :                                         break;
    9968                 :             :                                       default:;
    9969                 :             :                                       }
    9970                 :             :                                     break;
    9971                 :             :                                   default:;
    9972                 :             :                                   }
    9973                 :             :                               }
    9974                 :             :                             break;
    9975                 :             :                           default:;
    9976                 :             :                           }
    9977                 :             :                         break;
    9978                 :             :                       default:;
    9979                 :             :                       }
    9980                 :             :                     break;
    9981                 :             :                   }
    9982                 :             :                 default:;
    9983                 :             :                 }
    9984                 :             :             }
    9985                 :             :           break;
    9986                 :           0 :         case CFN_LOG10:
    9987                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9988                 :             :     {
    9989                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9990                 :           0 :               switch (TREE_CODE (_p1))
    9991                 :             :                 {
    9992                 :           0 :                 case CALL_EXPR:
    9993                 :           0 :                   switch (get_call_combined_fn (_p1))
    9994                 :             :                     {
    9995                 :           0 :                     case CFN_LOG10:
    9996                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9997                 :             :     {
    9998                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9999                 :           0 :                           {
   10000                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10001                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_LOG10);
   10002                 :           0 :                             if (res) return res;
   10003                 :             :                           }
   10004                 :             :                         }
   10005                 :             :                       break;
   10006                 :             :                     default:;
   10007                 :             :                     }
   10008                 :             :                   break;
   10009                 :             :                 default:;
   10010                 :             :                 }
   10011                 :             :             }
   10012                 :             :           break;
   10013                 :           0 :         case CFN_BUILT_IN_LOG10:
   10014                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10015                 :             :     {
   10016                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10017                 :           0 :               switch (TREE_CODE (_p1))
   10018                 :             :                 {
   10019                 :           0 :                 case CALL_EXPR:
   10020                 :           0 :                   switch (get_call_combined_fn (_p1))
   10021                 :             :                     {
   10022                 :           0 :                     case CFN_BUILT_IN_LOG10:
   10023                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   10024                 :             :     {
   10025                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10026                 :           0 :                           {
   10027                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10028                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10);
   10029                 :           0 :                             if (res) return res;
   10030                 :             :                           }
   10031                 :             :                         }
   10032                 :             :                       break;
   10033                 :             :                     default:;
   10034                 :             :                     }
   10035                 :             :                   break;
   10036                 :             :                 default:;
   10037                 :             :                 }
   10038                 :             :             }
   10039                 :             :           break;
   10040                 :           0 :         case CFN_BUILT_IN_LOG2F:
   10041                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10042                 :             :     {
   10043                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10044                 :           0 :               switch (TREE_CODE (_p1))
   10045                 :             :                 {
   10046                 :           0 :                 case CALL_EXPR:
   10047                 :           0 :                   switch (get_call_combined_fn (_p1))
   10048                 :             :                     {
   10049                 :           0 :                     case CFN_BUILT_IN_LOG2F:
   10050                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   10051                 :             :     {
   10052                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10053                 :           0 :                           {
   10054                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10055                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2F);
   10056                 :           0 :                             if (res) return res;
   10057                 :             :                           }
   10058                 :             :                         }
   10059                 :             :                       break;
   10060                 :             :                     default:;
   10061                 :             :                     }
   10062                 :             :                   break;
   10063                 :             :                 default:;
   10064                 :             :                 }
   10065                 :             :             }
   10066                 :             :           break;
   10067                 :           0 :         case CFN_BUILT_IN_LOG2L:
   10068                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10069                 :             :     {
   10070                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10071                 :           0 :               switch (TREE_CODE (_p1))
   10072                 :             :                 {
   10073                 :           0 :                 case CALL_EXPR:
   10074                 :           0 :                   switch (get_call_combined_fn (_p1))
   10075                 :             :                     {
   10076                 :           0 :                     case CFN_BUILT_IN_LOG2L:
   10077                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   10078                 :             :     {
   10079                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10080                 :           0 :                           {
   10081                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10082                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2L);
   10083                 :           0 :                             if (res) return res;
   10084                 :             :                           }
   10085                 :             :                         }
   10086                 :             :                       break;
   10087                 :             :                     default:;
   10088                 :             :                     }
   10089                 :             :                   break;
   10090                 :             :                 default:;
   10091                 :             :                 }
   10092                 :             :             }
   10093                 :             :           break;
   10094                 :             :         default:;
   10095                 :             :         }
   10096                 :             :       break;
   10097                 :    61012346 :     default:;
   10098                 :             :     }
   10099                 :    61012346 :   switch (TREE_CODE (_p1))
   10100                 :             :     {
   10101                 :           0 :     case VEC_PERM_EXPR:
   10102                 :           0 :       {
   10103                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10104                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   10105                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   10106                 :           0 :         switch (TREE_CODE (_q30))
   10107                 :             :           {
   10108                 :           0 :           case MULT_EXPR:
   10109                 :           0 :             {
   10110                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
   10111                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
   10112                 :           0 :               if (tree_vec_same_elem_p (_q41))
   10113                 :             :                 {
   10114                 :           0 :                   if ((_q31 == _q30 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q30, 0) && types_match (_q31, _q30)))
   10115                 :             :                     {
   10116                 :           0 :                       {
   10117                 :           0 :                         tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q41, _q32, _p0 };
   10118                 :           0 :                         tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
   10119                 :           0 :                         if (res) return res;
   10120                 :             :                       }
   10121                 :             :                     }
   10122                 :             :                 }
   10123                 :           0 :               if (tree_vec_same_elem_p (_q40))
   10124                 :             :                 {
   10125                 :           0 :                   if ((_q31 == _q30 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q30, 0) && types_match (_q31, _q30)))
   10126                 :             :                     {
   10127                 :           0 :                       {
   10128                 :           0 :                         tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q40, _q32, _p0 };
   10129                 :           0 :                         tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
   10130                 :           0 :                         if (res) return res;
   10131                 :             :                       }
   10132                 :             :                     }
   10133                 :             :                 }
   10134                 :             :               break;
   10135                 :             :             }
   10136                 :             :           default:;
   10137                 :             :           }
   10138                 :             :         break;
   10139                 :             :       }
   10140                 :             :     default:;
   10141                 :             :     }
   10142                 :             :   return NULL_TREE;
   10143                 :             : }
   10144                 :             : 
   10145                 :             : tree
   10146                 :          85 : generic_simplify_LTGT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   10147                 :             : {
   10148                 :          85 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   10149                 :          85 :   switch (TREE_CODE (_p0))
   10150                 :             :     {
   10151                 :           0 :     case VEC_COND_EXPR:
   10152                 :           0 :       {
   10153                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10154                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10155                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   10156                 :           0 :         switch (TREE_CODE (_p1))
   10157                 :             :           {
   10158                 :           0 :           case VEC_COND_EXPR:
   10159                 :           0 :             {
   10160                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
   10161                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
   10162                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
   10163                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10164                 :             :                 {
   10165                 :           0 :                   {
   10166                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   10167                 :           0 :                     if (VECTOR_TYPE_P (type)
   10168                 :           0 :  && (TREE_CODE_CLASS (LTGT_EXPR) != tcc_comparison
   10169                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   10170                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10171                 :             :  || (optimize_vectors_before_lowering_p ()
   10172                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10173                 :             : )
   10174                 :             :                       {
   10175                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1743;
   10176                 :           0 :                         {
   10177                 :           0 :                           tree res_op0;
   10178                 :           0 :                           res_op0 = captures[1];
   10179                 :           0 :                           tree res_op1;
   10180                 :           0 :                           {
   10181                 :           0 :                             tree _o1[2], _r1;
   10182                 :           0 :                             _o1[0] = captures[2];
   10183                 :           0 :                             _o1[1] = captures[5];
   10184                 :           0 :                             _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   10185                 :           0 :                             if (EXPR_P (_r1))
   10186                 :           0 :                               goto next_after_fail1743;
   10187                 :           0 :                             res_op1 = _r1;
   10188                 :             :                           }
   10189                 :           0 :                           tree res_op2;
   10190                 :           0 :                           {
   10191                 :           0 :                             tree _o1[2], _r1;
   10192                 :           0 :                             _o1[0] = captures[3];
   10193                 :           0 :                             _o1[1] = captures[6];
   10194                 :           0 :                             _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   10195                 :           0 :                             if (EXPR_P (_r1))
   10196                 :           0 :                               goto next_after_fail1743;
   10197                 :           0 :                             res_op2 = _r1;
   10198                 :             :                           }
   10199                 :           0 :                           tree _r;
   10200                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10201                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 857, __FILE__, __LINE__, true);
   10202                 :           0 :                           return _r;
   10203                 :             :                         }
   10204                 :           0 : next_after_fail1743:;
   10205                 :             :                       }
   10206                 :             :                   }
   10207                 :             :                 }
   10208                 :             :               break;
   10209                 :             :             }
   10210                 :           0 :           default:;
   10211                 :             :           }
   10212                 :           0 :         {
   10213                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   10214                 :           0 :           if (VECTOR_TYPE_P (type)
   10215                 :           0 :  && (TREE_CODE_CLASS (LTGT_EXPR) != tcc_comparison
   10216                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   10217                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10218                 :             :  || (optimize_vectors_before_lowering_p ()
   10219                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10220                 :             : )
   10221                 :             :             {
   10222                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1744;
   10223                 :           0 :               {
   10224                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1744;
   10225                 :           0 :                 tree res_op0;
   10226                 :           0 :                 res_op0 = captures[1];
   10227                 :           0 :                 tree res_op1;
   10228                 :           0 :                 {
   10229                 :           0 :                   tree _o1[2], _r1;
   10230                 :           0 :                   _o1[0] = captures[2];
   10231                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
   10232                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   10233                 :           0 :                   if (EXPR_P (_r1))
   10234                 :           0 :                     goto next_after_fail1744;
   10235                 :           0 :                   res_op1 = _r1;
   10236                 :             :                 }
   10237                 :           0 :                 tree res_op2;
   10238                 :           0 :                 {
   10239                 :           0 :                   tree _o1[2], _r1;
   10240                 :           0 :                   _o1[0] = captures[3];
   10241                 :           0 :                   _o1[1] = captures[4];
   10242                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   10243                 :           0 :                   if (EXPR_P (_r1))
   10244                 :           0 :                     goto next_after_fail1744;
   10245                 :           0 :                   res_op2 = _r1;
   10246                 :             :                 }
   10247                 :           0 :                 tree _r;
   10248                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10249                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 858, __FILE__, __LINE__, true);
   10250                 :           0 :                 return _r;
   10251                 :             :               }
   10252                 :           0 : next_after_fail1744:;
   10253                 :             :             }
   10254                 :             :         }
   10255                 :           0 :         break;
   10256                 :             :       }
   10257                 :          85 :     default:;
   10258                 :             :     }
   10259                 :          85 :   switch (TREE_CODE (_p1))
   10260                 :             :     {
   10261                 :           0 :     case VEC_COND_EXPR:
   10262                 :           0 :       {
   10263                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10264                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   10265                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   10266                 :           0 :         {
   10267                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   10268                 :           0 :           if (VECTOR_TYPE_P (type)
   10269                 :           0 :  && (TREE_CODE_CLASS (LTGT_EXPR) != tcc_comparison
   10270                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
   10271                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   10272                 :             :  || (optimize_vectors_before_lowering_p ()
   10273                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   10274                 :             : )
   10275                 :             :             {
   10276                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1745;
   10277                 :           0 :               {
   10278                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1745;
   10279                 :           0 :                 tree res_op0;
   10280                 :           0 :                 res_op0 = captures[2];
   10281                 :           0 :                 tree res_op1;
   10282                 :           0 :                 {
   10283                 :           0 :                   tree _o1[2], _r1;
   10284                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   10285                 :           0 :                   _o1[1] = captures[3];
   10286                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   10287                 :           0 :                   if (EXPR_P (_r1))
   10288                 :           0 :                     goto next_after_fail1745;
   10289                 :           0 :                   res_op1 = _r1;
   10290                 :             :                 }
   10291                 :           0 :                 tree res_op2;
   10292                 :           0 :                 {
   10293                 :           0 :                   tree _o1[2], _r1;
   10294                 :           0 :                   _o1[0] = captures[0];
   10295                 :           0 :                   _o1[1] = captures[4];
   10296                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   10297                 :           0 :                   if (EXPR_P (_r1))
   10298                 :           0 :                     goto next_after_fail1745;
   10299                 :           0 :                   res_op2 = _r1;
   10300                 :             :                 }
   10301                 :           0 :                 tree _r;
   10302                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10303                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 859, __FILE__, __LINE__, true);
   10304                 :           0 :                 return _r;
   10305                 :             :               }
   10306                 :           0 : next_after_fail1745:;
   10307                 :             :             }
   10308                 :             :         }
   10309                 :           0 :         break;
   10310                 :             :       }
   10311                 :          85 :     default:;
   10312                 :             :     }
   10313                 :          85 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   10314                 :             :     {
   10315                 :           0 :       {
   10316                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   10317                 :           0 :         if (!flag_trapping_math || !tree_expr_maybe_nan_p (captures[0])
   10318                 :             : )
   10319                 :             :           {
   10320                 :           0 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1746;
   10321                 :           0 :             {
   10322                 :           0 :               tree _r;
   10323                 :           0 :               _r =  constant_boolean_node (false, type);
   10324                 :           0 :               if (TREE_SIDE_EFFECTS (captures[0]))
   10325                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   10326                 :           0 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1001, __FILE__, __LINE__, true);
   10327                 :           0 :               return _r;
   10328                 :             :             }
   10329                 :           0 : next_after_fail1746:;
   10330                 :             :           }
   10331                 :             :       }
   10332                 :             :     }
   10333                 :          85 :   switch (TREE_CODE (_p0))
   10334                 :             :     {
   10335                 :           0 :     case FLOAT_EXPR:
   10336                 :           0 :       {
   10337                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10338                 :           0 :         switch (TREE_CODE (_p1))
   10339                 :             :           {
   10340                 :           0 :           case FLOAT_EXPR:
   10341                 :           0 :             {
   10342                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   10343                 :           0 :               {
   10344                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   10345                 :           0 :                 tree res = generic_simplify_256 (loc, type, _p0, _p1, captures, LTGT_EXPR, NE_EXPR);
   10346                 :           0 :                 if (res) return res;
   10347                 :             :               }
   10348                 :           0 :               break;
   10349                 :             :             }
   10350                 :             :           default:;
   10351                 :             :           }
   10352                 :             :         break;
   10353                 :             :       }
   10354                 :           0 :     case NEGATE_EXPR:
   10355                 :           0 :       {
   10356                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10357                 :           0 :         switch (TREE_CODE (_p1))
   10358                 :             :           {
   10359                 :           0 :           case NEGATE_EXPR:
   10360                 :           0 :             {
   10361                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   10362                 :           0 :               {
   10363                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   10364                 :           0 :                 tree res = generic_simplify_259 (loc, type, _p0, _p1, captures, LTGT_EXPR, LTGT_EXPR);
   10365                 :           0 :                 if (res) return res;
   10366                 :             :               }
   10367                 :           0 :               break;
   10368                 :             :             }
   10369                 :           0 :           default:;
   10370                 :             :           }
   10371                 :           0 :       if (CONSTANT_CLASS_P (_p1))
   10372                 :             :         {
   10373                 :           0 :           {
   10374                 :           0 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   10375                 :           0 :             tree res = generic_simplify_260 (loc, type, _p0, _p1, captures, LTGT_EXPR, LTGT_EXPR);
   10376                 :           0 :             if (res) return res;
   10377                 :             :           }
   10378                 :             :         }
   10379                 :             :         break;
   10380                 :             :       }
   10381                 :          85 :     default:;
   10382                 :             :     }
   10383                 :          85 :   switch (TREE_CODE (_p1))
   10384                 :             :     {
   10385                 :           0 :     case REAL_CST:
   10386                 :           0 :       {
   10387                 :           0 :         {
   10388                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   10389                 :           0 :           tree res = generic_simplify_544 (loc, type, _p0, _p1, captures, LTGT_EXPR);
   10390                 :           0 :           if (res) return res;
   10391                 :             :         }
   10392                 :           0 :         break;
   10393                 :             :       }
   10394                 :             :     default:;
   10395                 :             :     }
   10396                 :             :   return NULL_TREE;
   10397                 :             : }
   10398                 :             : 
   10399                 :             : tree
   10400                 :      637704 : generic_simplify_BIT_FIELD_REF (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2)
   10401                 :             : {
   10402                 :      637704 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   10403                 :      637704 :   switch (TREE_CODE (_p0))
   10404                 :             :     {
   10405                 :           0 :     case BIT_FIELD_REF:
   10406                 :           0 :       {
   10407                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10408                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10409                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   10410                 :           0 :         {
   10411                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _p1, _p2 };
   10412                 :           0 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1909;
   10413                 :           0 :           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1909;
   10414                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1909;
   10415                 :           0 :           {
   10416                 :           0 :             tree res_op0;
   10417                 :           0 :             res_op0 = captures[0];
   10418                 :           0 :             tree res_op1;
   10419                 :           0 :             res_op1 = captures[3];
   10420                 :           0 :             tree res_op2;
   10421                 :           0 :             res_op2 =  const_binop (PLUS_EXPR, bitsizetype, captures[2], captures[4]);
   10422                 :           0 :             tree _r;
   10423                 :           0 :             _r = fold_build3_loc (loc, BIT_FIELD_REF, type, res_op0, res_op1, res_op2);
   10424                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
   10425                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   10426                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1041, __FILE__, __LINE__, true);
   10427                 :           0 :             return _r;
   10428                 :             :           }
   10429                 :           0 : next_after_fail1909:;
   10430                 :             :         }
   10431                 :           0 :         break;
   10432                 :             :       }
   10433                 :           3 :     case VIEW_CONVERT_EXPR:
   10434                 :           3 :       {
   10435                 :           3 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10436                 :           3 :         {
   10437                 :           3 :           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   10438                 :           6 :           if (! INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
   10439                 :           6 :  || type_has_mode_precision_p (TREE_TYPE (captures[0]))
   10440                 :             : )
   10441                 :             :             {
   10442                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1910;
   10443                 :           0 :               {
   10444                 :           0 :                 tree res_op0;
   10445                 :           0 :                 res_op0 = captures[0];
   10446                 :           0 :                 tree res_op1;
   10447                 :           0 :                 res_op1 = captures[1];
   10448                 :           0 :                 tree res_op2;
   10449                 :           0 :                 res_op2 = captures[2];
   10450                 :           0 :                 tree _r;
   10451                 :           0 :                 _r = fold_build3_loc (loc, BIT_FIELD_REF, type, res_op0, res_op1, res_op2);
   10452                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1042, __FILE__, __LINE__, true);
   10453                 :           0 :                 return _r;
   10454                 :             :               }
   10455                 :           0 : next_after_fail1910:;
   10456                 :             :             }
   10457                 :             :         }
   10458                 :           3 :         break;
   10459                 :             :       }
   10460                 :      637704 :     default:;
   10461                 :             :     }
   10462                 :      637704 :   if (integer_zerop (_p2))
   10463                 :             :     {
   10464                 :      203939 :       {
   10465                 :      203939 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   10466                 :      203939 :         if (tree_int_cst_equal (captures[1], TYPE_SIZE (TREE_TYPE (captures[0])))
   10467                 :             : )
   10468                 :             :           {
   10469                 :        2386 :             if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1911;
   10470                 :        2386 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1911;
   10471                 :        2386 :             {
   10472                 :        2386 :               tree res_op0;
   10473                 :        2386 :               res_op0 = captures[0];
   10474                 :        2386 :               tree _r;
   10475                 :        2386 :               _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
   10476                 :        2386 :               if (TREE_SIDE_EFFECTS (captures[1]))
   10477                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   10478                 :        2386 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1043, __FILE__, __LINE__, true);
   10479                 :        2386 :               return _r;
   10480                 :             :             }
   10481                 :      201553 : next_after_fail1911:;
   10482                 :             :           }
   10483                 :             :       }
   10484                 :             :     }
   10485                 :      635318 :   {
   10486                 :      635318 :     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _p2 };
   10487                 :      635318 :     if (TREE_CODE (TREE_TYPE (captures[0])) == COMPLEX_TYPE
   10488                 :      635318 :  && tree_int_cst_equal (captures[1], TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0]))))
   10489                 :             : )
   10490                 :             :       {
   10491                 :           2 :         if (integer_zerop (captures[2])
   10492                 :             : )
   10493                 :             :           {
   10494                 :           0 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1912;
   10495                 :           0 :             {
   10496                 :           0 :               tree res_op0;
   10497                 :           0 :               {
   10498                 :           0 :                 tree _o1[1], _r1;
   10499                 :           0 :                 _o1[0] = captures[0];
   10500                 :           0 :                 _r1 = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
   10501                 :           0 :                 res_op0 = _r1;
   10502                 :             :               }
   10503                 :           0 :               tree _r;
   10504                 :           0 :               _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
   10505                 :           0 :               if (TREE_SIDE_EFFECTS (captures[1]))
   10506                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   10507                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2]))
   10508                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10509                 :           0 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1044, __FILE__, __LINE__, true);
   10510                 :           0 :               return _r;
   10511                 :             :             }
   10512                 :           0 : next_after_fail1912:;
   10513                 :             :           }
   10514                 :             :         else
   10515                 :             :           {
   10516                 :           2 :             if (tree_int_cst_equal (captures[2], TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0]))))
   10517                 :             : )
   10518                 :             :               {
   10519                 :           0 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1913;
   10520                 :           0 :                 {
   10521                 :           0 :                   tree res_op0;
   10522                 :           0 :                   {
   10523                 :           0 :                     tree _o1[1], _r1;
   10524                 :           0 :                     _o1[0] = captures[0];
   10525                 :           0 :                     _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
   10526                 :           0 :                     res_op0 = _r1;
   10527                 :             :                   }
   10528                 :           0 :                   tree _r;
   10529                 :           0 :                   _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
   10530                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[1]))
   10531                 :           0 :                     _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   10532                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2]))
   10533                 :           0 :                     _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10534                 :           0 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1045, __FILE__, __LINE__, true);
   10535                 :           0 :                   return _r;
   10536                 :             :                 }
   10537                 :           0 : next_after_fail1913:;
   10538                 :             :               }
   10539                 :             :           }
   10540                 :             :       }
   10541                 :             :     else
   10542                 :             :       {
   10543                 :     1270570 :         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
   10544                 :       20395 :  && INTEGRAL_TYPE_P (type)
   10545                 :             :  && (!
   10546                 :             : 
   10547                 :             :  || is_gimple_reg (captures[0]))
   10548                 :      654733 :  && ((compare_tree_int (captures[1], TYPE_PRECISION (TREE_TYPE (captures[0]))) == 0
   10549                 :           0 :  && integer_zerop (captures[2]))
   10550                 :             :  || (BYTES_BIG_ENDIAN == WORDS_BIG_ENDIAN
   10551                 :             :  && canonicalize_math_after_vectorization_p ()
   10552                 :             :  && TYPE_PRECISION (TREE_TYPE (captures[0])) % BITS_PER_UNIT == 0
   10553                 :             :  && TYPE_PRECISION (type) % BITS_PER_UNIT == 0
   10554                 :             :  && compare_tree_int (captures[2], (BYTES_BIG_ENDIAN
   10555                 :             :  ? (TYPE_PRECISION (TREE_TYPE (captures[0]))
   10556                 :             :  - TYPE_PRECISION (type))
   10557                 :             :  : 0)) == 0))
   10558                 :             : )
   10559                 :             :           {
   10560                 :           0 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1914;
   10561                 :           0 :             {
   10562                 :           0 :               tree res_op0;
   10563                 :           0 :               res_op0 = captures[0];
   10564                 :           0 :               tree _r;
   10565                 :           0 :               _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
   10566                 :           0 :               if (TREE_SIDE_EFFECTS (captures[1]))
   10567                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   10568                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2]))
   10569                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10570                 :           0 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1046, __FILE__, __LINE__, true);
   10571                 :           0 :               return _r;
   10572                 :             :             }
   10573                 :           0 : next_after_fail1914:;
   10574                 :             :           }
   10575                 :             :       }
   10576                 :             :   }
   10577                 :      635318 :   switch (TREE_CODE (_p0))
   10578                 :             :     {
   10579                 :         907 :     case CONSTRUCTOR:
   10580                 :         907 :       {
   10581                 :         907 :         {
   10582                 :         907 :           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _p2 };
   10583                 :         907 :           if (VECTOR_TYPE_P (TREE_TYPE (captures[0]))
   10584                 :         907 :  && tree_fits_uhwi_p (TYPE_SIZE (type))
   10585                 :        1814 :  && ((tree_to_uhwi (TYPE_SIZE (type))
   10586                 :         907 :  == tree_to_uhwi (TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0])))))
   10587                 :           0 :  || (VECTOR_TYPE_P (type)
   10588                 :           0 :  && (tree_to_uhwi (TYPE_SIZE (TREE_TYPE (type)))
   10589                 :           0 :  == tree_to_uhwi (TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0])))))))
   10590                 :             : )
   10591                 :             :             {
   10592                 :         907 :               {
   10593                 :         907 :  tree ctor = (TREE_CODE (captures[0]) == SSA_NAME
   10594                 :             :  ? gimple_assign_rhs1 (SSA_NAME_DEF_STMT (captures[0])) : captures[0]);
   10595                 :         907 :  tree eltype = TREE_TYPE (TREE_TYPE (ctor));
   10596                 :         907 :  unsigned HOST_WIDE_INT width = tree_to_uhwi (TYPE_SIZE (eltype));
   10597                 :         907 :  unsigned HOST_WIDE_INT n = tree_to_uhwi (captures[1]);
   10598                 :         907 :  unsigned HOST_WIDE_INT idx = tree_to_uhwi (captures[2]);
   10599                 :         907 :                   if (n != 0
   10600                 :         907 :  && (idx % width) == 0
   10601                 :         907 :  && (n % width) == 0
   10602                 :        1814 :  && known_le ((idx + n) / width,
   10603                 :             :  TYPE_VECTOR_SUBPARTS (TREE_TYPE (ctor)))
   10604                 :             : )
   10605                 :             :                     {
   10606                 :         907 :                       {
   10607                 :         907 :  idx = idx / width;
   10608                 :         907 :  n = n / width;
   10609                 :         907 :  poly_uint64 k = 1;
   10610                 :         907 :  if (CONSTRUCTOR_NELTS (ctor) != 0)
   10611                 :             :  {
   10612                 :         907 :  tree cons_elem = TREE_TYPE (CONSTRUCTOR_ELT (ctor, 0)->value);
   10613                 :         907 :  if (TREE_CODE (cons_elem) == VECTOR_TYPE)
   10614                 :         907 :  k = TYPE_VECTOR_SUBPARTS (cons_elem);
   10615                 :             :  }
   10616                 :         907 :  unsigned HOST_WIDE_INT elt, count, const_k;
   10617                 :         907 :                           if (multiple_p (idx, k, &elt) && multiple_p (n, k, &count)
   10618                 :             : )
   10619                 :             :                             {
   10620                 :           6 :                               if (CONSTRUCTOR_NELTS (ctor) == 0
   10621                 :             : )
   10622                 :             :                                 {
   10623                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1915;
   10624                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1915;
   10625                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1915;
   10626                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1915;
   10627                 :           0 :                                   {
   10628                 :           0 :                                     tree _r;
   10629                 :           0 :                                     _r =  build_zero_cst (type);
   10630                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1047, __FILE__, __LINE__, true);
   10631                 :         907 :                                     return _r;
   10632                 :             :                                   }
   10633                 :             : next_after_fail1915:;
   10634                 :             :                                 }
   10635                 :             :                               else
   10636                 :             :                                 {
   10637                 :           6 :                                   if (count == 1
   10638                 :             : )
   10639                 :             :                                     {
   10640                 :           6 :                                       if (elt < CONSTRUCTOR_NELTS (ctor)
   10641                 :             : )
   10642                 :             :                                         {
   10643                 :           6 :                                           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1916;
   10644                 :           6 :                                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1916;
   10645                 :           6 :                                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1916;
   10646                 :           6 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1916;
   10647                 :           6 :                                           {
   10648                 :           6 :                                             tree res_op0;
   10649                 :           6 :                                             res_op0 =  CONSTRUCTOR_ELT (ctor, elt)->value;
   10650                 :           6 :                                             tree _r;
   10651                 :           6 :                                             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
   10652                 :           6 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1048, __FILE__, __LINE__, true);
   10653                 :           6 :                                             return _r;
   10654                 :             :                                           }
   10655                 :             : next_after_fail1916:;
   10656                 :             :                                         }
   10657                 :             :                                       else
   10658                 :             :                                         {
   10659                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1917;
   10660                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1917;
   10661                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1917;
   10662                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1917;
   10663                 :           0 :                                           {
   10664                 :           0 :                                             tree _r;
   10665                 :           0 :                                             _r =  build_zero_cst (type);
   10666                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1049, __FILE__, __LINE__, true);
   10667                 :           0 :                                             return _r;
   10668                 :             :                                           }
   10669                 :             : next_after_fail1917:;
   10670                 :             :                                         }
   10671                 :             :                                     }
   10672                 :             :                                   else
   10673                 :             :                                     {
   10674                 :           0 :                                       if (single_use (captures[0])
   10675                 :             : )
   10676                 :             :                                         {
   10677                 :           0 :                                           {
   10678                 :           0 :  vec<constructor_elt, va_gc> *vals;
   10679                 :           0 :  vec_alloc (vals, count);
   10680                 :           0 :  bool constant_p = true;
   10681                 :           0 :  tree res;
   10682                 :           0 :  for (unsigned i = 0;
   10683                 :           0 :  i < count && elt + i < CONSTRUCTOR_NELTS (ctor); ++i)
   10684                 :             :  {
   10685                 :           0 :  tree e = CONSTRUCTOR_ELT (ctor, elt + i)->value;
   10686                 :           0 :  CONSTRUCTOR_APPEND_ELT (vals, NULL_TREE, e);
   10687                 :           0 :  if (!CONSTANT_CLASS_P (e))
   10688                 :           0 :  constant_p = false;
   10689                 :             :  }
   10690                 :           0 :  tree evtype = (types_match (TREE_TYPE (type),
   10691                 :           0 :  TREE_TYPE (TREE_TYPE (ctor)))
   10692                 :           0 :  ? type
   10693                 :           0 :  : build_vector_type (TREE_TYPE (TREE_TYPE (ctor)),
   10694                 :           0 :  count * k));
   10695                 :           0 :  res = (constant_p ? build_vector_from_ctor (evtype, vals)
   10696                 :             :  : (
   10697                 :             : 
   10698                 :           0 :  ? NULL_TREE : build_constructor (evtype, vals)));
   10699                 :           0 :                                               if (res
   10700                 :             : )
   10701                 :             :                                                 {
   10702                 :           0 :                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1918;
   10703                 :           0 :                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1918;
   10704                 :           0 :                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1918;
   10705                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1918;
   10706                 :           0 :                                                   {
   10707                 :           0 :                                                     tree res_op0;
   10708                 :           0 :                                                     res_op0 =  res;
   10709                 :           0 :                                                     tree _r;
   10710                 :           0 :                                                     _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
   10711                 :           0 :                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1050, __FILE__, __LINE__, true);
   10712                 :           0 :                                                     return _r;
   10713                 :             :                                                   }
   10714                 :           0 : next_after_fail1918:;
   10715                 :             :                                                 }
   10716                 :             :                                           }
   10717                 :             :                                         }
   10718                 :             :                                     }
   10719                 :             :                                 }
   10720                 :             :                             }
   10721                 :             :                           else
   10722                 :             :                             {
   10723                 :         901 :                               if (k.is_constant (&const_k)
   10724                 :         901 :  && idx + n <= (idx / const_k + 1) * const_k
   10725                 :             : )
   10726                 :             :                                 {
   10727                 :         901 :                                   if (CONSTRUCTOR_NELTS (ctor) <= idx / const_k
   10728                 :             : )
   10729                 :             :                                     {
   10730                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1919;
   10731                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1919;
   10732                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1919;
   10733                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1919;
   10734                 :           0 :                                       {
   10735                 :           0 :                                         tree _r;
   10736                 :           0 :                                         _r =  build_zero_cst (type);
   10737                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1051, __FILE__, __LINE__, true);
   10738                 :           0 :                                         return _r;
   10739                 :             :                                       }
   10740                 :             : next_after_fail1919:;
   10741                 :             :                                     }
   10742                 :             :                                   else
   10743                 :             :                                     {
   10744                 :         901 :                                       if (n == const_k
   10745                 :             : )
   10746                 :             :                                         {
   10747                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1920;
   10748                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1920;
   10749                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1920;
   10750                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1920;
   10751                 :           0 :                                           {
   10752                 :           0 :                                             tree res_op0;
   10753                 :           0 :                                             res_op0 =  CONSTRUCTOR_ELT (ctor, idx / const_k)->value;
   10754                 :           0 :                                             tree _r;
   10755                 :           0 :                                             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
   10756                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1052, __FILE__, __LINE__, true);
   10757                 :           0 :                                             return _r;
   10758                 :             :                                           }
   10759                 :             : next_after_fail1920:;
   10760                 :             :                                         }
   10761                 :             :                                       else
   10762                 :             :                                         {
   10763                 :         901 :                                           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1921;
   10764                 :         901 :                                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1921;
   10765                 :         901 :                                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1921;
   10766                 :         901 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1921;
   10767                 :         901 :                                           {
   10768                 :         901 :                                             tree res_op0;
   10769                 :         901 :                                             res_op0 =  CONSTRUCTOR_ELT (ctor, idx / const_k)->value;
   10770                 :         901 :                                             tree res_op1;
   10771                 :         901 :                                             res_op1 = captures[1];
   10772                 :         901 :                                             tree res_op2;
   10773                 :         901 :                                             res_op2 =  bitsize_int ((idx % const_k) * width);
   10774                 :         901 :                                             tree _r;
   10775                 :         901 :                                             _r = fold_build3_loc (loc, BIT_FIELD_REF, type, res_op0, res_op1, res_op2);
   10776                 :         901 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1053, __FILE__, __LINE__, true);
   10777                 :         901 :                                             return _r;
   10778                 :             :                                           }
   10779                 :             : next_after_fail1921:;
   10780                 :             :                                         }
   10781                 :             :                                     }
   10782                 :             :                                 }
   10783                 :             :                             }
   10784                 :             :                       }
   10785                 :             :                     }
   10786                 :             :               }
   10787                 :             :             }
   10788                 :             :         }
   10789                 :           0 :         break;
   10790                 :             :       }
   10791                 :           0 :     case VEC_PERM_EXPR:
   10792                 :           0 :       {
   10793                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10794                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10795                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   10796                 :           0 :         switch (TREE_CODE (_q22))
   10797                 :             :           {
   10798                 :           0 :           case VECTOR_CST:
   10799                 :           0 :             {
   10800                 :           0 :               {
   10801                 :           0 :                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _p2 };
   10802                 :           0 :                 {
   10803                 :           0 :  tree elem_type = TREE_TYPE (TREE_TYPE (captures[0]));
   10804                 :           0 :  poly_uint64 elem_size = tree_to_poly_uint64 (TYPE_SIZE (elem_type));
   10805                 :           0 :  poly_uint64 size = tree_to_poly_uint64 (TYPE_SIZE (type));
   10806                 :           0 :  unsigned HOST_WIDE_INT nelts, idx;
   10807                 :           0 :  unsigned HOST_WIDE_INT nelts_op = 0;
   10808                 :           0 :                     if (constant_multiple_p (tree_to_poly_uint64 (captures[5]), elem_size, &idx)
   10809                 :           0 :  && VECTOR_CST_NELTS (captures[3]).is_constant (&nelts)
   10810                 :           0 :  && (known_eq (size, elem_size)
   10811                 :           0 :  || (constant_multiple_p (size, elem_size, &nelts_op)
   10812                 :           0 :  && pow2p_hwi (nelts_op)))
   10813                 :             : )
   10814                 :             :                       {
   10815                 :           0 :                         {
   10816                 :           0 :  bool ok = true;
   10817                 :           0 :  if (known_eq (size, elem_size))
   10818                 :           0 :  idx = TREE_INT_CST_LOW (VECTOR_CST_ELT (captures[3], idx)) % (2 * nelts);
   10819                 :             :  else
   10820                 :             :  {
   10821                 :           0 :  unsigned start
   10822                 :           0 :  = TREE_INT_CST_LOW (vector_cst_elt (captures[3], idx)) % (2 * nelts);
   10823                 :           0 :  unsigned end
   10824                 :           0 :  = (TREE_INT_CST_LOW (vector_cst_elt (captures[3], idx + nelts_op - 1))
   10825                 :           0 :  % (2 * nelts));
   10826                 :           0 :  if ((start < nelts) != (end < nelts))
   10827                 :             :  ok = false;
   10828                 :             :  else
   10829                 :           0 :  for (unsigned HOST_WIDE_INT i = 1; i != nelts_op; i++)
   10830                 :             :  {
   10831                 :           0 :  if ((TREE_INT_CST_LOW (vector_cst_elt (captures[3], idx + i))
   10832                 :           0 :  % (2 * nelts) - 1)
   10833                 :           0 :  != (TREE_INT_CST_LOW (vector_cst_elt (captures[3], idx + i - 1))
   10834                 :           0 :  % (2 * nelts)))
   10835                 :             :  {
   10836                 :             :  ok = false;
   10837                 :             :  break;
   10838                 :             :  }
   10839                 :             :  }
   10840                 :           0 :  if (start % nelts_op)
   10841                 :             :  ok = false;
   10842                 :           0 :  idx = start;
   10843                 :             :  }
   10844                 :           0 :                             if (ok
   10845                 :             : )
   10846                 :             :                               {
   10847                 :           0 :                                 if (idx < nelts
   10848                 :             : )
   10849                 :             :                                   {
   10850                 :           0 :                                     if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1922;
   10851                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1922;
   10852                 :           0 :                                     {
   10853                 :           0 :                                       tree res_op0;
   10854                 :           0 :                                       res_op0 = captures[1];
   10855                 :           0 :                                       tree res_op1;
   10856                 :           0 :                                       res_op1 = captures[4];
   10857                 :           0 :                                       tree res_op2;
   10858                 :           0 :                                       res_op2 =  bitsize_int (idx * elem_size);
   10859                 :           0 :                                       tree _r;
   10860                 :           0 :                                       _r = fold_build3_loc (loc, BIT_FIELD_REF, type, res_op0, res_op1, res_op2);
   10861                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[2]))
   10862                 :           0 :                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10863                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[5]))
   10864                 :           0 :                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   10865                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1054, __FILE__, __LINE__, true);
   10866                 :           0 :                                       return _r;
   10867                 :             :                                     }
   10868                 :           0 : next_after_fail1922:;
   10869                 :             :                                   }
   10870                 :             :                                 else
   10871                 :             :                                   {
   10872                 :           0 :                                     if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1923;
   10873                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1923;
   10874                 :           0 :                                     {
   10875                 :           0 :                                       tree res_op0;
   10876                 :           0 :                                       res_op0 = captures[2];
   10877                 :           0 :                                       tree res_op1;
   10878                 :           0 :                                       res_op1 = captures[4];
   10879                 :           0 :                                       tree res_op2;
   10880                 :           0 :                                       res_op2 =  bitsize_int ((idx - nelts) * elem_size);
   10881                 :           0 :                                       tree _r;
   10882                 :           0 :                                       _r = fold_build3_loc (loc, BIT_FIELD_REF, type, res_op0, res_op1, res_op2);
   10883                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[1]))
   10884                 :           0 :                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   10885                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[5]))
   10886                 :           0 :                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   10887                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1055, __FILE__, __LINE__, true);
   10888                 :           0 :                                       return _r;
   10889                 :             :                                     }
   10890                 :           0 : next_after_fail1923:;
   10891                 :             :                                   }
   10892                 :             :                               }
   10893                 :             :                         }
   10894                 :             :                       }
   10895                 :             :                 }
   10896                 :             :               }
   10897                 :           0 :               break;
   10898                 :             :             }
   10899                 :             :           default:;
   10900                 :             :           }
   10901                 :             :         break;
   10902                 :             :       }
   10903                 :           0 :     case BIT_INSERT_EXPR:
   10904                 :           0 :       {
   10905                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10906                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10907                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   10908                 :           0 :         {
   10909                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _p1, _p2 };
   10910                 :           0 :           {
   10911                 :           0 :  unsigned HOST_WIDE_INT isize;
   10912                 :           0 :  if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1])))
   10913                 :           0 :  isize = TYPE_PRECISION (TREE_TYPE (captures[1]));
   10914                 :             :  else
   10915                 :           0 :  isize = tree_to_uhwi (TYPE_SIZE (TREE_TYPE (captures[1])));
   10916                 :           0 :               if ((!INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
   10917                 :           0 :  || type_has_mode_precision_p (TREE_TYPE (captures[1])))
   10918                 :           0 :  && wi::leu_p (wi::to_wide (captures[2]), wi::to_wide (captures[4]))
   10919                 :           0 :  && wi::leu_p (wi::to_wide (captures[4]) + wi::to_wide (captures[3]),
   10920                 :           0 :  wi::to_wide (captures[2]) + isize)
   10921                 :             : )
   10922                 :             :                 {
   10923                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1924;
   10924                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1924;
   10925                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1924;
   10926                 :           0 :                   {
   10927                 :           0 :                     tree res_op0;
   10928                 :           0 :                     res_op0 = captures[1];
   10929                 :           0 :                     tree res_op1;
   10930                 :           0 :                     res_op1 = captures[3];
   10931                 :           0 :                     tree res_op2;
   10932                 :           0 :                     res_op2 =  wide_int_to_tree (bitsizetype,
   10933                 :           0 :  wi::to_wide (captures[4])
   10934                 :           0 :  - wi::to_wide (captures[2]));
   10935                 :           0 :                     tree _r;
   10936                 :           0 :                     _r = fold_build3_loc (loc, BIT_FIELD_REF, type, res_op0, res_op1, res_op2);
   10937                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[0]))
   10938                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   10939                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1056, __FILE__, __LINE__, true);
   10940                 :           0 :                     return _r;
   10941                 :             :                   }
   10942                 :           0 : next_after_fail1924:;
   10943                 :             :                 }
   10944                 :             :               else
   10945                 :             :                 {
   10946                 :           0 :                   if (wi::eq_p (wi::to_wide (captures[2]), wi::to_wide (captures[4]))
   10947                 :           0 :  && compare_tree_int (captures[3], isize) == 0
   10948                 :             : )
   10949                 :             :                     {
   10950                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1925;
   10951                 :           0 :                       {
   10952                 :           0 :                         tree res_op0;
   10953                 :           0 :                         res_op0 = captures[1];
   10954                 :           0 :                         tree _r;
   10955                 :           0 :                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
   10956                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[0]))
   10957                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   10958                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[2]))
   10959                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10960                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[3]))
   10961                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
   10962                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[4]))
   10963                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
   10964                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1057, __FILE__, __LINE__, true);
   10965                 :           0 :                         return _r;
   10966                 :             :                       }
   10967                 :           0 : next_after_fail1925:;
   10968                 :             :                     }
   10969                 :             :                   else
   10970                 :             :                     {
   10971                 :           0 :                       if (wi::geu_p (wi::to_wide (captures[2]),
   10972                 :           0 :  wi::to_wide (captures[4]) + wi::to_wide (captures[3]))
   10973                 :           0 :  || wi::geu_p (wi::to_wide (captures[4]),
   10974                 :           0 :  wi::to_wide (captures[2]) + isize)
   10975                 :             : )
   10976                 :             :                         {
   10977                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1926;
   10978                 :           0 :                           {
   10979                 :           0 :                             tree res_op0;
   10980                 :           0 :                             res_op0 = captures[0];
   10981                 :           0 :                             tree res_op1;
   10982                 :           0 :                             res_op1 = captures[3];
   10983                 :           0 :                             tree res_op2;
   10984                 :           0 :                             res_op2 = captures[4];
   10985                 :           0 :                             tree _r;
   10986                 :           0 :                             _r = fold_build3_loc (loc, BIT_FIELD_REF, type, res_op0, res_op1, res_op2);
   10987                 :           0 :                             if (TREE_SIDE_EFFECTS (captures[1]))
   10988                 :           0 :                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   10989                 :           0 :                             if (TREE_SIDE_EFFECTS (captures[2]))
   10990                 :           0 :                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10991                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1058, __FILE__, __LINE__, true);
   10992                 :           0 :                             return _r;
   10993                 :             :                           }
   10994                 :           0 : next_after_fail1926:;
   10995                 :             :                         }
   10996                 :             :                     }
   10997                 :             :                 }
   10998                 :             :           }
   10999                 :             :         }
   11000                 :           0 :         break;
   11001                 :             :       }
   11002                 :             :     default:;
   11003                 :             :     }
   11004                 :             :   return NULL_TREE;
   11005                 :             : }
   11006                 :             : #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.