LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - generic-match-2.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 45.8 % 6642 3039
Test Date: 2025-06-21 16:26:05 Functions: 59.7 % 72 43
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                 :    93484424 : tree_logical_inverted_value (tree t, tree *res_ops)
      11                 :             : {
      12                 :    93484424 :   const tree type = TREE_TYPE (t);
      13                 :    93484424 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :    93484424 :   if (TREE_SIDE_EFFECTS (t)) return false;
      15                 :    85810981 :   switch (TREE_CODE (t))
      16                 :             :     {
      17                 :      581033 :     case TRUTH_NOT_EXPR:
      18                 :      581033 :       {
      19                 :      581033 :         tree _p0 = TREE_OPERAND (t, 0);
      20                 :      581033 :         {
      21                 :      581033 :           tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
      22                 :      581033 :           {
      23                 :      581033 :             res_ops[0] = captures[0];
      24                 :      581033 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 23, __FILE__, __LINE__, false);
      25                 :             :             return true;
      26                 :             :           }
      27                 :             :         }
      28                 :       97340 :         break;
      29                 :             :       }
      30                 :       97340 :     case BIT_NOT_EXPR:
      31                 :       97340 :       {
      32                 :       97340 :         tree _p0 = TREE_OPERAND (t, 0);
      33                 :       97340 :         if (tree_truth_valued_p (_p0))
      34                 :             :           {
      35                 :       11874 :             {
      36                 :       11874 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
      37                 :       11874 :               {
      38                 :       11874 :                 res_ops[0] = captures[0];
      39                 :       11874 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 24, __FILE__, __LINE__, false);
      40                 :       11874 :                 return true;
      41                 :             :               }
      42                 :             :             }
      43                 :             :           }
      44                 :             :         break;
      45                 :             :       }
      46                 :     1331257 :     case EQ_EXPR:
      47                 :     1331257 :       {
      48                 :     1331257 :         tree _p0 = TREE_OPERAND (t, 0);
      49                 :     1331257 :         tree _p1 = TREE_OPERAND (t, 1);
      50                 :     1331257 :         if (integer_zerop (_p1))
      51                 :             :           {
      52                 :      525494 :             {
      53                 :      525494 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
      54                 :      525494 :               {
      55                 :      525494 :                 res_ops[0] = captures[0];
      56                 :      525494 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 25, __FILE__, __LINE__, false);
      57                 :      525494 :                 return true;
      58                 :             :               }
      59                 :             :             }
      60                 :             :           }
      61                 :             :         break;
      62                 :             :       }
      63                 :     1784984 :     case NE_EXPR:
      64                 :     1784984 :       {
      65                 :     1784984 :         tree _p0 = TREE_OPERAND (t, 0);
      66                 :     1784984 :         tree _p1 = TREE_OPERAND (t, 1);
      67                 :     1784984 :         if (tree_truth_valued_p (_p0))
      68                 :             :           {
      69                 :        2576 :             if (integer_truep (_p1))
      70                 :             :               {
      71                 :           0 :                 {
      72                 :           0 :                   tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
      73                 :           0 :                   {
      74                 :           0 :                     res_ops[0] = captures[0];
      75                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 26, __FILE__, __LINE__, false);
      76                 :           0 :                     return true;
      77                 :             :                   }
      78                 :             :                 }
      79                 :             :               }
      80                 :             :           }
      81                 :             :         break;
      82                 :             :       }
      83                 :       38547 :     case BIT_XOR_EXPR:
      84                 :       38547 :       {
      85                 :       38547 :         tree _p0 = TREE_OPERAND (t, 0);
      86                 :       38547 :         tree _p1 = TREE_OPERAND (t, 1);
      87                 :       38547 :         if (tree_truth_valued_p (_p0))
      88                 :             :           {
      89                 :        5673 :             if (integer_truep (_p1))
      90                 :             :               {
      91                 :           0 :                 {
      92                 :           0 :                   tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
      93                 :           0 :                   {
      94                 :           0 :                     res_ops[0] = captures[0];
      95                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 27, __FILE__, __LINE__, false);
      96                 :           0 :                     return true;
      97                 :             :                   }
      98                 :             :                 }
      99                 :             :               }
     100                 :             :           }
     101                 :             :         break;
     102                 :             :       }
     103                 :             :     default:;
     104                 :             :     }
     105                 :             :   return false;
     106                 :             : }
     107                 :             : 
     108                 :             : bool
     109                 :           0 : tree_signed_integer_sat_sub (tree t, tree *res_ops)
     110                 :             : {
     111                 :           0 :   const tree type = TREE_TYPE (t);
     112                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     113                 :           0 :   if (TREE_SIDE_EFFECTS (t)) return false;
     114                 :           0 :   switch (TREE_CODE (t))
     115                 :             :     {
     116                 :           0 :     case COND_EXPR:
     117                 :           0 :       {
     118                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     119                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
     120                 :           0 :         tree _p2 = TREE_OPERAND (t, 2);
     121                 :           0 :         switch (TREE_CODE (_p0))
     122                 :             :           {
     123                 :           0 :           case LT_EXPR:
     124                 :           0 :             {
     125                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     126                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     127                 :           0 :               switch (TREE_CODE (_q20))
     128                 :             :                 {
     129                 :           0 :                 case BIT_AND_EXPR:
     130                 :           0 :                   {
     131                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     132                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
     133                 :           0 :                     switch (TREE_CODE (_q30))
     134                 :             :                       {
     135                 :           0 :                       case BIT_XOR_EXPR:
     136                 :           0 :                         {
     137                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     138                 :           0 :                           tree _q41 = TREE_OPERAND (_q30, 1);
     139                 :           0 :                           switch (TREE_CODE (_q31))
     140                 :             :                             {
     141                 :           0 :                             case BIT_XOR_EXPR:
     142                 :           0 :                               {
     143                 :           0 :                                 tree _q70 = TREE_OPERAND (_q31, 0);
     144                 :           0 :                                 tree _q71 = TREE_OPERAND (_q31, 1);
     145                 :           0 :                                 if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
     146                 :             :                                   {
     147                 :           0 :                                     {
     148                 :           0 :                                       tree _q71_pops[1];
     149                 :           0 :                                       if (tree_nop_convert (_q71, _q71_pops))
     150                 :             :                                         {
     151                 :           0 :                                           tree _q90 = _q71_pops[0];
     152                 :           0 :                                           switch (TREE_CODE (_q90))
     153                 :             :                                             {
     154                 :           0 :                                             case MINUS_EXPR:
     155                 :           0 :                                               {
     156                 :           0 :                                                 tree _q100 = TREE_OPERAND (_q90, 0);
     157                 :           0 :                                                 tree _q101 = TREE_OPERAND (_q90, 1);
     158                 :           0 :                                                 {
     159                 :           0 :                                                   tree _q100_pops[1];
     160                 :           0 :                                                   if (tree_nop_convert (_q100, _q100_pops))
     161                 :             :                                                     {
     162                 :           0 :                                                       tree _q110 = _q100_pops[0];
     163                 :           0 :                                                       if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
     164                 :             :                                                         {
     165                 :           0 :                                                           {
     166                 :           0 :                                                             tree _q101_pops[1];
     167                 :           0 :                                                             if (tree_nop_convert (_q101, _q101_pops))
     168                 :             :                                                               {
     169                 :           0 :                                                                 tree _q130 = _q101_pops[0];
     170                 :           0 :                                                                 if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
     171                 :             :                                                                   {
     172                 :           0 :                                                                     if (integer_zerop (_q21))
     173                 :             :                                                                       {
     174                 :           0 :                                                                         {
     175                 :           0 :                                                                           tree _p1_pops[1];
     176                 :           0 :                                                                           if (tree_signed_integer_sat_val (_p1, _p1_pops))
     177                 :             :                                                                             {
     178                 :           0 :                                                                               tree _q160 = _p1_pops[0];
     179                 :           0 :                                                                               if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
     180                 :             :                                                                                 {
     181                 :           0 :                                                                                   if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
     182                 :             :                                                                                     {
     183                 :           0 :                                                                                       {
     184                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q71 };
     185                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     186                 :             : )
     187                 :             :                                                                                           {
     188                 :           0 :                                                                                             {
     189                 :           0 :                                                                                               res_ops[0] = captures[0];
     190                 :           0 :                                                                                               res_ops[1] = captures[1];
     191                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
     192                 :           0 :                                                                                               return true;
     193                 :             :                                                                                             }
     194                 :             :                                                                                           }
     195                 :             :                                                                                       }
     196                 :             :                                                                                     }
     197                 :             :                                                                                 }
     198                 :             :                                                                             }
     199                 :             :                                                                         }
     200                 :             :                                                                       }
     201                 :             :                                                                   }
     202                 :             :                                                               }
     203                 :             :                                                           }
     204                 :             :                                                         }
     205                 :             :                                                     }
     206                 :             :                                                 }
     207                 :           0 :                                                 break;
     208                 :             :                                               }
     209                 :             :                                             default:;
     210                 :             :                                             }
     211                 :             :                                         }
     212                 :             :                                     }
     213                 :             :                                   }
     214                 :           0 :                                 if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
     215                 :             :                                   {
     216                 :           0 :                                     {
     217                 :           0 :                                       tree _q71_pops[1];
     218                 :           0 :                                       if (tree_nop_convert (_q71, _q71_pops))
     219                 :             :                                         {
     220                 :           0 :                                           tree _q90 = _q71_pops[0];
     221                 :           0 :                                           switch (TREE_CODE (_q90))
     222                 :             :                                             {
     223                 :           0 :                                             case MINUS_EXPR:
     224                 :           0 :                                               {
     225                 :           0 :                                                 tree _q100 = TREE_OPERAND (_q90, 0);
     226                 :           0 :                                                 tree _q101 = TREE_OPERAND (_q90, 1);
     227                 :           0 :                                                 {
     228                 :           0 :                                                   tree _q100_pops[1];
     229                 :           0 :                                                   if (tree_nop_convert (_q100, _q100_pops))
     230                 :             :                                                     {
     231                 :           0 :                                                       tree _q110 = _q100_pops[0];
     232                 :           0 :                                                       if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
     233                 :             :                                                         {
     234                 :           0 :                                                           {
     235                 :           0 :                                                             tree _q101_pops[1];
     236                 :           0 :                                                             if (tree_nop_convert (_q101, _q101_pops))
     237                 :             :                                                               {
     238                 :           0 :                                                                 tree _q130 = _q101_pops[0];
     239                 :           0 :                                                                 if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
     240                 :             :                                                                   {
     241                 :           0 :                                                                     if (integer_zerop (_q21))
     242                 :             :                                                                       {
     243                 :           0 :                                                                         {
     244                 :           0 :                                                                           tree _p1_pops[1];
     245                 :           0 :                                                                           if (tree_signed_integer_sat_val (_p1, _p1_pops))
     246                 :             :                                                                             {
     247                 :           0 :                                                                               tree _q160 = _p1_pops[0];
     248                 :           0 :                                                                               if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
     249                 :             :                                                                                 {
     250                 :           0 :                                                                                   if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
     251                 :             :                                                                                     {
     252                 :           0 :                                                                                       {
     253                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q71 };
     254                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     255                 :             : )
     256                 :             :                                                                                           {
     257                 :           0 :                                                                                             {
     258                 :           0 :                                                                                               res_ops[0] = captures[0];
     259                 :           0 :                                                                                               res_ops[1] = captures[1];
     260                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
     261                 :           0 :                                                                                               return true;
     262                 :             :                                                                                             }
     263                 :             :                                                                                           }
     264                 :             :                                                                                       }
     265                 :             :                                                                                     }
     266                 :             :                                                                                 }
     267                 :             :                                                                             }
     268                 :             :                                                                         }
     269                 :             :                                                                       }
     270                 :             :                                                                   }
     271                 :             :                                                               }
     272                 :             :                                                           }
     273                 :             :                                                         }
     274                 :             :                                                     }
     275                 :             :                                                 }
     276                 :           0 :                                                 break;
     277                 :             :                                               }
     278                 :             :                                             default:;
     279                 :             :                                             }
     280                 :             :                                         }
     281                 :             :                                     }
     282                 :             :                                   }
     283                 :             :                                 break;
     284                 :             :                               }
     285                 :           0 :                             default:;
     286                 :             :                             }
     287                 :           0 :                           {
     288                 :           0 :                             tree _q41_pops[1];
     289                 :           0 :                             if (tree_nop_convert (_q41, _q41_pops))
     290                 :             :                               {
     291                 :           0 :                                 tree _q60 = _q41_pops[0];
     292                 :           0 :                                 switch (TREE_CODE (_q60))
     293                 :             :                                   {
     294                 :           0 :                                   case MINUS_EXPR:
     295                 :           0 :                                     {
     296                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
     297                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
     298                 :           0 :                                       {
     299                 :           0 :                                         tree _q70_pops[1];
     300                 :           0 :                                         if (tree_nop_convert (_q70, _q70_pops))
     301                 :             :                                           {
     302                 :           0 :                                             tree _q80 = _q70_pops[0];
     303                 :           0 :                                             if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
     304                 :             :                                               {
     305                 :           0 :                                                 {
     306                 :           0 :                                                   tree _q71_pops[1];
     307                 :           0 :                                                   if (tree_nop_convert (_q71, _q71_pops))
     308                 :             :                                                     {
     309                 :           0 :                                                       tree _q100 = _q71_pops[0];
     310                 :           0 :                                                       switch (TREE_CODE (_q31))
     311                 :             :                                                         {
     312                 :           0 :                                                         case BIT_XOR_EXPR:
     313                 :           0 :                                                           {
     314                 :           0 :                                                             tree _q120 = TREE_OPERAND (_q31, 0);
     315                 :           0 :                                                             tree _q121 = TREE_OPERAND (_q31, 1);
     316                 :           0 :                                                             if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
     317                 :             :                                                               {
     318                 :           0 :                                                                 if ((_q121 == _q100 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q100, 0) && types_match (_q121, _q100)))
     319                 :             :                                                                   {
     320                 :           0 :                                                                     if (integer_zerop (_q21))
     321                 :             :                                                                       {
     322                 :           0 :                                                                         {
     323                 :           0 :                                                                           tree _p1_pops[1];
     324                 :           0 :                                                                           if (tree_signed_integer_sat_val (_p1, _p1_pops))
     325                 :             :                                                                             {
     326                 :           0 :                                                                               tree _q160 = _p1_pops[0];
     327                 :           0 :                                                                               if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
     328                 :             :                                                                                 {
     329                 :           0 :                                                                                   if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
     330                 :             :                                                                                     {
     331                 :           0 :                                                                                       {
     332                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     333                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     334                 :             : )
     335                 :             :                                                                                           {
     336                 :           0 :                                                                                             {
     337                 :           0 :                                                                                               res_ops[0] = captures[0];
     338                 :           0 :                                                                                               res_ops[1] = captures[1];
     339                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
     340                 :           0 :                                                                                               return true;
     341                 :             :                                                                                             }
     342                 :             :                                                                                           }
     343                 :             :                                                                                       }
     344                 :             :                                                                                     }
     345                 :             :                                                                                 }
     346                 :             :                                                                             }
     347                 :             :                                                                         }
     348                 :             :                                                                       }
     349                 :             :                                                                   }
     350                 :             :                                                               }
     351                 :           0 :                                                             if ((_q120 == _q100 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q100, 0) && types_match (_q120, _q100)))
     352                 :             :                                                               {
     353                 :           0 :                                                                 if ((_q121 == _q40 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q40, 0) && types_match (_q121, _q40)))
     354                 :             :                                                                   {
     355                 :           0 :                                                                     if (integer_zerop (_q21))
     356                 :             :                                                                       {
     357                 :           0 :                                                                         {
     358                 :           0 :                                                                           tree _p1_pops[1];
     359                 :           0 :                                                                           if (tree_signed_integer_sat_val (_p1, _p1_pops))
     360                 :             :                                                                             {
     361                 :           0 :                                                                               tree _q160 = _p1_pops[0];
     362                 :           0 :                                                                               if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
     363                 :             :                                                                                 {
     364                 :           0 :                                                                                   if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
     365                 :             :                                                                                     {
     366                 :           0 :                                                                                       {
     367                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     368                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     369                 :             : )
     370                 :             :                                                                                           {
     371                 :           0 :                                                                                             {
     372                 :           0 :                                                                                               res_ops[0] = captures[0];
     373                 :           0 :                                                                                               res_ops[1] = captures[1];
     374                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
     375                 :           0 :                                                                                               return true;
     376                 :             :                                                                                             }
     377                 :             :                                                                                           }
     378                 :             :                                                                                       }
     379                 :             :                                                                                     }
     380                 :             :                                                                                 }
     381                 :             :                                                                             }
     382                 :             :                                                                         }
     383                 :             :                                                                       }
     384                 :             :                                                                   }
     385                 :             :                                                               }
     386                 :             :                                                             break;
     387                 :             :                                                           }
     388                 :             :                                                         default:;
     389                 :             :                                                         }
     390                 :             :                                                     }
     391                 :             :                                                 }
     392                 :             :                                               }
     393                 :             :                                           }
     394                 :             :                                       }
     395                 :           0 :                                       break;
     396                 :             :                                     }
     397                 :             :                                   default:;
     398                 :             :                                   }
     399                 :             :                               }
     400                 :             :                           }
     401                 :           0 :                           break;
     402                 :             :                         }
     403                 :             :                       default:;
     404                 :             :                       }
     405                 :             :                     break;
     406                 :             :                   }
     407                 :             :                 default:;
     408                 :             :                 }
     409                 :             :               break;
     410                 :             :             }
     411                 :           0 :           case GE_EXPR:
     412                 :           0 :             {
     413                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     414                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     415                 :           0 :               switch (TREE_CODE (_q20))
     416                 :             :                 {
     417                 :           0 :                 case BIT_AND_EXPR:
     418                 :           0 :                   {
     419                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     420                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
     421                 :           0 :                     switch (TREE_CODE (_q30))
     422                 :             :                       {
     423                 :           0 :                       case BIT_XOR_EXPR:
     424                 :           0 :                         {
     425                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     426                 :           0 :                           tree _q41 = TREE_OPERAND (_q30, 1);
     427                 :           0 :                           switch (TREE_CODE (_q31))
     428                 :             :                             {
     429                 :           0 :                             case BIT_XOR_EXPR:
     430                 :           0 :                               {
     431                 :           0 :                                 tree _q70 = TREE_OPERAND (_q31, 0);
     432                 :           0 :                                 tree _q71 = TREE_OPERAND (_q31, 1);
     433                 :           0 :                                 if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
     434                 :             :                                   {
     435                 :           0 :                                     {
     436                 :           0 :                                       tree _q71_pops[1];
     437                 :           0 :                                       if (tree_nop_convert (_q71, _q71_pops))
     438                 :             :                                         {
     439                 :           0 :                                           tree _q90 = _q71_pops[0];
     440                 :           0 :                                           switch (TREE_CODE (_q90))
     441                 :             :                                             {
     442                 :           0 :                                             case MINUS_EXPR:
     443                 :           0 :                                               {
     444                 :           0 :                                                 tree _q100 = TREE_OPERAND (_q90, 0);
     445                 :           0 :                                                 tree _q101 = TREE_OPERAND (_q90, 1);
     446                 :           0 :                                                 {
     447                 :           0 :                                                   tree _q100_pops[1];
     448                 :           0 :                                                   if (tree_nop_convert (_q100, _q100_pops))
     449                 :             :                                                     {
     450                 :           0 :                                                       tree _q110 = _q100_pops[0];
     451                 :           0 :                                                       if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
     452                 :             :                                                         {
     453                 :           0 :                                                           {
     454                 :           0 :                                                             tree _q101_pops[1];
     455                 :           0 :                                                             if (tree_nop_convert (_q101, _q101_pops))
     456                 :             :                                                               {
     457                 :           0 :                                                                 tree _q130 = _q101_pops[0];
     458                 :           0 :                                                                 if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
     459                 :             :                                                                   {
     460                 :           0 :                                                                     if (integer_zerop (_q21))
     461                 :             :                                                                       {
     462                 :           0 :                                                                         if ((_p1 == _q71 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q71, 0) && types_match (_p1, _q71)))
     463                 :             :                                                                           {
     464                 :           0 :                                                                             {
     465                 :           0 :                                                                               tree _p2_pops[1];
     466                 :           0 :                                                                               if (tree_signed_integer_sat_val (_p2, _p2_pops))
     467                 :             :                                                                                 {
     468                 :           0 :                                                                                   tree _q170 = _p2_pops[0];
     469                 :           0 :                                                                                   if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
     470                 :             :                                                                                     {
     471                 :           0 :                                                                                       {
     472                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q71 };
     473                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     474                 :             : )
     475                 :             :                                                                                           {
     476                 :           0 :                                                                                             {
     477                 :           0 :                                                                                               res_ops[0] = captures[0];
     478                 :           0 :                                                                                               res_ops[1] = captures[1];
     479                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 82, __FILE__, __LINE__, false);
     480                 :           0 :                                                                                               return true;
     481                 :             :                                                                                             }
     482                 :             :                                                                                           }
     483                 :             :                                                                                       }
     484                 :             :                                                                                     }
     485                 :             :                                                                                 }
     486                 :             :                                                                             }
     487                 :             :                                                                           }
     488                 :             :                                                                       }
     489                 :             :                                                                   }
     490                 :             :                                                               }
     491                 :             :                                                           }
     492                 :             :                                                         }
     493                 :             :                                                     }
     494                 :             :                                                 }
     495                 :           0 :                                                 break;
     496                 :             :                                               }
     497                 :             :                                             default:;
     498                 :             :                                             }
     499                 :             :                                         }
     500                 :             :                                     }
     501                 :             :                                   }
     502                 :           0 :                                 if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
     503                 :             :                                   {
     504                 :           0 :                                     {
     505                 :           0 :                                       tree _q71_pops[1];
     506                 :           0 :                                       if (tree_nop_convert (_q71, _q71_pops))
     507                 :             :                                         {
     508                 :           0 :                                           tree _q90 = _q71_pops[0];
     509                 :           0 :                                           switch (TREE_CODE (_q90))
     510                 :             :                                             {
     511                 :           0 :                                             case MINUS_EXPR:
     512                 :           0 :                                               {
     513                 :           0 :                                                 tree _q100 = TREE_OPERAND (_q90, 0);
     514                 :           0 :                                                 tree _q101 = TREE_OPERAND (_q90, 1);
     515                 :           0 :                                                 {
     516                 :           0 :                                                   tree _q100_pops[1];
     517                 :           0 :                                                   if (tree_nop_convert (_q100, _q100_pops))
     518                 :             :                                                     {
     519                 :           0 :                                                       tree _q110 = _q100_pops[0];
     520                 :           0 :                                                       if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
     521                 :             :                                                         {
     522                 :           0 :                                                           {
     523                 :           0 :                                                             tree _q101_pops[1];
     524                 :           0 :                                                             if (tree_nop_convert (_q101, _q101_pops))
     525                 :             :                                                               {
     526                 :           0 :                                                                 tree _q130 = _q101_pops[0];
     527                 :           0 :                                                                 if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
     528                 :             :                                                                   {
     529                 :           0 :                                                                     if (integer_zerop (_q21))
     530                 :             :                                                                       {
     531                 :           0 :                                                                         if ((_p1 == _q71 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q71, 0) && types_match (_p1, _q71)))
     532                 :             :                                                                           {
     533                 :           0 :                                                                             {
     534                 :           0 :                                                                               tree _p2_pops[1];
     535                 :           0 :                                                                               if (tree_signed_integer_sat_val (_p2, _p2_pops))
     536                 :             :                                                                                 {
     537                 :           0 :                                                                                   tree _q170 = _p2_pops[0];
     538                 :           0 :                                                                                   if ((_q170 == _q41 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q41, 0) && types_match (_q170, _q41)))
     539                 :             :                                                                                     {
     540                 :           0 :                                                                                       {
     541                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q71 };
     542                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     543                 :             : )
     544                 :             :                                                                                           {
     545                 :           0 :                                                                                             {
     546                 :           0 :                                                                                               res_ops[0] = captures[0];
     547                 :           0 :                                                                                               res_ops[1] = captures[1];
     548                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 82, __FILE__, __LINE__, false);
     549                 :           0 :                                                                                               return true;
     550                 :             :                                                                                             }
     551                 :             :                                                                                           }
     552                 :             :                                                                                       }
     553                 :             :                                                                                     }
     554                 :             :                                                                                 }
     555                 :             :                                                                             }
     556                 :             :                                                                           }
     557                 :             :                                                                       }
     558                 :             :                                                                   }
     559                 :             :                                                               }
     560                 :             :                                                           }
     561                 :             :                                                         }
     562                 :             :                                                     }
     563                 :             :                                                 }
     564                 :           0 :                                                 break;
     565                 :             :                                               }
     566                 :             :                                             default:;
     567                 :             :                                             }
     568                 :             :                                         }
     569                 :             :                                     }
     570                 :             :                                   }
     571                 :             :                                 break;
     572                 :             :                               }
     573                 :           0 :                             default:;
     574                 :             :                             }
     575                 :           0 :                           {
     576                 :           0 :                             tree _q41_pops[1];
     577                 :           0 :                             if (tree_nop_convert (_q41, _q41_pops))
     578                 :             :                               {
     579                 :           0 :                                 tree _q60 = _q41_pops[0];
     580                 :           0 :                                 switch (TREE_CODE (_q60))
     581                 :             :                                   {
     582                 :           0 :                                   case MINUS_EXPR:
     583                 :           0 :                                     {
     584                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
     585                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
     586                 :           0 :                                       {
     587                 :           0 :                                         tree _q70_pops[1];
     588                 :           0 :                                         if (tree_nop_convert (_q70, _q70_pops))
     589                 :             :                                           {
     590                 :           0 :                                             tree _q80 = _q70_pops[0];
     591                 :           0 :                                             if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
     592                 :             :                                               {
     593                 :           0 :                                                 {
     594                 :           0 :                                                   tree _q71_pops[1];
     595                 :           0 :                                                   if (tree_nop_convert (_q71, _q71_pops))
     596                 :             :                                                     {
     597                 :           0 :                                                       tree _q100 = _q71_pops[0];
     598                 :           0 :                                                       switch (TREE_CODE (_q31))
     599                 :             :                                                         {
     600                 :           0 :                                                         case BIT_XOR_EXPR:
     601                 :           0 :                                                           {
     602                 :           0 :                                                             tree _q120 = TREE_OPERAND (_q31, 0);
     603                 :           0 :                                                             tree _q121 = TREE_OPERAND (_q31, 1);
     604                 :           0 :                                                             if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
     605                 :             :                                                               {
     606                 :           0 :                                                                 if ((_q121 == _q100 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q100, 0) && types_match (_q121, _q100)))
     607                 :             :                                                                   {
     608                 :           0 :                                                                     if (integer_zerop (_q21))
     609                 :             :                                                                       {
     610                 :           0 :                                                                         if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
     611                 :             :                                                                           {
     612                 :           0 :                                                                             {
     613                 :           0 :                                                                               tree _p2_pops[1];
     614                 :           0 :                                                                               if (tree_signed_integer_sat_val (_p2, _p2_pops))
     615                 :             :                                                                                 {
     616                 :           0 :                                                                                   tree _q170 = _p2_pops[0];
     617                 :           0 :                                                                                   if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
     618                 :             :                                                                                     {
     619                 :           0 :                                                                                       {
     620                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     621                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     622                 :             : )
     623                 :             :                                                                                           {
     624                 :           0 :                                                                                             {
     625                 :           0 :                                                                                               res_ops[0] = captures[0];
     626                 :           0 :                                                                                               res_ops[1] = captures[1];
     627                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 82, __FILE__, __LINE__, false);
     628                 :           0 :                                                                                               return true;
     629                 :             :                                                                                             }
     630                 :             :                                                                                           }
     631                 :             :                                                                                       }
     632                 :             :                                                                                     }
     633                 :             :                                                                                 }
     634                 :             :                                                                             }
     635                 :             :                                                                           }
     636                 :             :                                                                       }
     637                 :             :                                                                   }
     638                 :             :                                                               }
     639                 :           0 :                                                             if ((_q120 == _q100 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q100, 0) && types_match (_q120, _q100)))
     640                 :             :                                                               {
     641                 :           0 :                                                                 if ((_q121 == _q40 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q40, 0) && types_match (_q121, _q40)))
     642                 :             :                                                                   {
     643                 :           0 :                                                                     if (integer_zerop (_q21))
     644                 :             :                                                                       {
     645                 :           0 :                                                                         if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
     646                 :             :                                                                           {
     647                 :           0 :                                                                             {
     648                 :           0 :                                                                               tree _p2_pops[1];
     649                 :           0 :                                                                               if (tree_signed_integer_sat_val (_p2, _p2_pops))
     650                 :             :                                                                                 {
     651                 :           0 :                                                                                   tree _q170 = _p2_pops[0];
     652                 :           0 :                                                                                   if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
     653                 :             :                                                                                     {
     654                 :           0 :                                                                                       {
     655                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     656                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     657                 :             : )
     658                 :             :                                                                                           {
     659                 :           0 :                                                                                             {
     660                 :           0 :                                                                                               res_ops[0] = captures[0];
     661                 :           0 :                                                                                               res_ops[1] = captures[1];
     662                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 82, __FILE__, __LINE__, false);
     663                 :           0 :                                                                                               return true;
     664                 :             :                                                                                             }
     665                 :             :                                                                                           }
     666                 :             :                                                                                       }
     667                 :             :                                                                                     }
     668                 :             :                                                                                 }
     669                 :             :                                                                             }
     670                 :             :                                                                           }
     671                 :             :                                                                       }
     672                 :             :                                                                   }
     673                 :             :                                                               }
     674                 :             :                                                             break;
     675                 :             :                                                           }
     676                 :             :                                                         default:;
     677                 :             :                                                         }
     678                 :             :                                                     }
     679                 :             :                                                 }
     680                 :             :                                               }
     681                 :             :                                           }
     682                 :             :                                       }
     683                 :           0 :                                       break;
     684                 :             :                                     }
     685                 :             :                                   default:;
     686                 :             :                                   }
     687                 :             :                               }
     688                 :             :                           }
     689                 :           0 :                           break;
     690                 :             :                         }
     691                 :             :                       default:;
     692                 :             :                       }
     693                 :             :                     break;
     694                 :             :                   }
     695                 :             :                 default:;
     696                 :             :                 }
     697                 :             :               break;
     698                 :             :             }
     699                 :           0 :           case BIT_AND_EXPR:
     700                 :           0 :             {
     701                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     702                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     703                 :           0 :               switch (TREE_CODE (_q20))
     704                 :             :                 {
     705                 :           0 :                 case LT_EXPR:
     706                 :           0 :                   {
     707                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     708                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
     709                 :           0 :                     switch (TREE_CODE (_q30))
     710                 :             :                       {
     711                 :           0 :                       case BIT_XOR_EXPR:
     712                 :           0 :                         {
     713                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     714                 :           0 :                           tree _q41 = TREE_OPERAND (_q30, 1);
     715                 :           0 :                           {
     716                 :           0 :                             tree _q41_pops[1];
     717                 :           0 :                             if (tree_nop_convert (_q41, _q41_pops))
     718                 :             :                               {
     719                 :           0 :                                 tree _q60 = _q41_pops[0];
     720                 :           0 :                                 switch (TREE_CODE (_q60))
     721                 :             :                                   {
     722                 :           0 :                                   case MINUS_EXPR:
     723                 :           0 :                                     {
     724                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
     725                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
     726                 :           0 :                                       {
     727                 :           0 :                                         tree _q70_pops[1];
     728                 :           0 :                                         if (tree_nop_convert (_q70, _q70_pops))
     729                 :             :                                           {
     730                 :           0 :                                             tree _q80 = _q70_pops[0];
     731                 :           0 :                                             if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
     732                 :             :                                               {
     733                 :           0 :                                                 {
     734                 :           0 :                                                   tree _q71_pops[1];
     735                 :           0 :                                                   if (tree_nop_convert (_q71, _q71_pops))
     736                 :             :                                                     {
     737                 :           0 :                                                       tree _q100 = _q71_pops[0];
     738                 :           0 :                                                       if (integer_zerop (_q31))
     739                 :             :                                                         {
     740                 :           0 :                                                           switch (TREE_CODE (_q21))
     741                 :             :                                                             {
     742                 :           0 :                                                             case LT_EXPR:
     743                 :           0 :                                                               {
     744                 :           0 :                                                                 tree _q130 = TREE_OPERAND (_q21, 0);
     745                 :           0 :                                                                 tree _q131 = TREE_OPERAND (_q21, 1);
     746                 :           0 :                                                                 switch (TREE_CODE (_q130))
     747                 :             :                                                                   {
     748                 :           0 :                                                                   case BIT_XOR_EXPR:
     749                 :           0 :                                                                     {
     750                 :           0 :                                                                       tree _q140 = TREE_OPERAND (_q130, 0);
     751                 :           0 :                                                                       tree _q141 = TREE_OPERAND (_q130, 1);
     752                 :           0 :                                                                       if ((_q140 == _q40 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q40, 0) && types_match (_q140, _q40)))
     753                 :             :                                                                         {
     754                 :           0 :                                                                           if ((_q141 == _q100 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q100, 0) && types_match (_q141, _q100)))
     755                 :             :                                                                             {
     756                 :           0 :                                                                               if (integer_zerop (_q131))
     757                 :             :                                                                                 {
     758                 :           0 :                                                                                   {
     759                 :           0 :                                                                                     tree _p1_pops[1];
     760                 :           0 :                                                                                     if (tree_signed_integer_sat_val (_p1, _p1_pops))
     761                 :             :                                                                                       {
     762                 :           0 :                                                                                         tree _q180 = _p1_pops[0];
     763                 :           0 :                                                                                         if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
     764                 :             :                                                                                           {
     765                 :           0 :                                                                                             if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
     766                 :             :                                                                                               {
     767                 :           0 :                                                                                                 {
     768                 :           0 :                                                                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     769                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     770                 :             : )
     771                 :             :                                                                                                     {
     772                 :           0 :                                                                                                       {
     773                 :           0 :                                                                                                         res_ops[0] = captures[0];
     774                 :           0 :                                                                                                         res_ops[1] = captures[1];
     775                 :           0 :                                                                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 83, __FILE__, __LINE__, false);
     776                 :           0 :                                                                                                         return true;
     777                 :             :                                                                                                       }
     778                 :             :                                                                                                     }
     779                 :             :                                                                                                 }
     780                 :             :                                                                                               }
     781                 :             :                                                                                           }
     782                 :             :                                                                                       }
     783                 :             :                                                                                   }
     784                 :             :                                                                                 }
     785                 :             :                                                                             }
     786                 :             :                                                                         }
     787                 :           0 :                                                                       if ((_q140 == _q100 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q100, 0) && types_match (_q140, _q100)))
     788                 :             :                                                                         {
     789                 :           0 :                                                                           if ((_q141 == _q40 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q40, 0) && types_match (_q141, _q40)))
     790                 :             :                                                                             {
     791                 :           0 :                                                                               if (integer_zerop (_q131))
     792                 :             :                                                                                 {
     793                 :           0 :                                                                                   {
     794                 :           0 :                                                                                     tree _p1_pops[1];
     795                 :           0 :                                                                                     if (tree_signed_integer_sat_val (_p1, _p1_pops))
     796                 :             :                                                                                       {
     797                 :           0 :                                                                                         tree _q180 = _p1_pops[0];
     798                 :           0 :                                                                                         if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
     799                 :             :                                                                                           {
     800                 :           0 :                                                                                             if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
     801                 :             :                                                                                               {
     802                 :           0 :                                                                                                 {
     803                 :           0 :                                                                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     804                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     805                 :             : )
     806                 :             :                                                                                                     {
     807                 :           0 :                                                                                                       {
     808                 :           0 :                                                                                                         res_ops[0] = captures[0];
     809                 :           0 :                                                                                                         res_ops[1] = captures[1];
     810                 :           0 :                                                                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 83, __FILE__, __LINE__, false);
     811                 :           0 :                                                                                                         return true;
     812                 :             :                                                                                                       }
     813                 :             :                                                                                                     }
     814                 :             :                                                                                                 }
     815                 :             :                                                                                               }
     816                 :             :                                                                                           }
     817                 :             :                                                                                       }
     818                 :             :                                                                                   }
     819                 :             :                                                                                 }
     820                 :             :                                                                             }
     821                 :             :                                                                         }
     822                 :             :                                                                       break;
     823                 :             :                                                                     }
     824                 :             :                                                                   default:;
     825                 :             :                                                                   }
     826                 :             :                                                                 break;
     827                 :             :                                                               }
     828                 :             :                                                             default:;
     829                 :             :                                                             }
     830                 :             :                                                         }
     831                 :             :                                                     }
     832                 :             :                                                 }
     833                 :             :                                               }
     834                 :             :                                           }
     835                 :             :                                       }
     836                 :           0 :                                       break;
     837                 :             :                                     }
     838                 :             :                                   default:;
     839                 :             :                                   }
     840                 :             :                               }
     841                 :             :                           }
     842                 :           0 :                           if (integer_zerop (_q31))
     843                 :             :                             {
     844                 :           0 :                               switch (TREE_CODE (_q21))
     845                 :             :                                 {
     846                 :           0 :                                 case LT_EXPR:
     847                 :           0 :                                   {
     848                 :           0 :                                     tree _q80 = TREE_OPERAND (_q21, 0);
     849                 :           0 :                                     tree _q81 = TREE_OPERAND (_q21, 1);
     850                 :           0 :                                     switch (TREE_CODE (_q80))
     851                 :             :                                       {
     852                 :           0 :                                       case BIT_XOR_EXPR:
     853                 :           0 :                                         {
     854                 :           0 :                                           tree _q90 = TREE_OPERAND (_q80, 0);
     855                 :           0 :                                           tree _q91 = TREE_OPERAND (_q80, 1);
     856                 :           0 :                                           if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
     857                 :             :                                             {
     858                 :           0 :                                               {
     859                 :           0 :                                                 tree _q91_pops[1];
     860                 :           0 :                                                 if (tree_nop_convert (_q91, _q91_pops))
     861                 :             :                                                   {
     862                 :           0 :                                                     tree _q110 = _q91_pops[0];
     863                 :           0 :                                                     switch (TREE_CODE (_q110))
     864                 :             :                                                       {
     865                 :           0 :                                                       case MINUS_EXPR:
     866                 :           0 :                                                         {
     867                 :           0 :                                                           tree _q120 = TREE_OPERAND (_q110, 0);
     868                 :           0 :                                                           tree _q121 = TREE_OPERAND (_q110, 1);
     869                 :           0 :                                                           {
     870                 :           0 :                                                             tree _q120_pops[1];
     871                 :           0 :                                                             if (tree_nop_convert (_q120, _q120_pops))
     872                 :             :                                                               {
     873                 :           0 :                                                                 tree _q130 = _q120_pops[0];
     874                 :           0 :                                                                 if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
     875                 :             :                                                                   {
     876                 :           0 :                                                                     {
     877                 :           0 :                                                                       tree _q121_pops[1];
     878                 :           0 :                                                                       if (tree_nop_convert (_q121, _q121_pops))
     879                 :             :                                                                         {
     880                 :           0 :                                                                           tree _q150 = _q121_pops[0];
     881                 :           0 :                                                                           if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
     882                 :             :                                                                             {
     883                 :           0 :                                                                               if (integer_zerop (_q81))
     884                 :             :                                                                                 {
     885                 :           0 :                                                                                   {
     886                 :           0 :                                                                                     tree _p1_pops[1];
     887                 :           0 :                                                                                     if (tree_signed_integer_sat_val (_p1, _p1_pops))
     888                 :             :                                                                                       {
     889                 :           0 :                                                                                         tree _q180 = _p1_pops[0];
     890                 :           0 :                                                                                         if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
     891                 :             :                                                                                           {
     892                 :           0 :                                                                                             if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
     893                 :             :                                                                                               {
     894                 :           0 :                                                                                                 {
     895                 :           0 :                                                                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q91 };
     896                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     897                 :             : )
     898                 :             :                                                                                                     {
     899                 :           0 :                                                                                                       {
     900                 :           0 :                                                                                                         res_ops[0] = captures[0];
     901                 :           0 :                                                                                                         res_ops[1] = captures[1];
     902                 :           0 :                                                                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 83, __FILE__, __LINE__, false);
     903                 :           0 :                                                                                                         return true;
     904                 :             :                                                                                                       }
     905                 :             :                                                                                                     }
     906                 :             :                                                                                                 }
     907                 :             :                                                                                               }
     908                 :             :                                                                                           }
     909                 :             :                                                                                       }
     910                 :             :                                                                                   }
     911                 :             :                                                                                 }
     912                 :             :                                                                             }
     913                 :             :                                                                         }
     914                 :             :                                                                     }
     915                 :             :                                                                   }
     916                 :             :                                                               }
     917                 :             :                                                           }
     918                 :           0 :                                                           break;
     919                 :             :                                                         }
     920                 :             :                                                       default:;
     921                 :             :                                                       }
     922                 :             :                                                   }
     923                 :             :                                               }
     924                 :             :                                             }
     925                 :           0 :                                           if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
     926                 :             :                                             {
     927                 :           0 :                                               {
     928                 :           0 :                                                 tree _q91_pops[1];
     929                 :           0 :                                                 if (tree_nop_convert (_q91, _q91_pops))
     930                 :             :                                                   {
     931                 :           0 :                                                     tree _q110 = _q91_pops[0];
     932                 :           0 :                                                     switch (TREE_CODE (_q110))
     933                 :             :                                                       {
     934                 :           0 :                                                       case MINUS_EXPR:
     935                 :           0 :                                                         {
     936                 :           0 :                                                           tree _q120 = TREE_OPERAND (_q110, 0);
     937                 :           0 :                                                           tree _q121 = TREE_OPERAND (_q110, 1);
     938                 :           0 :                                                           {
     939                 :           0 :                                                             tree _q120_pops[1];
     940                 :           0 :                                                             if (tree_nop_convert (_q120, _q120_pops))
     941                 :             :                                                               {
     942                 :           0 :                                                                 tree _q130 = _q120_pops[0];
     943                 :           0 :                                                                 if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
     944                 :             :                                                                   {
     945                 :           0 :                                                                     {
     946                 :           0 :                                                                       tree _q121_pops[1];
     947                 :           0 :                                                                       if (tree_nop_convert (_q121, _q121_pops))
     948                 :             :                                                                         {
     949                 :           0 :                                                                           tree _q150 = _q121_pops[0];
     950                 :           0 :                                                                           if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
     951                 :             :                                                                             {
     952                 :           0 :                                                                               if (integer_zerop (_q81))
     953                 :             :                                                                                 {
     954                 :           0 :                                                                                   {
     955                 :           0 :                                                                                     tree _p1_pops[1];
     956                 :           0 :                                                                                     if (tree_signed_integer_sat_val (_p1, _p1_pops))
     957                 :             :                                                                                       {
     958                 :           0 :                                                                                         tree _q180 = _p1_pops[0];
     959                 :           0 :                                                                                         if ((_q180 == _q41 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q41, 0) && types_match (_q180, _q41)))
     960                 :             :                                                                                           {
     961                 :           0 :                                                                                             if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
     962                 :             :                                                                                               {
     963                 :           0 :                                                                                                 {
     964                 :           0 :                                                                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q91 };
     965                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     966                 :             : )
     967                 :             :                                                                                                     {
     968                 :           0 :                                                                                                       {
     969                 :           0 :                                                                                                         res_ops[0] = captures[0];
     970                 :           0 :                                                                                                         res_ops[1] = captures[1];
     971                 :           0 :                                                                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 83, __FILE__, __LINE__, false);
     972                 :           0 :                                                                                                         return true;
     973                 :             :                                                                                                       }
     974                 :             :                                                                                                     }
     975                 :             :                                                                                                 }
     976                 :             :                                                                                               }
     977                 :             :                                                                                           }
     978                 :             :                                                                                       }
     979                 :             :                                                                                   }
     980                 :             :                                                                                 }
     981                 :             :                                                                             }
     982                 :             :                                                                         }
     983                 :             :                                                                     }
     984                 :             :                                                                   }
     985                 :             :                                                               }
     986                 :             :                                                           }
     987                 :           0 :                                                           break;
     988                 :             :                                                         }
     989                 :             :                                                       default:;
     990                 :             :                                                       }
     991                 :             :                                                   }
     992                 :             :                                               }
     993                 :             :                                             }
     994                 :             :                                           break;
     995                 :             :                                         }
     996                 :             :                                       default:;
     997                 :             :                                       }
     998                 :             :                                     break;
     999                 :             :                                   }
    1000                 :             :                                 default:;
    1001                 :             :                                 }
    1002                 :             :                             }
    1003                 :             :                           break;
    1004                 :             :                         }
    1005                 :             :                       default:;
    1006                 :             :                       }
    1007                 :             :                     break;
    1008                 :             :                   }
    1009                 :             :                 default:;
    1010                 :             :                 }
    1011                 :             :               break;
    1012                 :             :             }
    1013                 :           0 :           case NE_EXPR:
    1014                 :           0 :             {
    1015                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
    1016                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
    1017                 :           0 :               switch (TREE_CODE (_q20))
    1018                 :             :                 {
    1019                 :           0 :                 case IMAGPART_EXPR:
    1020                 :           0 :                   {
    1021                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    1022                 :           0 :                     switch (TREE_CODE (_q30))
    1023                 :             :                       {
    1024                 :           0 :                       case CALL_EXPR:
    1025                 :           0 :                         switch (get_call_combined_fn (_q30))
    1026                 :             :                           {
    1027                 :           0 :                           case CFN_SUB_OVERFLOW:
    1028                 :           0 :                             if (call_expr_nargs (_q30) == 2)
    1029                 :             :     {
    1030                 :           0 :                                 tree _q40 = CALL_EXPR_ARG (_q30, 0);
    1031                 :           0 :                                 tree _q41 = CALL_EXPR_ARG (_q30, 1);
    1032                 :           0 :                                 if (integer_zerop (_q21))
    1033                 :             :                                   {
    1034                 :           0 :                                     {
    1035                 :           0 :                                       tree _p1_pops[1];
    1036                 :           0 :                                       if (tree_signed_integer_sat_val (_p1, _p1_pops))
    1037                 :             :                                         {
    1038                 :           0 :                                           tree _q80 = _p1_pops[0];
    1039                 :           0 :                                           if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
    1040                 :             :                                             {
    1041                 :           0 :                                               switch (TREE_CODE (_p2))
    1042                 :             :                                                 {
    1043                 :           0 :                                                 case REALPART_EXPR:
    1044                 :           0 :                                                   {
    1045                 :           0 :                                                     tree _q100 = TREE_OPERAND (_p2, 0);
    1046                 :           0 :                                                     if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
    1047                 :             :                                                       {
    1048                 :           0 :                                                         {
    1049                 :           0 :                                                           tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q30 };
    1050                 :           0 :                                                           if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
    1051                 :             : )
    1052                 :             :                                                             {
    1053                 :           0 :                                                               if (types_match (type, captures[0], captures[1])
    1054                 :             : )
    1055                 :             :                                                                 {
    1056                 :           0 :                                                                   {
    1057                 :           0 :                                                                     res_ops[0] = captures[0];
    1058                 :           0 :                                                                     res_ops[1] = captures[1];
    1059                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 84, __FILE__, __LINE__, false);
    1060                 :           0 :                                                                     return true;
    1061                 :             :                                                                   }
    1062                 :             :                                                                 }
    1063                 :             :                                                             }
    1064                 :             :                                                         }
    1065                 :             :                                                       }
    1066                 :             :                                                     break;
    1067                 :             :                                                   }
    1068                 :             :                                                 default:;
    1069                 :             :                                                 }
    1070                 :             :                                             }
    1071                 :             :                                         }
    1072                 :             :                                     }
    1073                 :             :                                   }
    1074                 :             :                               }
    1075                 :             :                             break;
    1076                 :             :                           default:;
    1077                 :             :                           }
    1078                 :             :                         break;
    1079                 :             :                       default:;
    1080                 :             :                       }
    1081                 :             :                     break;
    1082                 :             :                   }
    1083                 :             :                 default:;
    1084                 :             :                 }
    1085                 :             :               break;
    1086                 :             :             }
    1087                 :             :           default:;
    1088                 :             :           }
    1089                 :             :         break;
    1090                 :             :       }
    1091                 :             :     default:;
    1092                 :             :     }
    1093                 :             :   return false;
    1094                 :             : }
    1095                 :             : 
    1096                 :             : tree
    1097                 :           0 : generic_simplify_84 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1098                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1099                 :             : {
    1100                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1101                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail321;
    1102                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail321;
    1103                 :           0 :   {
    1104                 :           0 :     tree _r;
    1105                 :           0 :     _r = captures[2];
    1106                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 194, __FILE__, __LINE__, true);
    1107                 :             :     return _r;
    1108                 :             :   }
    1109                 :             : next_after_fail321:;
    1110                 :             :   return NULL_TREE;
    1111                 :             : }
    1112                 :             : 
    1113                 :             : tree
    1114                 :           1 : generic_simplify_91 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1115                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1116                 :             : {
    1117                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1118                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail328;
    1119                 :           1 :   {
    1120                 :           1 :     tree res_op0;
    1121                 :           1 :     {
    1122                 :           1 :       tree _o1[2], _r1;
    1123                 :           1 :       _o1[0] = captures[1];
    1124                 :           1 :       _o1[1] = captures[2];
    1125                 :           1 :       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1126                 :           1 :       res_op0 = _r1;
    1127                 :             :     }
    1128                 :           1 :     tree _r;
    1129                 :           1 :     _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    1130                 :           1 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 202, __FILE__, __LINE__, true);
    1131                 :             :     return _r;
    1132                 :             :   }
    1133                 :           0 : next_after_fail328:;
    1134                 :           0 :   return NULL_TREE;
    1135                 :             : }
    1136                 :             : 
    1137                 :             : tree
    1138                 :     1757440 : generic_simplify_101 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1139                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1140                 :             :  const enum tree_code ARG_UNUSED (bitop))
    1141                 :             : {
    1142                 :     1757440 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1143                 :     1757440 :   if (((TREE_CODE (captures[3]) == INTEGER_CST
    1144                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1145                 :           0 :  && (int_fits_type_p (captures[3], TREE_TYPE (captures[1]))
    1146                 :           0 :  || tree_nop_conversion_p (TREE_TYPE (captures[1]), type)))
    1147                 :     1757440 :  || types_match (captures[1], captures[3]))
    1148                 :     1668518 :  && !POINTER_TYPE_P (TREE_TYPE (captures[1]))
    1149                 :     1668259 :  && !VECTOR_TYPE_P (TREE_TYPE (captures[1]))
    1150                 :     1668259 :  && TREE_CODE (TREE_TYPE (captures[1])) != OFFSET_TYPE
    1151                 :     1668259 :  && (bitop != BIT_AND_EXPR ||
    1152                 :             : 
    1153                 :             : )
    1154                 :     1757440 :  && (
    1155                 :      940007 :  TYPE_PRECISION (TREE_TYPE (captures[1])) < TYPE_PRECISION (type)
    1156                 :             :  || (
    1157                 :             : 
    1158                 :             :  && TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (type))
    1159                 :      915579 :  || GET_MODE_CLASS (TYPE_MODE (type)) != MODE_INT
    1160                 :      915579 :  || !type_has_mode_precision_p (type)
    1161                 :      915579 :  || (
    1162                 :             : 
    1163                 :             :  && TREE_CODE (captures[3]) != INTEGER_CST
    1164                 :             :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
    1165                 :             :  && single_use (captures[0])
    1166                 :             :  && single_use (captures[2])))
    1167                 :             : )
    1168                 :             :     {
    1169                 :       24428 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail342;
    1170                 :       24428 :       {
    1171                 :       24428 :         tree res_op0;
    1172                 :       24428 :         {
    1173                 :       24428 :           tree _o1[2], _r1;
    1174                 :       24428 :           _o1[0] = captures[1];
    1175                 :       24428 :           {
    1176                 :       24428 :             tree _o2[1], _r2;
    1177                 :       24428 :             _o2[0] = captures[3];
    1178                 :       24428 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
    1179                 :             :               {
    1180                 :       14299 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    1181                 :             :               }
    1182                 :             :             else
    1183                 :             :               _r2 = _o2[0];
    1184                 :       24428 :             _o1[1] = _r2;
    1185                 :             :           }
    1186                 :       24428 :           _r1 = fold_build2_loc (loc, bitop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1187                 :       24428 :           res_op0 = _r1;
    1188                 :             :         }
    1189                 :       24428 :         tree _r;
    1190                 :       24428 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1191                 :       24428 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 208, __FILE__, __LINE__, true);
    1192                 :       24428 :         return _r;
    1193                 :             :       }
    1194                 :           0 : next_after_fail342:;
    1195                 :             :     }
    1196                 :             :   return NULL_TREE;
    1197                 :             : }
    1198                 :             : 
    1199                 :             : tree
    1200                 :           0 : generic_simplify_113 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1201                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1202                 :             :  const enum tree_code ARG_UNUSED (op))
    1203                 :             : {
    1204                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1205                 :           0 :   if (bitwise_equal_p (captures[4], captures[7])
    1206                 :             : )
    1207                 :             :     {
    1208                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail355;
    1209                 :           0 :       {
    1210                 :           0 :         tree res_op0;
    1211                 :           0 :         {
    1212                 :           0 :           tree _o1[2], _r1;
    1213                 :           0 :           {
    1214                 :           0 :             tree _o2[2], _r2;
    1215                 :           0 :             _o2[0] = captures[5];
    1216                 :           0 :             {
    1217                 :           0 :               tree _o3[1], _r3;
    1218                 :           0 :               _o3[0] = captures[6];
    1219                 :           0 :               if (TREE_TYPE (_o3[0]) != TREE_TYPE (_o2[0]))
    1220                 :             :                 {
    1221                 :           0 :                   _r3 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o2[0]), _o3[0]);
    1222                 :             :                 }
    1223                 :             :               else
    1224                 :             :                 _r3 = _o3[0];
    1225                 :           0 :               _o2[1] = _r3;
    1226                 :             :             }
    1227                 :           0 :             _r2 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    1228                 :           0 :             _o1[0] = _r2;
    1229                 :             :           }
    1230                 :           0 :           {
    1231                 :           0 :             tree _o2[1], _r2;
    1232                 :           0 :             _o2[0] = captures[4];
    1233                 :           0 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
    1234                 :             :               {
    1235                 :           0 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    1236                 :             :               }
    1237                 :             :             else
    1238                 :             :               _r2 = _o2[0];
    1239                 :           0 :             _o1[1] = _r2;
    1240                 :             :           }
    1241                 :           0 :           _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1242                 :           0 :           res_op0 = _r1;
    1243                 :             :         }
    1244                 :           0 :         tree _r;
    1245                 :           0 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1246                 :           0 :         if (TREE_SIDE_EFFECTS (captures[7]))
    1247                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[7]), _r);
    1248                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 213, __FILE__, __LINE__, true);
    1249                 :           0 :         return _r;
    1250                 :             :       }
    1251                 :           0 : next_after_fail355:;
    1252                 :             :     }
    1253                 :             :   return NULL_TREE;
    1254                 :             : }
    1255                 :             : 
    1256                 :             : tree
    1257                 :          56 : generic_simplify_122 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1258                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1259                 :             :  const enum tree_code ARG_UNUSED (inner_op),
    1260                 :             :  const enum tree_code ARG_UNUSED (outer_op))
    1261                 :             : {
    1262                 :          56 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1263                 :          56 :   {
    1264                 :          56 :  bool fail = false;
    1265                 :          56 :  wide_int zero_mask_not;
    1266                 :          56 :  wide_int C0;
    1267                 :          56 :  wide_int cst_emit;
    1268                 :          56 :  if (TREE_CODE (captures[1]) == SSA_NAME)
    1269                 :           0 :  zero_mask_not = get_nonzero_bits (captures[1]);
    1270                 :             :  else
    1271                 :             :  fail = true;
    1272                 :          56 :  if (inner_op == BIT_XOR_EXPR)
    1273                 :             :  {
    1274                 :          33 :  C0 = wi::bit_and_not (wi::to_wide (captures[2]), wi::to_wide (captures[3]));
    1275                 :          33 :  cst_emit = C0 | wi::to_wide (captures[3]);
    1276                 :             :  }
    1277                 :             :  else
    1278                 :             :  {
    1279                 :          23 :  C0 = wi::to_wide (captures[2]);
    1280                 :          23 :  cst_emit = C0 ^ wi::to_wide (captures[3]);
    1281                 :             :  }
    1282                 :          56 :       if (!fail && (C0 & zero_mask_not) == 0
    1283                 :             : )
    1284                 :             :         {
    1285                 :           0 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail369;
    1286                 :           0 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail369;
    1287                 :           0 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail369;
    1288                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail369;
    1289                 :           0 :           {
    1290                 :           0 :             tree res_op0;
    1291                 :           0 :             res_op0 = captures[1];
    1292                 :           0 :             tree res_op1;
    1293                 :           0 :             res_op1 =  wide_int_to_tree (type, cst_emit);
    1294                 :           0 :             tree _r;
    1295                 :           0 :             _r = fold_build2_loc (loc, outer_op, type, res_op0, res_op1);
    1296                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 229, __FILE__, __LINE__, true);
    1297                 :           0 :             return _r;
    1298                 :             :           }
    1299                 :          56 : next_after_fail369:;
    1300                 :             :         }
    1301                 :             :       else
    1302                 :             :         {
    1303                 :          56 :           if (!fail && (wi::to_wide (captures[3]) & zero_mask_not) == 0
    1304                 :             : )
    1305                 :             :             {
    1306                 :           0 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail370;
    1307                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail370;
    1308                 :           0 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail370;
    1309                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail370;
    1310                 :           0 :               {
    1311                 :           0 :                 tree res_op0;
    1312                 :           0 :                 res_op0 = captures[1];
    1313                 :           0 :                 tree res_op1;
    1314                 :           0 :                 res_op1 =  wide_int_to_tree (type, cst_emit);
    1315                 :           0 :                 tree _r;
    1316                 :           0 :                 _r = fold_build2_loc (loc, inner_op, type, res_op0, res_op1);
    1317                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 230, __FILE__, __LINE__, true);
    1318                 :           0 :                 return _r;
    1319                 :             :               }
    1320                 :          56 : next_after_fail370:;
    1321                 :             :             }
    1322                 :             :         }
    1323                 :          56 :   }
    1324                 :          56 :   return NULL_TREE;
    1325                 :             : }
    1326                 :             : 
    1327                 :             : tree
    1328                 :           0 : generic_simplify_137 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1329                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1330                 :             : {
    1331                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1332                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail416;
    1333                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail416;
    1334                 :           0 :   {
    1335                 :           0 :     tree _r;
    1336                 :           0 :     _r =  constant_boolean_node (true, type);
    1337                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    1338                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1339                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 250, __FILE__, __LINE__, true);
    1340                 :             :     return _r;
    1341                 :             :   }
    1342                 :             : next_after_fail416:;
    1343                 :             :   return NULL_TREE;
    1344                 :             : }
    1345                 :             : 
    1346                 :             : tree
    1347                 :           0 : generic_simplify_139 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1348                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1349                 :             : {
    1350                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1351                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail419;
    1352                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail419;
    1353                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail419;
    1354                 :           0 :   {
    1355                 :           0 :     tree _r;
    1356                 :           0 :     _r = captures[0];
    1357                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 253, __FILE__, __LINE__, true);
    1358                 :             :     return _r;
    1359                 :             :   }
    1360                 :             : next_after_fail419:;
    1361                 :             :   return NULL_TREE;
    1362                 :             : }
    1363                 :             : 
    1364                 :             : tree
    1365                 :           0 : generic_simplify_142 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1366                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1367                 :             :  const enum tree_code ARG_UNUSED (op))
    1368                 :             : {
    1369                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1370                 :           0 :   if (INTEGRAL_TYPE_P (type)
    1371                 :           0 :  && tree_int_cst_sgn (captures[5]) > 0
    1372                 :           0 :  && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[4])) == 0
    1373                 :             : )
    1374                 :             :     {
    1375                 :           0 :       {
    1376                 :           0 :  tree t = type;
    1377                 :           0 :  if (!TYPE_OVERFLOW_WRAPS (t))
    1378                 :           0 :  t = unsigned_type_for (t);
    1379                 :           0 :  wide_int wone = wi::one (TYPE_PRECISION (type));
    1380                 :           0 :  wide_int c = wi::add (wi::to_wide (captures[3]),
    1381                 :           0 :  wi::lshift (wone, wi::to_wide (captures[5])));
    1382                 :           0 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail422;
    1383                 :           0 :           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail422;
    1384                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail422;
    1385                 :           0 :           {
    1386                 :           0 :             tree res_op0;
    1387                 :           0 :             {
    1388                 :           0 :               tree _o1[2], _r1;
    1389                 :           0 :               {
    1390                 :           0 :                 tree _o2[1], _r2;
    1391                 :           0 :                 _o2[0] = captures[2];
    1392                 :           0 :                 if (TREE_TYPE (_o2[0]) != t)
    1393                 :             :                   {
    1394                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
    1395                 :             :                   }
    1396                 :             :                 else
    1397                 :             :                   _r2 = _o2[0];
    1398                 :           0 :                 _o1[0] = _r2;
    1399                 :             :               }
    1400                 :           0 :               _o1[1] =  wide_int_to_tree (t, c);
    1401                 :           0 :               _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
    1402                 :           0 :               res_op0 = _r1;
    1403                 :             :             }
    1404                 :           0 :             tree _r;
    1405                 :           0 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1406                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 217, __FILE__, __LINE__, true);
    1407                 :           0 :             return _r;
    1408                 :             :           }
    1409                 :           0 : next_after_fail422:;
    1410                 :           0 :       }
    1411                 :             :     }
    1412                 :             :   return NULL_TREE;
    1413                 :             : }
    1414                 :             : 
    1415                 :             : tree
    1416                 :           0 : generic_simplify_146 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1417                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1418                 :             : {
    1419                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1420                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail426;
    1421                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail426;
    1422                 :           0 :   {
    1423                 :           0 :     tree _r;
    1424                 :           0 :     _r = captures[1];
    1425                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 256, __FILE__, __LINE__, true);
    1426                 :             :     return _r;
    1427                 :             :   }
    1428                 :             : next_after_fail426:;
    1429                 :             :   return NULL_TREE;
    1430                 :             : }
    1431                 :             : 
    1432                 :             : tree
    1433                 :           0 : generic_simplify_149 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1434                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1435                 :             : {
    1436                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1437                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail429;
    1438                 :           0 :   {
    1439                 :           0 :     tree res_op0;
    1440                 :           0 :     {
    1441                 :           0 :       tree _o1[2], _r1;
    1442                 :           0 :       _o1[0] = captures[1];
    1443                 :           0 :       _o1[1] = captures[2];
    1444                 :           0 :       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1445                 :           0 :       res_op0 = _r1;
    1446                 :             :     }
    1447                 :           0 :     tree _r;
    1448                 :           0 :     _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    1449                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 258, __FILE__, __LINE__, true);
    1450                 :             :     return _r;
    1451                 :             :   }
    1452                 :           0 : next_after_fail429:;
    1453                 :           0 :   return NULL_TREE;
    1454                 :             : }
    1455                 :             : 
    1456                 :             : tree
    1457                 :           1 : generic_simplify_154 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1458                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1459                 :             : {
    1460                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1461                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail434;
    1462                 :           1 :   {
    1463                 :           1 :     tree res_op0;
    1464                 :           1 :     res_op0 = captures[0];
    1465                 :           1 :     tree res_op1;
    1466                 :           1 :     res_op1 = captures[1];
    1467                 :           1 :     tree _r;
    1468                 :           1 :     _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    1469                 :           1 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 263, __FILE__, __LINE__, true);
    1470                 :             :     return _r;
    1471                 :             :   }
    1472                 :           0 : next_after_fail434:;
    1473                 :           0 :   return NULL_TREE;
    1474                 :             : }
    1475                 :             : 
    1476                 :             : tree
    1477                 :           0 : generic_simplify_157 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1478                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1479                 :             : {
    1480                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1481                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail437;
    1482                 :           0 :   {
    1483                 :           0 :     tree res_op0;
    1484                 :           0 :     res_op0 = captures[0];
    1485                 :           0 :     tree res_op1;
    1486                 :           0 :     res_op1 = captures[1];
    1487                 :           0 :     tree _r;
    1488                 :           0 :     _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    1489                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 266, __FILE__, __LINE__, true);
    1490                 :             :     return _r;
    1491                 :             :   }
    1492                 :           0 : next_after_fail437:;
    1493                 :           0 :   return NULL_TREE;
    1494                 :             : }
    1495                 :             : 
    1496                 :             : tree
    1497                 :         731 : generic_simplify_163 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1498                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1499                 :             : {
    1500                 :         731 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1501                 :         731 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[2]))
    1502                 :             : )
    1503                 :             :     {
    1504                 :         731 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail443;
    1505                 :         731 :       {
    1506                 :         731 :         tree res_op0;
    1507                 :         731 :         {
    1508                 :         731 :           tree _o1[2], _r1;
    1509                 :         731 :           {
    1510                 :         731 :             tree _o2[1], _r2;
    1511                 :         731 :             _o2[0] = captures[2];
    1512                 :         731 :             if (TREE_TYPE (_o2[0]) != type)
    1513                 :             :               {
    1514                 :           0 :                 _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o2[0]);
    1515                 :             :               }
    1516                 :             :             else
    1517                 :             :               _r2 = _o2[0];
    1518                 :         731 :             _o1[0] = _r2;
    1519                 :             :           }
    1520                 :         731 :           _o1[1] = captures[3];
    1521                 :         731 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1522                 :         731 :           res_op0 = _r1;
    1523                 :             :         }
    1524                 :         731 :         tree _r;
    1525                 :         731 :         _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    1526                 :         731 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 272, __FILE__, __LINE__, true);
    1527                 :         731 :         return _r;
    1528                 :             :       }
    1529                 :           0 : next_after_fail443:;
    1530                 :             :     }
    1531                 :             :   return NULL_TREE;
    1532                 :             : }
    1533                 :             : 
    1534                 :             : tree
    1535                 :           4 : generic_simplify_173 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1536                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1537                 :             :  const combined_fn ARG_UNUSED (COPYSIGN_ALL))
    1538                 :             : {
    1539                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1540                 :           4 :   if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    1541                 :             : )
    1542                 :             :     {
    1543                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail455;
    1544                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail455;
    1545                 :           0 :       {
    1546                 :           0 :         tree res_op0;
    1547                 :           0 :         res_op0 = captures[0];
    1548                 :           0 :         tree _r;
    1549                 :           0 :         _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
    1550                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 282, __FILE__, __LINE__, true);
    1551                 :           0 :         return _r;
    1552                 :             :       }
    1553                 :             : next_after_fail455:;
    1554                 :             :     }
    1555                 :             :   return NULL_TREE;
    1556                 :             : }
    1557                 :             : 
    1558                 :             : tree
    1559                 :        3025 : generic_simplify_178 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1560                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1561                 :             : {
    1562                 :        3025 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1563                 :        3025 :   if (! FLOAT_TYPE_P (type)
    1564                 :        6050 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
    1565                 :             : )
    1566                 :             :     {
    1567                 :        3024 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail460;
    1568                 :        3024 :       {
    1569                 :        3024 :         tree res_op0;
    1570                 :        3024 :         res_op0 = captures[0];
    1571                 :        3024 :         tree res_op1;
    1572                 :        3024 :         res_op1 = captures[2];
    1573                 :        3024 :         tree _r;
    1574                 :        3024 :         _r = fold_build2_loc (loc, LSHIFT_EXPR, type, res_op0, res_op1);
    1575                 :        3024 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1576                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1577                 :        3024 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 286, __FILE__, __LINE__, true);
    1578                 :        3024 :         return _r;
    1579                 :             :       }
    1580                 :           0 : next_after_fail460:;
    1581                 :             :     }
    1582                 :             :   return NULL_TREE;
    1583                 :             : }
    1584                 :             : 
    1585                 :             : tree
    1586                 :      137000 : generic_simplify_188 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1587                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1588                 :             : {
    1589                 :      137000 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1590                 :      137000 :   {
    1591                 :      137000 :  poly_widest_int factor;
    1592                 :      137000 :       if (multiple_p (wi::to_poly_widest (captures[2]), wi::to_widest (captures[1]), &factor)
    1593                 :             : )
    1594                 :             :         {
    1595                 :       45774 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail472;
    1596                 :       45774 :           {
    1597                 :       45774 :             tree res_op0;
    1598                 :       45774 :             {
    1599                 :       45774 :               tree _o1[1], _r1;
    1600                 :       45774 :               _o1[0] = captures[0];
    1601                 :       45774 :               if (TREE_TYPE (_o1[0]) != type)
    1602                 :             :                 {
    1603                 :        3664 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1604                 :             :                 }
    1605                 :             :               else
    1606                 :             :                 _r1 = _o1[0];
    1607                 :       45774 :               res_op0 = _r1;
    1608                 :             :             }
    1609                 :       45774 :             tree res_op1;
    1610                 :       45774 :             res_op1 =  wide_int_to_tree (type, factor);
    1611                 :       45774 :             tree _r;
    1612                 :       45774 :             _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    1613                 :       45774 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1614                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1615                 :       45774 :             if (TREE_SIDE_EFFECTS (captures[2]))
    1616                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1617                 :       45774 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 294, __FILE__, __LINE__, true);
    1618                 :       45774 :             return _r;
    1619                 :             :           }
    1620                 :           0 : next_after_fail472:;
    1621                 :             :         }
    1622                 :      137000 :   }
    1623                 :       91226 :   return NULL_TREE;
    1624                 :             : }
    1625                 :             : 
    1626                 :             : tree
    1627                 :           2 : generic_simplify_197 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1628                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1629                 :             :  const combined_fn ARG_UNUSED (POW))
    1630                 :             : {
    1631                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1632                 :           2 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    1633                 :             : )
    1634                 :             :     {
    1635                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail482;
    1636                 :           2 :       {
    1637                 :           2 :         tree res_op0;
    1638                 :           2 :         {
    1639                 :           2 :           tree _o1[2], _r1;
    1640                 :           2 :           _o1[0] = captures[1];
    1641                 :           2 :           _o1[1] = captures[4];
    1642                 :           2 :           _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1643                 :           2 :           res_op0 = _r1;
    1644                 :             :         }
    1645                 :           2 :         tree res_op1;
    1646                 :           2 :         res_op1 = captures[2];
    1647                 :           2 :         tree _r;
    1648                 :           2 :         _r = maybe_build_call_expr_loc (loc, POW, type, 2, res_op0, res_op1);
    1649                 :           2 :         if (!_r)
    1650                 :           0 :           goto next_after_fail482;
    1651                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 304, __FILE__, __LINE__, true);
    1652                 :           2 :         return _r;
    1653                 :             :       }
    1654                 :             : next_after_fail482:;
    1655                 :             :     }
    1656                 :             :   return NULL_TREE;
    1657                 :             : }
    1658                 :             : 
    1659                 :             : tree
    1660                 :         124 : generic_simplify_205 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1661                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1662                 :             :  const enum tree_code ARG_UNUSED (op))
    1663                 :             : {
    1664                 :         124 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1665                 :         248 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    1666                 :         248 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
    1667                 :         124 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2])))
    1668                 :             :  && (CONSTANT_CLASS_P (captures[2]) || (single_use (captures[1]) && single_use (captures[0])))
    1669                 :         124 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    1670                 :         372 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[3]))
    1671                 :             : )
    1672                 :             :     {
    1673                 :         124 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail493;
    1674                 :         124 :       {
    1675                 :         124 :         tree res_op0;
    1676                 :         124 :         res_op0 = captures[2];
    1677                 :         124 :         tree res_op1;
    1678                 :         124 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[2]));
    1679                 :         124 :         tree _r;
    1680                 :         124 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1681                 :         124 :         if (TREE_SIDE_EFFECTS (captures[3]))
    1682                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1683                 :         124 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 315, __FILE__, __LINE__, true);
    1684                 :         124 :         return _r;
    1685                 :             :       }
    1686                 :           0 : next_after_fail493:;
    1687                 :             :     }
    1688                 :             :   return NULL_TREE;
    1689                 :             : }
    1690                 :             : 
    1691                 :             : tree
    1692                 :           3 : generic_simplify_213 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1693                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1694                 :             :  const enum tree_code ARG_UNUSED (op))
    1695                 :             : {
    1696                 :           3 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1697                 :           3 :   if (tree_nop_conversion_p (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    1698                 :           3 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[2]))
    1699                 :           3 :  && (CONSTANT_CLASS_P (captures[3]) || (single_use (captures[1]) && single_use (captures[0])))
    1700                 :             : )
    1701                 :             :     {
    1702                 :           3 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail514;
    1703                 :           3 :       {
    1704                 :           3 :         tree res_op0;
    1705                 :           3 :         res_op0 = captures[3];
    1706                 :           3 :         tree res_op1;
    1707                 :           3 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[3]));
    1708                 :           3 :         tree _r;
    1709                 :           3 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1710                 :           3 :         if (TREE_SIDE_EFFECTS (captures[2]))
    1711                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1712                 :           3 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 331, __FILE__, __LINE__, true);
    1713                 :           3 :         return _r;
    1714                 :             :       }
    1715                 :           0 : next_after_fail514:;
    1716                 :             :     }
    1717                 :             :   return NULL_TREE;
    1718                 :             : }
    1719                 :             : 
    1720                 :             : tree
    1721                 :        1102 : generic_simplify_220 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1722                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1723                 :             :  const enum tree_code ARG_UNUSED (minmax),
    1724                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1725                 :             :  const enum tree_code ARG_UNUSED (out))
    1726                 :             : {
    1727                 :        1102 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1728                 :        2204 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1729                 :        1286 :  && (!VECTOR_TYPE_P (TREE_TYPE (captures[0]))
    1730                 :           1 :  || (VECTOR_TYPE_P (type)
    1731                 :           0 :  && (!expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, cmp)
    1732                 :           0 :  || expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, out))))
    1733                 :             : )
    1734                 :             :     {
    1735                 :         183 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail521;
    1736                 :         183 :       {
    1737                 :         183 :         tree res_op0;
    1738                 :         183 :         res_op0 = captures[0];
    1739                 :         183 :         tree res_op1;
    1740                 :         183 :         res_op1 = captures[1];
    1741                 :         183 :         tree _r;
    1742                 :         183 :         _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    1743                 :         183 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 341, __FILE__, __LINE__, true);
    1744                 :         183 :         return _r;
    1745                 :             :       }
    1746                 :           0 : next_after_fail521:;
    1747                 :             :     }
    1748                 :             :   return NULL_TREE;
    1749                 :             : }
    1750                 :             : 
    1751                 :             : tree
    1752                 :           2 : generic_simplify_227 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1753                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1754                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1755                 :             :  const enum tree_code ARG_UNUSED (icmp))
    1756                 :             : {
    1757                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1758                 :           2 :   if (tree_int_cst_sgn (captures[0]) > 0
    1759                 :             : )
    1760                 :             :     {
    1761                 :           2 :       {
    1762                 :           2 :  int c1 = wi::clz (wi::to_wide (captures[0]));
    1763                 :           2 :  int c2 = wi::clz (wi::to_wide (captures[2]));
    1764                 :           2 :           if (c1 > c2
    1765                 :             : )
    1766                 :             :             {
    1767                 :           0 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail532;
    1768                 :           0 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail532;
    1769                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail532;
    1770                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail532;
    1771                 :           0 :               {
    1772                 :           0 :                 tree _r;
    1773                 :           0 :                 _r =  constant_boolean_node (cmp == NE_EXPR ? false : true, type);
    1774                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    1775                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1776                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 352, __FILE__, __LINE__, true);
    1777                 :           0 :                 return _r;
    1778                 :             :               }
    1779                 :             : next_after_fail532:;
    1780                 :             :             }
    1781                 :             :           else
    1782                 :             :             {
    1783                 :           2 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail533;
    1784                 :           2 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail533;
    1785                 :           2 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail533;
    1786                 :           2 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail533;
    1787                 :           2 :               {
    1788                 :           2 :                 tree res_op0;
    1789                 :           2 :                 res_op0 = captures[1];
    1790                 :           2 :                 tree res_op1;
    1791                 :           2 :                 res_op1 =  build_int_cst (TREE_TYPE (captures[1]), c2 - c1);
    1792                 :           2 :                 tree _r;
    1793                 :           2 :                 _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    1794                 :           2 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 353, __FILE__, __LINE__, true);
    1795                 :           2 :                 return _r;
    1796                 :             :               }
    1797                 :             : next_after_fail533:;
    1798                 :             :             }
    1799                 :             :       }
    1800                 :             :     }
    1801                 :             :   return NULL_TREE;
    1802                 :             : }
    1803                 :             : 
    1804                 :             : tree
    1805                 :         176 : generic_simplify_236 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1806                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1807                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1808                 :             :  const enum tree_code ARG_UNUSED (icmp),
    1809                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    1810                 :             : {
    1811                 :         176 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1812                 :         176 :   if (types_match (type, TREE_TYPE (captures[0]))
    1813                 :             : )
    1814                 :             :     {
    1815                 :         125 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail549;
    1816                 :         125 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail549;
    1817                 :         125 :       {
    1818                 :         125 :         tree res_op0;
    1819                 :         125 :         res_op0 = captures[1];
    1820                 :         125 :         tree res_op1;
    1821                 :         125 :         res_op1 = captures[2];
    1822                 :         125 :         tree _r;
    1823                 :         125 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1824                 :         125 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 369, __FILE__, __LINE__, true);
    1825                 :         125 :         return _r;
    1826                 :             :       }
    1827                 :             : next_after_fail549:;
    1828                 :             :     }
    1829                 :             :   return NULL_TREE;
    1830                 :             : }
    1831                 :             : 
    1832                 :             : tree
    1833                 :       60395 : generic_simplify_241 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1834                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1835                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1836                 :             : {
    1837                 :       60395 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1838                 :      120790 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1839                 :      120790 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    1840                 :      136495 :  && wi::to_wide (captures[1]) != 0
    1841                 :             : )
    1842                 :             :     {
    1843                 :       15705 :       {
    1844                 :       15705 :  widest_int quot;
    1845                 :       15705 :           if (wi::multiple_of_p (wi::to_widest (captures[2]), wi::to_widest (captures[1]),
    1846                 :       15705 :  TYPE_SIGN (TREE_TYPE (captures[0])), &quot)
    1847                 :             : )
    1848                 :             :             {
    1849                 :       11711 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail557;
    1850                 :       11711 :               {
    1851                 :       11711 :                 tree res_op0;
    1852                 :       11711 :                 res_op0 = captures[0];
    1853                 :       11711 :                 tree res_op1;
    1854                 :       11711 :                 res_op1 =  wide_int_to_tree (TREE_TYPE (captures[0]), quot);
    1855                 :       11711 :                 tree _r;
    1856                 :       11711 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1857                 :       11711 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    1858                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1859                 :       11711 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    1860                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1861                 :       11711 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 376, __FILE__, __LINE__, true);
    1862                 :       11711 :                 return _r;
    1863                 :             :               }
    1864                 :           0 : next_after_fail557:;
    1865                 :             :             }
    1866                 :             :           else
    1867                 :             :             {
    1868                 :        3994 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail558;
    1869                 :        3994 :               {
    1870                 :        3994 :                 tree _r;
    1871                 :        3994 :                 _r =  constant_boolean_node (cmp == NE_EXPR, type);
    1872                 :        3994 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    1873                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1874                 :        3994 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    1875                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1876                 :        3994 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    1877                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1878                 :        3994 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 377, __FILE__, __LINE__, true);
    1879                 :        3994 :                 return _r;
    1880                 :             :               }
    1881                 :           0 : next_after_fail558:;
    1882                 :             :             }
    1883                 :       15705 :       }
    1884                 :             :     }
    1885                 :             :   else
    1886                 :             :     {
    1887                 :       89380 :       if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1888                 :       44690 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0]))
    1889                 :       89380 :  && (wi::bit_and (wi::to_wide (captures[1]), 1) == 1)
    1890                 :             : )
    1891                 :             :         {
    1892                 :        1148 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail559;
    1893                 :        1148 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail559;
    1894                 :        1148 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail559;
    1895                 :        1148 :           {
    1896                 :        1148 :             tree res_op0;
    1897                 :        1148 :             res_op0 = captures[0];
    1898                 :        1148 :             tree res_op1;
    1899                 :        1148 :  tree itype = TREE_TYPE (captures[0]);
    1900                 :        1148 :  int p = TYPE_PRECISION (itype);
    1901                 :        1148 :  wide_int m = wi::one (p + 1) << p;
    1902                 :        1148 :  wide_int a = wide_int::from (wi::to_wide (captures[1]), p + 1, UNSIGNED);
    1903                 :        1148 :  wide_int i = wide_int::from (wi::mod_inv (a, m),
    1904                 :        2296 :  p, TYPE_SIGN (itype));     res_op1 = 
    1905                 :        1148 :  wide_int_to_tree (itype, wi::mul (i, wi::to_wide (captures[2])));
    1906                 :        1148 :             tree _r;
    1907                 :        1148 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1908                 :        1148 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 378, __FILE__, __LINE__, true);
    1909                 :        1148 :             return _r;
    1910                 :        1148 :           }
    1911                 :             : next_after_fail559:;
    1912                 :             :         }
    1913                 :             :     }
    1914                 :             :   return NULL_TREE;
    1915                 :             : }
    1916                 :             : 
    1917                 :             : tree
    1918                 :        2682 : generic_simplify_256 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1919                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1920                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1921                 :             :  const enum tree_code ARG_UNUSED (scmp))
    1922                 :             : {
    1923                 :        2682 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1924                 :        4997 :   if (FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    1925                 :        4997 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1926                 :        2315 :  && (cmp == EQ_EXPR
    1927                 :        2315 :  || cmp == NE_EXPR
    1928                 :        1558 :  || TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))))
    1929                 :             : )
    1930                 :             :     {
    1931                 :        1558 :       {
    1932                 :        1558 :  tree tem = const_unop (NEGATE_EXPR, TREE_TYPE (captures[0]), captures[1]);
    1933                 :        1558 :           if (tem && !TREE_OVERFLOW (tem)
    1934                 :             : )
    1935                 :             :             {
    1936                 :        1535 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail616;
    1937                 :        1535 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail616;
    1938                 :        1535 :               {
    1939                 :        1535 :                 tree res_op0;
    1940                 :        1535 :                 res_op0 = captures[0];
    1941                 :        1535 :                 tree res_op1;
    1942                 :        1535 :                 res_op1 =  tem;
    1943                 :        1535 :                 tree _r;
    1944                 :        1535 :                 _r = fold_build2_loc (loc, scmp, type, res_op0, res_op1);
    1945                 :        1535 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 434, __FILE__, __LINE__, true);
    1946                 :        1535 :                 return _r;
    1947                 :             :               }
    1948                 :             : next_after_fail616:;
    1949                 :             :             }
    1950                 :             :       }
    1951                 :             :     }
    1952                 :             :   return NULL_TREE;
    1953                 :             : }
    1954                 :             : 
    1955                 :             : tree
    1956                 :    13957336 : generic_simplify_258 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1957                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1958                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1959                 :             : {
    1960                 :    13957336 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1961                 :    27502046 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1962                 :    10397542 :  && !(targetm.have_canonicalize_funcptr_for_compare ()
    1963                 :           0 :  && ((POINTER_TYPE_P (TREE_TYPE (captures[1]))
    1964                 :           0 :  && FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[1]))))
    1965                 :           0 :  || (POINTER_TYPE_P (TREE_TYPE (captures[3]))
    1966                 :           0 :  && FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[3]))))))
    1967                 :    13957336 :  && single_use (captures[0])
    1968                 :             : )
    1969                 :             :     {
    1970                 :    10397542 :       if (TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (TREE_TYPE (captures[0]))
    1971                 :     4700472 :  && (TREE_CODE (captures[3]) == INTEGER_CST
    1972                 :     1787611 :  || captures[2] != captures[3])
    1973                 :     2912861 :  && (TYPE_UNSIGNED (TREE_TYPE (captures[1])) == TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1974                 :             :  || cmp == NE_EXPR
    1975                 :     1240657 :  || cmp == EQ_EXPR)
    1976                 :     2095708 :  && !POINTER_TYPE_P (TREE_TYPE (captures[1]))
    1977                 :    12466355 :  && (TREE_CODE (TREE_TYPE (captures[1])) != BOOLEAN_TYPE
    1978                 :        1537 :  || TREE_CODE (TREE_TYPE (captures[3])) == BOOLEAN_TYPE)
    1979                 :             : )
    1980                 :             :         {
    1981                 :     2068785 :           if (TREE_CODE (captures[2]) == INTEGER_CST
    1982                 :             : )
    1983                 :             :             {
    1984                 :     2068785 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail624;
    1985                 :     2068785 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail624;
    1986                 :     2068785 :               {
    1987                 :     2068785 :                 tree res_op0;
    1988                 :     2068785 :                 res_op0 = captures[1];
    1989                 :     2068785 :                 tree res_op1;
    1990                 :     2068785 :                 res_op1 =  force_fit_type (TREE_TYPE (captures[1]),
    1991                 :     2068785 :  wide_int::from (wi::to_wide (captures[2]),
    1992                 :     2068785 :  MAX (TYPE_PRECISION (TREE_TYPE (captures[2])),
    1993                 :             :  TYPE_PRECISION (TREE_TYPE (captures[1]))),
    1994                 :     2068785 :  TYPE_SIGN (TREE_TYPE (captures[2]))),
    1995                 :     2068785 :  0, TREE_OVERFLOW (captures[2]));
    1996                 :     2068785 :                 tree _r;
    1997                 :     2068785 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1998                 :     2068785 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 435, __FILE__, __LINE__, true);
    1999                 :     2068785 :                 return _r;
    2000                 :             :               }
    2001                 :             : next_after_fail624:;
    2002                 :             :             }
    2003                 :             :           else
    2004                 :             :             {
    2005                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail625;
    2006                 :           0 :               {
    2007                 :           0 :                 tree res_op0;
    2008                 :           0 :                 res_op0 = captures[1];
    2009                 :           0 :                 tree res_op1;
    2010                 :           0 :                 {
    2011                 :           0 :                   tree _o1[1], _r1;
    2012                 :           0 :                   _o1[0] = captures[2];
    2013                 :           0 :                   if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    2014                 :             :                     {
    2015                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    2016                 :             :                     }
    2017                 :             :                   else
    2018                 :             :                     _r1 = _o1[0];
    2019                 :           0 :                   res_op1 = _r1;
    2020                 :             :                 }
    2021                 :           0 :                 tree _r;
    2022                 :           0 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2023                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 436, __FILE__, __LINE__, true);
    2024                 :           0 :                 return _r;
    2025                 :             :               }
    2026                 :           0 : next_after_fail625:;
    2027                 :             :             }
    2028                 :             :         }
    2029                 :             :       else
    2030                 :             :         {
    2031                 :     8328757 :           if (TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (TREE_TYPE (captures[1]))
    2032                 :             : )
    2033                 :             :             {
    2034                 :     4784968 :               if ((cmp == EQ_EXPR || cmp == NE_EXPR
    2035                 :     2393204 :  || TYPE_UNSIGNED (TREE_TYPE (captures[0])) == TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2036                 :      279629 :  || (!TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2037                 :      179589 :  && TYPE_UNSIGNED (TREE_TYPE (captures[1]))))
    2038                 :     7078132 :  && (types_match (TREE_TYPE (captures[3]), TREE_TYPE (captures[1]))
    2039                 :     4684910 :  || ((TYPE_PRECISION (TREE_TYPE (captures[1]))
    2040                 :     4684910 :  >= TYPE_PRECISION (TREE_TYPE (captures[3])))
    2041                 :           0 :  && (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2042                 :           0 :  == TYPE_UNSIGNED (TREE_TYPE (captures[3]))))
    2043                 :     4684910 :  || (TREE_CODE (captures[2]) == INTEGER_CST
    2044                 :     3638923 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2045                 :     3638923 :  && int_fits_type_p (captures[2], TREE_TYPE (captures[1]))))
    2046                 :             : )
    2047                 :             :                 {
    2048                 :     3607158 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail626;
    2049                 :     3607158 :                   {
    2050                 :     3607158 :                     tree res_op0;
    2051                 :     3607158 :                     res_op0 = captures[1];
    2052                 :     3607158 :                     tree res_op1;
    2053                 :     3607158 :                     {
    2054                 :     3607158 :                       tree _o1[1], _r1;
    2055                 :     3607158 :                       _o1[0] = captures[3];
    2056                 :     3607158 :                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    2057                 :             :                         {
    2058                 :     3607140 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    2059                 :             :                         }
    2060                 :             :                       else
    2061                 :             :                         _r1 = _o1[0];
    2062                 :     3607158 :                       res_op1 = _r1;
    2063                 :             :                     }
    2064                 :     3607158 :                     tree _r;
    2065                 :     3607158 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2066                 :     3607158 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 437, __FILE__, __LINE__, true);
    2067                 :     3607158 :                     return _r;
    2068                 :             :                   }
    2069                 :           0 : next_after_fail626:;
    2070                 :             :                 }
    2071                 :             :               else
    2072                 :             :                 {
    2073                 :     1177810 :                   if (TREE_CODE (captures[2]) == INTEGER_CST
    2074                 :       96333 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2075                 :     1274143 :  && !int_fits_type_p (captures[2], TREE_TYPE (captures[1]))
    2076                 :             : )
    2077                 :             :                     {
    2078                 :       35466 :                       {
    2079                 :       35466 :  tree min = lower_bound_in_type (TREE_TYPE (captures[3]), TREE_TYPE (captures[1]));
    2080                 :       35466 :  tree max = upper_bound_in_type (TREE_TYPE (captures[3]), TREE_TYPE (captures[1]));
    2081                 :       35466 :  bool above = integer_nonzerop (const_binop (LT_EXPR, type, max, captures[2]));
    2082                 :       35466 :  bool below = integer_nonzerop (const_binop (LT_EXPR, type, captures[2], min));
    2083                 :       35466 :                           if (above || below
    2084                 :             : )
    2085                 :             :                             {
    2086                 :       28730 :                               if (cmp == EQ_EXPR || cmp == NE_EXPR
    2087                 :             : )
    2088                 :             :                                 {
    2089                 :       23303 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail627;
    2090                 :       23303 :                                   {
    2091                 :       23303 :                                     tree _r;
    2092                 :       23303 :                                     _r =  constant_boolean_node (cmp == EQ_EXPR ? false : true, type);
    2093                 :       23303 :                                     if (TREE_SIDE_EFFECTS (captures[1]))
    2094                 :          10 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2095                 :       23303 :                                     if (TREE_SIDE_EFFECTS (captures[2]))
    2096                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2097                 :       23303 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 438, __FILE__, __LINE__, true);
    2098                 :       23303 :                                     return _r;
    2099                 :             :                                   }
    2100                 :           0 : next_after_fail627:;
    2101                 :             :                                 }
    2102                 :             :                               else
    2103                 :             :                                 {
    2104                 :        5427 :                                   if (cmp == LT_EXPR || cmp == LE_EXPR
    2105                 :             : )
    2106                 :             :                                     {
    2107                 :        4613 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail628;
    2108                 :        4613 :                                       {
    2109                 :        4613 :                                         tree _r;
    2110                 :        4613 :                                         _r =  constant_boolean_node (above ? true : false, type);
    2111                 :        4613 :                                         if (TREE_SIDE_EFFECTS (captures[1]))
    2112                 :          10 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2113                 :        4613 :                                         if (TREE_SIDE_EFFECTS (captures[2]))
    2114                 :           0 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2115                 :        4613 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 439, __FILE__, __LINE__, true);
    2116                 :        4613 :                                         return _r;
    2117                 :             :                                       }
    2118                 :           0 : next_after_fail628:;
    2119                 :             :                                     }
    2120                 :             :                                   else
    2121                 :             :                                     {
    2122                 :         814 :                                       if (cmp == GT_EXPR || cmp == GE_EXPR
    2123                 :             : )
    2124                 :             :                                         {
    2125                 :         814 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail629;
    2126                 :         814 :                                           {
    2127                 :         814 :                                             tree _r;
    2128                 :        1087 :                                             _r =  constant_boolean_node (above ? false : true, type);
    2129                 :         814 :                                             if (TREE_SIDE_EFFECTS (captures[1]))
    2130                 :           4 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2131                 :         814 :                                             if (TREE_SIDE_EFFECTS (captures[2]))
    2132                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2133                 :         814 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 440, __FILE__, __LINE__, true);
    2134                 :         814 :                                             return _r;
    2135                 :             :                                           }
    2136                 :           0 : next_after_fail629:;
    2137                 :             :                                         }
    2138                 :             :                                     }
    2139                 :             :                                 }
    2140                 :             :                             }
    2141                 :             :                       }
    2142                 :             :                     }
    2143                 :             :                 }
    2144                 :             :             }
    2145                 :             :         }
    2146                 :             :     }
    2147                 :             :   else
    2148                 :             :     {
    2149                 :     6554556 :       if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
    2150                 :     1157002 :  && (DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    2151                 :      578501 :  == DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[1])))
    2152                 :     4716558 :  && (DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    2153                 :      578382 :  == DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[3])))
    2154                 :             : )
    2155                 :             :         {
    2156                 :      578382 :           {
    2157                 :      578382 :  tree type1 = TREE_TYPE (captures[3]);
    2158                 :      578382 :  if (TREE_CODE (captures[3]) == REAL_CST && !DECIMAL_FLOAT_TYPE_P (type1))
    2159                 :             :  {
    2160                 :      369747 :  REAL_VALUE_TYPE orig = TREE_REAL_CST (captures[3]);
    2161                 :      369747 :  if (TYPE_PRECISION (type1) > TYPE_PRECISION (float_type_node)
    2162                 :      369747 :  && exact_real_truncate (TYPE_MODE (float_type_node), &orig))
    2163                 :      181805 :  type1 = float_type_node;
    2164                 :      369747 :  if (TYPE_PRECISION (type1) > TYPE_PRECISION (double_type_node)
    2165                 :      369747 :  && exact_real_truncate (TYPE_MODE (double_type_node), &orig))
    2166                 :         292 :  type1 = double_type_node;
    2167                 :             :  }
    2168                 :      578382 :  tree newtype
    2169                 :      578382 :  = (element_precision (TREE_TYPE (captures[1])) > element_precision (type1)
    2170                 :      578382 :  ? TREE_TYPE (captures[1]) : type1);
    2171                 :      578382 :               if (element_precision (TREE_TYPE (captures[0])) > element_precision (newtype)
    2172                 :      578382 :  && (!VECTOR_TYPE_P (type) || is_truth_type_for (newtype, type))
    2173                 :             : )
    2174                 :             :                 {
    2175                 :       42459 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail630;
    2176                 :       42459 :                   {
    2177                 :       42459 :                     tree res_op0;
    2178                 :       42459 :                     {
    2179                 :       42459 :                       tree _o1[1], _r1;
    2180                 :       42459 :                       _o1[0] = captures[1];
    2181                 :       42459 :                       if (TREE_TYPE (_o1[0]) != newtype)
    2182                 :             :                         {
    2183                 :        9922 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    2184                 :             :                         }
    2185                 :             :                       else
    2186                 :             :                         _r1 = _o1[0];
    2187                 :       42459 :                       res_op0 = _r1;
    2188                 :             :                     }
    2189                 :       42459 :                     tree res_op1;
    2190                 :       42459 :                     {
    2191                 :       42459 :                       tree _o1[1], _r1;
    2192                 :       42459 :                       _o1[0] = captures[3];
    2193                 :       42459 :                       if (TREE_TYPE (_o1[0]) != newtype)
    2194                 :             :                         {
    2195                 :       42459 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    2196                 :             :                         }
    2197                 :             :                       else
    2198                 :             :                         _r1 = _o1[0];
    2199                 :       42459 :                       res_op1 = _r1;
    2200                 :             :                     }
    2201                 :       42459 :                     tree _r;
    2202                 :       42459 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2203                 :       42459 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 441, __FILE__, __LINE__, true);
    2204                 :       42459 :                     return _r;
    2205                 :             :                   }
    2206                 :           0 : next_after_fail630:;
    2207                 :             :                 }
    2208                 :             :           }
    2209                 :             :         }
    2210                 :             :     }
    2211                 :             :   return NULL_TREE;
    2212                 :             : }
    2213                 :             : 
    2214                 :             : tree
    2215                 :           0 : generic_simplify_284 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2216                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2217                 :             :  const enum tree_code ARG_UNUSED (op),
    2218                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2219                 :             : {
    2220                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2221                 :           0 :   if (integer_zerop (captures[3]) && single_use (captures[0])
    2222                 :             : )
    2223                 :             :     {
    2224                 :           0 :       {
    2225                 :           0 :  tree type0 = TREE_TYPE (captures[1]);
    2226                 :           0 :  tree stype = signed_type_for (TREE_TYPE (captures[1]));
    2227                 :           0 :  if (integer_zerop (captures[2]))
    2228                 :             :  stype = NULL_TREE;
    2229                 :           0 :           if (stype
    2230                 :             : )
    2231                 :             :             {
    2232                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail687;
    2233                 :           0 :               {
    2234                 :           0 :                 tree res_op0;
    2235                 :           0 :                 {
    2236                 :           0 :                   tree _o1[1], _r1;
    2237                 :           0 :                   _o1[0] = captures[1];
    2238                 :           0 :                   if (TREE_TYPE (_o1[0]) != stype)
    2239                 :             :                     {
    2240                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
    2241                 :             :                     }
    2242                 :             :                   else
    2243                 :             :                     _r1 = _o1[0];
    2244                 :           0 :                   res_op0 = _r1;
    2245                 :             :                 }
    2246                 :           0 :                 tree res_op1;
    2247                 :           0 :                 res_op1 =  build_zero_cst (stype);
    2248                 :           0 :                 tree _r;
    2249                 :           0 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2250                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    2251                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2252                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[3]))
    2253                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    2254                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 488, __FILE__, __LINE__, true);
    2255                 :           0 :                 return _r;
    2256                 :             :               }
    2257                 :           0 : next_after_fail687:;
    2258                 :             :             }
    2259                 :             :       }
    2260                 :             :     }
    2261                 :             :   else
    2262                 :             :     {
    2263                 :           0 :       {
    2264                 :           0 :  bool ok = true;
    2265                 :           0 :  tree type0 = TREE_TYPE (captures[1]);
    2266                 :           0 :  if (wi::to_widest (captures[2]) == TYPE_PRECISION (type0) - 1)
    2267                 :             :  ok = false;
    2268                 :           0 :           if (ok && wi::to_wide (captures[3]) == (TYPE_PRECISION (type0) - 1)
    2269                 :             : )
    2270                 :             :             {
    2271                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail688;
    2272                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail688;
    2273                 :           0 :               {
    2274                 :           0 :                 tree res_op0;
    2275                 :           0 :                 res_op0 = captures[1];
    2276                 :           0 :                 tree res_op1;
    2277                 :           0 :                 res_op1 =  build_one_cst (type0);
    2278                 :           0 :                 tree _r;
    2279                 :           0 :                 _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2280                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[3]))
    2281                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    2282                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 489, __FILE__, __LINE__, true);
    2283                 :           0 :                 return _r;
    2284                 :             :               }
    2285                 :             : next_after_fail688:;
    2286                 :             :             }
    2287                 :             :       }
    2288                 :             :     }
    2289                 :             :   return NULL_TREE;
    2290                 :             : }
    2291                 :             : 
    2292                 :             : tree
    2293                 :           0 : generic_simplify_294 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2294                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2295                 :             :  const combined_fn ARG_UNUSED (copysigns))
    2296                 :             : {
    2297                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2298                 :           0 :   if (!REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[1]))
    2299                 :             : )
    2300                 :             :     {
    2301                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail703;
    2302                 :           0 :       {
    2303                 :           0 :         tree res_op0;
    2304                 :           0 :         res_op0 = captures[0];
    2305                 :           0 :         tree _r;
    2306                 :           0 :         _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
    2307                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2308                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2309                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 504, __FILE__, __LINE__, true);
    2310                 :           0 :         return _r;
    2311                 :             :       }
    2312                 :           0 : next_after_fail703:;
    2313                 :             :     }
    2314                 :             :   return NULL_TREE;
    2315                 :             : }
    2316                 :             : 
    2317                 :             : tree
    2318                 :          23 : generic_simplify_300 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2319                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2320                 :             :  const enum tree_code ARG_UNUSED (div))
    2321                 :             : {
    2322                 :          23 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2323                 :          30 :   if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (captures[0]))
    2324                 :          16 :  && (!VECTOR_TYPE_P (type)
    2325                 :           0 :  || target_supports_op_p (type, RSHIFT_EXPR, optab_vector)
    2326                 :           0 :  || target_supports_op_p (type, RSHIFT_EXPR, optab_scalar))
    2327                 :          39 :  && (useless_type_conversion_p (type, TREE_TYPE (captures[2]))
    2328                 :           7 :  || (element_precision (type) >= element_precision (TREE_TYPE (captures[2]))
    2329                 :           7 :  && (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    2330                 :          14 :  || (element_precision (type)
    2331                 :           7 :  == element_precision (TREE_TYPE (captures[2])))
    2332                 :           7 :  || (INTEGRAL_TYPE_P (type)
    2333                 :          14 :  && (tree_nonzero_bits (captures[0])
    2334                 :          44 :  & wi::mask (element_precision (TREE_TYPE (captures[2])) - 1,
    2335                 :             :  true,
    2336                 :          37 :  element_precision (type))) == 0))))
    2337                 :             : )
    2338                 :             :     {
    2339                 :           9 :       if (!VECTOR_TYPE_P (type)
    2340                 :           9 :  && useless_type_conversion_p (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    2341                 :          18 :  && element_precision (TREE_TYPE (captures[1])) < element_precision (type)
    2342                 :             : )
    2343                 :             :         {
    2344                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail710;
    2345                 :           0 :           {
    2346                 :           0 :             tree res_op0;
    2347                 :           0 :             {
    2348                 :           0 :               tree _o1[2], _r1;
    2349                 :           0 :               _o1[0] = captures[1];
    2350                 :           0 :               _o1[1] = captures[3];
    2351                 :           0 :               _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2352                 :           0 :               res_op0 = _r1;
    2353                 :             :             }
    2354                 :           0 :             tree _r;
    2355                 :           0 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2356                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2357                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2358                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 509, __FILE__, __LINE__, true);
    2359                 :           0 :             return _r;
    2360                 :             :           }
    2361                 :           0 : next_after_fail710:;
    2362                 :             :         }
    2363                 :             :       else
    2364                 :             :         {
    2365                 :           9 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail711;
    2366                 :           9 :           {
    2367                 :           9 :             tree res_op0;
    2368                 :           9 :             res_op0 = captures[0];
    2369                 :           9 :             tree res_op1;
    2370                 :           9 :             res_op1 = captures[3];
    2371                 :           9 :             tree _r;
    2372                 :           9 :             _r = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1);
    2373                 :           9 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2374                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2375                 :           9 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 510, __FILE__, __LINE__, true);
    2376                 :           9 :             return _r;
    2377                 :             :           }
    2378                 :           0 : next_after_fail711:;
    2379                 :             :         }
    2380                 :             :     }
    2381                 :             :   return NULL_TREE;
    2382                 :             : }
    2383                 :             : 
    2384                 :             : tree
    2385                 :         915 : generic_simplify_313 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2386                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2387                 :             :  const enum tree_code ARG_UNUSED (mod))
    2388                 :             : {
    2389                 :         915 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2390                 :         915 :   if (!integer_zerop (captures[1])
    2391                 :             : )
    2392                 :             :     {
    2393                 :         785 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail725;
    2394                 :         785 :       {
    2395                 :         785 :         tree _r;
    2396                 :         785 :         _r = captures[0];
    2397                 :         785 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2398                 :          74 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2399                 :         785 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 524, __FILE__, __LINE__, true);
    2400                 :         785 :         return _r;
    2401                 :             :       }
    2402                 :           0 : next_after_fail725:;
    2403                 :             :     }
    2404                 :             :   return NULL_TREE;
    2405                 :             : }
    2406                 :             : 
    2407                 :             : tree
    2408                 :           0 : generic_simplify_321 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2409                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2410                 :             : {
    2411                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2412                 :           0 :   if (SCALAR_FLOAT_TYPE_P (type)
    2413                 :           0 :  && ! HONOR_NANS (type)
    2414                 :           0 :  && ! HONOR_INFINITIES (type)
    2415                 :             : )
    2416                 :             :     {
    2417                 :           0 :       if (types_match (type, float_type_node)
    2418                 :             : )
    2419                 :             :         {
    2420                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail733;
    2421                 :           0 :           {
    2422                 :           0 :             tree res_op0;
    2423                 :           0 :             res_op0 =  build_one_cst (type);
    2424                 :           0 :             tree res_op1;
    2425                 :           0 :             {
    2426                 :           0 :               tree _o1[1], _r1;
    2427                 :           0 :               _o1[0] = captures[0];
    2428                 :           0 :               if (TREE_TYPE (_o1[0]) != type)
    2429                 :             :                 {
    2430                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2431                 :             :                 }
    2432                 :             :               else
    2433                 :             :                 _r1 = _o1[0];
    2434                 :           0 :               res_op1 = _r1;
    2435                 :             :             }
    2436                 :           0 :             tree _r;
    2437                 :           0 :             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGNF, type, 2, res_op0, res_op1);
    2438                 :           0 :             if (!_r)
    2439                 :           0 :               goto next_after_fail733;
    2440                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 532, __FILE__, __LINE__, true);
    2441                 :           0 :             return _r;
    2442                 :             :           }
    2443                 :             : next_after_fail733:;
    2444                 :             :         }
    2445                 :             :       else
    2446                 :             :         {
    2447                 :           0 :           if (types_match (type, double_type_node)
    2448                 :             : )
    2449                 :             :             {
    2450                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail734;
    2451                 :           0 :               {
    2452                 :           0 :                 tree res_op0;
    2453                 :           0 :                 res_op0 =  build_one_cst (type);
    2454                 :           0 :                 tree res_op1;
    2455                 :           0 :                 {
    2456                 :           0 :                   tree _o1[1], _r1;
    2457                 :           0 :                   _o1[0] = captures[0];
    2458                 :           0 :                   if (TREE_TYPE (_o1[0]) != type)
    2459                 :             :                     {
    2460                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2461                 :             :                     }
    2462                 :             :                   else
    2463                 :             :                     _r1 = _o1[0];
    2464                 :           0 :                   res_op1 = _r1;
    2465                 :             :                 }
    2466                 :           0 :                 tree _r;
    2467                 :           0 :                 _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGN, type, 2, res_op0, res_op1);
    2468                 :           0 :                 if (!_r)
    2469                 :           0 :                   goto next_after_fail734;
    2470                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 533, __FILE__, __LINE__, true);
    2471                 :           0 :                 return _r;
    2472                 :             :               }
    2473                 :             : next_after_fail734:;
    2474                 :             :             }
    2475                 :             :           else
    2476                 :             :             {
    2477                 :           0 :               if (types_match (type, long_double_type_node)
    2478                 :             : )
    2479                 :             :                 {
    2480                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail735;
    2481                 :           0 :                   {
    2482                 :           0 :                     tree res_op0;
    2483                 :           0 :                     res_op0 =  build_one_cst (type);
    2484                 :           0 :                     tree res_op1;
    2485                 :           0 :                     {
    2486                 :           0 :                       tree _o1[1], _r1;
    2487                 :           0 :                       _o1[0] = captures[0];
    2488                 :           0 :                       if (TREE_TYPE (_o1[0]) != type)
    2489                 :             :                         {
    2490                 :           0 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2491                 :             :                         }
    2492                 :             :                       else
    2493                 :             :                         _r1 = _o1[0];
    2494                 :           0 :                       res_op1 = _r1;
    2495                 :             :                     }
    2496                 :           0 :                     tree _r;
    2497                 :           0 :                     _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGNL, type, 2, res_op0, res_op1);
    2498                 :           0 :                     if (!_r)
    2499                 :           0 :                       goto next_after_fail735;
    2500                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 534, __FILE__, __LINE__, true);
    2501                 :           0 :                     return _r;
    2502                 :             :                   }
    2503                 :             : next_after_fail735:;
    2504                 :             :                 }
    2505                 :             :             }
    2506                 :             :         }
    2507                 :             :     }
    2508                 :             :   return NULL_TREE;
    2509                 :             : }
    2510                 :             : 
    2511                 :             : tree
    2512                 :           6 : generic_simplify_341 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2513                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2514                 :             :  const enum tree_code ARG_UNUSED (minmax),
    2515                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2516                 :             : {
    2517                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2518                 :           6 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail758;
    2519                 :           6 :   {
    2520                 :           6 :     tree _r;
    2521                 :           6 :     _r =  constant_boolean_node (cmp == GE_EXPR || cmp == LE_EXPR, type);
    2522                 :           6 :     if (TREE_SIDE_EFFECTS (captures[0]))
    2523                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2524                 :           6 :     if (TREE_SIDE_EFFECTS (captures[1]))
    2525                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2526                 :           6 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 557, __FILE__, __LINE__, true);
    2527                 :             :     return _r;
    2528                 :             :   }
    2529                 :           0 : next_after_fail758:;
    2530                 :           0 :   return NULL_TREE;
    2531                 :             : }
    2532                 :             : 
    2533                 :             : tree
    2534                 :        9657 : generic_simplify_349 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2535                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2536                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2537                 :             : {
    2538                 :        9657 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2539                 :        9657 :   if (single_use (captures[0])
    2540                 :        9657 :  && ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2541                 :        9641 :  && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2542                 :             : )
    2543                 :             :     {
    2544                 :        7277 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail798;
    2545                 :        7277 :       {
    2546                 :        7277 :         tree res_op0;
    2547                 :        7277 :         res_op0 = captures[2];
    2548                 :        7277 :         tree res_op1;
    2549                 :        7277 :         res_op1 = captures[1];
    2550                 :        7277 :         tree _r;
    2551                 :        7277 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2552                 :        7277 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 580, __FILE__, __LINE__, true);
    2553                 :        7277 :         return _r;
    2554                 :             :       }
    2555                 :           0 : next_after_fail798:;
    2556                 :             :     }
    2557                 :             :   return NULL_TREE;
    2558                 :             : }
    2559                 :             : 
    2560                 :             : tree
    2561                 :        1051 : generic_simplify_353 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2562                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2563                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2564                 :             :  const enum tree_code ARG_UNUSED (out))
    2565                 :             : {
    2566                 :        1051 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2567                 :        1051 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[2])) && !VECTOR_TYPE_P (TREE_TYPE (captures[2]))
    2568                 :             : )
    2569                 :             :     {
    2570                 :        1033 :       {
    2571                 :        1033 :  tree t = TREE_TYPE (captures[2]), cpx = build_complex_type (t);
    2572                 :        1033 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail802;
    2573                 :        1021 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail802;
    2574                 :        1021 :           {
    2575                 :        1021 :             tree res_op0;
    2576                 :        1021 :             {
    2577                 :        1021 :               tree _o1[1], _r1;
    2578                 :        1021 :               {
    2579                 :        1021 :                 tree _o2[2], _r2;
    2580                 :        1021 :                 _o2[0] = captures[2];
    2581                 :        1021 :                 _o2[1] = captures[1];
    2582                 :        1021 :                 _r2 = maybe_build_call_expr_loc (loc, CFN_MUL_OVERFLOW, cpx, 2, _o2[0], _o2[1]);
    2583                 :        1021 :                 if (!_r2)
    2584                 :           0 :                   goto next_after_fail802;
    2585                 :        1021 :                 _o1[0] = _r2;
    2586                 :             :               }
    2587                 :        1021 :               _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    2588                 :        1021 :               res_op0 = _r1;
    2589                 :             :             }
    2590                 :        1021 :             tree res_op1;
    2591                 :        1021 :             res_op1 =  build_zero_cst (t);
    2592                 :        1021 :             tree _r;
    2593                 :        1021 :             _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    2594                 :        1021 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 584, __FILE__, __LINE__, true);
    2595                 :        1021 :             return _r;
    2596                 :             :           }
    2597                 :             : next_after_fail802:;
    2598                 :             :       }
    2599                 :             :     }
    2600                 :             :   return NULL_TREE;
    2601                 :             : }
    2602                 :             : 
    2603                 :             : tree
    2604                 :       11889 : generic_simplify_360 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2605                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2606                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2607                 :             :  const enum tree_code ARG_UNUSED (eqcmp))
    2608                 :             : {
    2609                 :       11889 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2610                 :       11889 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2611                 :             : )
    2612                 :             :     {
    2613                 :       11889 :       {
    2614                 :       11889 :  tree ty = TREE_TYPE (captures[0]);
    2615                 :       11889 :  unsigned prec = TYPE_PRECISION (ty);
    2616                 :       11889 :  wide_int mask = wi::to_wide (captures[2], prec);
    2617                 :       11889 :  wide_int rhs = wi::to_wide (captures[3], prec);
    2618                 :       11889 :  signop sgn = TYPE_SIGN (ty);
    2619                 :       33439 :           if ((mask & (mask + 1)) == 0 && wi::gt_p (rhs, 0, sgn)
    2620                 :       42934 :  && (rhs & (rhs + 1)) == 0 && wi::ge_p (mask, rhs, sgn)
    2621                 :             : )
    2622                 :             :             {
    2623                 :         546 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail816;
    2624                 :         546 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail816;
    2625                 :         546 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail816;
    2626                 :         546 :               {
    2627                 :         546 :                 tree res_op0;
    2628                 :         546 :                 {
    2629                 :         546 :                   tree _o1[2], _r1;
    2630                 :         546 :                   _o1[0] = captures[1];
    2631                 :         546 :                   _o1[1] =  wide_int_to_tree (ty, mask - rhs);
    2632                 :         546 :                   _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2633                 :         546 :                   res_op0 = _r1;
    2634                 :             :                 }
    2635                 :         546 :                 tree res_op1;
    2636                 :         546 :                 res_op1 =  build_zero_cst (ty);
    2637                 :         546 :                 tree _r;
    2638                 :         546 :                 _r = fold_build2_loc (loc, eqcmp, type, res_op0, res_op1);
    2639                 :         546 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 598, __FILE__, __LINE__, true);
    2640                 :         546 :                 return _r;
    2641                 :             :               }
    2642                 :       11343 : next_after_fail816:;
    2643                 :             :             }
    2644                 :       11889 :       }
    2645                 :             :     }
    2646                 :             :   return NULL_TREE;
    2647                 :             : }
    2648                 :             : 
    2649                 :             : tree
    2650                 :           0 : generic_simplify_364 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2651                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2652                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2653                 :             :  const enum tree_code ARG_UNUSED (out))
    2654                 :             : {
    2655                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2656                 :           0 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[2])) && !VECTOR_TYPE_P (TREE_TYPE (captures[2]))
    2657                 :             : )
    2658                 :             :     {
    2659                 :           0 :       {
    2660                 :           0 :  tree t = TREE_TYPE (captures[2]), cpx = build_complex_type (t);
    2661                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail820;
    2662                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail820;
    2663                 :           0 :           {
    2664                 :           0 :             tree res_op0;
    2665                 :           0 :             {
    2666                 :           0 :               tree _o1[1], _r1;
    2667                 :           0 :               {
    2668                 :           0 :                 tree _o2[2], _r2;
    2669                 :           0 :                 _o2[0] = captures[2];
    2670                 :           0 :                 _o2[1] = captures[1];
    2671                 :           0 :                 _r2 = maybe_build_call_expr_loc (loc, CFN_MUL_OVERFLOW, cpx, 2, _o2[0], _o2[1]);
    2672                 :           0 :                 if (!_r2)
    2673                 :           0 :                   goto next_after_fail820;
    2674                 :           0 :                 _o1[0] = _r2;
    2675                 :             :               }
    2676                 :           0 :               _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    2677                 :           0 :               res_op0 = _r1;
    2678                 :             :             }
    2679                 :           0 :             tree res_op1;
    2680                 :           0 :             res_op1 =  build_zero_cst (t);
    2681                 :           0 :             tree _r;
    2682                 :           0 :             _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    2683                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 584, __FILE__, __LINE__, true);
    2684                 :           0 :             return _r;
    2685                 :             :           }
    2686                 :             : next_after_fail820:;
    2687                 :             :       }
    2688                 :             :     }
    2689                 :             :   return NULL_TREE;
    2690                 :             : }
    2691                 :             : 
    2692                 :             : tree
    2693                 :        2489 : generic_simplify_372 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2694                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2695                 :             :  const enum tree_code ARG_UNUSED (shiftrotate))
    2696                 :             : {
    2697                 :        2489 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2698                 :        2489 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail832;
    2699                 :        2489 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail832;
    2700                 :        2489 :   {
    2701                 :        2489 :     tree res_op0;
    2702                 :        2489 :     res_op0 = captures[0];
    2703                 :        2489 :     tree _r;
    2704                 :        2489 :     _r = non_lvalue_loc (loc, res_op0);
    2705                 :        2489 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 610, __FILE__, __LINE__, true);
    2706                 :             :     return _r;
    2707                 :             :   }
    2708                 :             : next_after_fail832:;
    2709                 :             :   return NULL_TREE;
    2710                 :             : }
    2711                 :             : 
    2712                 :             : tree
    2713                 :          88 : generic_simplify_376 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2714                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2715                 :             :  const enum tree_code ARG_UNUSED (op))
    2716                 :             : {
    2717                 :          88 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2718                 :          88 :   {
    2719                 :          88 :  unsigned int prec = element_precision (type);
    2720                 :          88 :       if (wi::ge_p (wi::to_wide (captures[1]), 0, TYPE_SIGN (TREE_TYPE (captures[1])))
    2721                 :          88 :  && wi::lt_p (wi::to_wide (captures[1]), prec, TYPE_SIGN (TREE_TYPE (captures[1])))
    2722                 :          88 :  && wi::ge_p (wi::to_wide (captures[2]), 0, TYPE_SIGN (TREE_TYPE (captures[2])))
    2723                 :         176 :  && wi::lt_p (wi::to_wide (captures[2]), prec, TYPE_SIGN (TREE_TYPE (captures[2])))
    2724                 :             : )
    2725                 :             :         {
    2726                 :          88 :           {
    2727                 :          88 :  unsigned int low = (tree_to_uhwi (captures[1])
    2728                 :          88 :  + tree_to_uhwi (captures[2]));
    2729                 :          88 :               if (low >= prec
    2730                 :             : )
    2731                 :             :                 {
    2732                 :          25 :                   if (op == LROTATE_EXPR || op == RROTATE_EXPR
    2733                 :             : )
    2734                 :             :                     {
    2735                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail836;
    2736                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail836;
    2737                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail836;
    2738                 :           0 :                       {
    2739                 :           0 :                         tree res_op0;
    2740                 :           0 :                         res_op0 = captures[0];
    2741                 :           0 :                         tree res_op1;
    2742                 :           0 :                         res_op1 =  build_int_cst (TREE_TYPE (captures[1]), low % prec);
    2743                 :           0 :                         tree _r;
    2744                 :           0 :                         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2745                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 613, __FILE__, __LINE__, true);
    2746                 :          88 :                         return _r;
    2747                 :             :                       }
    2748                 :             : next_after_fail836:;
    2749                 :             :                     }
    2750                 :             :                   else
    2751                 :             :                     {
    2752                 :          25 :                       if (TYPE_UNSIGNED (type) || op == LSHIFT_EXPR
    2753                 :             : )
    2754                 :             :                         {
    2755                 :          24 :                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail837;
    2756                 :          24 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail837;
    2757                 :          24 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail837;
    2758                 :          24 :                           {
    2759                 :          24 :                             tree _r;
    2760                 :          24 :                             _r =  build_zero_cst (type);
    2761                 :          24 :                             if (TREE_SIDE_EFFECTS (captures[0]))
    2762                 :          14 :                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2763                 :          24 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 614, __FILE__, __LINE__, true);
    2764                 :          24 :                             return _r;
    2765                 :             :                           }
    2766                 :             : next_after_fail837:;
    2767                 :             :                         }
    2768                 :             :                       else
    2769                 :             :                         {
    2770                 :           1 :                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail838;
    2771                 :           1 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail838;
    2772                 :           1 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail838;
    2773                 :           1 :                           {
    2774                 :           1 :                             tree res_op0;
    2775                 :           1 :                             res_op0 = captures[0];
    2776                 :           1 :                             tree res_op1;
    2777                 :           1 :                             res_op1 =  build_int_cst (TREE_TYPE (captures[1]), prec - 1);
    2778                 :           1 :                             tree _r;
    2779                 :           1 :                             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2780                 :           1 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 615, __FILE__, __LINE__, true);
    2781                 :           1 :                             return _r;
    2782                 :             :                           }
    2783                 :             : next_after_fail838:;
    2784                 :             :                         }
    2785                 :             :                     }
    2786                 :             :                 }
    2787                 :             :               else
    2788                 :             :                 {
    2789                 :          63 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail839;
    2790                 :          63 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail839;
    2791                 :          63 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail839;
    2792                 :          63 :                   {
    2793                 :          63 :                     tree res_op0;
    2794                 :          63 :                     res_op0 = captures[0];
    2795                 :          63 :                     tree res_op1;
    2796                 :          63 :                     res_op1 =  build_int_cst (TREE_TYPE (captures[1]), low);
    2797                 :          63 :                     tree _r;
    2798                 :          63 :                     _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2799                 :          63 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 616, __FILE__, __LINE__, true);
    2800                 :          63 :                     return _r;
    2801                 :             :                   }
    2802                 :             : next_after_fail839:;
    2803                 :             :                 }
    2804                 :             :           }
    2805                 :             :         }
    2806                 :             :   }
    2807                 :           0 :   return NULL_TREE;
    2808                 :             : }
    2809                 :             : 
    2810                 :             : tree
    2811                 :           0 : generic_simplify_389 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2812                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2813                 :             :  const combined_fn ARG_UNUSED (copysigns),
    2814                 :             :  const combined_fn ARG_UNUSED (coss))
    2815                 :             : {
    2816                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2817                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail869;
    2818                 :           0 :   {
    2819                 :           0 :     tree res_op0;
    2820                 :           0 :     res_op0 = captures[0];
    2821                 :           0 :     tree _r;
    2822                 :           0 :     _r = maybe_build_call_expr_loc (loc, coss, type, 1, res_op0);
    2823                 :           0 :     if (!_r)
    2824                 :           0 :       goto next_after_fail869;
    2825                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    2826                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2827                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 633, __FILE__, __LINE__, true);
    2828                 :             :     return _r;
    2829                 :             :   }
    2830                 :             : next_after_fail869:;
    2831                 :             :   return NULL_TREE;
    2832                 :             : }
    2833                 :             : 
    2834                 :             : tree
    2835                 :           0 : generic_simplify_391 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2836                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2837                 :             :  const combined_fn ARG_UNUSED (coshs),
    2838                 :             :  const combined_fn ARG_UNUSED (atanhs),
    2839                 :             :  const combined_fn ARG_UNUSED (sqrts))
    2840                 :             : {
    2841                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2842                 :           0 :   if (!flag_errno_math
    2843                 :             : )
    2844                 :             :     {
    2845                 :           0 :       {
    2846                 :           0 :  tree t_one = build_one_cst (type);
    2847                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail871;
    2848                 :           0 :           {
    2849                 :           0 :             if (! tree_invariant_p (captures[1])) goto next_after_fail871;
    2850                 :           0 :             tree res_op0;
    2851                 :           0 :             res_op0 =  t_one;
    2852                 :           0 :             tree res_op1;
    2853                 :           0 :             {
    2854                 :           0 :               tree _o1[1], _r1;
    2855                 :           0 :               {
    2856                 :           0 :                 tree _o2[2], _r2;
    2857                 :           0 :                 {
    2858                 :           0 :                   tree _o3[2], _r3;
    2859                 :           0 :                   _o3[0] =  t_one;
    2860                 :           0 :                   _o3[1] = unshare_expr (captures[1]);
    2861                 :           0 :                   _r3 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    2862                 :           0 :                   _o2[0] = _r3;
    2863                 :             :                 }
    2864                 :           0 :                 {
    2865                 :           0 :                   tree _o3[2], _r3;
    2866                 :           0 :                   _o3[0] =  t_one;
    2867                 :           0 :                   _o3[1] = captures[1];
    2868                 :           0 :                   _r3 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    2869                 :           0 :                   _o2[1] = _r3;
    2870                 :             :                 }
    2871                 :           0 :                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    2872                 :           0 :                 _o1[0] = _r2;
    2873                 :             :               }
    2874                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, sqrts, TREE_TYPE (_o1[0]), 1, _o1[0]);
    2875                 :           0 :               if (!_r1)
    2876                 :           0 :                 goto next_after_fail871;
    2877                 :           0 :               res_op1 = _r1;
    2878                 :             :             }
    2879                 :           0 :             tree _r;
    2880                 :           0 :             _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
    2881                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 635, __FILE__, __LINE__, true);
    2882                 :           0 :             return _r;
    2883                 :             :           }
    2884                 :             : next_after_fail871:;
    2885                 :             :       }
    2886                 :             :     }
    2887                 :             :   return NULL_TREE;
    2888                 :             : }
    2889                 :             : 
    2890                 :             : tree
    2891                 :           0 : generic_simplify_393 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2892                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2893                 :             :  const combined_fn ARG_UNUSED (pow))
    2894                 :             : {
    2895                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2896                 :           0 :   if (flag_unsafe_math_optimizations
    2897                 :             : )
    2898                 :             :     {
    2899                 :           0 :       if (! HONOR_INFINITIES (type)
    2900                 :           0 :  && ! flag_trapping_math
    2901                 :           0 :  && ! flag_errno_math
    2902                 :             : )
    2903                 :             :         {
    2904                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail873;
    2905                 :           0 :           {
    2906                 :           0 :             tree res_op0;
    2907                 :           0 :             res_op0 = captures[2];
    2908                 :           0 :             tree res_op1;
    2909                 :           0 :             {
    2910                 :           0 :               tree _o1[1], _r1;
    2911                 :           0 :               _o1[0] = captures[3];
    2912                 :           0 :               _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    2913                 :           0 :               res_op1 = _r1;
    2914                 :             :             }
    2915                 :           0 :             tree _r;
    2916                 :           0 :             _r = maybe_build_call_expr_loc (loc, pow, type, 2, res_op0, res_op1);
    2917                 :           0 :             if (!_r)
    2918                 :           0 :               goto next_after_fail873;
    2919                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    2920                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2921                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 637, __FILE__, __LINE__, true);
    2922                 :           0 :             return _r;
    2923                 :             :           }
    2924                 :             : next_after_fail873:;
    2925                 :             :         }
    2926                 :             :     }
    2927                 :             :   return NULL_TREE;
    2928                 :             : }
    2929                 :             : 
    2930                 :             : tree
    2931                 :           0 : generic_simplify_399 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2932                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2933                 :             :  const combined_fn ARG_UNUSED (HYPOT))
    2934                 :             : {
    2935                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2936                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail879;
    2937                 :           0 :   {
    2938                 :           0 :     tree res_op0;
    2939                 :           0 :     res_op0 = captures[0];
    2940                 :           0 :     tree _r;
    2941                 :           0 :     _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
    2942                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    2943                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2944                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 643, __FILE__, __LINE__, true);
    2945                 :             :     return _r;
    2946                 :             :   }
    2947                 :           0 : next_after_fail879:;
    2948                 :           0 :   return NULL_TREE;
    2949                 :             : }
    2950                 :             : 
    2951                 :             : tree
    2952                 :          21 : generic_simplify_403 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2953                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2954                 :             : {
    2955                 :          21 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2956                 :          42 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2957                 :          42 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == 1
    2958                 :             : )
    2959                 :             :     {
    2960                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail883;
    2961                 :           0 :       {
    2962                 :           0 :         tree res_op0;
    2963                 :           0 :         res_op0 = captures[0];
    2964                 :           0 :         tree res_op1;
    2965                 :           0 :         res_op1 = captures[1];
    2966                 :           0 :         tree _r;
    2967                 :           0 :         _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    2968                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 647, __FILE__, __LINE__, true);
    2969                 :           0 :         return _r;
    2970                 :             :       }
    2971                 :           0 : next_after_fail883:;
    2972                 :             :     }
    2973                 :             :   return NULL_TREE;
    2974                 :             : }
    2975                 :             : 
    2976                 :             : tree
    2977                 :          80 : generic_simplify_409 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2978                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2979                 :             :  const enum tree_code ARG_UNUSED (bitop),
    2980                 :             :  const enum tree_code ARG_UNUSED (op))
    2981                 :             : {
    2982                 :          80 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2983                 :          80 :   {
    2984                 :          80 :  tree pmop[2];
    2985                 :          80 :  tree utype = fold_bit_and_mask (TREE_TYPE (captures[1]), captures[5], op, captures[1], bitop,
    2986                 :             :  captures[2], captures[3], captures[4], ERROR_MARK, NULL_TREE,
    2987                 :             :  NULL_TREE, pmop);
    2988                 :          80 :       if (utype
    2989                 :             : )
    2990                 :             :         {
    2991                 :          20 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail889;
    2992                 :          20 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail889;
    2993                 :          20 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail889;
    2994                 :          20 :           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail889;
    2995                 :          20 :           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail889;
    2996                 :          20 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail889;
    2997                 :          20 :           {
    2998                 :          20 :             tree res_op0;
    2999                 :          20 :             {
    3000                 :          20 :               tree _o1[2], _r1;
    3001                 :          20 :               {
    3002                 :          20 :                 tree _o2[2], _r2;
    3003                 :          20 :                 {
    3004                 :          20 :                   tree _o3[1], _r3;
    3005                 :          20 :                   _o3[0] =  pmop[0];
    3006                 :          20 :                   if (TREE_TYPE (_o3[0]) != utype)
    3007                 :             :                     {
    3008                 :          10 :                       _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    3009                 :             :                     }
    3010                 :             :                   else
    3011                 :             :                     _r3 = _o3[0];
    3012                 :          20 :                   _o2[0] = _r3;
    3013                 :             :                 }
    3014                 :          20 :                 {
    3015                 :          20 :                   tree _o3[1], _r3;
    3016                 :          20 :                   _o3[0] =  pmop[1];
    3017                 :          20 :                   if (TREE_TYPE (_o3[0]) != utype)
    3018                 :             :                     {
    3019                 :          10 :                       _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    3020                 :             :                     }
    3021                 :             :                   else
    3022                 :             :                     _r3 = _o3[0];
    3023                 :          20 :                   _o2[1] = _r3;
    3024                 :             :                 }
    3025                 :          20 :                 _r2 = fold_build2_loc (loc, op, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    3026                 :          20 :                 _o1[0] = _r2;
    3027                 :             :               }
    3028                 :          20 :               {
    3029                 :          20 :                 tree _o2[1], _r2;
    3030                 :          20 :                 _o2[0] = captures[5];
    3031                 :          20 :                 if (TREE_TYPE (_o2[0]) != utype)
    3032                 :             :                   {
    3033                 :          10 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    3034                 :             :                   }
    3035                 :             :                 else
    3036                 :             :                   _r2 = _o2[0];
    3037                 :          20 :                 _o1[1] = _r2;
    3038                 :             :               }
    3039                 :          20 :               _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3040                 :          20 :               res_op0 = _r1;
    3041                 :             :             }
    3042                 :          20 :             tree _r;
    3043                 :          20 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3044                 :          20 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 652, __FILE__, __LINE__, true);
    3045                 :          20 :             return _r;
    3046                 :             :           }
    3047                 :          60 : next_after_fail889:;
    3048                 :             :         }
    3049                 :             :   }
    3050                 :          60 :   return NULL_TREE;
    3051                 :             : }
    3052                 :             : 
    3053                 :             : tree
    3054                 :          34 : generic_simplify_425 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3055                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3056                 :             :  const combined_fn ARG_UNUSED (bswap))
    3057                 :             : {
    3058                 :          34 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3059                 :          34 :   if (BITS_PER_UNIT == 8
    3060                 :          34 :  && tree_fits_uhwi_p (captures[2])
    3061                 :          34 :  && tree_to_uhwi (captures[2]) < 256
    3062                 :             : )
    3063                 :             :     {
    3064                 :          32 :       {
    3065                 :          32 :  unsigned HOST_WIDE_INT prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
    3066                 :          32 :  tree utype = unsigned_type_for (TREE_TYPE (captures[1]));
    3067                 :          32 :  tree nst = build_int_cst (integer_type_node, prec - 8);
    3068                 :          32 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail910;
    3069                 :          32 :           {
    3070                 :          32 :             tree res_op0;
    3071                 :          32 :             {
    3072                 :          32 :               tree _o1[1], _r1;
    3073                 :          32 :               {
    3074                 :          32 :                 tree _o2[2], _r2;
    3075                 :          32 :                 {
    3076                 :          32 :                   tree _o3[1], _r3;
    3077                 :          32 :                   _o3[0] = captures[1];
    3078                 :          32 :                   if (TREE_TYPE (_o3[0]) != utype)
    3079                 :             :                     {
    3080                 :           0 :                       _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    3081                 :             :                     }
    3082                 :             :                   else
    3083                 :             :                     _r3 = _o3[0];
    3084                 :          32 :                   _o2[0] = _r3;
    3085                 :             :                 }
    3086                 :          32 :                 _o2[1] = nst;
    3087                 :          32 :                 _r2 = fold_build2_loc (loc, RSHIFT_EXPR, utype, _o2[0], _o2[1]);
    3088                 :          32 :                 _o1[0] = _r2;
    3089                 :             :               }
    3090                 :          32 :               if (TREE_TYPE (_o1[0]) != type)
    3091                 :             :                 {
    3092                 :          18 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3093                 :             :                 }
    3094                 :             :               else
    3095                 :             :                 _r1 = _o1[0];
    3096                 :          32 :               res_op0 = _r1;
    3097                 :             :             }
    3098                 :          32 :             tree res_op1;
    3099                 :          32 :             res_op1 = captures[2];
    3100                 :          32 :             tree _r;
    3101                 :          32 :             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3102                 :          32 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 669, __FILE__, __LINE__, true);
    3103                 :          32 :             return _r;
    3104                 :             :           }
    3105                 :           0 : next_after_fail910:;
    3106                 :             :       }
    3107                 :             :     }
    3108                 :             :   return NULL_TREE;
    3109                 :             : }
    3110                 :             : 
    3111                 :             : tree
    3112                 :           0 : generic_simplify_433 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3113                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3114                 :             :  const enum tree_code ARG_UNUSED (eqne))
    3115                 :             : {
    3116                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3117                 :           0 :   if (eqne == EQ_EXPR
    3118                 :             : )
    3119                 :             :     {
    3120                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail939;
    3121                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail939;
    3122                 :           0 :       {
    3123                 :           0 :         tree _r;
    3124                 :           0 :         _r =  constant_boolean_node (false, type);
    3125                 :           0 :         if (TREE_SIDE_EFFECTS (captures[2]))
    3126                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3127                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 672, __FILE__, __LINE__, true);
    3128                 :           0 :         return _r;
    3129                 :             :       }
    3130                 :             : next_after_fail939:;
    3131                 :             :     }
    3132                 :             :   else
    3133                 :             :     {
    3134                 :           0 :       if (eqne == NE_EXPR
    3135                 :             : )
    3136                 :             :         {
    3137                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail940;
    3138                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail940;
    3139                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail940;
    3140                 :           0 :           {
    3141                 :           0 :             tree _r;
    3142                 :           0 :             _r = captures[0];
    3143                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 673, __FILE__, __LINE__, true);
    3144                 :           0 :             return _r;
    3145                 :             :           }
    3146                 :             : next_after_fail940:;
    3147                 :             :         }
    3148                 :             :     }
    3149                 :             :   return NULL_TREE;
    3150                 :             : }
    3151                 :             : 
    3152                 :             : tree
    3153                 :           3 : generic_simplify_437 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3154                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3155                 :             : {
    3156                 :           3 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3157                 :           6 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3158                 :           6 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
    3159                 :             : )
    3160                 :             :     {
    3161                 :           3 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail956;
    3162                 :           3 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail956;
    3163                 :           3 :       {
    3164                 :           3 :         tree res_op0;
    3165                 :           3 :         res_op0 = captures[3];
    3166                 :           3 :         tree res_op1;
    3167                 :           3 :         {
    3168                 :           3 :           tree _o1[2], _r1;
    3169                 :           3 :           _o1[0] = captures[1];
    3170                 :           3 :           _o1[1] =  build_int_cst (TREE_TYPE (captures[1]), 1);
    3171                 :           3 :           _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3172                 :           3 :           res_op1 = _r1;
    3173                 :             :         }
    3174                 :           3 :         tree _r;
    3175                 :           3 :         _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    3176                 :           3 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 690, __FILE__, __LINE__, true);
    3177                 :           3 :         return _r;
    3178                 :             :       }
    3179                 :             : next_after_fail956:;
    3180                 :             :     }
    3181                 :             :   return NULL_TREE;
    3182                 :             : }
    3183                 :             : 
    3184                 :             : tree
    3185                 :       78533 : generic_simplify_442 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3186                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3187                 :             :  const enum tree_code ARG_UNUSED (shift))
    3188                 :             : {
    3189                 :       78533 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3190                 :       78533 :   if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    3191                 :       78533 :  && TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT
    3192                 :       78529 :  && tree_fits_uhwi_p (captures[4])
    3193                 :       78480 :  && tree_to_uhwi (captures[4]) > 0
    3194                 :      157012 :  && tree_to_uhwi (captures[4]) < TYPE_PRECISION (type)
    3195                 :             : )
    3196                 :             :     {
    3197                 :       78479 :       {
    3198                 :       78479 :  unsigned int shiftc = tree_to_uhwi (captures[4]);
    3199                 :       78479 :  unsigned HOST_WIDE_INT mask = TREE_INT_CST_LOW (captures[5]);
    3200                 :       78479 :  unsigned HOST_WIDE_INT newmask, zerobits = 0;
    3201                 :       78479 :  tree shift_type = TREE_TYPE (captures[2]);
    3202                 :       78479 :  unsigned int prec;
    3203                 :       78479 :  if (shift == LSHIFT_EXPR)
    3204                 :       28285 :  zerobits = ((HOST_WIDE_INT_1U << shiftc) - 1);
    3205                 :       50194 :  else if (shift == RSHIFT_EXPR
    3206                 :       50194 :  && type_has_mode_precision_p (shift_type))
    3207                 :             :  {
    3208                 :       50194 :  prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
    3209                 :       50194 :  tree arg00 = captures[3];
    3210                 :       50194 :  if (captures[2] != captures[3]
    3211                 :       50194 :  && TYPE_UNSIGNED (TREE_TYPE (captures[3])))
    3212                 :             :  {
    3213                 :           0 :  tree inner_type = TREE_TYPE (captures[3]);
    3214                 :           0 :  if (type_has_mode_precision_p (inner_type)
    3215                 :           0 :  && TYPE_PRECISION (inner_type) < prec)
    3216                 :             :  {
    3217                 :           0 :  prec = TYPE_PRECISION (inner_type);
    3218                 :           0 :  if (shiftc < prec)
    3219                 :           0 :  shift_type = inner_type;
    3220                 :             :  }
    3221                 :             :  }
    3222                 :       50194 :  zerobits = HOST_WIDE_INT_M1U;
    3223                 :       50194 :  if (shiftc < prec)
    3224                 :             :  {
    3225                 :       50194 :  zerobits >>= HOST_BITS_PER_WIDE_INT - shiftc;
    3226                 :       50194 :  zerobits <<= prec - shiftc;
    3227                 :             :  }
    3228                 :       50194 :  if (!TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    3229                 :       50194 :  && prec == TYPE_PRECISION (TREE_TYPE (captures[2])))
    3230                 :             :  {
    3231                 :        2664 :  if ((mask & zerobits) == 0)
    3232                 :        2653 :  shift_type = unsigned_type_for (TREE_TYPE (captures[2]));
    3233                 :             :  else
    3234                 :             :  zerobits = 0;
    3235                 :             :  }
    3236                 :             :  }
    3237                 :       78468 :           if ((mask & zerobits) == mask
    3238                 :             : )
    3239                 :             :             {
    3240                 :           3 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail963;
    3241                 :           3 :               if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail963;
    3242                 :           3 :               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail963;
    3243                 :           3 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail963;
    3244                 :           3 :               {
    3245                 :           3 :                 tree _r;
    3246                 :           3 :                 _r =  build_int_cst (type, 0);
    3247                 :           3 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 664, __FILE__, __LINE__, true);
    3248                 :           3 :                 return _r;
    3249                 :             :               }
    3250                 :             : next_after_fail963:;
    3251                 :             :             }
    3252                 :             :           else
    3253                 :             :             {
    3254                 :       78476 :               {
    3255                 :       78476 :  newmask = mask | zerobits;
    3256                 :       78476 :                   if (newmask != mask && (newmask & (newmask + 1)) == 0
    3257                 :             : )
    3258                 :             :                     {
    3259                 :             :                       {
    3260                 :       19337 :  for (prec = BITS_PER_UNIT;
    3261                 :       34596 :  prec < HOST_BITS_PER_WIDE_INT; prec <<= 1)
    3262                 :       31923 :  if (newmask == (HOST_WIDE_INT_1U << prec) - 1)
    3263                 :             :  break;
    3264                 :       15259 :                           if (prec < HOST_BITS_PER_WIDE_INT
    3265                 :        2673 :  || newmask == HOST_WIDE_INT_M1U
    3266                 :             : )
    3267                 :             :                             {
    3268                 :       12740 :                               {
    3269                 :       12740 :  tree newmaskt = build_int_cst_type (TREE_TYPE (captures[5]), newmask);
    3270                 :       12740 :                                   if (!tree_int_cst_equal (newmaskt, captures[5])
    3271                 :             : )
    3272                 :             :                                     {
    3273                 :       12740 :                                       if (shift_type != TREE_TYPE (captures[2])
    3274                 :             : )
    3275                 :             :                                         {
    3276                 :          84 :                                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail964;
    3277                 :          84 :                                           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail964;
    3278                 :          84 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail964;
    3279                 :          84 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail964;
    3280                 :          84 :                                           {
    3281                 :          84 :                                             tree res_op0;
    3282                 :          84 :                                             {
    3283                 :          84 :                                               tree _o1[1], _r1;
    3284                 :          84 :                                               {
    3285                 :          84 :                                                 tree _o2[2], _r2;
    3286                 :          84 :                                                 {
    3287                 :          84 :                                                   tree _o3[1], _r3;
    3288                 :          84 :                                                   _o3[0] = captures[2];
    3289                 :          84 :                                                   if (TREE_TYPE (_o3[0]) != shift_type)
    3290                 :             :                                                     {
    3291                 :          84 :                                                       _r3 = fold_build1_loc (loc, NOP_EXPR, shift_type, _o3[0]);
    3292                 :             :                                                     }
    3293                 :             :                                                   else
    3294                 :             :                                                     _r3 = _o3[0];
    3295                 :          84 :                                                   _o2[0] = _r3;
    3296                 :             :                                                 }
    3297                 :          84 :                                                 _o2[1] = captures[4];
    3298                 :          84 :                                                 _r2 = fold_build2_loc (loc, shift, shift_type, _o2[0], _o2[1]);
    3299                 :          84 :                                                 _o1[0] = _r2;
    3300                 :             :                                               }
    3301                 :          84 :                                               if (TREE_TYPE (_o1[0]) != type)
    3302                 :             :                                                 {
    3303                 :          84 :                                                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3304                 :             :                                                 }
    3305                 :             :                                               else
    3306                 :             :                                                 _r1 = _o1[0];
    3307                 :          84 :                                               res_op0 = _r1;
    3308                 :             :                                             }
    3309                 :          84 :                                             tree res_op1;
    3310                 :          84 :                                             res_op1 =  newmaskt;
    3311                 :          84 :                                             tree _r;
    3312                 :          84 :                                             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3313                 :          84 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 665, __FILE__, __LINE__, true);
    3314                 :          84 :                                             return _r;
    3315                 :             :                                           }
    3316                 :             : next_after_fail964:;
    3317                 :             :                                         }
    3318                 :             :                                       else
    3319                 :             :                                         {
    3320                 :       12656 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail965;
    3321                 :       11776 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail965;
    3322                 :       11776 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail965;
    3323                 :       11776 :                                           {
    3324                 :       11776 :                                             tree res_op0;
    3325                 :       11776 :                                             res_op0 = captures[0];
    3326                 :       11776 :                                             tree res_op1;
    3327                 :       11776 :                                             res_op1 =  newmaskt;
    3328                 :       11776 :                                             tree _r;
    3329                 :       11776 :                                             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3330                 :       11776 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 666, __FILE__, __LINE__, true);
    3331                 :       11776 :                                             return _r;
    3332                 :             :                                           }
    3333                 :             : next_after_fail965:;
    3334                 :             :                                         }
    3335                 :             :                                     }
    3336                 :             :                               }
    3337                 :             :                             }
    3338                 :             :                       }
    3339                 :             :                     }
    3340                 :             :               }
    3341                 :             :             }
    3342                 :             :       }
    3343                 :             :     }
    3344                 :             :   return NULL_TREE;
    3345                 :             : }
    3346                 :             : 
    3347                 :             : tree
    3348                 :         147 : generic_simplify_465 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3349                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3350                 :             : {
    3351                 :         147 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3352                 :         147 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail991;
    3353                 :         147 :   {
    3354                 :         147 :     tree res_op0;
    3355                 :         147 :     {
    3356                 :         147 :       tree _o1[1], _r1;
    3357                 :         147 :       _o1[0] = captures[0];
    3358                 :         147 :       if (TREE_TYPE (_o1[0]) != type)
    3359                 :             :         {
    3360                 :           0 :           _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
    3361                 :             :         }
    3362                 :             :       else
    3363                 :             :         _r1 = _o1[0];
    3364                 :         147 :       res_op0 = _r1;
    3365                 :             :     }
    3366                 :         147 :     tree res_op1;
    3367                 :         147 :     res_op1 =  build_each_one_cst (type);
    3368                 :         147 :     tree _r;
    3369                 :         147 :     _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    3370                 :         147 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 713, __FILE__, __LINE__, true);
    3371                 :             :     return _r;
    3372                 :             :   }
    3373                 :           0 : next_after_fail991:;
    3374                 :           0 :   return NULL_TREE;
    3375                 :             : }
    3376                 :             : 
    3377                 :             : tree
    3378                 :      126845 : generic_simplify_473 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3379                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3380                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3381                 :             : {
    3382                 :      126845 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3383                 :      126845 :   {
    3384                 :      126845 :  tree from_type = TREE_TYPE (captures[0]);
    3385                 :      126845 :  tree c1_type = TREE_TYPE (captures[1]), c2_type = TREE_TYPE (captures[2]);
    3386                 :      126845 :  enum tree_code code = ERROR_MARK;
    3387                 :      126845 :  if (INTEGRAL_TYPE_P (from_type)
    3388                 :      126356 :  && int_fits_type_p (captures[2], from_type)
    3389                 :      126355 :  && (types_match (c1_type, from_type)
    3390                 :        6137 :  || (TYPE_PRECISION (c1_type) > TYPE_PRECISION (from_type)
    3391                 :           0 :  && (TYPE_UNSIGNED (from_type)
    3392                 :           0 :  || TYPE_SIGN (c1_type) == TYPE_SIGN (from_type))))
    3393                 :      247063 :  && (types_match (c2_type, from_type)
    3394                 :       26972 :  || (TYPE_PRECISION (c2_type) > TYPE_PRECISION (from_type)
    3395                 :        6043 :  && (TYPE_UNSIGNED (from_type)
    3396                 :        1398 :  || TYPE_SIGN (c2_type) == TYPE_SIGN (from_type)))))
    3397                 :             :  {
    3398                 :       97981 :  if (cmp != EQ_EXPR)
    3399                 :       97969 :  code = minmax_from_comparison (cmp, captures[0], captures[1], captures[0], captures[2]);
    3400                 :          12 :  else if (int_fits_type_p (captures[1], from_type))
    3401                 :             :  code = EQ_EXPR;
    3402                 :             :  }
    3403                 :       97969 :       if (code == MAX_EXPR
    3404                 :             : )
    3405                 :             :         {
    3406                 :       18716 :           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail999;
    3407                 :       18716 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail999;
    3408                 :       18716 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail999;
    3409                 :       18716 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail999;
    3410                 :       18716 :           {
    3411                 :       18716 :             tree res_op0;
    3412                 :       18716 :             {
    3413                 :       18716 :               tree _o1[2], _r1;
    3414                 :       18716 :               _o1[0] = captures[0];
    3415                 :       18716 :               {
    3416                 :       18716 :                 tree _o2[1], _r2;
    3417                 :       18716 :                 _o2[0] = captures[2];
    3418                 :       18716 :                 if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
    3419                 :             :                   {
    3420                 :         253 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    3421                 :             :                   }
    3422                 :             :                 else
    3423                 :             :                   _r2 = _o2[0];
    3424                 :       18716 :                 _o1[1] = _r2;
    3425                 :             :               }
    3426                 :       18716 :               _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3427                 :       18716 :               res_op0 = _r1;
    3428                 :             :             }
    3429                 :       18716 :             tree _r;
    3430                 :       18716 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3431                 :       18716 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 720, __FILE__, __LINE__, true);
    3432                 :       18716 :             return _r;
    3433                 :             :           }
    3434                 :             : next_after_fail999:;
    3435                 :             :         }
    3436                 :             :       else
    3437                 :             :         {
    3438                 :      108129 :           if (code == MIN_EXPR
    3439                 :             : )
    3440                 :             :             {
    3441                 :         238 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1000;
    3442                 :         238 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1000;
    3443                 :         238 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1000;
    3444                 :         238 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1000;
    3445                 :         238 :               {
    3446                 :         238 :                 tree res_op0;
    3447                 :         238 :                 {
    3448                 :         238 :                   tree _o1[2], _r1;
    3449                 :         238 :                   _o1[0] = captures[0];
    3450                 :         238 :                   {
    3451                 :         238 :                     tree _o2[1], _r2;
    3452                 :         238 :                     _o2[0] = captures[2];
    3453                 :         238 :                     if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
    3454                 :             :                       {
    3455                 :          92 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    3456                 :             :                       }
    3457                 :             :                     else
    3458                 :             :                       _r2 = _o2[0];
    3459                 :         238 :                     _o1[1] = _r2;
    3460                 :             :                   }
    3461                 :         238 :                   _r1 = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3462                 :         238 :                   res_op0 = _r1;
    3463                 :             :                 }
    3464                 :         238 :                 tree _r;
    3465                 :         238 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3466                 :         238 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 721, __FILE__, __LINE__, true);
    3467                 :         238 :                 return _r;
    3468                 :             :               }
    3469                 :             : next_after_fail1000:;
    3470                 :             :             }
    3471                 :             :           else
    3472                 :             :             {
    3473                 :      107891 :               if (code == EQ_EXPR
    3474                 :             : )
    3475                 :             :                 {
    3476                 :          12 :                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1001;
    3477                 :          12 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1001;
    3478                 :          12 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1001;
    3479                 :          12 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1001;
    3480                 :          12 :                   {
    3481                 :          12 :                     if (! tree_invariant_p (captures[1])) goto next_after_fail1001;
    3482                 :          12 :                     tree res_op0;
    3483                 :          12 :                     {
    3484                 :          12 :                       tree _o1[3], _r1;
    3485                 :          12 :                       {
    3486                 :          12 :                         tree _o2[2], _r2;
    3487                 :          12 :                         _o2[0] = captures[0];
    3488                 :          12 :                         {
    3489                 :          12 :                           tree _o3[1], _r3;
    3490                 :          12 :                           _o3[0] = unshare_expr (captures[1]);
    3491                 :          12 :                           if (TREE_TYPE (_o3[0]) != TREE_TYPE (_o2[0]))
    3492                 :             :                             {
    3493                 :           0 :                               _r3 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o2[0]), _o3[0]);
    3494                 :             :                             }
    3495                 :             :                           else
    3496                 :             :                             _r3 = _o3[0];
    3497                 :          12 :                           _o2[1] = _r3;
    3498                 :             :                         }
    3499                 :          12 :                         _r2 = fold_build2_loc (loc, EQ_EXPR, boolean_type_node, _o2[0], _o2[1]);
    3500                 :          12 :                         _o1[0] = _r2;
    3501                 :             :                       }
    3502                 :          12 :                       {
    3503                 :          12 :                         tree _o2[1], _r2;
    3504                 :          12 :                         _o2[0] = captures[1];
    3505                 :          12 :                         if (TREE_TYPE (_o2[0]) != from_type)
    3506                 :             :                           {
    3507                 :           0 :                             _r2 = fold_build1_loc (loc, NOP_EXPR, from_type, _o2[0]);
    3508                 :             :                           }
    3509                 :             :                         else
    3510                 :             :                           _r2 = _o2[0];
    3511                 :          12 :                         _o1[1] = _r2;
    3512                 :             :                       }
    3513                 :          12 :                       {
    3514                 :          12 :                         tree _o2[1], _r2;
    3515                 :          12 :                         _o2[0] = captures[2];
    3516                 :          12 :                         if (TREE_TYPE (_o2[0]) != from_type)
    3517                 :             :                           {
    3518                 :           7 :                             _r2 = fold_build1_loc (loc, NOP_EXPR, from_type, _o2[0]);
    3519                 :             :                           }
    3520                 :             :                         else
    3521                 :             :                           _r2 = _o2[0];
    3522                 :          12 :                         _o1[2] = _r2;
    3523                 :             :                       }
    3524                 :          12 :                       _r1 = fold_build3_loc (loc, COND_EXPR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2]);
    3525                 :          12 :                       res_op0 = _r1;
    3526                 :             :                     }
    3527                 :          12 :                     tree _r;
    3528                 :          12 :                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3529                 :          12 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 722, __FILE__, __LINE__, true);
    3530                 :          12 :                     return _r;
    3531                 :             :                   }
    3532                 :             : next_after_fail1001:;
    3533                 :             :                 }
    3534                 :             :             }
    3535                 :             :         }
    3536                 :             :   }
    3537                 :             :   return NULL_TREE;
    3538                 :             : }
    3539                 :             : 
    3540                 :             : tree
    3541                 :           0 : generic_simplify_509 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3542                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3543                 :             :  const combined_fn ARG_UNUSED (minmax))
    3544                 :             : {
    3545                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3546                 :           0 :   if (!tree_expr_maybe_signaling_nan_p (captures[0])
    3547                 :             : )
    3548                 :             :     {
    3549                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1055;
    3550                 :           0 :       {
    3551                 :           0 :         tree _r;
    3552                 :           0 :         _r = captures[0];
    3553                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 762, __FILE__, __LINE__, true);
    3554                 :           0 :         return _r;
    3555                 :             :       }
    3556                 :           0 : next_after_fail1055:;
    3557                 :             :     }
    3558                 :             :   return NULL_TREE;
    3559                 :             : }
    3560                 :             : 
    3561                 :             : tree
    3562                 :        5779 : generic_simplify_515 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3563                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3564                 :             : {
    3565                 :        5779 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3566                 :       11558 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3567                 :        5779 :  && TYPE_MAX_VALUE (TREE_TYPE (captures[1]))
    3568                 :        5779 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (TREE_TYPE (captures[0])))
    3569                 :        8068 :  && int_fits_type_p (captures[2], TREE_TYPE (captures[1]))
    3570                 :             : )
    3571                 :             :     {
    3572                 :        1897 :       if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    3573                 :             : )
    3574                 :             :         {
    3575                 :         929 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1062;
    3576                 :         929 :           {
    3577                 :         929 :             tree res_op0;
    3578                 :         929 :             {
    3579                 :         929 :               tree _o1[2], _r1;
    3580                 :         929 :               _o1[0] = captures[1];
    3581                 :         929 :               {
    3582                 :         929 :                 tree _o2[2], _r2;
    3583                 :         929 :                 _o2[0] =  TYPE_MAX_VALUE (TREE_TYPE (captures[1]));
    3584                 :         929 :                 _o2[1] = captures[2];
    3585                 :         929 :                 _r2 = fold_build2_loc (loc, TRUNC_DIV_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    3586                 :         929 :                 if (EXPR_P (_r2))
    3587                 :           0 :                   goto next_after_fail1062;
    3588                 :         929 :                 _o1[1] = _r2;
    3589                 :             :               }
    3590                 :         929 :               _r1 = fold_build2_loc (loc, GT_EXPR, boolean_type_node, _o1[0], _o1[1]);
    3591                 :         929 :               res_op0 = _r1;
    3592                 :             :             }
    3593                 :         929 :             tree _r;
    3594                 :         929 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3595                 :         929 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 769, __FILE__, __LINE__, true);
    3596                 :         929 :             return _r;
    3597                 :             :           }
    3598                 :             : next_after_fail1062:;
    3599                 :             :         }
    3600                 :             :       else
    3601                 :             :         {
    3602                 :         968 :           if (TYPE_MIN_VALUE (TREE_TYPE (captures[1]))
    3603                 :             : )
    3604                 :             :             {
    3605                 :         968 :               if (integer_minus_onep (captures[2])
    3606                 :             : )
    3607                 :             :                 {
    3608                 :          56 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1063;
    3609                 :          56 :                   {
    3610                 :          56 :                     tree res_op0;
    3611                 :          56 :                     {
    3612                 :          56 :                       tree _o1[2], _r1;
    3613                 :          56 :                       _o1[0] = captures[1];
    3614                 :          56 :                       _o1[1] =  TYPE_MIN_VALUE (TREE_TYPE (captures[1]));
    3615                 :          56 :                       _r1 = fold_build2_loc (loc, EQ_EXPR, boolean_type_node, _o1[0], _o1[1]);
    3616                 :          56 :                       res_op0 = _r1;
    3617                 :             :                     }
    3618                 :          56 :                     tree _r;
    3619                 :          56 :                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3620                 :          56 :                     if (TREE_SIDE_EFFECTS (captures[2]))
    3621                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3622                 :          56 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 770, __FILE__, __LINE__, true);
    3623                 :          56 :                     return _r;
    3624                 :             :                   }
    3625                 :           0 : next_after_fail1063:;
    3626                 :             :                 }
    3627                 :             :               else
    3628                 :             :                 {
    3629                 :         912 :                   {
    3630                 :         912 :  tree div = fold_convert (TREE_TYPE (captures[1]), captures[2]);
    3631                 :        1824 :  tree lo = int_const_binop (TRUNC_DIV_EXPR,
    3632                 :         912 :  TYPE_MIN_VALUE (TREE_TYPE (captures[1])), div);
    3633                 :        1824 :  tree hi = int_const_binop (TRUNC_DIV_EXPR,
    3634                 :         912 :  TYPE_MAX_VALUE (TREE_TYPE (captures[1])), div);
    3635                 :         912 :  tree etype = range_check_type (TREE_TYPE (captures[1]));
    3636                 :         912 :  if (etype)
    3637                 :             :  {
    3638                 :         912 :  if (wi::neg_p (wi::to_wide (div)))
    3639                 :          88 :  std::swap (lo, hi);
    3640                 :         912 :  lo = fold_convert (etype, lo);
    3641                 :         912 :  hi = fold_convert (etype, hi);
    3642                 :         912 :  hi = int_const_binop (MINUS_EXPR, hi, lo);
    3643                 :             :  }
    3644                 :         912 :                       if (etype
    3645                 :             : )
    3646                 :             :                         {
    3647                 :         912 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1064;
    3648                 :         912 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1064;
    3649                 :         912 :                           {
    3650                 :         912 :                             tree res_op0;
    3651                 :         912 :                             {
    3652                 :         912 :                               tree _o1[2], _r1;
    3653                 :         912 :                               {
    3654                 :         912 :                                 tree _o2[2], _r2;
    3655                 :         912 :                                 {
    3656                 :         912 :                                   tree _o3[1], _r3;
    3657                 :         912 :                                   _o3[0] = captures[1];
    3658                 :         912 :                                   if (TREE_TYPE (_o3[0]) != etype)
    3659                 :             :                                     {
    3660                 :         912 :                                       _r3 = fold_build1_loc (loc, NOP_EXPR, etype, _o3[0]);
    3661                 :             :                                     }
    3662                 :             :                                   else
    3663                 :             :                                     _r3 = _o3[0];
    3664                 :         912 :                                   _o2[0] = _r3;
    3665                 :             :                                 }
    3666                 :         912 :                                 _o2[1] =  lo;
    3667                 :         912 :                                 _r2 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    3668                 :         912 :                                 _o1[0] = _r2;
    3669                 :             :                               }
    3670                 :         912 :                               _o1[1] =  hi;
    3671                 :         912 :                               _r1 = fold_build2_loc (loc, GT_EXPR, boolean_type_node, _o1[0], _o1[1]);
    3672                 :         912 :                               res_op0 = _r1;
    3673                 :             :                             }
    3674                 :         912 :                             tree _r;
    3675                 :         912 :                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3676                 :         912 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 771, __FILE__, __LINE__, true);
    3677                 :         912 :                             return _r;
    3678                 :             :                           }
    3679                 :             : next_after_fail1064:;
    3680                 :             :                         }
    3681                 :             :                   }
    3682                 :             :                 }
    3683                 :             :             }
    3684                 :             :         }
    3685                 :             :     }
    3686                 :             :   return NULL_TREE;
    3687                 :             : }
    3688                 :             : 
    3689                 :             : tree
    3690                 :           0 : generic_simplify_547 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3691                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3692                 :             :  const combined_fn ARG_UNUSED (fns))
    3693                 :             : {
    3694                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3695                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1096;
    3696                 :           0 :   {
    3697                 :           0 :     tree _r;
    3698                 :           0 :     _r = captures[0];
    3699                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 798, __FILE__, __LINE__, true);
    3700                 :             :     return _r;
    3701                 :             :   }
    3702                 :           0 : next_after_fail1096:;
    3703                 :           0 :   return NULL_TREE;
    3704                 :             : }
    3705                 :             : 
    3706                 :             : tree
    3707                 :           0 : generic_simplify_552 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3708                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3709                 :             : {
    3710                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3711                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1101;
    3712                 :           0 :   {
    3713                 :           0 :     tree _r;
    3714                 :           0 :     _r = captures[0];
    3715                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    3716                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3717                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 803, __FILE__, __LINE__, true);
    3718                 :             :     return _r;
    3719                 :             :   }
    3720                 :           0 : next_after_fail1101:;
    3721                 :           0 :   return NULL_TREE;
    3722                 :             : }
    3723                 :             : 
    3724                 :             : tree
    3725                 :           0 : generic_simplify_560 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3726                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3727                 :             :  const combined_fn ARG_UNUSED (SIGNBIT))
    3728                 :             : {
    3729                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3730                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1109;
    3731                 :           0 :   {
    3732                 :           0 :     tree _r;
    3733                 :           0 :     _r =  integer_zero_node;
    3734                 :           0 :     if (TREE_SIDE_EFFECTS (captures[0]))
    3735                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    3736                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 811, __FILE__, __LINE__, true);
    3737                 :             :     return _r;
    3738                 :             :   }
    3739                 :           0 : next_after_fail1109:;
    3740                 :           0 :   return NULL_TREE;
    3741                 :             : }
    3742                 :             : 
    3743                 :             : tree
    3744                 :           0 : generic_simplify_566 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3745                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
    3746                 :             : {
    3747                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3748                 :           0 :   if (canonicalize_math_after_vectorization_p ()
    3749                 :             : )
    3750                 :             :     {
    3751                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1115;
    3752                 :             :       {
    3753                 :             :         tree res_op0;
    3754                 :             :         res_op0 = captures[0];
    3755                 :             :         tree res_op1;
    3756                 :             :         res_op1 = captures[1];
    3757                 :             :         tree res_op2;
    3758                 :             :         res_op2 = captures[2];
    3759                 :             :         tree _r;
    3760                 :             :         _r = maybe_build_call_expr_loc (loc, CFN_FNMA, type, 3, res_op0, res_op1, res_op2);
    3761                 :             :         if (!_r)
    3762                 :             :           goto next_after_fail1115;
    3763                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 817, __FILE__, __LINE__, true);
    3764                 :             :         return _r;
    3765                 :             :       }
    3766                 :           0 : next_after_fail1115:;
    3767                 :             :     }
    3768                 :           0 :   return NULL_TREE;
    3769                 :             : }
    3770                 :             : 
    3771                 :             : tree
    3772                 :           0 : generic_simplify_576 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3773                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3774                 :             :  const enum tree_code ARG_UNUSED (rot),
    3775                 :             :  const combined_fn ARG_UNUSED (popcount))
    3776                 :             : {
    3777                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3778                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3779                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3780                 :           0 :  && (
    3781                 :             : 
    3782                 :           0 :  || !TREE_SIDE_EFFECTS (captures[3]))
    3783                 :             : )
    3784                 :             :     {
    3785                 :           0 :       {
    3786                 :           0 :  tree type0 = TREE_TYPE (captures[0]);
    3787                 :           0 :  tree type1 = TREE_TYPE (captures[1]);
    3788                 :           0 :  unsigned int prec0 = TYPE_PRECISION (type0);
    3789                 :           0 :  unsigned int prec1 = TYPE_PRECISION (type1);
    3790                 :           0 :           if (prec0 == prec1 || (prec0 > prec1 && TYPE_UNSIGNED (type1))
    3791                 :             : )
    3792                 :             :             {
    3793                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1125;
    3794                 :           0 :               {
    3795                 :           0 :                 tree res_op0;
    3796                 :           0 :                 {
    3797                 :           0 :                   tree _o1[1], _r1;
    3798                 :           0 :                   _o1[0] = captures[2];
    3799                 :           0 :                   if (TREE_TYPE (_o1[0]) != type0)
    3800                 :             :                     {
    3801                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
    3802                 :             :                     }
    3803                 :             :                   else
    3804                 :             :                     _r1 = _o1[0];
    3805                 :           0 :                   res_op0 = _r1;
    3806                 :             :                 }
    3807                 :           0 :                 tree _r;
    3808                 :           0 :                 _r = maybe_build_call_expr_loc (loc, popcount, type, 1, res_op0);
    3809                 :           0 :                 if (!_r)
    3810                 :           0 :                   goto next_after_fail1125;
    3811                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[3]))
    3812                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    3813                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 824, __FILE__, __LINE__, true);
    3814                 :           0 :                 return _r;
    3815                 :             :               }
    3816                 :             : next_after_fail1125:;
    3817                 :             :             }
    3818                 :             :       }
    3819                 :             :     }
    3820                 :             :   return NULL_TREE;
    3821                 :             : }
    3822                 :             : 
    3823                 :             : tree
    3824                 :           0 : generic_simplify_587 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3825                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3826                 :             :  const enum tree_code ARG_UNUSED (plusminus),
    3827                 :             :  const enum tree_code ARG_UNUSED (minusplus))
    3828                 :             : {
    3829                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3830                 :           0 :   if (!VECTOR_INTEGER_TYPE_P (type)
    3831                 :             :  && !FLOAT_WORDS_BIG_ENDIAN
    3832                 :           0 :  && (operand_equal_p (captures[0], captures[2], 0)
    3833                 :           0 :  ? operand_equal_p (captures[1], captures[3], 0)
    3834                 :           0 :  : operand_equal_p (captures[0], captures[3], 0) && operand_equal_p (captures[1], captures[2], 0))
    3835                 :             : )
    3836                 :             :     {
    3837                 :           0 :       {
    3838                 :           0 :  vec_perm_builder builder;
    3839                 :           0 :           if (tree_to_vec_perm_builder (&builder, captures[4])
    3840                 :             : )
    3841                 :             :             {
    3842                 :           0 :               {
    3843                 :           0 :  poly_uint64 nelts = TYPE_VECTOR_SUBPARTS (type);
    3844                 :           0 :  vec_perm_indices sel (builder, 2, nelts);
    3845                 :           0 :  machine_mode vec_mode = TYPE_MODE (type);
    3846                 :           0 :  machine_mode wide_mode;
    3847                 :           0 :  scalar_mode wide_elt_mode;
    3848                 :           0 :  poly_uint64 wide_nunits;
    3849                 :           0 :  scalar_mode inner_mode = GET_MODE_INNER (vec_mode);
    3850                 :           0 :                   if (VECTOR_MODE_P (vec_mode)
    3851                 :           0 :  && sel.series_p (0, 2, 0, 2)
    3852                 :           0 :  && sel.series_p (1, 2, nelts + 1, 2)
    3853                 :           0 :  && GET_MODE_2XWIDER_MODE (inner_mode).exists (&wide_elt_mode)
    3854                 :           0 :  && multiple_p (GET_MODE_NUNITS (vec_mode), 2, &wide_nunits)
    3855                 :           0 :  && related_vector_mode (vec_mode, wide_elt_mode,
    3856                 :           0 :  wide_nunits).exists (&wide_mode)
    3857                 :             : )
    3858                 :             :                     {
    3859                 :           0 :                       {
    3860                 :           0 :  tree stype
    3861                 :           0 :  = lang_hooks.types.type_for_mode (GET_MODE_INNER (wide_mode),
    3862                 :           0 :  TYPE_UNSIGNED (type));
    3863                 :           0 :  tree ntype = build_vector_type_for_mode (stype, wide_mode);
    3864                 :           0 :  const struct real_format *fmt_old = FLOAT_MODE_FORMAT (vec_mode);
    3865                 :           0 :  const struct real_format *fmt_new = FLOAT_MODE_FORMAT (wide_mode);
    3866                 :           0 :                           if (TYPE_MODE (stype) != BLKmode
    3867                 :           0 :  && VECTOR_TYPE_P (ntype)
    3868                 :           0 :  && fmt_old != NULL
    3869                 :           0 :  && fmt_new != NULL
    3870                 :             : )
    3871                 :             :                             {
    3872                 :           0 :                               {
    3873                 :           0 :  if (known_eq (GET_MODE_NUNITS (wide_mode), 1)
    3874                 :           0 :  && !target_supports_op_p (ntype, NEGATE_EXPR, optab_vector))
    3875                 :             :  ntype = stype;
    3876                 :           0 :                                   if (fmt_new->signbit_rw
    3877                 :           0 :  == fmt_old->signbit_rw + GET_MODE_UNIT_BITSIZE (vec_mode)
    3878                 :           0 :  && fmt_new->signbit_rw == fmt_new->signbit_ro
    3879                 :           0 :  && targetm.can_change_mode_class (TYPE_MODE (ntype),
    3880                 :           0 :  TYPE_MODE (type), ALL_REGS)
    3881                 :           0 :  && ((optimize_vectors_before_lowering_p ()
    3882                 :           0 :  && VECTOR_TYPE_P (ntype))
    3883                 :           0 :  || target_supports_op_p (ntype, NEGATE_EXPR, optab_vector))
    3884                 :             : )
    3885                 :             :                                     {
    3886                 :           0 :                                       if (plusminus == PLUS_EXPR
    3887                 :             : )
    3888                 :             :                                         {
    3889                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1137;
    3890                 :           0 :                                           {
    3891                 :           0 :                                             tree res_op0;
    3892                 :           0 :                                             {
    3893                 :           0 :                                               tree _o1[1], _r1;
    3894                 :           0 :                                               {
    3895                 :           0 :                                                 tree _o2[1], _r2;
    3896                 :           0 :                                                 {
    3897                 :           0 :                                                   tree _o3[1], _r3;
    3898                 :           0 :                                                   _o3[0] = captures[3];
    3899                 :           0 :                                                   if (TREE_TYPE (_o3[0]) != ntype)
    3900                 :             :                                                     {
    3901                 :           0 :                                                       _r3 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, ntype, _o3[0]);
    3902                 :             :                                                     }
    3903                 :             :                                                   else
    3904                 :             :                                                     _r3 = _o3[0];
    3905                 :           0 :                                                   _o2[0] = _r3;
    3906                 :             :                                                 }
    3907                 :           0 :                                                 _r2 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    3908                 :           0 :                                                 _o1[0] = _r2;
    3909                 :             :                                               }
    3910                 :           0 :                                               if (TREE_TYPE (_o1[0]) != type)
    3911                 :             :                                                 {
    3912                 :           0 :                                                   _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
    3913                 :             :                                                 }
    3914                 :             :                                               else
    3915                 :             :                                                 _r1 = _o1[0];
    3916                 :           0 :                                               res_op0 = _r1;
    3917                 :             :                                             }
    3918                 :           0 :                                             tree res_op1;
    3919                 :           0 :                                             res_op1 = captures[2];
    3920                 :           0 :                                             tree _r;
    3921                 :           0 :                                             _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    3922                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[0]))
    3923                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    3924                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[1]))
    3925                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3926                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[4]))
    3927                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    3928                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 832, __FILE__, __LINE__, true);
    3929                 :           0 :                                             return _r;
    3930                 :             :                                           }
    3931                 :           0 : next_after_fail1137:;
    3932                 :             :                                         }
    3933                 :             :                                       else
    3934                 :             :                                         {
    3935                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1138;
    3936                 :           0 :                                           {
    3937                 :           0 :                                             tree res_op0;
    3938                 :           0 :                                             res_op0 = captures[0];
    3939                 :           0 :                                             tree res_op1;
    3940                 :           0 :                                             {
    3941                 :           0 :                                               tree _o1[1], _r1;
    3942                 :           0 :                                               {
    3943                 :           0 :                                                 tree _o2[1], _r2;
    3944                 :           0 :                                                 {
    3945                 :           0 :                                                   tree _o3[1], _r3;
    3946                 :           0 :                                                   _o3[0] = captures[1];
    3947                 :           0 :                                                   if (TREE_TYPE (_o3[0]) != ntype)
    3948                 :             :                                                     {
    3949                 :           0 :                                                       _r3 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, ntype, _o3[0]);
    3950                 :             :                                                     }
    3951                 :             :                                                   else
    3952                 :             :                                                     _r3 = _o3[0];
    3953                 :           0 :                                                   _o2[0] = _r3;
    3954                 :             :                                                 }
    3955                 :           0 :                                                 _r2 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    3956                 :           0 :                                                 _o1[0] = _r2;
    3957                 :             :                                               }
    3958                 :           0 :                                               if (TREE_TYPE (_o1[0]) != type)
    3959                 :             :                                                 {
    3960                 :           0 :                                                   _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
    3961                 :             :                                                 }
    3962                 :             :                                               else
    3963                 :             :                                                 _r1 = _o1[0];
    3964                 :           0 :                                               res_op1 = _r1;
    3965                 :             :                                             }
    3966                 :           0 :                                             tree _r;
    3967                 :           0 :                                             _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    3968                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[2]))
    3969                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3970                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[3]))
    3971                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    3972                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[4]))
    3973                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    3974                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 833, __FILE__, __LINE__, true);
    3975                 :           0 :                                             return _r;
    3976                 :             :                                           }
    3977                 :           0 : next_after_fail1138:;
    3978                 :             :                                         }
    3979                 :             :                                     }
    3980                 :             :                               }
    3981                 :             :                             }
    3982                 :             :                       }
    3983                 :             :                     }
    3984                 :           0 :               }
    3985                 :             :             }
    3986                 :           0 :       }
    3987                 :             :     }
    3988                 :             :   return NULL_TREE;
    3989                 :             : }
    3990                 :             : 
    3991                 :             : tree
    3992                 :        1328 : generic_simplify_CONJ_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    3993                 :             : {
    3994                 :        1328 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3995                 :        1328 :   switch (TREE_CODE (_p0))
    3996                 :             :     {
    3997                 :           0 :     CASE_CONVERT:
    3998                 :           0 :       {
    3999                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4000                 :           0 :         switch (TREE_CODE (_q20))
    4001                 :             :           {
    4002                 :           0 :           case CONJ_EXPR:
    4003                 :           0 :             {
    4004                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4005                 :           0 :               {
    4006                 :           0 :                 tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4007                 :           0 :                 tree res = generic_simplify_516 (loc, type, _p0, captures);
    4008                 :           0 :                 if (res) return res;
    4009                 :             :               }
    4010                 :           0 :               break;
    4011                 :             :             }
    4012                 :           0 :           case COMPLEX_EXPR:
    4013                 :           0 :             {
    4014                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4015                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4016                 :           0 :               {
    4017                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    4018                 :           0 :                 {
    4019                 :           0 :  tree itype = TREE_TYPE (type);
    4020                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1256;
    4021                 :           0 :                     {
    4022                 :           0 :                       tree res_op0;
    4023                 :           0 :                       {
    4024                 :           0 :                         tree _o1[1], _r1;
    4025                 :           0 :                         _o1[0] = captures[2];
    4026                 :           0 :                         if (TREE_TYPE (_o1[0]) != itype)
    4027                 :             :                           {
    4028                 :           0 :                             _r1 = fold_build1_loc (loc, NOP_EXPR, itype, _o1[0]);
    4029                 :             :                           }
    4030                 :             :                         else
    4031                 :             :                           _r1 = _o1[0];
    4032                 :           0 :                         res_op0 = _r1;
    4033                 :             :                       }
    4034                 :           0 :                       tree res_op1;
    4035                 :           0 :                       {
    4036                 :           0 :                         tree _o1[1], _r1;
    4037                 :           0 :                         {
    4038                 :           0 :                           tree _o2[1], _r2;
    4039                 :           0 :                           _o2[0] = captures[3];
    4040                 :           0 :                           if (TREE_TYPE (_o2[0]) != itype)
    4041                 :             :                             {
    4042                 :           0 :                               _r2 = fold_build1_loc (loc, NOP_EXPR, itype, _o2[0]);
    4043                 :             :                             }
    4044                 :             :                           else
    4045                 :             :                             _r2 = _o2[0];
    4046                 :           0 :                           _o1[0] = _r2;
    4047                 :             :                         }
    4048                 :           0 :                         _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4049                 :           0 :                         res_op1 = _r1;
    4050                 :             :                       }
    4051                 :           0 :                       tree _r;
    4052                 :           0 :                       _r = fold_build2_loc (loc, COMPLEX_EXPR, type, res_op0, res_op1);
    4053                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 890, __FILE__, __LINE__, true);
    4054                 :           0 :                       return _r;
    4055                 :             :                     }
    4056                 :           0 : next_after_fail1256:;
    4057                 :             :                 }
    4058                 :             :               }
    4059                 :           0 :               break;
    4060                 :             :             }
    4061                 :             :           default:;
    4062                 :             :           }
    4063                 :             :         break;
    4064                 :             :       }
    4065                 :           0 :     case CONJ_EXPR:
    4066                 :           0 :       {
    4067                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4068                 :           0 :         {
    4069                 :           0 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4070                 :           0 :           tree res = generic_simplify_516 (loc, type, _p0, captures);
    4071                 :           0 :           if (res) return res;
    4072                 :             :         }
    4073                 :           0 :         break;
    4074                 :             :       }
    4075                 :          12 :     case COMPLEX_EXPR:
    4076                 :          12 :       {
    4077                 :          12 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4078                 :          12 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4079                 :          12 :         {
    4080                 :          12 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    4081                 :          12 :           {
    4082                 :          12 :  tree itype = TREE_TYPE (type);
    4083                 :          12 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1257;
    4084                 :          12 :               {
    4085                 :          12 :                 tree res_op0;
    4086                 :          12 :                 {
    4087                 :          12 :                   tree _o1[1], _r1;
    4088                 :          12 :                   _o1[0] = captures[2];
    4089                 :          12 :                   if (TREE_TYPE (_o1[0]) != itype)
    4090                 :             :                     {
    4091                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, itype, _o1[0]);
    4092                 :             :                     }
    4093                 :             :                   else
    4094                 :             :                     _r1 = _o1[0];
    4095                 :          12 :                   res_op0 = _r1;
    4096                 :             :                 }
    4097                 :          12 :                 tree res_op1;
    4098                 :          12 :                 {
    4099                 :          12 :                   tree _o1[1], _r1;
    4100                 :          12 :                   {
    4101                 :          12 :                     tree _o2[1], _r2;
    4102                 :          12 :                     _o2[0] = captures[3];
    4103                 :          12 :                     if (TREE_TYPE (_o2[0]) != itype)
    4104                 :             :                       {
    4105                 :           0 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, itype, _o2[0]);
    4106                 :             :                       }
    4107                 :             :                     else
    4108                 :             :                       _r2 = _o2[0];
    4109                 :          12 :                     _o1[0] = _r2;
    4110                 :             :                   }
    4111                 :          12 :                   _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4112                 :          12 :                   res_op1 = _r1;
    4113                 :             :                 }
    4114                 :          12 :                 tree _r;
    4115                 :          12 :                 _r = fold_build2_loc (loc, COMPLEX_EXPR, type, res_op0, res_op1);
    4116                 :          12 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 890, __FILE__, __LINE__, true);
    4117                 :          12 :                 return _r;
    4118                 :             :               }
    4119                 :           0 : next_after_fail1257:;
    4120                 :             :           }
    4121                 :             :         }
    4122                 :           0 :         break;
    4123                 :             :       }
    4124                 :             :     default:;
    4125                 :             :     }
    4126                 :             :   return NULL_TREE;
    4127                 :             : }
    4128                 :             : 
    4129                 :             : tree
    4130                 :    31048118 : generic_simplify_MINUS_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    4131                 :             : {
    4132                 :    31048118 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4133                 :    31048118 :   if (integer_zerop (_p1))
    4134                 :             :     {
    4135                 :     1975991 :       {
    4136                 :     1975991 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4137                 :     1975991 :         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1287;
    4138                 :     1975991 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1287;
    4139                 :     1975991 :         {
    4140                 :     1975991 :           tree res_op0;
    4141                 :     1975991 :           res_op0 = captures[0];
    4142                 :     1975991 :           tree _r;
    4143                 :     1975991 :           _r = non_lvalue_loc (loc, res_op0);
    4144                 :     1975991 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 891, __FILE__, __LINE__, true);
    4145                 :     1975991 :           return _r;
    4146                 :             :         }
    4147                 :             : next_after_fail1287:;
    4148                 :             :       }
    4149                 :             :     }
    4150                 :    29072127 :   if (real_zerop (_p1))
    4151                 :             :     {
    4152                 :        1138 :       {
    4153                 :        1138 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    4154                 :        1138 :         if (fold_real_zero_addition_p (type, captures[0], captures[1], 1)
    4155                 :             : )
    4156                 :             :           {
    4157                 :         751 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1288;
    4158                 :         751 :             {
    4159                 :         751 :               tree res_op0;
    4160                 :         751 :               res_op0 = captures[0];
    4161                 :         751 :               tree _r;
    4162                 :         751 :               _r = non_lvalue_loc (loc, res_op0);
    4163                 :         751 :               if (TREE_SIDE_EFFECTS (captures[1]))
    4164                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    4165                 :         751 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 911, __FILE__, __LINE__, true);
    4166                 :         751 :               return _r;
    4167                 :             :             }
    4168                 :           0 : next_after_fail1288:;
    4169                 :             :           }
    4170                 :             :       }
    4171                 :             :     }
    4172                 :    29071376 :   switch (TREE_CODE (_p0))
    4173                 :             :     {
    4174                 :     2149445 :     case PLUS_EXPR:
    4175                 :     2149445 :       {
    4176                 :     2149445 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4177                 :     2149445 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4178                 :     2149445 :         switch (TREE_CODE (_q21))
    4179                 :             :           {
    4180                 :      157595 :           case REAL_CST:
    4181                 :      157595 :             {
    4182                 :      157595 :               switch (TREE_CODE (_p1))
    4183                 :             :                 {
    4184                 :          11 :                 case REAL_CST:
    4185                 :          11 :                   {
    4186                 :          11 :                     {
    4187                 :          11 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    4188                 :          11 :                       tree res = generic_simplify_3 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR);
    4189                 :          11 :                       if (res) return res;
    4190                 :             :                     }
    4191                 :           8 :                     break;
    4192                 :             :                   }
    4193                 :             :                 default:;
    4194                 :             :                 }
    4195                 :             :               break;
    4196                 :             :             }
    4197                 :             :           default:;
    4198                 :             :           }
    4199                 :             :         break;
    4200                 :             :       }
    4201                 :     1106567 :     case MINUS_EXPR:
    4202                 :     1106567 :       {
    4203                 :     1106567 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4204                 :     1106567 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4205                 :     1106567 :         switch (TREE_CODE (_q21))
    4206                 :             :           {
    4207                 :       99014 :           case REAL_CST:
    4208                 :       99014 :             {
    4209                 :       99014 :               switch (TREE_CODE (_p1))
    4210                 :             :                 {
    4211                 :          40 :                 case REAL_CST:
    4212                 :          40 :                   {
    4213                 :          40 :                     {
    4214                 :          40 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    4215                 :          40 :                       tree res = generic_simplify_3 (loc, type, _p0, _p1, captures, MINUS_EXPR, MINUS_EXPR);
    4216                 :          40 :                       if (res) return res;
    4217                 :             :                     }
    4218                 :          38 :                     break;
    4219                 :             :                   }
    4220                 :             :                 default:;
    4221                 :             :                 }
    4222                 :             :               break;
    4223                 :             :             }
    4224                 :             :           default:;
    4225                 :             :           }
    4226                 :             :         break;
    4227                 :             :       }
    4228                 :    29071371 :     default:;
    4229                 :             :     }
    4230                 :    29071371 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    4231                 :             :     {
    4232                 :      168633 :       {
    4233                 :      168633 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4234                 :      167884 :         if (!FLOAT_TYPE_P (type)
    4235                 :      168634 :  || (!tree_expr_maybe_nan_p (captures[0])
    4236                 :         107 :  && !tree_expr_maybe_infinite_p (captures[0])
    4237                 :          15 :  && (!HONOR_SIGN_DEPENDENT_ROUNDING (type)
    4238                 :           1 :  || !HONOR_SIGNED_ZEROS (type)))
    4239                 :             : )
    4240                 :             :           {
    4241                 :      167897 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1289;
    4242                 :      167897 :             {
    4243                 :      167897 :               tree _r;
    4244                 :      167897 :               _r =  build_zero_cst (type);
    4245                 :      167897 :               if (TREE_SIDE_EFFECTS (captures[0]))
    4246                 :          36 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    4247                 :      167897 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 912, __FILE__, __LINE__, true);
    4248                 :      167897 :               return _r;
    4249                 :             :             }
    4250                 :           0 : next_after_fail1289:;
    4251                 :             :           }
    4252                 :             :       }
    4253                 :             :     }
    4254                 :    28903474 :   switch (TREE_CODE (_p0))
    4255                 :             :     {
    4256                 :     7722788 :     CASE_CONVERT:
    4257                 :     7722788 :       {
    4258                 :     7722788 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4259                 :     7722788 :         switch (TREE_CODE (_p1))
    4260                 :             :           {
    4261                 :     3764967 :           CASE_CONVERT:
    4262                 :     3764967 :             {
    4263                 :     3764967 :               tree _q40 = TREE_OPERAND (_p1, 0);
    4264                 :     3764967 :               switch (TREE_CODE (_q40))
    4265                 :             :                 {
    4266                 :       92285 :                 case MULT_EXPR:
    4267                 :       92285 :                   {
    4268                 :       92285 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    4269                 :       92285 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    4270                 :       92285 :                     switch (TREE_CODE (_q50))
    4271                 :             :                       {
    4272                 :          21 :                       case TRUNC_DIV_EXPR:
    4273                 :          21 :                         {
    4274                 :          21 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    4275                 :          21 :                           tree _q61 = TREE_OPERAND (_q50, 1);
    4276                 :          21 :                           if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q20, 0))
    4277                 :             :                             {
    4278                 :          21 :                               if ((_q51 == _q61 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q61, 0))
    4279                 :             :                                 {
    4280                 :          21 :                                   {
    4281                 :          21 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q60, _q61, _q20, _q61 };
    4282                 :          21 :                                     tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    4283                 :          21 :                                     if (res) return res;
    4284                 :             :                                   }
    4285                 :             :                                 }
    4286                 :             :                             }
    4287                 :             :                           break;
    4288                 :             :                         }
    4289                 :       92264 :                       default:;
    4290                 :             :                       }
    4291                 :       92264 :                     switch (TREE_CODE (_q51))
    4292                 :             :                       {
    4293                 :           0 :                       case TRUNC_DIV_EXPR:
    4294                 :           0 :                         {
    4295                 :           0 :                           tree _q70 = TREE_OPERAND (_q51, 0);
    4296                 :           0 :                           tree _q71 = TREE_OPERAND (_q51, 1);
    4297                 :           0 :                           if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q20, 0))
    4298                 :             :                             {
    4299                 :           0 :                               if ((_q71 == _q50 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q50, 0))
    4300                 :             :                                 {
    4301                 :           0 :                                   {
    4302                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q70, _q71, _q20, _q50 };
    4303                 :           0 :                                     tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    4304                 :           0 :                                     if (res) return res;
    4305                 :             :                                   }
    4306                 :             :                                 }
    4307                 :             :                             }
    4308                 :             :                           break;
    4309                 :             :                         }
    4310                 :             :                       default:;
    4311                 :             :                       }
    4312                 :             :                     break;
    4313                 :             :                   }
    4314                 :             :                 default:;
    4315                 :             :                 }
    4316                 :             :               break;
    4317                 :             :             }
    4318                 :      134037 :           case MULT_EXPR:
    4319                 :      134037 :             {
    4320                 :      134037 :               tree _q40 = TREE_OPERAND (_p1, 0);
    4321                 :      134037 :               tree _q41 = TREE_OPERAND (_p1, 1);
    4322                 :      134037 :               switch (TREE_CODE (_q40))
    4323                 :             :                 {
    4324                 :        1839 :                 case TRUNC_DIV_EXPR:
    4325                 :        1839 :                   {
    4326                 :        1839 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    4327                 :        1839 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    4328                 :        1839 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    4329                 :             :                       {
    4330                 :           8 :                         if ((_q41 == _q51 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q51, 0))
    4331                 :             :                           {
    4332                 :           8 :                             {
    4333                 :           8 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q51, _q20, _q51 };
    4334                 :           8 :                               tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    4335                 :           8 :                               if (res) return res;
    4336                 :             :                             }
    4337                 :             :                           }
    4338                 :             :                       }
    4339                 :             :                     break;
    4340                 :             :                   }
    4341                 :      134029 :                 default:;
    4342                 :             :                 }
    4343                 :      134029 :               switch (TREE_CODE (_q41))
    4344                 :             :                 {
    4345                 :           0 :                 case TRUNC_DIV_EXPR:
    4346                 :           0 :                   {
    4347                 :           0 :                     tree _q60 = TREE_OPERAND (_q41, 0);
    4348                 :           0 :                     tree _q61 = TREE_OPERAND (_q41, 1);
    4349                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q20, 0))
    4350                 :             :                       {
    4351                 :           0 :                         if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || operand_equal_p (_q61, _q40, 0))
    4352                 :             :                           {
    4353                 :           0 :                             {
    4354                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q60, _q61, _q20, _q40 };
    4355                 :           0 :                               tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    4356                 :           0 :                               if (res) return res;
    4357                 :             :                             }
    4358                 :             :                           }
    4359                 :             :                       }
    4360                 :             :                     break;
    4361                 :             :                   }
    4362                 :             :                 default:;
    4363                 :             :                 }
    4364                 :             :               break;
    4365                 :             :             }
    4366                 :             :           default:;
    4367                 :             :           }
    4368                 :             :         break;
    4369                 :             :       }
    4370                 :    28903445 :     default:;
    4371                 :             :     }
    4372                 :    28903445 :   switch (TREE_CODE (_p1))
    4373                 :             :     {
    4374                 :     6814842 :     CASE_CONVERT:
    4375                 :     6814842 :       {
    4376                 :     6814842 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4377                 :     6814842 :         switch (TREE_CODE (_q30))
    4378                 :             :           {
    4379                 :      128425 :           case MULT_EXPR:
    4380                 :      128425 :             {
    4381                 :      128425 :               tree _q40 = TREE_OPERAND (_q30, 0);
    4382                 :      128425 :               tree _q41 = TREE_OPERAND (_q30, 1);
    4383                 :      128425 :               switch (TREE_CODE (_q40))
    4384                 :             :                 {
    4385                 :          12 :                 case TRUNC_DIV_EXPR:
    4386                 :          12 :                   {
    4387                 :          12 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    4388                 :          12 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    4389                 :          12 :                     if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _p0, 0))
    4390                 :             :                       {
    4391                 :           2 :                         if ((_q41 == _q51 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q51, 0))
    4392                 :             :                           {
    4393                 :           2 :                             {
    4394                 :           2 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q51, _p0, _q51 };
    4395                 :           2 :                               tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    4396                 :           2 :                               if (res) return res;
    4397                 :             :                             }
    4398                 :             :                           }
    4399                 :             :                       }
    4400                 :             :                     break;
    4401                 :             :                   }
    4402                 :      128423 :                 default:;
    4403                 :             :                 }
    4404                 :      128423 :               switch (TREE_CODE (_q41))
    4405                 :             :                 {
    4406                 :           0 :                 case TRUNC_DIV_EXPR:
    4407                 :           0 :                   {
    4408                 :           0 :                     tree _q60 = TREE_OPERAND (_q41, 0);
    4409                 :           0 :                     tree _q61 = TREE_OPERAND (_q41, 1);
    4410                 :           0 :                     if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _p0, 0))
    4411                 :             :                       {
    4412                 :           0 :                         if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || operand_equal_p (_q61, _q40, 0))
    4413                 :             :                           {
    4414                 :           0 :                             {
    4415                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q60, _q61, _p0, _q40 };
    4416                 :           0 :                               tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    4417                 :           0 :                               if (res) return res;
    4418                 :             :                             }
    4419                 :             :                           }
    4420                 :             :                       }
    4421                 :             :                     break;
    4422                 :             :                   }
    4423                 :             :                 default:;
    4424                 :             :                 }
    4425                 :             :               break;
    4426                 :             :             }
    4427                 :             :           default:;
    4428                 :             :           }
    4429                 :             :         break;
    4430                 :             :       }
    4431                 :     2050162 :     case MULT_EXPR:
    4432                 :     2050162 :       {
    4433                 :     2050162 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4434                 :     2050162 :         tree _q31 = TREE_OPERAND (_p1, 1);
    4435                 :     2050162 :         switch (TREE_CODE (_q30))
    4436                 :             :           {
    4437                 :        2230 :           case TRUNC_DIV_EXPR:
    4438                 :        2230 :             {
    4439                 :        2230 :               tree _q40 = TREE_OPERAND (_q30, 0);
    4440                 :        2230 :               tree _q41 = TREE_OPERAND (_q30, 1);
    4441                 :        2230 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
    4442                 :             :                 {
    4443                 :          47 :                   if ((_q31 == _q41 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _q41, 0))
    4444                 :             :                     {
    4445                 :          47 :                       {
    4446                 :          47 :                         tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _p0, _q41 };
    4447                 :          47 :                         tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    4448                 :          47 :                         if (res) return res;
    4449                 :             :                       }
    4450                 :             :                     }
    4451                 :             :                 }
    4452                 :             :               break;
    4453                 :             :             }
    4454                 :     2050115 :           default:;
    4455                 :             :           }
    4456                 :     2050115 :         switch (TREE_CODE (_q31))
    4457                 :             :           {
    4458                 :           0 :           case TRUNC_DIV_EXPR:
    4459                 :           0 :             {
    4460                 :           0 :               tree _q50 = TREE_OPERAND (_q31, 0);
    4461                 :           0 :               tree _q51 = TREE_OPERAND (_q31, 1);
    4462                 :           0 :               if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _p0, 0))
    4463                 :             :                 {
    4464                 :           0 :                   if ((_q51 == _q30 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q30, 0))
    4465                 :             :                     {
    4466                 :           0 :                       {
    4467                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q51, _p0, _q30 };
    4468                 :           0 :                         tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    4469                 :           0 :                         if (res) return res;
    4470                 :             :                       }
    4471                 :             :                     }
    4472                 :             :                 }
    4473                 :             :               break;
    4474                 :             :             }
    4475                 :             :           default:;
    4476                 :             :           }
    4477                 :             :         break;
    4478                 :             :       }
    4479                 :    28903396 :     default:;
    4480                 :             :     }
    4481                 :    28903396 :   switch (TREE_CODE (_p0))
    4482                 :             :     {
    4483                 :     1843164 :     case MULT_EXPR:
    4484                 :     1843164 :       {
    4485                 :     1843164 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4486                 :     1843164 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4487                 :     1843164 :         switch (TREE_CODE (_q21))
    4488                 :             :           {
    4489                 :         599 :           case PLUS_EXPR:
    4490                 :         599 :             {
    4491                 :         599 :               tree _q40 = TREE_OPERAND (_q21, 0);
    4492                 :         599 :               tree _q41 = TREE_OPERAND (_q21, 1);
    4493                 :         599 :               switch (TREE_CODE (_q40))
    4494                 :             :                 {
    4495                 :           0 :                 case TRUNC_DIV_EXPR:
    4496                 :           0 :                   {
    4497                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    4498                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    4499                 :           0 :                     if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    4500                 :             :                       {
    4501                 :           0 :                         if (integer_onep (_q41))
    4502                 :             :                           {
    4503                 :           0 :                             if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    4504                 :             :                               {
    4505                 :           0 :                                 {
    4506                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q40, _q50 };
    4507                 :           0 :                                   tree res = generic_simplify_39 (loc, type, _p0, _p1, captures);
    4508                 :           0 :                                   if (res) return res;
    4509                 :             :                                 }
    4510                 :             :                               }
    4511                 :             :                           }
    4512                 :             :                       }
    4513                 :             :                     break;
    4514                 :             :                   }
    4515                 :             :                 default:;
    4516                 :             :                 }
    4517                 :             :               break;
    4518                 :             :             }
    4519                 :     1843164 :           default:;
    4520                 :             :           }
    4521                 :     1843164 :         switch (TREE_CODE (_q20))
    4522                 :             :           {
    4523                 :       93939 :           case PLUS_EXPR:
    4524                 :       93939 :             {
    4525                 :       93939 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4526                 :       93939 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4527                 :       93939 :               switch (TREE_CODE (_q30))
    4528                 :             :                 {
    4529                 :           1 :                 case TRUNC_DIV_EXPR:
    4530                 :           1 :                   {
    4531                 :           1 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    4532                 :           1 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    4533                 :           1 :                     if (integer_onep (_q31))
    4534                 :             :                       {
    4535                 :           1 :                         if ((_q21 == _q41 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q41, 0) && types_match (_q21, _q41)))
    4536                 :             :                           {
    4537                 :           1 :                             if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    4538                 :             :                               {
    4539                 :           1 :                                 {
    4540                 :           1 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q20, _q30, _q40 };
    4541                 :           1 :                                   tree res = generic_simplify_39 (loc, type, _p0, _p1, captures);
    4542                 :           1 :                                   if (res) return res;
    4543                 :             :                                 }
    4544                 :             :                               }
    4545                 :             :                           }
    4546                 :             :                       }
    4547                 :             :                     break;
    4548                 :             :                   }
    4549                 :             :                 default:;
    4550                 :             :                 }
    4551                 :             :               break;
    4552                 :             :             }
    4553                 :             :           default:;
    4554                 :             :           }
    4555                 :             :         break;
    4556                 :             :       }
    4557                 :        1279 :     case LSHIFT_EXPR:
    4558                 :        1279 :       {
    4559                 :        1279 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4560                 :        1279 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4561                 :        1279 :         switch (TREE_CODE (_p1))
    4562                 :             :           {
    4563                 :           0 :           case LSHIFT_EXPR:
    4564                 :           0 :             {
    4565                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4566                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4567                 :           0 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4568                 :             :                 {
    4569                 :           0 :                   {
    4570                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    4571                 :           0 :                     tree res = generic_simplify_5 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    4572                 :           0 :                     if (res) return res;
    4573                 :             :                   }
    4574                 :             :                 }
    4575                 :             :               break;
    4576                 :             :             }
    4577                 :             :           default:;
    4578                 :             :           }
    4579                 :             :         break;
    4580                 :             :       }
    4581                 :        1187 :     case BIT_AND_EXPR:
    4582                 :        1187 :       {
    4583                 :        1187 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4584                 :        1187 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4585                 :        1187 :         switch (TREE_CODE (_q21))
    4586                 :             :           {
    4587                 :           0 :           case BIT_NOT_EXPR:
    4588                 :           0 :             {
    4589                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
    4590                 :           0 :               switch (TREE_CODE (_p1))
    4591                 :             :                 {
    4592                 :           0 :                 case BIT_AND_EXPR:
    4593                 :           0 :                   {
    4594                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    4595                 :           0 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    4596                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4597                 :             :                       {
    4598                 :           0 :                         if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
    4599                 :             :                           {
    4600                 :           0 :                             {
    4601                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _p1 };
    4602                 :           0 :                               tree res = generic_simplify_40 (loc, type, _p0, _p1, captures);
    4603                 :           0 :                               if (res) return res;
    4604                 :             :                             }
    4605                 :             :                           }
    4606                 :             :                       }
    4607                 :           0 :                     if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    4608                 :             :                       {
    4609                 :           0 :                         if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
    4610                 :             :                           {
    4611                 :           0 :                             {
    4612                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _p1 };
    4613                 :           0 :                               tree res = generic_simplify_40 (loc, type, _p0, _p1, captures);
    4614                 :           0 :                               if (res) return res;
    4615                 :             :                             }
    4616                 :             :                           }
    4617                 :             :                       }
    4618                 :             :                     break;
    4619                 :             :                   }
    4620                 :             :                 default:;
    4621                 :             :                 }
    4622                 :             :               break;
    4623                 :             :             }
    4624                 :        1187 :           default:;
    4625                 :             :           }
    4626                 :        1187 :         switch (TREE_CODE (_q20))
    4627                 :             :           {
    4628                 :          27 :           case BIT_NOT_EXPR:
    4629                 :          27 :             {
    4630                 :          27 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4631                 :          27 :               switch (TREE_CODE (_p1))
    4632                 :             :                 {
    4633                 :          21 :                 case BIT_AND_EXPR:
    4634                 :          21 :                   {
    4635                 :          21 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    4636                 :          21 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    4637                 :          21 :                     if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
    4638                 :             :                       {
    4639                 :           0 :                         if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    4640                 :             :                           {
    4641                 :           0 :                             {
    4642                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q30, _p1 };
    4643                 :           0 :                               tree res = generic_simplify_40 (loc, type, _p0, _p1, captures);
    4644                 :           0 :                               if (res) return res;
    4645                 :             :                             }
    4646                 :             :                           }
    4647                 :             :                       }
    4648                 :          21 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    4649                 :             :                       {
    4650                 :          21 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    4651                 :             :                           {
    4652                 :          21 :                             {
    4653                 :          21 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q30, _p1 };
    4654                 :          21 :                               tree res = generic_simplify_40 (loc, type, _p0, _p1, captures);
    4655                 :          21 :                               if (res) return res;
    4656                 :             :                             }
    4657                 :             :                           }
    4658                 :             :                       }
    4659                 :             :                     break;
    4660                 :             :                   }
    4661                 :             :                 default:;
    4662                 :             :                 }
    4663                 :             :               break;
    4664                 :             :             }
    4665                 :        1166 :           default:;
    4666                 :             :           }
    4667                 :        1166 :         switch (TREE_CODE (_q21))
    4668                 :             :           {
    4669                 :        1126 :           case INTEGER_CST:
    4670                 :        1126 :             {
    4671                 :        1126 :               switch (TREE_CODE (_p1))
    4672                 :             :                 {
    4673                 :          22 :                 case BIT_AND_EXPR:
    4674                 :          22 :                   {
    4675                 :          22 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    4676                 :          22 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    4677                 :          22 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4678                 :             :                       {
    4679                 :           0 :                         switch (TREE_CODE (_q51))
    4680                 :             :                           {
    4681                 :           0 :                           case INTEGER_CST:
    4682                 :           0 :                             {
    4683                 :           0 :                               {
    4684                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
    4685                 :           0 :                                 if (~wi::to_wide (captures[2]) == wi::to_wide (captures[4])
    4686                 :             : )
    4687                 :             :                                   {
    4688                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1290;
    4689                 :           0 :                                     {
    4690                 :           0 :                                       if (! tree_invariant_p (captures[4])) goto next_after_fail1290;
    4691                 :           0 :                                       tree res_op0;
    4692                 :           0 :                                       {
    4693                 :           0 :                                         tree _o1[2], _r1;
    4694                 :           0 :                                         _o1[0] = captures[1];
    4695                 :           0 :                                         _o1[1] = unshare_expr (captures[4]);
    4696                 :           0 :                                         _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4697                 :           0 :                                         res_op0 = _r1;
    4698                 :             :                                       }
    4699                 :           0 :                                       tree res_op1;
    4700                 :           0 :                                       res_op1 = captures[4];
    4701                 :           0 :                                       tree _r;
    4702                 :           0 :                                       _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    4703                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[2]))
    4704                 :           0 :                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    4705                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 913, __FILE__, __LINE__, true);
    4706                 :           0 :                                       return _r;
    4707                 :             :                                     }
    4708                 :           0 : next_after_fail1290:;
    4709                 :             :                                   }
    4710                 :             :                               }
    4711                 :           0 :                               break;
    4712                 :             :                             }
    4713                 :             :                           default:;
    4714                 :             :                           }
    4715                 :             :                       }
    4716                 :             :                     break;
    4717                 :             :                   }
    4718                 :             :                 default:;
    4719                 :             :                 }
    4720                 :             :               break;
    4721                 :             :             }
    4722                 :        1166 :           default:;
    4723                 :             :           }
    4724                 :        1166 :         switch (TREE_CODE (_p1))
    4725                 :             :           {
    4726                 :          25 :           case BIT_AND_EXPR:
    4727                 :          25 :             {
    4728                 :          25 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4729                 :          25 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4730                 :          25 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4731                 :             :                 {
    4732                 :           0 :                   switch (TREE_CODE (_q51))
    4733                 :             :                     {
    4734                 :           0 :                     case BIT_NOT_EXPR:
    4735                 :           0 :                       {
    4736                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    4737                 :           0 :                         if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
    4738                 :             :                           {
    4739                 :           0 :                             {
    4740                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    4741                 :           0 :                               tree res = generic_simplify_41 (loc, type, _p0, _p1, captures);
    4742                 :           0 :                               if (res) return res;
    4743                 :             :                             }
    4744                 :             :                           }
    4745                 :             :                         break;
    4746                 :             :                       }
    4747                 :             :                     default:;
    4748                 :             :                     }
    4749                 :             :                 }
    4750                 :          25 :               switch (TREE_CODE (_q50))
    4751                 :             :                 {
    4752                 :           0 :                 case BIT_NOT_EXPR:
    4753                 :           0 :                   {
    4754                 :           0 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    4755                 :           0 :                     if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
    4756                 :             :                       {
    4757                 :           0 :                         if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    4758                 :             :                           {
    4759                 :           0 :                             {
    4760                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    4761                 :           0 :                               tree res = generic_simplify_41 (loc, type, _p0, _p1, captures);
    4762                 :           0 :                               if (res) return res;
    4763                 :             :                             }
    4764                 :             :                           }
    4765                 :             :                       }
    4766                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4767                 :             :                       {
    4768                 :           0 :                         if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4769                 :             :                           {
    4770                 :           0 :                             {
    4771                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1 };
    4772                 :           0 :                               tree res = generic_simplify_41 (loc, type, _p0, _p1, captures);
    4773                 :           0 :                               if (res) return res;
    4774                 :             :                             }
    4775                 :             :                           }
    4776                 :             :                       }
    4777                 :             :                     break;
    4778                 :             :                   }
    4779                 :          25 :                 default:;
    4780                 :             :                 }
    4781                 :          25 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    4782                 :             :                 {
    4783                 :           0 :                   switch (TREE_CODE (_q51))
    4784                 :             :                     {
    4785                 :           0 :                     case BIT_NOT_EXPR:
    4786                 :           0 :                       {
    4787                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    4788                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    4789                 :             :                           {
    4790                 :           0 :                             {
    4791                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1 };
    4792                 :           0 :                               tree res = generic_simplify_41 (loc, type, _p0, _p1, captures);
    4793                 :           0 :                               if (res) return res;
    4794                 :             :                             }
    4795                 :             :                           }
    4796                 :             :                         break;
    4797                 :             :                       }
    4798                 :             :                     default:;
    4799                 :             :                     }
    4800                 :             :                 }
    4801                 :             :               break;
    4802                 :             :             }
    4803                 :           2 :           case PLUS_EXPR:
    4804                 :           2 :             {
    4805                 :           2 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4806                 :           2 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4807                 :           2 :               switch (TREE_CODE (_q50))
    4808                 :             :                 {
    4809                 :           2 :                 case BIT_IOR_EXPR:
    4810                 :           2 :                   {
    4811                 :           2 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    4812                 :           2 :                     tree _q61 = TREE_OPERAND (_q50, 1);
    4813                 :           2 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4814                 :             :                       {
    4815                 :           2 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    4816                 :             :                           {
    4817                 :           2 :                             if (integer_onep (_q51))
    4818                 :             :                               {
    4819                 :           2 :                                 {
    4820                 :           2 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4821                 :           2 :                                   tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    4822                 :           2 :                                   if (res) return res;
    4823                 :             :                                 }
    4824                 :             :                               }
    4825                 :             :                           }
    4826                 :             :                       }
    4827                 :           0 :                     if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
    4828                 :             :                       {
    4829                 :           0 :                         if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
    4830                 :             :                           {
    4831                 :           0 :                             if (integer_onep (_q51))
    4832                 :             :                               {
    4833                 :           0 :                                 {
    4834                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4835                 :           0 :                                   tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    4836                 :           0 :                                   if (res) return res;
    4837                 :             :                                 }
    4838                 :             :                               }
    4839                 :             :                           }
    4840                 :             :                       }
    4841                 :             :                     break;
    4842                 :             :                   }
    4843                 :           0 :                 default:;
    4844                 :             :                 }
    4845                 :           0 :             {
    4846                 :           0 :               tree _q50_pops[1];
    4847                 :           0 :               if (tree_nop_convert (_q50, _q50_pops))
    4848                 :             :                 {
    4849                 :           0 :                   tree _q60 = _q50_pops[0];
    4850                 :           0 :                   switch (TREE_CODE (_q60))
    4851                 :             :                     {
    4852                 :           0 :                     case BIT_IOR_EXPR:
    4853                 :           0 :                       {
    4854                 :           0 :                         tree _q70 = TREE_OPERAND (_q60, 0);
    4855                 :           0 :                         tree _q71 = TREE_OPERAND (_q60, 1);
    4856                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    4857                 :             :                           {
    4858                 :           0 :                             if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
    4859                 :             :                               {
    4860                 :           0 :                                 if (integer_onep (_q51))
    4861                 :             :                                   {
    4862                 :           0 :                                     {
    4863                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4864                 :           0 :                                       tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    4865                 :           0 :                                       if (res) return res;
    4866                 :             :                                     }
    4867                 :             :                                   }
    4868                 :             :                               }
    4869                 :             :                           }
    4870                 :           0 :                         if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
    4871                 :             :                           {
    4872                 :           0 :                             if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    4873                 :             :                               {
    4874                 :           0 :                                 if (integer_onep (_q51))
    4875                 :             :                                   {
    4876                 :           0 :                                     {
    4877                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4878                 :           0 :                                       tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    4879                 :           0 :                                       if (res) return res;
    4880                 :             :                                     }
    4881                 :             :                                   }
    4882                 :             :                               }
    4883                 :             :                           }
    4884                 :             :                         break;
    4885                 :             :                       }
    4886                 :             :                     default:;
    4887                 :             :                     }
    4888                 :             :                 }
    4889                 :             :             }
    4890                 :           0 :               break;
    4891                 :             :             }
    4892                 :        1164 :           default:;
    4893                 :             :           }
    4894                 :        1164 :       {
    4895                 :        1164 :         tree _p1_pops[1];
    4896                 :        1164 :         if (tree_nop_convert (_p1, _p1_pops))
    4897                 :             :           {
    4898                 :           7 :             tree _q50 = _p1_pops[0];
    4899                 :           7 :             switch (TREE_CODE (_q50))
    4900                 :             :               {
    4901                 :           0 :               case PLUS_EXPR:
    4902                 :           0 :                 {
    4903                 :           0 :                   tree _q60 = TREE_OPERAND (_q50, 0);
    4904                 :           0 :                   tree _q61 = TREE_OPERAND (_q50, 1);
    4905                 :           0 :                   switch (TREE_CODE (_q60))
    4906                 :             :                     {
    4907                 :           0 :                     case BIT_IOR_EXPR:
    4908                 :           0 :                       {
    4909                 :           0 :                         tree _q70 = TREE_OPERAND (_q60, 0);
    4910                 :           0 :                         tree _q71 = TREE_OPERAND (_q60, 1);
    4911                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    4912                 :             :                           {
    4913                 :           0 :                             if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
    4914                 :             :                               {
    4915                 :           0 :                                 if (integer_onep (_q61))
    4916                 :             :                                   {
    4917                 :           0 :                                     {
    4918                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    4919                 :           0 :                                       tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    4920                 :           0 :                                       if (res) return res;
    4921                 :             :                                     }
    4922                 :             :                                   }
    4923                 :             :                               }
    4924                 :             :                           }
    4925                 :           0 :                         if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
    4926                 :             :                           {
    4927                 :           0 :                             if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    4928                 :             :                               {
    4929                 :           0 :                                 if (integer_onep (_q61))
    4930                 :             :                                   {
    4931                 :           0 :                                     {
    4932                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    4933                 :           0 :                                       tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    4934                 :           0 :                                       if (res) return res;
    4935                 :             :                                     }
    4936                 :             :                                   }
    4937                 :             :                               }
    4938                 :             :                           }
    4939                 :             :                         break;
    4940                 :             :                       }
    4941                 :           0 :                     default:;
    4942                 :             :                     }
    4943                 :           0 :                 {
    4944                 :           0 :                   tree _q60_pops[1];
    4945                 :           0 :                   if (tree_nop_convert (_q60, _q60_pops))
    4946                 :             :                     {
    4947                 :           0 :                       tree _q70 = _q60_pops[0];
    4948                 :           0 :                       switch (TREE_CODE (_q70))
    4949                 :             :                         {
    4950                 :           0 :                         case BIT_IOR_EXPR:
    4951                 :           0 :                           {
    4952                 :           0 :                             tree _q80 = TREE_OPERAND (_q70, 0);
    4953                 :           0 :                             tree _q81 = TREE_OPERAND (_q70, 1);
    4954                 :           0 :                             if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    4955                 :             :                               {
    4956                 :           0 :                                 if ((_q81 == _q21 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q21, 0) && types_match (_q81, _q21)))
    4957                 :             :                                   {
    4958                 :           0 :                                     if (integer_onep (_q61))
    4959                 :             :                                       {
    4960                 :           0 :                                         {
    4961                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    4962                 :           0 :                                           tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    4963                 :           0 :                                           if (res) return res;
    4964                 :             :                                         }
    4965                 :             :                                       }
    4966                 :             :                                   }
    4967                 :             :                               }
    4968                 :           0 :                             if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
    4969                 :             :                               {
    4970                 :           0 :                                 if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    4971                 :             :                                   {
    4972                 :           0 :                                     if (integer_onep (_q61))
    4973                 :             :                                       {
    4974                 :           0 :                                         {
    4975                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    4976                 :           0 :                                           tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    4977                 :           0 :                                           if (res) return res;
    4978                 :             :                                         }
    4979                 :             :                                       }
    4980                 :             :                                   }
    4981                 :             :                               }
    4982                 :             :                             break;
    4983                 :             :                           }
    4984                 :             :                         default:;
    4985                 :             :                         }
    4986                 :             :                     }
    4987                 :             :                 }
    4988                 :           0 :                   break;
    4989                 :             :                 }
    4990                 :             :               default:;
    4991                 :             :               }
    4992                 :             :           }
    4993                 :             :       }
    4994                 :        1164 :         break;
    4995                 :             :       }
    4996                 :        2837 :     case BIT_NOT_EXPR:
    4997                 :        2837 :       {
    4998                 :        2837 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4999                 :        2837 :         switch (TREE_CODE (_p1))
    5000                 :             :           {
    5001                 :          22 :           case BIT_NOT_EXPR:
    5002                 :          22 :             {
    5003                 :          22 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5004                 :          22 :               {
    5005                 :          22 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    5006                 :          22 :                 if (!TYPE_OVERFLOW_SANITIZED (type)
    5007                 :             : )
    5008                 :             :                   {
    5009                 :           9 :                     {
    5010                 :           9 :  tree utype = unsigned_type_for (type);
    5011                 :           9 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1291;
    5012                 :           9 :                         {
    5013                 :           9 :                           tree res_op0;
    5014                 :           9 :                           {
    5015                 :           9 :                             tree _o1[2], _r1;
    5016                 :           9 :                             {
    5017                 :           9 :                               tree _o2[1], _r2;
    5018                 :           9 :                               _o2[0] = captures[1];
    5019                 :           9 :                               if (TREE_TYPE (_o2[0]) != utype)
    5020                 :             :                                 {
    5021                 :           9 :                                   _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    5022                 :             :                                 }
    5023                 :             :                               else
    5024                 :             :                                 _r2 = _o2[0];
    5025                 :           9 :                               _o1[0] = _r2;
    5026                 :             :                             }
    5027                 :           9 :                             {
    5028                 :           9 :                               tree _o2[1], _r2;
    5029                 :           9 :                               _o2[0] = captures[0];
    5030                 :           9 :                               if (TREE_TYPE (_o2[0]) != utype)
    5031                 :             :                                 {
    5032                 :           9 :                                   _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    5033                 :             :                                 }
    5034                 :             :                               else
    5035                 :             :                                 _r2 = _o2[0];
    5036                 :           9 :                               _o1[1] = _r2;
    5037                 :             :                             }
    5038                 :           9 :                             _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5039                 :           9 :                             res_op0 = _r1;
    5040                 :             :                           }
    5041                 :           9 :                           tree _r;
    5042                 :           9 :                           _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5043                 :           9 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 914, __FILE__, __LINE__, true);
    5044                 :           9 :                           return _r;
    5045                 :             :                         }
    5046                 :           0 : next_after_fail1291:;
    5047                 :             :                     }
    5048                 :             :                   }
    5049                 :             :               }
    5050                 :          13 :               break;
    5051                 :             :             }
    5052                 :             :           default:;
    5053                 :             :           }
    5054                 :             :         break;
    5055                 :             :       }
    5056                 :     2147648 :     case PLUS_EXPR:
    5057                 :     2147648 :       {
    5058                 :     2147648 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5059                 :     2147648 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5060                 :     2147648 :         switch (TREE_CODE (_p1))
    5061                 :             :           {
    5062                 :          14 :           case BIT_IOR_EXPR:
    5063                 :          14 :             {
    5064                 :          14 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5065                 :          14 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5066                 :          14 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5067                 :             :                 {
    5068                 :          13 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5069                 :             :                     {
    5070                 :          13 :                       {
    5071                 :          13 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5072                 :          13 :                         if (!TYPE_OVERFLOW_SANITIZED (type) && !TYPE_OVERFLOW_TRAPS (type)
    5073                 :          13 :  && !TYPE_SATURATING (type)
    5074                 :             : )
    5075                 :             :                           {
    5076                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1292;
    5077                 :           0 :                             {
    5078                 :           0 :                               tree res_op0;
    5079                 :           0 :                               res_op0 = captures[0];
    5080                 :           0 :                               tree res_op1;
    5081                 :           0 :                               res_op1 = captures[1];
    5082                 :           0 :                               tree _r;
    5083                 :           0 :                               _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    5084                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 915, __FILE__, __LINE__, true);
    5085                 :           0 :                               return _r;
    5086                 :             :                             }
    5087                 :           0 : next_after_fail1292:;
    5088                 :             :                           }
    5089                 :             :                       }
    5090                 :             :                     }
    5091                 :             :                 }
    5092                 :             :               break;
    5093                 :             :             }
    5094                 :          68 :           case BIT_AND_EXPR:
    5095                 :          68 :             {
    5096                 :          68 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5097                 :          68 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5098                 :          68 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5099                 :             :                 {
    5100                 :          25 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5101                 :             :                     {
    5102                 :          13 :                       {
    5103                 :          13 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5104                 :          13 :                         if (!TYPE_OVERFLOW_SANITIZED (type) && !TYPE_OVERFLOW_TRAPS (type)
    5105                 :          13 :  && !TYPE_SATURATING (type)
    5106                 :             : )
    5107                 :             :                           {
    5108                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1293;
    5109                 :           0 :                             {
    5110                 :           0 :                               tree res_op0;
    5111                 :           0 :                               res_op0 = captures[0];
    5112                 :           0 :                               tree res_op1;
    5113                 :           0 :                               res_op1 = captures[1];
    5114                 :           0 :                               tree _r;
    5115                 :           0 :                               _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
    5116                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 916, __FILE__, __LINE__, true);
    5117                 :           0 :                               return _r;
    5118                 :             :                             }
    5119                 :           0 : next_after_fail1293:;
    5120                 :             :                           }
    5121                 :             :                       }
    5122                 :             :                     }
    5123                 :             :                 }
    5124                 :             :               break;
    5125                 :             :             }
    5126                 :     2147648 :           default:;
    5127                 :             :           }
    5128                 :     2147648 :         switch (TREE_CODE (_q20))
    5129                 :             :           {
    5130                 :         593 :           case BIT_AND_EXPR:
    5131                 :         593 :             {
    5132                 :         593 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5133                 :         593 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5134                 :         593 :               if (integer_all_onesp (_q21))
    5135                 :             :                 {
    5136                 :           1 :                   switch (TREE_CODE (_p1))
    5137                 :             :                     {
    5138                 :           1 :                     case BIT_IOR_EXPR:
    5139                 :           1 :                       {
    5140                 :           1 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    5141                 :           1 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    5142                 :           1 :                         if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    5143                 :             :                           {
    5144                 :           1 :                             if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    5145                 :             :                               {
    5146                 :           1 :                                 {
    5147                 :           1 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    5148                 :           1 :                                   tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5149                 :           1 :                                   if (res) return res;
    5150                 :             :                                 }
    5151                 :             :                               }
    5152                 :             :                           }
    5153                 :           0 :                         if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    5154                 :             :                           {
    5155                 :           0 :                             if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    5156                 :             :                               {
    5157                 :           0 :                                 {
    5158                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q31, _q30 };
    5159                 :           0 :                                   tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5160                 :           0 :                                   if (res) return res;
    5161                 :             :                                 }
    5162                 :             :                               }
    5163                 :             :                           }
    5164                 :             :                         break;
    5165                 :             :                       }
    5166                 :           0 :                     default:;
    5167                 :             :                     }
    5168                 :           0 :                 {
    5169                 :           0 :                   tree _p1_pops[1];
    5170                 :           0 :                   if (tree_nop_convert (_p1, _p1_pops))
    5171                 :             :                     {
    5172                 :           0 :                       tree _q70 = _p1_pops[0];
    5173                 :           0 :                       switch (TREE_CODE (_q70))
    5174                 :             :                         {
    5175                 :           0 :                         case BIT_IOR_EXPR:
    5176                 :           0 :                           {
    5177                 :           0 :                             tree _q80 = TREE_OPERAND (_q70, 0);
    5178                 :           0 :                             tree _q81 = TREE_OPERAND (_q70, 1);
    5179                 :           0 :                             if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    5180                 :             :                               {
    5181                 :           0 :                                 if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
    5182                 :             :                                   {
    5183                 :           0 :                                     {
    5184                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    5185                 :           0 :                                       tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5186                 :           0 :                                       if (res) return res;
    5187                 :             :                                     }
    5188                 :             :                                   }
    5189                 :             :                               }
    5190                 :           0 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
    5191                 :             :                               {
    5192                 :           0 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    5193                 :             :                                   {
    5194                 :           0 :                                     {
    5195                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q31, _q30 };
    5196                 :           0 :                                       tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5197                 :           0 :                                       if (res) return res;
    5198                 :             :                                     }
    5199                 :             :                                   }
    5200                 :             :                               }
    5201                 :             :                             break;
    5202                 :             :                           }
    5203                 :             :                         default:;
    5204                 :             :                         }
    5205                 :             :                     }
    5206                 :             :                 }
    5207                 :             :                 }
    5208                 :             :               break;
    5209                 :             :             }
    5210                 :     2147647 :           default:;
    5211                 :             :           }
    5212                 :     2147647 :       {
    5213                 :     2147647 :         tree _q20_pops[1];
    5214                 :     2147647 :         if (tree_nop_convert (_q20, _q20_pops))
    5215                 :             :           {
    5216                 :      534657 :             tree _q30 = _q20_pops[0];
    5217                 :      534657 :             switch (TREE_CODE (_q30))
    5218                 :             :               {
    5219                 :           0 :               case BIT_AND_EXPR:
    5220                 :           0 :                 {
    5221                 :           0 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    5222                 :           0 :                   tree _q41 = TREE_OPERAND (_q30, 1);
    5223                 :           0 :                   if (integer_all_onesp (_q21))
    5224                 :             :                     {
    5225                 :           0 :                       switch (TREE_CODE (_p1))
    5226                 :             :                         {
    5227                 :           0 :                         case BIT_IOR_EXPR:
    5228                 :           0 :                           {
    5229                 :           0 :                             tree _q80 = TREE_OPERAND (_p1, 0);
    5230                 :           0 :                             tree _q81 = TREE_OPERAND (_p1, 1);
    5231                 :           0 :                             if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
    5232                 :             :                               {
    5233                 :           0 :                                 if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
    5234                 :             :                                   {
    5235                 :           0 :                                     {
    5236                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q41 };
    5237                 :           0 :                                       tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5238                 :           0 :                                       if (res) return res;
    5239                 :             :                                     }
    5240                 :             :                                   }
    5241                 :             :                               }
    5242                 :           0 :                             if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
    5243                 :             :                               {
    5244                 :           0 :                                 if ((_q81 == _q40 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q40, 0) && types_match (_q81, _q40)))
    5245                 :             :                                   {
    5246                 :           0 :                                     {
    5247                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q41, _q40 };
    5248                 :           0 :                                       tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5249                 :           0 :                                       if (res) return res;
    5250                 :             :                                     }
    5251                 :             :                                   }
    5252                 :             :                               }
    5253                 :             :                             break;
    5254                 :             :                           }
    5255                 :           0 :                         default:;
    5256                 :             :                         }
    5257                 :           0 :                     {
    5258                 :           0 :                       tree _p1_pops[1];
    5259                 :           0 :                       if (tree_nop_convert (_p1, _p1_pops))
    5260                 :             :                         {
    5261                 :           0 :                           tree _q80 = _p1_pops[0];
    5262                 :           0 :                           switch (TREE_CODE (_q80))
    5263                 :             :                             {
    5264                 :           0 :                             case BIT_IOR_EXPR:
    5265                 :           0 :                               {
    5266                 :           0 :                                 tree _q90 = TREE_OPERAND (_q80, 0);
    5267                 :           0 :                                 tree _q91 = TREE_OPERAND (_q80, 1);
    5268                 :           0 :                                 if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
    5269                 :             :                                   {
    5270                 :           0 :                                     if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
    5271                 :             :                                       {
    5272                 :           0 :                                         {
    5273                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q41 };
    5274                 :           0 :                                           tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5275                 :           0 :                                           if (res) return res;
    5276                 :             :                                         }
    5277                 :             :                                       }
    5278                 :             :                                   }
    5279                 :           0 :                                 if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
    5280                 :             :                                   {
    5281                 :           0 :                                     if ((_q91 == _q40 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q40, 0) && types_match (_q91, _q40)))
    5282                 :             :                                       {
    5283                 :           0 :                                         {
    5284                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q41, _q40 };
    5285                 :           0 :                                           tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5286                 :           0 :                                           if (res) return res;
    5287                 :             :                                         }
    5288                 :             :                                       }
    5289                 :             :                                   }
    5290                 :             :                                 break;
    5291                 :             :                               }
    5292                 :             :                             default:;
    5293                 :             :                             }
    5294                 :             :                         }
    5295                 :             :                     }
    5296                 :             :                     }
    5297                 :             :                   break;
    5298                 :             :                 }
    5299                 :             :               default:;
    5300                 :             :               }
    5301                 :             :           }
    5302                 :             :       }
    5303                 :     2147647 :         break;
    5304                 :             :       }
    5305                 :          77 :     case BIT_IOR_EXPR:
    5306                 :          77 :       {
    5307                 :          77 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5308                 :          77 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5309                 :          77 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5310                 :             :           {
    5311                 :           5 :             {
    5312                 :           5 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    5313                 :           5 :               tree res = generic_simplify_44 (loc, type, _p0, _p1, captures);
    5314                 :           5 :               if (res) return res;
    5315                 :             :             }
    5316                 :             :           }
    5317                 :          72 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5318                 :             :           {
    5319                 :           0 :             {
    5320                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    5321                 :           0 :               tree res = generic_simplify_44 (loc, type, _p0, _p1, captures);
    5322                 :           0 :               if (res) return res;
    5323                 :             :             }
    5324                 :             :           }
    5325                 :          72 :         switch (TREE_CODE (_p1))
    5326                 :             :           {
    5327                 :           0 :           case BIT_XOR_EXPR:
    5328                 :           0 :             {
    5329                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5330                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5331                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5332                 :             :                 {
    5333                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5334                 :             :                     {
    5335                 :           0 :                       {
    5336                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5337                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1294;
    5338                 :           0 :                         {
    5339                 :           0 :                           tree res_op0;
    5340                 :           0 :                           res_op0 = captures[0];
    5341                 :           0 :                           tree res_op1;
    5342                 :           0 :                           res_op1 = captures[1];
    5343                 :           0 :                           tree _r;
    5344                 :           0 :                           _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    5345                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 917, __FILE__, __LINE__, true);
    5346                 :           0 :                           return _r;
    5347                 :             :                         }
    5348                 :           0 : next_after_fail1294:;
    5349                 :             :                       }
    5350                 :             :                     }
    5351                 :             :                 }
    5352                 :             :               break;
    5353                 :             :             }
    5354                 :           0 :           case BIT_AND_EXPR:
    5355                 :           0 :             {
    5356                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5357                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5358                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5359                 :             :                 {
    5360                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5361                 :             :                     {
    5362                 :           0 :                       {
    5363                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5364                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1295;
    5365                 :           0 :                         {
    5366                 :           0 :                           tree res_op0;
    5367                 :           0 :                           res_op0 = captures[0];
    5368                 :           0 :                           tree res_op1;
    5369                 :           0 :                           res_op1 = captures[1];
    5370                 :           0 :                           tree _r;
    5371                 :           0 :                           _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    5372                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 918, __FILE__, __LINE__, true);
    5373                 :           0 :                           return _r;
    5374                 :             :                         }
    5375                 :           0 : next_after_fail1295:;
    5376                 :             :                       }
    5377                 :             :                     }
    5378                 :             :                 }
    5379                 :             :               break;
    5380                 :             :             }
    5381                 :             :           default:;
    5382                 :             :           }
    5383                 :             :         break;
    5384                 :             :       }
    5385                 :    28903357 :     default:;
    5386                 :             :     }
    5387                 :    28903357 : {
    5388                 :    28903357 :   tree _p0_pops[1];
    5389                 :    28903357 :   if (tree_nop_convert (_p0, _p0_pops))
    5390                 :             :     {
    5391                 :     6821192 :       tree _q20 = _p0_pops[0];
    5392                 :     6821192 :       switch (TREE_CODE (_q20))
    5393                 :             :         {
    5394                 :      936379 :         case PLUS_EXPR:
    5395                 :      936379 :           {
    5396                 :      936379 :             tree _q30 = TREE_OPERAND (_q20, 0);
    5397                 :      936379 :             tree _q31 = TREE_OPERAND (_q20, 1);
    5398                 :      936379 :             switch (TREE_CODE (_q30))
    5399                 :             :               {
    5400                 :         344 :               case BIT_AND_EXPR:
    5401                 :         344 :                 {
    5402                 :         344 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    5403                 :         344 :                   tree _q41 = TREE_OPERAND (_q30, 1);
    5404                 :         344 :                   if (integer_all_onesp (_q31))
    5405                 :             :                     {
    5406                 :           0 :                       switch (TREE_CODE (_p1))
    5407                 :             :                         {
    5408                 :           0 :                         case BIT_IOR_EXPR:
    5409                 :           0 :                           {
    5410                 :           0 :                             tree _q80 = TREE_OPERAND (_p1, 0);
    5411                 :           0 :                             tree _q81 = TREE_OPERAND (_p1, 1);
    5412                 :           0 :                             if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
    5413                 :             :                               {
    5414                 :           0 :                                 if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
    5415                 :             :                                   {
    5416                 :           0 :                                     {
    5417                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _q41 };
    5418                 :           0 :                                       tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5419                 :           0 :                                       if (res) return res;
    5420                 :             :                                     }
    5421                 :             :                                   }
    5422                 :             :                               }
    5423                 :           0 :                             if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
    5424                 :             :                               {
    5425                 :           0 :                                 if ((_q81 == _q40 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q40, 0) && types_match (_q81, _q40)))
    5426                 :             :                                   {
    5427                 :           0 :                                     {
    5428                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q41, _q40 };
    5429                 :           0 :                                       tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5430                 :           0 :                                       if (res) return res;
    5431                 :             :                                     }
    5432                 :             :                                   }
    5433                 :             :                               }
    5434                 :             :                             break;
    5435                 :             :                           }
    5436                 :           0 :                         default:;
    5437                 :             :                         }
    5438                 :           0 :                     {
    5439                 :           0 :                       tree _p1_pops[1];
    5440                 :           0 :                       if (tree_nop_convert (_p1, _p1_pops))
    5441                 :             :                         {
    5442                 :           0 :                           tree _q80 = _p1_pops[0];
    5443                 :           0 :                           switch (TREE_CODE (_q80))
    5444                 :             :                             {
    5445                 :           0 :                             case BIT_IOR_EXPR:
    5446                 :           0 :                               {
    5447                 :           0 :                                 tree _q90 = TREE_OPERAND (_q80, 0);
    5448                 :           0 :                                 tree _q91 = TREE_OPERAND (_q80, 1);
    5449                 :           0 :                                 if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
    5450                 :             :                                   {
    5451                 :           0 :                                     if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
    5452                 :             :                                       {
    5453                 :           0 :                                         {
    5454                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _q41 };
    5455                 :           0 :                                           tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5456                 :           0 :                                           if (res) return res;
    5457                 :             :                                         }
    5458                 :             :                                       }
    5459                 :             :                                   }
    5460                 :           0 :                                 if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
    5461                 :             :                                   {
    5462                 :           0 :                                     if ((_q91 == _q40 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q40, 0) && types_match (_q91, _q40)))
    5463                 :             :                                       {
    5464                 :           0 :                                         {
    5465                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q41, _q40 };
    5466                 :           0 :                                           tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5467                 :           0 :                                           if (res) return res;
    5468                 :             :                                         }
    5469                 :             :                                       }
    5470                 :             :                                   }
    5471                 :             :                                 break;
    5472                 :             :                               }
    5473                 :             :                             default:;
    5474                 :             :                             }
    5475                 :             :                         }
    5476                 :             :                     }
    5477                 :             :                     }
    5478                 :             :                   break;
    5479                 :             :                 }
    5480                 :      936379 :               default:;
    5481                 :             :               }
    5482                 :      936379 :           {
    5483                 :      936379 :             tree _q30_pops[1];
    5484                 :      936379 :             if (tree_nop_convert (_q30, _q30_pops))
    5485                 :             :               {
    5486                 :       43471 :                 tree _q40 = _q30_pops[0];
    5487                 :       43471 :                 switch (TREE_CODE (_q40))
    5488                 :             :                   {
    5489                 :           0 :                   case BIT_AND_EXPR:
    5490                 :           0 :                     {
    5491                 :           0 :                       tree _q50 = TREE_OPERAND (_q40, 0);
    5492                 :           0 :                       tree _q51 = TREE_OPERAND (_q40, 1);
    5493                 :           0 :                       if (integer_all_onesp (_q31))
    5494                 :             :                         {
    5495                 :           0 :                           switch (TREE_CODE (_p1))
    5496                 :             :                             {
    5497                 :           0 :                             case BIT_IOR_EXPR:
    5498                 :           0 :                               {
    5499                 :           0 :                                 tree _q90 = TREE_OPERAND (_p1, 0);
    5500                 :           0 :                                 tree _q91 = TREE_OPERAND (_p1, 1);
    5501                 :           0 :                                 if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
    5502                 :             :                                   {
    5503                 :           0 :                                     if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
    5504                 :             :                                       {
    5505                 :           0 :                                         {
    5506                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _q51 };
    5507                 :           0 :                                           tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5508                 :           0 :                                           if (res) return res;
    5509                 :             :                                         }
    5510                 :             :                                       }
    5511                 :             :                                   }
    5512                 :           0 :                                 if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
    5513                 :             :                                   {
    5514                 :           0 :                                     if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
    5515                 :             :                                       {
    5516                 :           0 :                                         {
    5517                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _q50 };
    5518                 :           0 :                                           tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5519                 :           0 :                                           if (res) return res;
    5520                 :             :                                         }
    5521                 :             :                                       }
    5522                 :             :                                   }
    5523                 :             :                                 break;
    5524                 :             :                               }
    5525                 :           0 :                             default:;
    5526                 :             :                             }
    5527                 :           0 :                         {
    5528                 :           0 :                           tree _p1_pops[1];
    5529                 :           0 :                           if (tree_nop_convert (_p1, _p1_pops))
    5530                 :             :                             {
    5531                 :           0 :                               tree _q90 = _p1_pops[0];
    5532                 :           0 :                               switch (TREE_CODE (_q90))
    5533                 :             :                                 {
    5534                 :           0 :                                 case BIT_IOR_EXPR:
    5535                 :           0 :                                   {
    5536                 :           0 :                                     tree _q100 = TREE_OPERAND (_q90, 0);
    5537                 :           0 :                                     tree _q101 = TREE_OPERAND (_q90, 1);
    5538                 :           0 :                                     if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
    5539                 :             :                                       {
    5540                 :           0 :                                         if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
    5541                 :             :                                           {
    5542                 :           0 :                                             {
    5543                 :           0 :                                               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _q51 };
    5544                 :           0 :                                               tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5545                 :           0 :                                               if (res) return res;
    5546                 :             :                                             }
    5547                 :             :                                           }
    5548                 :             :                                       }
    5549                 :           0 :                                     if ((_q100 == _q51 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q51, 0) && types_match (_q100, _q51)))
    5550                 :             :                                       {
    5551                 :           0 :                                         if ((_q101 == _q50 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q50, 0) && types_match (_q101, _q50)))
    5552                 :             :                                           {
    5553                 :           0 :                                             {
    5554                 :           0 :                                               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _q50 };
    5555                 :           0 :                                               tree res = generic_simplify_43 (loc, type, _p0, _p1, captures);
    5556                 :           0 :                                               if (res) return res;
    5557                 :             :                                             }
    5558                 :             :                                           }
    5559                 :             :                                       }
    5560                 :             :                                     break;
    5561                 :             :                                   }
    5562                 :             :                                 default:;
    5563                 :             :                                 }
    5564                 :             :                             }
    5565                 :             :                         }
    5566                 :             :                         }
    5567                 :             :                       break;
    5568                 :             :                     }
    5569                 :             :                   default:;
    5570                 :             :                   }
    5571                 :             :               }
    5572                 :             :           }
    5573                 :      936379 :             break;
    5574                 :             :           }
    5575                 :          14 :         case BIT_AND_EXPR:
    5576                 :          14 :           {
    5577                 :          14 :             tree _q30 = TREE_OPERAND (_q20, 0);
    5578                 :          14 :             tree _q31 = TREE_OPERAND (_q20, 1);
    5579                 :          14 :             switch (TREE_CODE (_p1))
    5580                 :             :               {
    5581                 :           0 :               case PLUS_EXPR:
    5582                 :           0 :                 {
    5583                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    5584                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    5585                 :           0 :                   switch (TREE_CODE (_q60))
    5586                 :             :                     {
    5587                 :           0 :                     case BIT_IOR_EXPR:
    5588                 :           0 :                       {
    5589                 :           0 :                         tree _q70 = TREE_OPERAND (_q60, 0);
    5590                 :           0 :                         tree _q71 = TREE_OPERAND (_q60, 1);
    5591                 :           0 :                         if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    5592                 :             :                           {
    5593                 :           0 :                             if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    5594                 :             :                               {
    5595                 :           0 :                                 if (integer_onep (_q61))
    5596                 :             :                                   {
    5597                 :           0 :                                     {
    5598                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    5599                 :           0 :                                       tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    5600                 :           0 :                                       if (res) return res;
    5601                 :             :                                     }
    5602                 :             :                                   }
    5603                 :             :                               }
    5604                 :             :                           }
    5605                 :           0 :                         if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    5606                 :             :                           {
    5607                 :           0 :                             if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    5608                 :             :                               {
    5609                 :           0 :                                 if (integer_onep (_q61))
    5610                 :             :                                   {
    5611                 :           0 :                                     {
    5612                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    5613                 :           0 :                                       tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    5614                 :           0 :                                       if (res) return res;
    5615                 :             :                                     }
    5616                 :             :                                   }
    5617                 :             :                               }
    5618                 :             :                           }
    5619                 :             :                         break;
    5620                 :             :                       }
    5621                 :           0 :                     default:;
    5622                 :             :                     }
    5623                 :           0 :                 {
    5624                 :           0 :                   tree _q60_pops[1];
    5625                 :           0 :                   if (tree_nop_convert (_q60, _q60_pops))
    5626                 :             :                     {
    5627                 :           0 :                       tree _q70 = _q60_pops[0];
    5628                 :           0 :                       switch (TREE_CODE (_q70))
    5629                 :             :                         {
    5630                 :           0 :                         case BIT_IOR_EXPR:
    5631                 :           0 :                           {
    5632                 :           0 :                             tree _q80 = TREE_OPERAND (_q70, 0);
    5633                 :           0 :                             tree _q81 = TREE_OPERAND (_q70, 1);
    5634                 :           0 :                             if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    5635                 :             :                               {
    5636                 :           0 :                                 if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
    5637                 :             :                                   {
    5638                 :           0 :                                     if (integer_onep (_q61))
    5639                 :             :                                       {
    5640                 :           0 :                                         {
    5641                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    5642                 :           0 :                                           tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    5643                 :           0 :                                           if (res) return res;
    5644                 :             :                                         }
    5645                 :             :                                       }
    5646                 :             :                                   }
    5647                 :             :                               }
    5648                 :           0 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
    5649                 :             :                               {
    5650                 :           0 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    5651                 :             :                                   {
    5652                 :           0 :                                     if (integer_onep (_q61))
    5653                 :             :                                       {
    5654                 :           0 :                                         {
    5655                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    5656                 :           0 :                                           tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    5657                 :           0 :                                           if (res) return res;
    5658                 :             :                                         }
    5659                 :             :                                       }
    5660                 :             :                                   }
    5661                 :             :                               }
    5662                 :             :                             break;
    5663                 :             :                           }
    5664                 :             :                         default:;
    5665                 :             :                         }
    5666                 :             :                     }
    5667                 :             :                 }
    5668                 :           0 :                   break;
    5669                 :             :                 }
    5670                 :          14 :               default:;
    5671                 :             :               }
    5672                 :          14 :           {
    5673                 :          14 :             tree _p1_pops[1];
    5674                 :          14 :             if (tree_nop_convert (_p1, _p1_pops))
    5675                 :             :               {
    5676                 :          14 :                 tree _q60 = _p1_pops[0];
    5677                 :          14 :                 switch (TREE_CODE (_q60))
    5678                 :             :                   {
    5679                 :           0 :                   case PLUS_EXPR:
    5680                 :           0 :                     {
    5681                 :           0 :                       tree _q70 = TREE_OPERAND (_q60, 0);
    5682                 :           0 :                       tree _q71 = TREE_OPERAND (_q60, 1);
    5683                 :           0 :                       switch (TREE_CODE (_q70))
    5684                 :             :                         {
    5685                 :           0 :                         case BIT_IOR_EXPR:
    5686                 :           0 :                           {
    5687                 :           0 :                             tree _q80 = TREE_OPERAND (_q70, 0);
    5688                 :           0 :                             tree _q81 = TREE_OPERAND (_q70, 1);
    5689                 :           0 :                             if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    5690                 :             :                               {
    5691                 :           0 :                                 if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
    5692                 :             :                                   {
    5693                 :           0 :                                     if (integer_onep (_q71))
    5694                 :             :                                       {
    5695                 :           0 :                                         {
    5696                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q60 };
    5697                 :           0 :                                           tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    5698                 :           0 :                                           if (res) return res;
    5699                 :             :                                         }
    5700                 :             :                                       }
    5701                 :             :                                   }
    5702                 :             :                               }
    5703                 :           0 :                             if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
    5704                 :             :                               {
    5705                 :           0 :                                 if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    5706                 :             :                                   {
    5707                 :           0 :                                     if (integer_onep (_q71))
    5708                 :             :                                       {
    5709                 :           0 :                                         {
    5710                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q60 };
    5711                 :           0 :                                           tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    5712                 :           0 :                                           if (res) return res;
    5713                 :             :                                         }
    5714                 :             :                                       }
    5715                 :             :                                   }
    5716                 :             :                               }
    5717                 :             :                             break;
    5718                 :             :                           }
    5719                 :           0 :                         default:;
    5720                 :             :                         }
    5721                 :           0 :                     {
    5722                 :           0 :                       tree _q70_pops[1];
    5723                 :           0 :                       if (tree_nop_convert (_q70, _q70_pops))
    5724                 :             :                         {
    5725                 :           0 :                           tree _q80 = _q70_pops[0];
    5726                 :           0 :                           switch (TREE_CODE (_q80))
    5727                 :             :                             {
    5728                 :           0 :                             case BIT_IOR_EXPR:
    5729                 :           0 :                               {
    5730                 :           0 :                                 tree _q90 = TREE_OPERAND (_q80, 0);
    5731                 :           0 :                                 tree _q91 = TREE_OPERAND (_q80, 1);
    5732                 :           0 :                                 if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5733                 :             :                                   {
    5734                 :           0 :                                     if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5735                 :             :                                       {
    5736                 :           0 :                                         if (integer_onep (_q71))
    5737                 :             :                                           {
    5738                 :           0 :                                             {
    5739                 :           0 :                                               tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q60 };
    5740                 :           0 :                                               tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    5741                 :           0 :                                               if (res) return res;
    5742                 :             :                                             }
    5743                 :             :                                           }
    5744                 :             :                                       }
    5745                 :             :                                   }
    5746                 :           0 :                                 if ((_q90 == _q31 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q31, 0) && types_match (_q90, _q31)))
    5747                 :             :                                   {
    5748                 :           0 :                                     if ((_q91 == _q30 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q30, 0) && types_match (_q91, _q30)))
    5749                 :             :                                       {
    5750                 :           0 :                                         if (integer_onep (_q71))
    5751                 :             :                                           {
    5752                 :           0 :                                             {
    5753                 :           0 :                                               tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q60 };
    5754                 :           0 :                                               tree res = generic_simplify_42 (loc, type, _p0, _p1, captures);
    5755                 :           0 :                                               if (res) return res;
    5756                 :             :                                             }
    5757                 :             :                                           }
    5758                 :             :                                       }
    5759                 :             :                                   }
    5760                 :             :                                 break;
    5761                 :             :                               }
    5762                 :             :                             default:;
    5763                 :             :                             }
    5764                 :             :                         }
    5765                 :             :                     }
    5766                 :           0 :                       break;
    5767                 :             :                     }
    5768                 :             :                   default:;
    5769                 :             :                   }
    5770                 :             :               }
    5771                 :             :           }
    5772                 :          14 :             break;
    5773                 :             :           }
    5774                 :             :         default:;
    5775                 :             :         }
    5776                 :             :     }
    5777                 :             : }
    5778                 :    28903357 :   if (tree_negate_expr_p (_p1))
    5779                 :             :     {
    5780                 :     7082426 :       {
    5781                 :     7082426 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    5782                 :     7082426 :         if (!FIXED_POINT_TYPE_P (type)
    5783                 :             : )
    5784                 :             :           {
    5785                 :     7082426 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1296;
    5786                 :     7082426 :             {
    5787                 :     7082426 :               tree res_op0;
    5788                 :     7082426 :               res_op0 = captures[0];
    5789                 :     7082426 :               tree res_op1;
    5790                 :     7082426 :               {
    5791                 :     7082426 :                 tree _o1[1], _r1;
    5792                 :     7082426 :                 _o1[0] = captures[1];
    5793                 :     7082426 :                 _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5794                 :     7082426 :                 res_op1 = _r1;
    5795                 :             :               }
    5796                 :     7082426 :               tree _r;
    5797                 :     7082426 :               _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    5798                 :     7082426 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
    5799                 :     7082426 :               return _r;
    5800                 :             :             }
    5801                 :           0 : next_after_fail1296:;
    5802                 :             :           }
    5803                 :             :       }
    5804                 :             :     }
    5805                 :    21820931 :   switch (TREE_CODE (_p0))
    5806                 :             :     {
    5807                 :     4514372 :     CASE_CONVERT:
    5808                 :     4514372 :       {
    5809                 :     4514372 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5810                 :     4514372 :         switch (TREE_CODE (_p1))
    5811                 :             :           {
    5812                 :     3764946 :           CASE_CONVERT:
    5813                 :     3764946 :             {
    5814                 :     3764946 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5815                 :     3764946 :               switch (TREE_CODE (_q40))
    5816                 :             :                 {
    5817                 :          15 :                 case BIT_AND_EXPR:
    5818                 :          15 :                   {
    5819                 :          15 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    5820                 :          15 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    5821                 :          15 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    5822                 :             :                       {
    5823                 :           0 :                         {
    5824                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _q50, _p1, _q40, _q51, _q20 };
    5825                 :           0 :                           tree res = generic_simplify_45 (loc, type, _p0, _p1, captures);
    5826                 :           0 :                           if (res) return res;
    5827                 :             :                         }
    5828                 :             :                       }
    5829                 :          15 :                     if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
    5830                 :             :                       {
    5831                 :           1 :                         {
    5832                 :           1 :                           tree captures[5] ATTRIBUTE_UNUSED = { _q51, _p1, _q40, _q50, _q20 };
    5833                 :           1 :                           tree res = generic_simplify_45 (loc, type, _p0, _p1, captures);
    5834                 :           1 :                           if (res) return res;
    5835                 :             :                         }
    5836                 :             :                       }
    5837                 :             :                     break;
    5838                 :             :                   }
    5839                 :             :                 default:;
    5840                 :             :                 }
    5841                 :             :               break;
    5842                 :             :             }
    5843                 :        4845 :           case BIT_AND_EXPR:
    5844                 :        4845 :             {
    5845                 :        4845 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5846                 :        4845 :               tree _q41 = TREE_OPERAND (_p1, 1);
    5847                 :        4845 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _q20, 0))
    5848                 :             :                 {
    5849                 :           0 :                   {
    5850                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q40, _p1, _p1, _q41, _q20 };
    5851                 :           0 :                     tree res = generic_simplify_46 (loc, type, _p0, _p1, captures);
    5852                 :           0 :                     if (res) return res;
    5853                 :             :                   }
    5854                 :             :                 }
    5855                 :        4845 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q20, 0))
    5856                 :             :                 {
    5857                 :          21 :                   {
    5858                 :          21 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q41, _p1, _p1, _q40, _q20 };
    5859                 :          21 :                     tree res = generic_simplify_46 (loc, type, _p0, _p1, captures);
    5860                 :          21 :                     if (res) return res;
    5861                 :             :                   }
    5862                 :             :                 }
    5863                 :             :               break;
    5864                 :             :             }
    5865                 :     4514350 :           default:;
    5866                 :             :           }
    5867                 :     4514350 :         switch (TREE_CODE (_q20))
    5868                 :             :           {
    5869                 :      115838 :           case ADDR_EXPR:
    5870                 :      115838 :             {
    5871                 :      115838 :               switch (TREE_CODE (_p1))
    5872                 :             :                 {
    5873                 :      108919 :                 CASE_CONVERT:
    5874                 :      108919 :                   {
    5875                 :      108919 :                     tree _q40 = TREE_OPERAND (_p1, 0);
    5876                 :      108919 :                     switch (TREE_CODE (_q40))
    5877                 :             :                       {
    5878                 :       29891 :                       case POINTER_PLUS_EXPR:
    5879                 :       29891 :                         {
    5880                 :       29891 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    5881                 :       29891 :                           tree _q51 = TREE_OPERAND (_q40, 1);
    5882                 :       29891 :                           {
    5883                 :       29891 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _q51 };
    5884                 :       29891 :                             if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    5885                 :             : )
    5886                 :             :                               {
    5887                 :       29891 :                                 {
    5888                 :       29891 :  poly_int64 diff;
    5889                 :       29891 :                                     if (ptr_difference_const (captures[0], captures[1], &diff)
    5890                 :             : )
    5891                 :             :                                       {
    5892                 :       13354 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1297;
    5893                 :       13354 :                                         {
    5894                 :       13354 :                                           tree res_op0;
    5895                 :       13354 :                                           res_op0 =  build_int_cst_type (type, diff);
    5896                 :       13354 :                                           tree res_op1;
    5897                 :       13354 :                                           {
    5898                 :       13354 :                                             tree _o1[1], _r1;
    5899                 :       13354 :                                             _o1[0] = captures[2];
    5900                 :       13354 :                                             if (TREE_TYPE (_o1[0]) != type)
    5901                 :             :                                               {
    5902                 :       13354 :                                                 _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    5903                 :             :                                               }
    5904                 :             :                                             else
    5905                 :             :                                               _r1 = _o1[0];
    5906                 :       13354 :                                             res_op1 = _r1;
    5907                 :             :                                           }
    5908                 :       13354 :                                           tree _r;
    5909                 :       13354 :                                           _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    5910                 :       13354 :                                           if (TREE_SIDE_EFFECTS (captures[0]))
    5911                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    5912                 :       13354 :                                           if (TREE_SIDE_EFFECTS (captures[1]))
    5913                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5914                 :       13354 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
    5915                 :       13354 :                                           return _r;
    5916                 :             :                                         }
    5917                 :           0 : next_after_fail1297:;
    5918                 :             :                                       }
    5919                 :             :                                 }
    5920                 :             :                               }
    5921                 :             :                           }
    5922                 :       16537 :                           break;
    5923                 :             :                         }
    5924                 :       95565 :                       default:;
    5925                 :             :                       }
    5926                 :       95565 :                     {
    5927                 :       95565 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    5928                 :       95565 :                       if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    5929                 :             : )
    5930                 :             :                         {
    5931                 :       95565 :                           {
    5932                 :       95565 :  poly_int64 diff;
    5933                 :       95565 :                               if (ptr_difference_const (captures[0], captures[1], &diff)
    5934                 :             : )
    5935                 :             :                                 {
    5936                 :       55461 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1298;
    5937                 :       55461 :                                   {
    5938                 :       55461 :                                     tree _r;
    5939                 :       55461 :                                     _r =  build_int_cst_type (type, diff);
    5940                 :       55461 :                                     if (TREE_SIDE_EFFECTS (captures[0]))
    5941                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    5942                 :       55461 :                                     if (TREE_SIDE_EFFECTS (captures[1]))
    5943                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5944                 :       55461 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
    5945                 :       55461 :                                     return _r;
    5946                 :             :                                   }
    5947                 :           0 : next_after_fail1298:;
    5948                 :             :                                 }
    5949                 :             :                           }
    5950                 :             :                         }
    5951                 :             :                     }
    5952                 :       40104 :                     break;
    5953                 :             :                   }
    5954                 :             :                 default:;
    5955                 :             :                 }
    5956                 :             :               break;
    5957                 :             :             }
    5958                 :       83565 :           case POINTER_PLUS_EXPR:
    5959                 :       83565 :             {
    5960                 :       83565 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5961                 :       83565 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5962                 :       83565 :               switch (TREE_CODE (_p1))
    5963                 :             :                 {
    5964                 :       82434 :                 CASE_CONVERT:
    5965                 :       82434 :                   {
    5966                 :       82434 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5967                 :       82434 :                     switch (TREE_CODE (_q60))
    5968                 :             :                       {
    5969                 :        3109 :                       case ADDR_EXPR:
    5970                 :        3109 :                         {
    5971                 :        3109 :                           {
    5972                 :        3109 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q60 };
    5973                 :        3109 :                             if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    5974                 :             : )
    5975                 :             :                               {
    5976                 :        3109 :                                 {
    5977                 :        3109 :  poly_int64 diff;
    5978                 :        3109 :                                     if (ptr_difference_const (captures[0], captures[2], &diff)
    5979                 :             : )
    5980                 :             :                                       {
    5981                 :         761 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1299;
    5982                 :         761 :                                         {
    5983                 :         761 :                                           tree res_op0;
    5984                 :         761 :                                           {
    5985                 :         761 :                                             tree _o1[1], _r1;
    5986                 :         761 :                                             _o1[0] = captures[1];
    5987                 :         761 :                                             if (TREE_TYPE (_o1[0]) != type)
    5988                 :             :                                               {
    5989                 :         484 :                                                 _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    5990                 :             :                                               }
    5991                 :             :                                             else
    5992                 :             :                                               _r1 = _o1[0];
    5993                 :         761 :                                             res_op0 = _r1;
    5994                 :             :                                           }
    5995                 :         761 :                                           tree res_op1;
    5996                 :         761 :                                           res_op1 =  build_int_cst_type (type, diff);
    5997                 :         761 :                                           tree _r;
    5998                 :         761 :                                           _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    5999                 :         761 :                                           if (TREE_SIDE_EFFECTS (captures[0]))
    6000                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    6001                 :         761 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
    6002                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    6003                 :         761 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 922, __FILE__, __LINE__, true);
    6004                 :         761 :                                           return _r;
    6005                 :             :                                         }
    6006                 :           0 : next_after_fail1299:;
    6007                 :             :                                       }
    6008                 :             :                                 }
    6009                 :             :                               }
    6010                 :             :                           }
    6011                 :        2348 :                           break;
    6012                 :             :                         }
    6013                 :             :                       default:;
    6014                 :             :                       }
    6015                 :             :                     break;
    6016                 :             :                   }
    6017                 :             :                 default:;
    6018                 :             :                 }
    6019                 :             :               break;
    6020                 :             :             }
    6021                 :     4444774 :           default:;
    6022                 :             :           }
    6023                 :     4444774 :         switch (TREE_CODE (_p1))
    6024                 :             :           {
    6025                 :     3695369 :           CASE_CONVERT:
    6026                 :     3695369 :             {
    6027                 :     3695369 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6028                 :     3695369 :               switch (TREE_CODE (_q40))
    6029                 :             :                 {
    6030                 :       51130 :                 case ADDR_EXPR:
    6031                 :       51130 :                   {
    6032                 :       51130 :                     {
    6033                 :       51130 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6034                 :       51130 :                       if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    6035                 :             : )
    6036                 :             :                         {
    6037                 :       51109 :                           {
    6038                 :       51109 :  poly_int64 diff;
    6039                 :       51109 :                               if (ptr_difference_const (captures[0], captures[1], &diff)
    6040                 :             : )
    6041                 :             :                                 {
    6042                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1300;
    6043                 :           0 :                                   {
    6044                 :           0 :                                     tree _r;
    6045                 :           0 :                                     _r =  build_int_cst_type (type, diff);
    6046                 :           0 :                                     if (TREE_SIDE_EFFECTS (captures[0]))
    6047                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    6048                 :           0 :                                     if (TREE_SIDE_EFFECTS (captures[1]))
    6049                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    6050                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 923, __FILE__, __LINE__, true);
    6051                 :           0 :                                     return _r;
    6052                 :             :                                   }
    6053                 :           0 : next_after_fail1300:;
    6054                 :             :                                 }
    6055                 :             :                           }
    6056                 :             :                         }
    6057                 :             :                     }
    6058                 :       51130 :                     break;
    6059                 :             :                   }
    6060                 :             :                 default:;
    6061                 :             :                 }
    6062                 :             :               break;
    6063                 :             :             }
    6064                 :             :           default:;
    6065                 :             :           }
    6066                 :             :         break;
    6067                 :             :       }
    6068                 :    21751333 :     default:;
    6069                 :             :     }
    6070                 :    21751333 : if (integer_onep (_p0))
    6071                 :             :   {
    6072                 :       99135 :     switch (TREE_CODE (_p1))
    6073                 :             :       {
    6074                 :       28779 :       case SSA_NAME:
    6075                 :       28779 :         {
    6076                 :       28779 :           {
    6077                 :       28779 :             tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    6078                 :       28779 :             if (INTEGRAL_TYPE_P (type)
    6079                 :       28779 :  && ssa_name_has_boolean_range (captures[1])
    6080                 :             : )
    6081                 :             :               {
    6082                 :         219 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1301;
    6083                 :         219 :                 {
    6084                 :         219 :                   tree res_op0;
    6085                 :         219 :                   res_op0 = captures[1];
    6086                 :         219 :                   tree res_op1;
    6087                 :         219 :                   res_op1 = captures[0];
    6088                 :         219 :                   tree _r;
    6089                 :         219 :                   _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    6090                 :         219 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 924, __FILE__, __LINE__, true);
    6091                 :         219 :                   return _r;
    6092                 :             :                 }
    6093                 :           0 : next_after_fail1301:;
    6094                 :             :               }
    6095                 :             :           }
    6096                 :       28560 :           break;
    6097                 :             :         }
    6098                 :             :       default:;
    6099                 :             :       }
    6100                 :             :   }
    6101                 :    21751114 :   switch (TREE_CODE (_p1))
    6102                 :             :     {
    6103                 :     6745263 :     CASE_CONVERT:
    6104                 :     6745263 :       {
    6105                 :     6745263 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6106                 :     6745263 :         switch (TREE_CODE (_q30))
    6107                 :             :           {
    6108                 :          14 :           case BIT_AND_EXPR:
    6109                 :          14 :             {
    6110                 :          14 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6111                 :          14 :               tree _q41 = TREE_OPERAND (_q30, 1);
    6112                 :          14 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
    6113                 :             :                 {
    6114                 :           0 :                   {
    6115                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q40, _p1, _q30, _q41, _p0 };
    6116                 :           0 :                     tree res = generic_simplify_45 (loc, type, _p0, _p1, captures);
    6117                 :           0 :                     if (res) return res;
    6118                 :             :                   }
    6119                 :             :                 }
    6120                 :          14 :               if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
    6121                 :             :                 {
    6122                 :           0 :                   {
    6123                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _q41, _p1, _q30, _q40, _p0 };
    6124                 :           0 :                     tree res = generic_simplify_45 (loc, type, _p0, _p1, captures);
    6125                 :           0 :                     if (res) return res;
    6126                 :             :                   }
    6127                 :             :                 }
    6128                 :             :               break;
    6129                 :             :             }
    6130                 :             :           default:;
    6131                 :             :           }
    6132                 :             :         break;
    6133                 :             :       }
    6134                 :        6797 :     case BIT_AND_EXPR:
    6135                 :        6797 :       {
    6136                 :        6797 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6137                 :        6797 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6138                 :        6797 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || operand_equal_p (_q30, _p0, 0))
    6139                 :             :           {
    6140                 :         217 :             {
    6141                 :         217 :               tree captures[5] ATTRIBUTE_UNUSED = { _q30, _p1, _p1, _q31, _p0 };
    6142                 :         217 :               tree res = generic_simplify_46 (loc, type, _p0, _p1, captures);
    6143                 :         217 :               if (res) return res;
    6144                 :             :             }
    6145                 :             :           }
    6146                 :        6580 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _p0, 0))
    6147                 :             :           {
    6148                 :          38 :             {
    6149                 :          38 :               tree captures[5] ATTRIBUTE_UNUSED = { _q31, _p1, _p1, _q30, _p0 };
    6150                 :          38 :               tree res = generic_simplify_46 (loc, type, _p0, _p1, captures);
    6151                 :          38 :               if (res) return res;
    6152                 :             :             }
    6153                 :             :           }
    6154                 :             :         break;
    6155                 :             :       }
    6156                 :    21750859 :     default:;
    6157                 :             :     }
    6158                 :    21750859 :   switch (TREE_CODE (_p0))
    6159                 :             :     {
    6160                 :     1643658 :     case PLUS_EXPR:
    6161                 :     1643658 :       {
    6162                 :     1643658 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6163                 :     1643658 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6164                 :     1643658 :         switch (TREE_CODE (_p1))
    6165                 :             :           {
    6166                 :      462514 :           case PLUS_EXPR:
    6167                 :      462514 :             {
    6168                 :      462514 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6169                 :      462514 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6170                 :      462514 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6171                 :             :                 {
    6172                 :      158304 :                   {
    6173                 :      158304 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    6174                 :      316608 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    6175                 :      316608 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    6176                 :       38028 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    6177                 :             : )
    6178                 :             :                       {
    6179                 :      158298 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1302;
    6180                 :      158298 :                         {
    6181                 :      158298 :                           tree res_op0;
    6182                 :      158298 :                           res_op0 = captures[0];
    6183                 :      158298 :                           tree res_op1;
    6184                 :      158298 :                           res_op1 = captures[2];
    6185                 :      158298 :                           tree _r;
    6186                 :      158298 :                           _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    6187                 :      158298 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    6188                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    6189                 :      158298 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
    6190                 :      158298 :                           return _r;
    6191                 :             :                         }
    6192                 :           0 : next_after_fail1302:;
    6193                 :             :                       }
    6194                 :             :                   }
    6195                 :             :                 }
    6196                 :      304216 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6197                 :             :                 {
    6198                 :         439 :                   {
    6199                 :         439 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    6200                 :         878 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    6201                 :         878 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    6202                 :         326 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    6203                 :             : )
    6204                 :             :                       {
    6205                 :         439 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1303;
    6206                 :         439 :                         {
    6207                 :         439 :                           tree res_op0;
    6208                 :         439 :                           res_op0 = captures[0];
    6209                 :         439 :                           tree res_op1;
    6210                 :         439 :                           res_op1 = captures[2];
    6211                 :         439 :                           tree _r;
    6212                 :         439 :                           _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    6213                 :         439 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    6214                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    6215                 :         439 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
    6216                 :         439 :                           return _r;
    6217                 :             :                         }
    6218                 :           0 : next_after_fail1303:;
    6219                 :             :                       }
    6220                 :             :                   }
    6221                 :             :                 }
    6222                 :      303777 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6223                 :             :                 {
    6224                 :         247 :                   {
    6225                 :         247 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    6226                 :         494 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    6227                 :         494 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    6228                 :         158 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    6229                 :             : )
    6230                 :             :                       {
    6231                 :         247 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1304;
    6232                 :         247 :                         {
    6233                 :         247 :                           tree res_op0;
    6234                 :         247 :                           res_op0 = captures[0];
    6235                 :         247 :                           tree res_op1;
    6236                 :         247 :                           res_op1 = captures[2];
    6237                 :         247 :                           tree _r;
    6238                 :         247 :                           _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    6239                 :         247 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    6240                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    6241                 :         247 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
    6242                 :         247 :                           return _r;
    6243                 :             :                         }
    6244                 :           0 : next_after_fail1304:;
    6245                 :             :                       }
    6246                 :             :                   }
    6247                 :             :                 }
    6248                 :      303530 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6249                 :             :                 {
    6250                 :      179106 :                   {
    6251                 :      179106 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    6252                 :      358212 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    6253                 :      358212 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    6254                 :      139070 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    6255                 :             : )
    6256                 :             :                       {
    6257                 :      179106 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1305;
    6258                 :      179106 :                         {
    6259                 :      179106 :                           tree res_op0;
    6260                 :      179106 :                           res_op0 = captures[0];
    6261                 :      179106 :                           tree res_op1;
    6262                 :      179106 :                           res_op1 = captures[2];
    6263                 :      179106 :                           tree _r;
    6264                 :      179106 :                           _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    6265                 :      179106 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    6266                 :           2 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    6267                 :      179106 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
    6268                 :      179106 :                           return _r;
    6269                 :             :                         }
    6270                 :           0 : next_after_fail1305:;
    6271                 :             :                       }
    6272                 :             :                   }
    6273                 :             :                 }
    6274                 :             :               break;
    6275                 :             :             }
    6276                 :             :           default:;
    6277                 :             :           }
    6278                 :             :         break;
    6279                 :             :       }
    6280                 :      885837 :     case MINUS_EXPR:
    6281                 :      885837 :       {
    6282                 :      885837 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6283                 :      885837 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6284                 :      885837 :         switch (TREE_CODE (_p1))
    6285                 :             :           {
    6286                 :        3919 :           case MINUS_EXPR:
    6287                 :        3919 :             {
    6288                 :        3919 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6289                 :        3919 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6290                 :        3919 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6291                 :             :                 {
    6292                 :        3877 :                   {
    6293                 :        3877 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    6294                 :        7754 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    6295                 :        7754 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    6296                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    6297                 :             : )
    6298                 :             :                       {
    6299                 :        3877 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1306;
    6300                 :        3877 :                         {
    6301                 :        3877 :                           tree res_op0;
    6302                 :        3877 :                           res_op0 = captures[0];
    6303                 :        3877 :                           tree res_op1;
    6304                 :        3877 :                           res_op1 = captures[2];
    6305                 :        3877 :                           tree _r;
    6306                 :        3877 :                           _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    6307                 :        3877 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    6308                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    6309                 :        3877 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 926, __FILE__, __LINE__, true);
    6310                 :        3877 :                           return _r;
    6311                 :             :                         }
    6312                 :           0 : next_after_fail1306:;
    6313                 :             :                       }
    6314                 :             :                   }
    6315                 :             :                 }
    6316                 :          42 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6317                 :             :                 {
    6318                 :           0 :                   {
    6319                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    6320                 :           0 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    6321                 :           0 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
    6322                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1])))
    6323                 :             : )
    6324                 :             :                       {
    6325                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1307;
    6326                 :           0 :                         {
    6327                 :           0 :                           tree res_op0;
    6328                 :           0 :                           res_op0 = captures[2];
    6329                 :           0 :                           tree res_op1;
    6330                 :           0 :                           res_op1 = captures[1];
    6331                 :           0 :                           tree _r;
    6332                 :           0 :                           _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    6333                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[0]))
    6334                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    6335                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 927, __FILE__, __LINE__, true);
    6336                 :           0 :                           return _r;
    6337                 :             :                         }
    6338                 :           0 : next_after_fail1307:;
    6339                 :             :                       }
    6340                 :             :                   }
    6341                 :             :                 }
    6342                 :             :               break;
    6343                 :             :             }
    6344                 :             :           default:;
    6345                 :             :           }
    6346                 :             :         break;
    6347                 :             :       }
    6348                 :          59 :     case POINTER_DIFF_EXPR:
    6349                 :          59 :       {
    6350                 :          59 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6351                 :          59 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6352                 :          59 :         switch (TREE_CODE (_p1))
    6353                 :             :           {
    6354                 :           0 :           case POINTER_DIFF_EXPR:
    6355                 :           0 :             {
    6356                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6357                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6358                 :           0 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6359                 :             :                 {
    6360                 :           0 :                   {
    6361                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
    6362                 :           0 :                     if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    6363                 :           0 :  && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[2]))
    6364                 :             : )
    6365                 :             :                       {
    6366                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1308;
    6367                 :           0 :                         {
    6368                 :           0 :                           tree res_op0;
    6369                 :           0 :                           res_op0 = captures[1];
    6370                 :           0 :                           tree res_op1;
    6371                 :           0 :                           res_op1 = captures[3];
    6372                 :           0 :                           tree _r;
    6373                 :           0 :                           _r = fold_build2_loc (loc, POINTER_DIFF_EXPR, type, res_op0, res_op1);
    6374                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[2]))
    6375                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    6376                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 928, __FILE__, __LINE__, true);
    6377                 :           0 :                           return _r;
    6378                 :             :                         }
    6379                 :           0 : next_after_fail1308:;
    6380                 :             :                       }
    6381                 :             :                   }
    6382                 :             :                 }
    6383                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6384                 :             :                 {
    6385                 :           0 :                   {
    6386                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q51 };
    6387                 :           0 :                     if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    6388                 :           0 :  && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[1]))
    6389                 :             : )
    6390                 :             :                       {
    6391                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1309;
    6392                 :           0 :                         {
    6393                 :           0 :                           tree res_op0;
    6394                 :           0 :                           res_op0 = captures[3];
    6395                 :           0 :                           tree res_op1;
    6396                 :           0 :                           res_op1 = captures[2];
    6397                 :           0 :                           tree _r;
    6398                 :           0 :                           _r = fold_build2_loc (loc, POINTER_DIFF_EXPR, type, res_op0, res_op1);
    6399                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    6400                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    6401                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 929, __FILE__, __LINE__, true);
    6402                 :           0 :                           return _r;
    6403                 :             :                         }
    6404                 :           0 : next_after_fail1309:;
    6405                 :             :                       }
    6406                 :             :                   }
    6407                 :             :                 }
    6408                 :             :               break;
    6409                 :             :             }
    6410                 :             :           default:;
    6411                 :             :           }
    6412                 :             :         break;
    6413                 :             :       }
    6414                 :    21408892 :     default:;
    6415                 :             :     }
    6416                 :    21408892 :   switch (TREE_CODE (_p1))
    6417                 :             :     {
    6418                 :     6745263 :     CASE_CONVERT:
    6419                 :     6745263 :       {
    6420                 :     6745263 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6421                 :     6745263 :         switch (TREE_CODE (_q30))
    6422                 :             :           {
    6423                 :        1403 :           case NEGATE_EXPR:
    6424                 :        1403 :             {
    6425                 :        1403 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6426                 :        1403 :               {
    6427                 :        1403 :                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
    6428                 :        1403 :                 tree res = generic_simplify_47 (loc, type, _p0, _p1, captures);
    6429                 :        1403 :                 if (res) return res;
    6430                 :             :               }
    6431                 :        1403 :               break;
    6432                 :             :             }
    6433                 :             :           default:;
    6434                 :             :           }
    6435                 :             :         break;
    6436                 :             :       }
    6437                 :          45 :     case NEGATE_EXPR:
    6438                 :          45 :       {
    6439                 :          45 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6440                 :          45 :         {
    6441                 :          45 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    6442                 :          45 :           tree res = generic_simplify_47 (loc, type, _p0, _p1, captures);
    6443                 :          45 :           if (res) return res;
    6444                 :             :         }
    6445                 :          40 :         break;
    6446                 :             :       }
    6447                 :    21408887 :     default:;
    6448                 :             :     }
    6449                 :    21408887 :   switch (TREE_CODE (_p0))
    6450                 :             :     {
    6451                 :     1305568 :     case PLUS_EXPR:
    6452                 :     1305568 :       {
    6453                 :     1305568 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6454                 :     1305568 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6455                 :     1305568 :         {
    6456                 :     1305568 :           tree _q20_pops[1];
    6457                 :     1305568 :           if (tree_nop_convert (_q20, _q20_pops))
    6458                 :             :             {
    6459                 :      315324 :               tree _q30 = _q20_pops[0];
    6460                 :      315324 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    6461                 :             :                 {
    6462                 :         355 :                   {
    6463                 :         355 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    6464                 :         355 :                     tree res = generic_simplify_48 (loc, type, _p0, _p1, captures);
    6465                 :         355 :                     if (res) return res;
    6466                 :             :                   }
    6467                 :             :                 }
    6468                 :             :             }
    6469                 :             :         }
    6470                 :     1305213 :         {
    6471                 :     1305213 :           tree _q21_pops[1];
    6472                 :     1305213 :           if (tree_nop_convert (_q21, _q21_pops))
    6473                 :             :             {
    6474                 :      424679 :               tree _q40 = _q21_pops[0];
    6475                 :      424679 :               if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6476                 :             :                 {
    6477                 :         156 :                   {
    6478                 :         156 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    6479                 :         156 :                     tree res = generic_simplify_48 (loc, type, _p0, _p1, captures);
    6480                 :         156 :                     if (res) return res;
    6481                 :             :                   }
    6482                 :             :                 }
    6483                 :             :             }
    6484                 :             :         }
    6485                 :     1305057 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    6486                 :             :           {
    6487                 :       48174 :             {
    6488                 :       48174 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6489                 :       48174 :               tree res = generic_simplify_48 (loc, type, _p0, _p1, captures);
    6490                 :       48174 :               if (res) return res;
    6491                 :             :             }
    6492                 :             :           }
    6493                 :     1256883 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6494                 :             :           {
    6495                 :        1550 :             {
    6496                 :        1550 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6497                 :        1550 :               tree res = generic_simplify_48 (loc, type, _p0, _p1, captures);
    6498                 :        1550 :               if (res) return res;
    6499                 :             :             }
    6500                 :             :           }
    6501                 :             :         break;
    6502                 :             :       }
    6503                 :      881960 :     case MINUS_EXPR:
    6504                 :      881960 :       {
    6505                 :      881960 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6506                 :      881960 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6507                 :      881960 :         {
    6508                 :      881960 :           tree _q20_pops[1];
    6509                 :      881960 :           if (tree_nop_convert (_q20, _q20_pops))
    6510                 :             :             {
    6511                 :       62394 :               tree _q30 = _q20_pops[0];
    6512                 :       62394 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    6513                 :             :                 {
    6514                 :           0 :                   {
    6515                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    6516                 :           0 :                     tree res = generic_simplify_49 (loc, type, _p0, _p1, captures);
    6517                 :           0 :                     if (res) return res;
    6518                 :             :                   }
    6519                 :             :                 }
    6520                 :             :             }
    6521                 :             :         }
    6522                 :      881960 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    6523                 :             :           {
    6524                 :         165 :             {
    6525                 :         165 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6526                 :         165 :               tree res = generic_simplify_49 (loc, type, _p0, _p1, captures);
    6527                 :         165 :               if (res) return res;
    6528                 :             :             }
    6529                 :             :           }
    6530                 :             :         break;
    6531                 :             :       }
    6532                 :    21358498 :     default:;
    6533                 :             :     }
    6534                 :    21358498 : {
    6535                 :    21358498 :   tree _p0_pops[1];
    6536                 :    21358498 :   if (tree_nop_convert (_p0, _p0_pops))
    6537                 :             :     {
    6538                 :     4052443 :       tree _q20 = _p0_pops[0];
    6539                 :     4052443 :       switch (TREE_CODE (_q20))
    6540                 :             :         {
    6541                 :      324303 :         case PLUS_EXPR:
    6542                 :      324303 :           {
    6543                 :      324303 :             tree _q30 = TREE_OPERAND (_q20, 0);
    6544                 :      324303 :             tree _q31 = TREE_OPERAND (_q20, 1);
    6545                 :      324303 :             {
    6546                 :      324303 :               tree _q30_pops[1];
    6547                 :      324303 :               if (tree_nop_convert (_q30, _q30_pops))
    6548                 :             :                 {
    6549                 :       27218 :                   tree _q40 = _q30_pops[0];
    6550                 :       27218 :                   if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6551                 :             :                     {
    6552                 :         634 :                       {
    6553                 :         634 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q31 };
    6554                 :         634 :                         tree res = generic_simplify_48 (loc, type, _p0, _p1, captures);
    6555                 :         634 :                         if (res) return res;
    6556                 :             :                       }
    6557                 :             :                     }
    6558                 :             :                 }
    6559                 :             :             }
    6560                 :      323669 :             {
    6561                 :      323669 :               tree _q31_pops[1];
    6562                 :      323669 :               if (tree_nop_convert (_q31, _q31_pops))
    6563                 :             :                 {
    6564                 :        2151 :                   tree _q50 = _q31_pops[0];
    6565                 :        2151 :                   if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    6566                 :             :                     {
    6567                 :          52 :                       {
    6568                 :          52 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
    6569                 :          52 :                         tree res = generic_simplify_48 (loc, type, _p0, _p1, captures);
    6570                 :          52 :                         if (res) return res;
    6571                 :             :                       }
    6572                 :             :                     }
    6573                 :             :                 }
    6574                 :             :             }
    6575                 :      323617 :             if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    6576                 :             :               {
    6577                 :          44 :                 {
    6578                 :          44 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    6579                 :          44 :                   tree res = generic_simplify_48 (loc, type, _p0, _p1, captures);
    6580                 :          44 :                   if (res) return res;
    6581                 :             :                 }
    6582                 :             :               }
    6583                 :      323573 :             if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    6584                 :             :               {
    6585                 :           0 :                 {
    6586                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q30 };
    6587                 :           0 :                   tree res = generic_simplify_48 (loc, type, _p0, _p1, captures);
    6588                 :           0 :                   if (res) return res;
    6589                 :             :                 }
    6590                 :             :               }
    6591                 :             :             break;
    6592                 :             :           }
    6593                 :         871 :         case MINUS_EXPR:
    6594                 :         871 :           {
    6595                 :         871 :             tree _q30 = TREE_OPERAND (_q20, 0);
    6596                 :         871 :             tree _q31 = TREE_OPERAND (_q20, 1);
    6597                 :         871 :             {
    6598                 :         871 :               tree _q30_pops[1];
    6599                 :         871 :               if (tree_nop_convert (_q30, _q30_pops))
    6600                 :             :                 {
    6601                 :         394 :                   tree _q40 = _q30_pops[0];
    6602                 :         394 :                   if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6603                 :             :                     {
    6604                 :           0 :                       {
    6605                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q31 };
    6606                 :           0 :                         tree res = generic_simplify_49 (loc, type, _p0, _p1, captures);
    6607                 :           0 :                         if (res) return res;
    6608                 :             :                       }
    6609                 :             :                     }
    6610                 :             :                 }
    6611                 :             :             }
    6612                 :         871 :             if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    6613                 :             :               {
    6614                 :           0 :                 {
    6615                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    6616                 :           0 :                   tree res = generic_simplify_49 (loc, type, _p0, _p1, captures);
    6617                 :           0 :                   if (res) return res;
    6618                 :             :                 }
    6619                 :             :               }
    6620                 :             :             break;
    6621                 :             :           }
    6622                 :             :         default:;
    6623                 :             :         }
    6624                 :             :     }
    6625                 :             : }
    6626                 :    21357768 :   switch (TREE_CODE (_p1))
    6627                 :             :     {
    6628                 :     1216443 :     case PLUS_EXPR:
    6629                 :     1216443 :       {
    6630                 :     1216443 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6631                 :     1216443 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6632                 :     1216443 :         {
    6633                 :     1216443 :           tree _q30_pops[1];
    6634                 :     1216443 :           if (tree_nop_convert (_q30, _q30_pops))
    6635                 :             :             {
    6636                 :      307835 :               tree _q40 = _q30_pops[0];
    6637                 :      307835 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6638                 :             :                 {
    6639                 :          71 :                   {
    6640                 :          71 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    6641                 :          71 :                     tree res = generic_simplify_50 (loc, type, _p0, _p1, captures);
    6642                 :          71 :                     if (res) return res;
    6643                 :             :                   }
    6644                 :             :                 }
    6645                 :             :             }
    6646                 :             :         }
    6647                 :     1216372 :         {
    6648                 :     1216372 :           tree _q31_pops[1];
    6649                 :     1216372 :           if (tree_nop_convert (_q31, _q31_pops))
    6650                 :             :             {
    6651                 :       57617 :               tree _q50 = _q31_pops[0];
    6652                 :       57617 :               if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6653                 :             :                 {
    6654                 :           0 :                   {
    6655                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    6656                 :           0 :                     tree res = generic_simplify_50 (loc, type, _p0, _p1, captures);
    6657                 :           0 :                     if (res) return res;
    6658                 :             :                   }
    6659                 :             :                 }
    6660                 :             :             }
    6661                 :             :         }
    6662                 :     1216372 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6663                 :             :           {
    6664                 :       32476 :             {
    6665                 :       32476 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    6666                 :       32476 :               tree res = generic_simplify_50 (loc, type, _p0, _p1, captures);
    6667                 :       32476 :               if (res) return res;
    6668                 :             :             }
    6669                 :             :           }
    6670                 :     1183896 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6671                 :             :           {
    6672                 :        2666 :             {
    6673                 :        2666 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    6674                 :        2666 :               tree res = generic_simplify_50 (loc, type, _p0, _p1, captures);
    6675                 :        2666 :               if (res) return res;
    6676                 :             :             }
    6677                 :             :           }
    6678                 :             :         break;
    6679                 :             :       }
    6680                 :       67839 :     case MINUS_EXPR:
    6681                 :       67839 :       {
    6682                 :       67839 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6683                 :       67839 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6684                 :       67839 :         {
    6685                 :       67839 :           tree _q30_pops[1];
    6686                 :       67839 :           if (tree_nop_convert (_q30, _q30_pops))
    6687                 :             :             {
    6688                 :          61 :               tree _q40 = _q30_pops[0];
    6689                 :          61 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6690                 :             :                 {
    6691                 :           0 :                   {
    6692                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    6693                 :           0 :                     tree res = generic_simplify_51 (loc, type, _p0, _p1, captures);
    6694                 :           0 :                     if (res) return res;
    6695                 :             :                   }
    6696                 :             :                 }
    6697                 :             :             }
    6698                 :             :         }
    6699                 :       67839 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6700                 :             :           {
    6701                 :         134 :             {
    6702                 :         134 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    6703                 :         134 :               tree res = generic_simplify_51 (loc, type, _p0, _p1, captures);
    6704                 :         134 :               if (res) return res;
    6705                 :             :             }
    6706                 :             :           }
    6707                 :             :         break;
    6708                 :             :       }
    6709                 :    21322421 :     default:;
    6710                 :             :     }
    6711                 :    21322421 : {
    6712                 :    21322421 :   tree _p1_pops[1];
    6713                 :    21322421 :   if (tree_nop_convert (_p1, _p1_pops))
    6714                 :             :     {
    6715                 :     6112472 :       tree _q30 = _p1_pops[0];
    6716                 :     6112472 :       switch (TREE_CODE (_q30))
    6717                 :             :         {
    6718                 :      640969 :         case PLUS_EXPR:
    6719                 :      640969 :           {
    6720                 :      640969 :             tree _q40 = TREE_OPERAND (_q30, 0);
    6721                 :      640969 :             tree _q41 = TREE_OPERAND (_q30, 1);
    6722                 :      640969 :             {
    6723                 :      640969 :               tree _q40_pops[1];
    6724                 :      640969 :               if (tree_nop_convert (_q40, _q40_pops))
    6725                 :             :                 {
    6726                 :       69019 :                   tree _q50 = _q40_pops[0];
    6727                 :       69019 :                   if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6728                 :             :                     {
    6729                 :         105 :                       {
    6730                 :         105 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
    6731                 :         105 :                         tree res = generic_simplify_50 (loc, type, _p0, _p1, captures);
    6732                 :         105 :                         if (res) return res;
    6733                 :             :                       }
    6734                 :             :                     }
    6735                 :             :                 }
    6736                 :             :             }
    6737                 :      640864 :             {
    6738                 :      640864 :               tree _q41_pops[1];
    6739                 :      640864 :               if (tree_nop_convert (_q41, _q41_pops))
    6740                 :             :                 {
    6741                 :       15015 :                   tree _q60 = _q41_pops[0];
    6742                 :       15015 :                   if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    6743                 :             :                     {
    6744                 :           0 :                       {
    6745                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
    6746                 :           0 :                         tree res = generic_simplify_50 (loc, type, _p0, _p1, captures);
    6747                 :           0 :                         if (res) return res;
    6748                 :             :                       }
    6749                 :             :                     }
    6750                 :             :                 }
    6751                 :             :             }
    6752                 :      640864 :             if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6753                 :             :               {
    6754                 :           6 :                 {
    6755                 :           6 :                   tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
    6756                 :           6 :                   tree res = generic_simplify_50 (loc, type, _p0, _p1, captures);
    6757                 :           6 :                   if (res) return res;
    6758                 :             :                 }
    6759                 :             :               }
    6760                 :      640858 :             if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    6761                 :             :               {
    6762                 :           4 :                 {
    6763                 :           4 :                   tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
    6764                 :           4 :                   tree res = generic_simplify_50 (loc, type, _p0, _p1, captures);
    6765                 :           4 :                   if (res) return res;
    6766                 :             :                 }
    6767                 :             :               }
    6768                 :             :             break;
    6769                 :             :           }
    6770                 :        7391 :         case MINUS_EXPR:
    6771                 :        7391 :           {
    6772                 :        7391 :             tree _q40 = TREE_OPERAND (_q30, 0);
    6773                 :        7391 :             tree _q41 = TREE_OPERAND (_q30, 1);
    6774                 :        7391 :             {
    6775                 :        7391 :               tree _q40_pops[1];
    6776                 :        7391 :               if (tree_nop_convert (_q40, _q40_pops))
    6777                 :             :                 {
    6778                 :        6698 :                   tree _q50 = _q40_pops[0];
    6779                 :        6698 :                   if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6780                 :             :                     {
    6781                 :           0 :                       {
    6782                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
    6783                 :           0 :                         tree res = generic_simplify_51 (loc, type, _p0, _p1, captures);
    6784                 :           0 :                         if (res) return res;
    6785                 :             :                       }
    6786                 :             :                     }
    6787                 :             :                 }
    6788                 :             :             }
    6789                 :        7391 :             if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6790                 :             :               {
    6791                 :           2 :                 {
    6792                 :           2 :                   tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
    6793                 :           2 :                   tree res = generic_simplify_51 (loc, type, _p0, _p1, captures);
    6794                 :           2 :                   if (res) return res;
    6795                 :             :                 }
    6796                 :             :               }
    6797                 :             :             break;
    6798                 :             :           }
    6799                 :             :         default:;
    6800                 :             :         }
    6801                 :             :     }
    6802                 :             : }
    6803                 :    21322304 :   switch (TREE_CODE (_p0))
    6804                 :             :     {
    6805                 :     1255344 :     case PLUS_EXPR:
    6806                 :     1255344 :       {
    6807                 :     1255344 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6808                 :     1255344 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6809                 :     1255344 :         switch (TREE_CODE (_p1))
    6810                 :             :           {
    6811                 :           0 :           case MINUS_EXPR:
    6812                 :           0 :             {
    6813                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6814                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6815                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6816                 :             :                 {
    6817                 :           0 :                   {
    6818                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    6819                 :           0 :                     tree res = generic_simplify_52 (loc, type, _p0, _p1, captures);
    6820                 :           0 :                     if (res) return res;
    6821                 :             :                   }
    6822                 :             :                 }
    6823                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6824                 :             :                 {
    6825                 :           0 :                   {
    6826                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    6827                 :           0 :                     tree res = generic_simplify_52 (loc, type, _p0, _p1, captures);
    6828                 :           0 :                     if (res) return res;
    6829                 :             :                   }
    6830                 :             :                 }
    6831                 :             :               break;
    6832                 :             :             }
    6833                 :     1255344 :           default:;
    6834                 :             :           }
    6835                 :     1255344 :         if (CONSTANT_CLASS_P (_q21))
    6836                 :             :           {
    6837                 :      552627 :             if (CONSTANT_CLASS_P (_p1))
    6838                 :             :               {
    6839                 :          13 :                 {
    6840                 :          13 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6841                 :          13 :                   tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR, MINUS_EXPR);
    6842                 :          13 :                   if (res) return res;
    6843                 :             :                 }
    6844                 :             :               }
    6845                 :             :           }
    6846                 :             :         break;
    6847                 :             :       }
    6848                 :      881795 :     case MINUS_EXPR:
    6849                 :      881795 :       {
    6850                 :      881795 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6851                 :      881795 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6852                 :      881795 :         if (CONSTANT_CLASS_P (_q21))
    6853                 :             :           {
    6854                 :       98986 :             if (CONSTANT_CLASS_P (_p1))
    6855                 :             :               {
    6856                 :          12 :                 {
    6857                 :          12 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6858                 :          12 :                   tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR, MINUS_EXPR);
    6859                 :          12 :                   if (res) return res;
    6860                 :             :                 }
    6861                 :             :               }
    6862                 :             :           }
    6863                 :      881795 :         if (CONSTANT_CLASS_P (_q20))
    6864                 :             :           {
    6865                 :        2855 :             if (CONSTANT_CLASS_P (_p1))
    6866                 :             :               {
    6867                 :           1 :                 {
    6868                 :           1 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6869                 :           1 :                   tree res = generic_simplify_17 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    6870                 :           1 :                   if (res) return res;
    6871                 :             :                 }
    6872                 :             :               }
    6873                 :             :           }
    6874                 :             :         break;
    6875                 :             :       }
    6876                 :     4431837 :     CASE_CONVERT:
    6877                 :     4431837 :       {
    6878                 :     4431837 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6879                 :     4431837 :         switch (TREE_CODE (_p1))
    6880                 :             :           {
    6881                 :     3695325 :           CASE_CONVERT:
    6882                 :     3695325 :             {
    6883                 :     3695325 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6884                 :     3695325 :               {
    6885                 :     3695325 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6886                 :     3695325 :                 tree res = generic_simplify_21 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    6887                 :     3695325 :                 if (res) return res;
    6888                 :             :               }
    6889                 :     3682393 :               break;
    6890                 :             :             }
    6891                 :     4418905 :           default:;
    6892                 :             :           }
    6893                 :     4418905 :         switch (TREE_CODE (_q20))
    6894                 :             :           {
    6895                 :         223 :           case NEGATE_EXPR:
    6896                 :         223 :             {
    6897                 :         223 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6898                 :         223 :               if (integer_each_onep (_p1))
    6899                 :             :                 {
    6900                 :           0 :                   {
    6901                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    6902                 :           0 :                     tree res = generic_simplify_54 (loc, type, _p0, _p1, captures);
    6903                 :           0 :                     if (res) return res;
    6904                 :             :                   }
    6905                 :             :                 }
    6906                 :             :               break;
    6907                 :             :             }
    6908                 :      373231 :           case PLUS_EXPR:
    6909                 :      373231 :             {
    6910                 :      373231 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6911                 :      373231 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6912                 :      373231 :               switch (TREE_CODE (_p1))
    6913                 :             :                 {
    6914                 :      357175 :                 CASE_CONVERT:
    6915                 :      357175 :                   {
    6916                 :      357175 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    6917                 :      357175 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
    6918                 :             :                       {
    6919                 :        5470 :                         {
    6920                 :        5470 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q30 };
    6921                 :        5470 :                           tree res = generic_simplify_55 (loc, type, _p0, _p1, captures);
    6922                 :        5470 :                           if (res) return res;
    6923                 :             :                         }
    6924                 :             :                       }
    6925                 :      351819 :                     if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
    6926                 :             :                       {
    6927                 :          27 :                         {
    6928                 :          27 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q31 };
    6929                 :          27 :                           tree res = generic_simplify_55 (loc, type, _p0, _p1, captures);
    6930                 :          27 :                           if (res) return res;
    6931                 :             :                         }
    6932                 :             :                       }
    6933                 :             :                     break;
    6934                 :             :                   }
    6935                 :      367848 :                 default:;
    6936                 :             :                 }
    6937                 :      367848 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q30, 0))
    6938                 :             :                 {
    6939                 :         441 :                   {
    6940                 :         441 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q30 };
    6941                 :         441 :                     tree res = generic_simplify_55 (loc, type, _p0, _p1, captures);
    6942                 :         441 :                     if (res) return res;
    6943                 :             :                   }
    6944                 :             :                 }
    6945                 :      367407 :               if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
    6946                 :             :                 {
    6947                 :         960 :                   {
    6948                 :         960 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q31 };
    6949                 :         960 :                     tree res = generic_simplify_55 (loc, type, _p0, _p1, captures);
    6950                 :         960 :                     if (res) return res;
    6951                 :             :                   }
    6952                 :             :                 }
    6953                 :             :               break;
    6954                 :             :             }
    6955                 :       82804 :           case POINTER_PLUS_EXPR:
    6956                 :       82804 :             {
    6957                 :       82804 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6958                 :       82804 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6959                 :       82804 :               switch (TREE_CODE (_p1))
    6960                 :             :                 {
    6961                 :       81673 :                 CASE_CONVERT:
    6962                 :       81673 :                   {
    6963                 :       81673 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    6964                 :       81673 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
    6965                 :             :                       {
    6966                 :        8254 :                         {
    6967                 :        8254 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q30 };
    6968                 :        8254 :                           if (!TYPE_SATURATING (type)
    6969                 :             : )
    6970                 :             :                             {
    6971                 :        8254 :                               if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    6972                 :       16508 :  && !FIXED_POINT_TYPE_P (type)
    6973                 :             : )
    6974                 :             :                                 {
    6975                 :        8254 :                                   if (element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    6976                 :        8254 :  || (POINTER_TYPE_P (TREE_TYPE (captures[0]))
    6977                 :           0 :  && TREE_CODE (captures[1]) == INTEGER_CST
    6978                 :           0 :  && tree_int_cst_sign_bit (captures[1]) == 0)
    6979                 :             : )
    6980                 :             :                                     {
    6981                 :        8254 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1310;
    6982                 :        8254 :                                       {
    6983                 :        8254 :                                         tree res_op0;
    6984                 :        8254 :                                         res_op0 = captures[1];
    6985                 :        8254 :                                         tree _r;
    6986                 :        8254 :                                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    6987                 :        8254 :                                         if (TREE_SIDE_EFFECTS (captures[2]))
    6988                 :          11 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    6989                 :        8254 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 930, __FILE__, __LINE__, true);
    6990                 :        8254 :                                         return _r;
    6991                 :             :                                       }
    6992                 :           0 : next_after_fail1310:;
    6993                 :             :                                     }
    6994                 :             :                                 }
    6995                 :             :                             }
    6996                 :             :                         }
    6997                 :             :                       }
    6998                 :             :                     break;
    6999                 :             :                   }
    7000                 :             :                 default:;
    7001                 :             :                 }
    7002                 :             :               break;
    7003                 :             :             }
    7004                 :     4403867 :           default:;
    7005                 :             :           }
    7006                 :     4403867 :         switch (TREE_CODE (_p1))
    7007                 :             :           {
    7008                 :     3667483 :           CASE_CONVERT:
    7009                 :     3667483 :             {
    7010                 :     3667483 :               tree _q40 = TREE_OPERAND (_p1, 0);
    7011                 :     3667483 :               switch (TREE_CODE (_q40))
    7012                 :             :                 {
    7013                 :      465387 :                 case PLUS_EXPR:
    7014                 :      465387 :                   {
    7015                 :      465387 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    7016                 :      465387 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    7017                 :      465387 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    7018                 :             :                       {
    7019                 :        1944 :                         {
    7020                 :        1944 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
    7021                 :        1944 :                           tree res = generic_simplify_56 (loc, type, _p0, _p1, captures);
    7022                 :        1944 :                           if (res) return res;
    7023                 :             :                         }
    7024                 :             :                       }
    7025                 :      463515 :                     if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
    7026                 :             :                       {
    7027                 :          18 :                         {
    7028                 :          18 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q20 };
    7029                 :          18 :                           tree res = generic_simplify_56 (loc, type, _p0, _p1, captures);
    7030                 :          18 :                           if (res) return res;
    7031                 :             :                         }
    7032                 :             :                       }
    7033                 :             :                     break;
    7034                 :             :                   }
    7035                 :             :                 default:;
    7036                 :             :                 }
    7037                 :             :               break;
    7038                 :             :             }
    7039                 :             :           default:;
    7040                 :             :           }
    7041                 :             :         break;
    7042                 :             :       }
    7043                 :      147129 :     case NEGATE_EXPR:
    7044                 :      147129 :       {
    7045                 :      147129 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7046                 :      147129 :         if (integer_each_onep (_p1))
    7047                 :             :           {
    7048                 :          41 :             {
    7049                 :          41 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7050                 :          41 :               tree res = generic_simplify_54 (loc, type, _p0, _p1, captures);
    7051                 :          41 :               if (res) return res;
    7052                 :             :             }
    7053                 :             :           }
    7054                 :             :         break;
    7055                 :             :       }
    7056                 :    21292403 :     default:;
    7057                 :             :     }
    7058                 :    21292403 : {
    7059                 :    21292403 :   tree _p0_pops[1];
    7060                 :    21292403 :   if (tree_nop_convert (_p0, _p0_pops))
    7061                 :             :     {
    7062                 :     4014816 :       tree _q20 = _p0_pops[0];
    7063                 :     4014816 :       switch (TREE_CODE (_q20))
    7064                 :             :         {
    7065                 :      309599 :         case PLUS_EXPR:
    7066                 :      309599 :           {
    7067                 :      309599 :             tree _q30 = TREE_OPERAND (_q20, 0);
    7068                 :      309599 :             tree _q31 = TREE_OPERAND (_q20, 1);
    7069                 :      309599 :             if (CONSTANT_CLASS_P (_q31))
    7070                 :             :               {
    7071                 :      303054 :                 if (CONSTANT_CLASS_P (_p1))
    7072                 :             :                   {
    7073                 :           0 :                     {
    7074                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    7075                 :           0 :                       tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR, MINUS_EXPR);
    7076                 :           0 :                       if (res) return res;
    7077                 :             :                     }
    7078                 :             :                   }
    7079                 :             :               }
    7080                 :             :             break;
    7081                 :             :           }
    7082                 :         871 :         case MINUS_EXPR:
    7083                 :         871 :           {
    7084                 :         871 :             tree _q30 = TREE_OPERAND (_q20, 0);
    7085                 :         871 :             tree _q31 = TREE_OPERAND (_q20, 1);
    7086                 :         871 :             if (CONSTANT_CLASS_P (_q31))
    7087                 :             :               {
    7088                 :           0 :                 if (CONSTANT_CLASS_P (_p1))
    7089                 :             :                   {
    7090                 :           0 :                     {
    7091                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    7092                 :           0 :                       tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR, MINUS_EXPR);
    7093                 :           0 :                       if (res) return res;
    7094                 :             :                     }
    7095                 :             :                   }
    7096                 :             :               }
    7097                 :         871 :             if (CONSTANT_CLASS_P (_q30))
    7098                 :             :               {
    7099                 :          20 :                 if (CONSTANT_CLASS_P (_p1))
    7100                 :             :                   {
    7101                 :           0 :                     {
    7102                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    7103                 :           0 :                       tree res = generic_simplify_17 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    7104                 :           0 :                       if (res) return res;
    7105                 :             :                     }
    7106                 :             :                   }
    7107                 :             :               }
    7108                 :             :             break;
    7109                 :             :           }
    7110                 :             :         default:;
    7111                 :             :         }
    7112                 :             :     }
    7113                 :             : }
    7114                 :    21292403 : if (CONSTANT_CLASS_P (_p0))
    7115                 :             :   {
    7116                 :     5417413 :     switch (TREE_CODE (_p1))
    7117                 :             :       {
    7118                 :         823 :       case MINUS_EXPR:
    7119                 :         823 :         {
    7120                 :         823 :           tree _q30 = TREE_OPERAND (_p1, 0);
    7121                 :         823 :           tree _q31 = TREE_OPERAND (_p1, 1);
    7122                 :         823 :           if (CONSTANT_CLASS_P (_q30))
    7123                 :             :             {
    7124                 :         639 :               {
    7125                 :         639 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    7126                 :         639 :                 tree res = generic_simplify_53 (loc, type, _p0, _p1, captures);
    7127                 :         639 :                 if (res) return res;
    7128                 :             :               }
    7129                 :             :             }
    7130                 :             :           break;
    7131                 :             :         }
    7132                 :     5416783 :       default:;
    7133                 :             :       }
    7134                 :     5416783 :   {
    7135                 :     5416783 :     tree _p1_pops[1];
    7136                 :     5416783 :     if (tree_nop_convert (_p1, _p1_pops))
    7137                 :             :       {
    7138                 :     1709919 :         tree _q30 = _p1_pops[0];
    7139                 :     1709919 :         switch (TREE_CODE (_q30))
    7140                 :             :           {
    7141                 :        7186 :           case MINUS_EXPR:
    7142                 :        7186 :             {
    7143                 :        7186 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7144                 :        7186 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7145                 :        7186 :               if (CONSTANT_CLASS_P (_q40))
    7146                 :             :                 {
    7147                 :          25 :                   {
    7148                 :          25 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q41 };
    7149                 :          25 :                     tree res = generic_simplify_53 (loc, type, _p0, _p1, captures);
    7150                 :          25 :                     if (res) return res;
    7151                 :             :                   }
    7152                 :             :                 }
    7153                 :             :               break;
    7154                 :             :             }
    7155                 :             :           default:;
    7156                 :             :           }
    7157                 :             :       }
    7158                 :             :   }
    7159                 :             :   }
    7160                 :    21291748 : if (integer_all_onesp (_p0))
    7161                 :             :   {
    7162                 :     1248724 :     {
    7163                 :     1248724 :       tree captures[1] ATTRIBUTE_UNUSED = { _p1 };
    7164                 :     1248724 :       if (!TYPE_SATURATING (type)
    7165                 :             : )
    7166                 :             :         {
    7167                 :     1248724 :           if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    7168                 :     2497448 :  && !FIXED_POINT_TYPE_P (type)
    7169                 :             : )
    7170                 :             :             {
    7171                 :     1248724 :               if (TREE_CODE (type) != COMPLEX_TYPE
    7172                 :             : )
    7173                 :             :                 {
    7174                 :     1248722 :                   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1311;
    7175                 :     1248722 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1311;
    7176                 :     1248722 :                   {
    7177                 :     1248722 :                     tree res_op0;
    7178                 :     1248722 :                     res_op0 = captures[0];
    7179                 :     1248722 :                     tree _r;
    7180                 :     1248722 :                     _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    7181                 :     1248722 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 931, __FILE__, __LINE__, true);
    7182                 :     1248722 :                     return _r;
    7183                 :             :                   }
    7184                 :             : next_after_fail1311:;
    7185                 :             :                 }
    7186                 :             :             }
    7187                 :             :         }
    7188                 :             :     }
    7189                 :             :   }
    7190                 :    20043026 :   switch (TREE_CODE (_p1))
    7191                 :             :     {
    7192                 :     6409672 :     CASE_CONVERT:
    7193                 :     6409672 :       {
    7194                 :     6409672 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7195                 :     6409672 :         switch (TREE_CODE (_q30))
    7196                 :             :           {
    7197                 :      650534 :           case PLUS_EXPR:
    7198                 :      650534 :             {
    7199                 :      650534 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7200                 :      650534 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7201                 :      650534 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
    7202                 :             :                 {
    7203                 :           0 :                   {
    7204                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _p0 };
    7205                 :           0 :                     tree res = generic_simplify_56 (loc, type, _p0, _p1, captures);
    7206                 :           0 :                     if (res) return res;
    7207                 :             :                   }
    7208                 :             :                 }
    7209                 :      650534 :               if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
    7210                 :             :                 {
    7211                 :        7860 :                   {
    7212                 :        7860 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _p0 };
    7213                 :        7860 :                     tree res = generic_simplify_56 (loc, type, _p0, _p1, captures);
    7214                 :        7860 :                     if (res) return res;
    7215                 :             :                   }
    7216                 :             :                 }
    7217                 :             :               break;
    7218                 :             :             }
    7219                 :             :           default:;
    7220                 :             :           }
    7221                 :             :         break;
    7222                 :             :       }
    7223                 :    20035337 :     default:;
    7224                 :             :     }
    7225                 :    20035337 :   switch (TREE_CODE (_p0))
    7226                 :             :     {
    7227                 :     4401977 :     CASE_CONVERT:
    7228                 :     4401977 :       {
    7229                 :     4401977 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7230                 :     4401977 :         switch (TREE_CODE (_p1))
    7231                 :             :           {
    7232                 :     3665593 :           CASE_CONVERT:
    7233                 :     3665593 :             {
    7234                 :     3665593 :               tree _q40 = TREE_OPERAND (_p1, 0);
    7235                 :     3665593 :               switch (TREE_CODE (_q40))
    7236                 :             :                 {
    7237                 :      341172 :                 case POINTER_PLUS_EXPR:
    7238                 :      341172 :                   {
    7239                 :      341172 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    7240                 :      341172 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    7241                 :      341172 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    7242                 :             :                       {
    7243                 :         233 :                         {
    7244                 :         233 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
    7245                 :         233 :                           if (!TYPE_SATURATING (type)
    7246                 :             : )
    7247                 :             :                             {
    7248                 :         233 :                               if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    7249                 :         466 :  && !FIXED_POINT_TYPE_P (type)
    7250                 :             : )
    7251                 :             :                                 {
    7252                 :         233 :                                   if (INTEGRAL_TYPE_P (type)
    7253                 :         233 :  && TYPE_OVERFLOW_UNDEFINED (type)
    7254                 :           0 :  && TREE_CODE (captures[1]) != INTEGER_CST
    7255                 :         233 :  && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    7256                 :             : )
    7257                 :             :                                     {
    7258                 :           0 :                                       {
    7259                 :           0 :  tree utype = unsigned_type_for (type);
    7260                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1312;
    7261                 :           0 :                                           {
    7262                 :           0 :                                             tree res_op0;
    7263                 :           0 :                                             {
    7264                 :           0 :                                               tree _o1[1], _r1;
    7265                 :           0 :                                               {
    7266                 :           0 :                                                 tree _o2[1], _r2;
    7267                 :           0 :                                                 _o2[0] = captures[1];
    7268                 :           0 :                                                 if (TREE_TYPE (_o2[0]) != utype)
    7269                 :             :                                                   {
    7270                 :           0 :                                                     _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    7271                 :             :                                                   }
    7272                 :             :                                                 else
    7273                 :             :                                                   _r2 = _o2[0];
    7274                 :           0 :                                                 _o1[0] = _r2;
    7275                 :             :                                               }
    7276                 :           0 :                                               _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    7277                 :           0 :                                               res_op0 = _r1;
    7278                 :             :                                             }
    7279                 :           0 :                                             tree _r;
    7280                 :           0 :                                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    7281                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[2]))
    7282                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    7283                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 932, __FILE__, __LINE__, true);
    7284                 :           0 :                                             return _r;
    7285                 :             :                                           }
    7286                 :           0 : next_after_fail1312:;
    7287                 :             :                                       }
    7288                 :             :                                     }
    7289                 :             :                                   else
    7290                 :             :                                     {
    7291                 :         233 :                                       if (element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    7292                 :         233 :  || (POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7293                 :           0 :  && TREE_CODE (captures[1]) == INTEGER_CST
    7294                 :           0 :  && tree_int_cst_sign_bit (captures[1]) == 0)
    7295                 :             : )
    7296                 :             :                                         {
    7297                 :         233 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1313;
    7298                 :         233 :                                           {
    7299                 :         233 :                                             tree res_op0;
    7300                 :         233 :                                             {
    7301                 :         233 :                                               tree _o1[1], _r1;
    7302                 :         233 :                                               _o1[0] = captures[1];
    7303                 :         233 :                                               if (TREE_TYPE (_o1[0]) != type)
    7304                 :             :                                                 {
    7305                 :         160 :                                                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    7306                 :             :                                                 }
    7307                 :             :                                               else
    7308                 :             :                                                 _r1 = _o1[0];
    7309                 :         233 :                                               res_op0 = _r1;
    7310                 :             :                                             }
    7311                 :         233 :                                             tree _r;
    7312                 :         233 :                                             _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    7313                 :         233 :                                             if (TREE_SIDE_EFFECTS (captures[2]))
    7314                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    7315                 :         233 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 933, __FILE__, __LINE__, true);
    7316                 :         233 :                                             return _r;
    7317                 :             :                                           }
    7318                 :           0 : next_after_fail1313:;
    7319                 :             :                                         }
    7320                 :             :                                     }
    7321                 :             :                                 }
    7322                 :             :                             }
    7323                 :             :                         }
    7324                 :             :                       }
    7325                 :             :                     break;
    7326                 :             :                   }
    7327                 :             :                 default:;
    7328                 :             :                 }
    7329                 :             :               break;
    7330                 :             :             }
    7331                 :     4401744 :           default:;
    7332                 :             :           }
    7333                 :     4401744 :         switch (TREE_CODE (_q20))
    7334                 :             :           {
    7335                 :      366447 :           case PLUS_EXPR:
    7336                 :      366447 :             {
    7337                 :      366447 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7338                 :      366447 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7339                 :      366447 :               switch (TREE_CODE (_p1))
    7340                 :             :                 {
    7341                 :      350519 :                 CASE_CONVERT:
    7342                 :      350519 :                   {
    7343                 :      350519 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    7344                 :      350519 :                     switch (TREE_CODE (_q60))
    7345                 :             :                       {
    7346                 :      190191 :                       case PLUS_EXPR:
    7347                 :      190191 :                         {
    7348                 :      190191 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    7349                 :      190191 :                           tree _q71 = TREE_OPERAND (_q60, 1);
    7350                 :      190191 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q30, 0))
    7351                 :             :                             {
    7352                 :        5479 :                               {
    7353                 :        5479 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q71, _q30 };
    7354                 :        5479 :                                 tree res = generic_simplify_57 (loc, type, _p0, _p1, captures);
    7355                 :        5479 :                                 if (res) return res;
    7356                 :             :                               }
    7357                 :             :                             }
    7358                 :      184712 :                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q30, 0))
    7359                 :             :                             {
    7360                 :          70 :                               {
    7361                 :          70 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q70, _q30 };
    7362                 :          70 :                                 tree res = generic_simplify_57 (loc, type, _p0, _p1, captures);
    7363                 :          70 :                                 if (res) return res;
    7364                 :             :                               }
    7365                 :             :                             }
    7366                 :      184642 :                           if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q31, 0))
    7367                 :             :                             {
    7368                 :          90 :                               {
    7369                 :          90 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q71, _q31 };
    7370                 :          90 :                                 tree res = generic_simplify_57 (loc, type, _p0, _p1, captures);
    7371                 :          90 :                                 if (res) return res;
    7372                 :             :                               }
    7373                 :             :                             }
    7374                 :      184552 :                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q31, 0))
    7375                 :             :                             {
    7376                 :      136060 :                               {
    7377                 :      136060 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q70, _q31 };
    7378                 :      136060 :                                 tree res = generic_simplify_57 (loc, type, _p0, _p1, captures);
    7379                 :      136060 :                                 if (res) return res;
    7380                 :             :                               }
    7381                 :             :                             }
    7382                 :             :                           break;
    7383                 :             :                         }
    7384                 :             :                       default:;
    7385                 :             :                       }
    7386                 :             :                     break;
    7387                 :             :                   }
    7388                 :             :                 default:;
    7389                 :             :                 }
    7390                 :             :               break;
    7391                 :             :             }
    7392                 :       74550 :           case POINTER_PLUS_EXPR:
    7393                 :       74550 :             {
    7394                 :       74550 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7395                 :       74550 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7396                 :       74550 :               switch (TREE_CODE (_p1))
    7397                 :             :                 {
    7398                 :       73419 :                 CASE_CONVERT:
    7399                 :       73419 :                   {
    7400                 :       73419 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    7401                 :       73419 :                     switch (TREE_CODE (_q60))
    7402                 :             :                       {
    7403                 :       37341 :                       case POINTER_PLUS_EXPR:
    7404                 :       37341 :                         {
    7405                 :       37341 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    7406                 :       37341 :                           tree _q71 = TREE_OPERAND (_q60, 1);
    7407                 :       37341 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q30, 0))
    7408                 :             :                             {
    7409                 :        5818 :                               {
    7410                 :        5818 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q71, _q30 };
    7411                 :        5818 :                                 if (!TYPE_SATURATING (type)
    7412                 :             : )
    7413                 :             :                                   {
    7414                 :        5818 :                                     if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    7415                 :       11636 :  && !FIXED_POINT_TYPE_P (type)
    7416                 :             : )
    7417                 :             :                                       {
    7418                 :        5818 :                                         if (INTEGRAL_TYPE_P (type)
    7419                 :        5818 :  && TYPE_OVERFLOW_UNDEFINED (type)
    7420                 :        5818 :  && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    7421                 :             : )
    7422                 :             :                                           {
    7423                 :           0 :                                             {
    7424                 :           0 :  tree utype = unsigned_type_for (type);
    7425                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1314;
    7426                 :           0 :                                                 {
    7427                 :           0 :                                                   tree res_op0;
    7428                 :           0 :                                                   {
    7429                 :           0 :                                                     tree _o1[2], _r1;
    7430                 :           0 :                                                     {
    7431                 :           0 :                                                       tree _o2[1], _r2;
    7432                 :           0 :                                                       _o2[0] = captures[1];
    7433                 :           0 :                                                       if (TREE_TYPE (_o2[0]) != utype)
    7434                 :             :                                                         {
    7435                 :           0 :                                                           _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    7436                 :             :                                                         }
    7437                 :             :                                                       else
    7438                 :             :                                                         _r2 = _o2[0];
    7439                 :           0 :                                                       _o1[0] = _r2;
    7440                 :             :                                                     }
    7441                 :           0 :                                                     {
    7442                 :           0 :                                                       tree _o2[1], _r2;
    7443                 :           0 :                                                       _o2[0] = captures[2];
    7444                 :           0 :                                                       if (TREE_TYPE (_o2[0]) != utype)
    7445                 :             :                                                         {
    7446                 :           0 :                                                           _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    7447                 :             :                                                         }
    7448                 :             :                                                       else
    7449                 :             :                                                         _r2 = _o2[0];
    7450                 :           0 :                                                       _o1[1] = _r2;
    7451                 :             :                                                     }
    7452                 :           0 :                                                     _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7453                 :           0 :                                                     res_op0 = _r1;
    7454                 :             :                                                   }
    7455                 :           0 :                                                   tree _r;
    7456                 :           0 :                                                   _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    7457                 :           0 :                                                   if (TREE_SIDE_EFFECTS (captures[3]))
    7458                 :           0 :                                                     _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    7459                 :           0 :                                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 934, __FILE__, __LINE__, true);
    7460                 :           0 :                                                   return _r;
    7461                 :             :                                                 }
    7462                 :           0 : next_after_fail1314:;
    7463                 :             :                                             }
    7464                 :             :                                           }
    7465                 :             :                                         else
    7466                 :             :                                           {
    7467                 :        5818 :                                             if (element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    7468                 :        5818 :  || (POINTER_TYPE_P (TREE_TYPE (captures[0]))
    7469                 :           0 :  && TREE_CODE (captures[1]) == INTEGER_CST
    7470                 :           0 :  && tree_int_cst_sign_bit (captures[1]) == 0
    7471                 :           0 :  && TREE_CODE (captures[2]) == INTEGER_CST
    7472                 :           0 :  && tree_int_cst_sign_bit (captures[2]) == 0)
    7473                 :             : )
    7474                 :             :                                               {
    7475                 :        5818 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1315;
    7476                 :        5818 :                                                 {
    7477                 :        5818 :                                                   tree res_op0;
    7478                 :        5818 :                                                   {
    7479                 :        5818 :                                                     tree _o1[1], _r1;
    7480                 :        5818 :                                                     _o1[0] = captures[1];
    7481                 :        5818 :                                                     if (TREE_TYPE (_o1[0]) != type)
    7482                 :             :                                                       {
    7483                 :        5750 :                                                         _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    7484                 :             :                                                       }
    7485                 :             :                                                     else
    7486                 :             :                                                       _r1 = _o1[0];
    7487                 :        5818 :                                                     res_op0 = _r1;
    7488                 :             :                                                   }
    7489                 :        5818 :                                                   tree res_op1;
    7490                 :        5818 :                                                   {
    7491                 :        5818 :                                                     tree _o1[1], _r1;
    7492                 :        5818 :                                                     _o1[0] = captures[2];
    7493                 :        5818 :                                                     if (TREE_TYPE (_o1[0]) != type)
    7494                 :             :                                                       {
    7495                 :        5765 :                                                         _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    7496                 :             :                                                       }
    7497                 :             :                                                     else
    7498                 :             :                                                       _r1 = _o1[0];
    7499                 :        5818 :                                                     res_op1 = _r1;
    7500                 :             :                                                   }
    7501                 :        5818 :                                                   tree _r;
    7502                 :        5818 :                                                   _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    7503                 :        5818 :                                                   if (TREE_SIDE_EFFECTS (captures[3]))
    7504                 :           0 :                                                     _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    7505                 :        5818 :                                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 935, __FILE__, __LINE__, true);
    7506                 :        5818 :                                                   return _r;
    7507                 :             :                                                 }
    7508                 :           0 : next_after_fail1315:;
    7509                 :             :                                               }
    7510                 :             :                                           }
    7511                 :             :                                       }
    7512                 :             :                                   }
    7513                 :             :                               }
    7514                 :             :                             }
    7515                 :             :                           break;
    7516                 :             :                         }
    7517                 :             :                       default:;
    7518                 :             :                       }
    7519                 :             :                     break;
    7520                 :             :                   }
    7521                 :             :                 default:;
    7522                 :             :                 }
    7523                 :             :               break;
    7524                 :             :             }
    7525                 :             :           default:;
    7526                 :             :           }
    7527                 :             :         break;
    7528                 :             :       }
    7529                 :     1473479 :     case MULT_EXPR:
    7530                 :     1473479 :       {
    7531                 :     1473479 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7532                 :     1473479 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7533                 :     1473479 :         switch (TREE_CODE (_p1))
    7534                 :             :           {
    7535                 :      696648 :           case MULT_EXPR:
    7536                 :      696648 :             {
    7537                 :      696648 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7538                 :      696648 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7539                 :      696648 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7540                 :             :                 {
    7541                 :        3719 :                   {
    7542                 :        3719 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
    7543                 :        3719 :                     tree res = generic_simplify_24 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    7544                 :        3719 :                     if (res) return res;
    7545                 :             :                   }
    7546                 :             :                 }
    7547                 :      695625 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7548                 :             :                 {
    7549                 :       11933 :                   {
    7550                 :       11933 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    7551                 :       11933 :                     tree res = generic_simplify_24 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    7552                 :       11933 :                     if (res) return res;
    7553                 :             :                   }
    7554                 :             :                 }
    7555                 :      683692 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7556                 :             :                 {
    7557                 :       28871 :                   {
    7558                 :       28871 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
    7559                 :       28871 :                     tree res = generic_simplify_24 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    7560                 :       28871 :                     if (res) return res;
    7561                 :             :                   }
    7562                 :             :                 }
    7563                 :      654910 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7564                 :             :                 {
    7565                 :      206613 :                   {
    7566                 :      206613 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
    7567                 :      206613 :                     tree res = generic_simplify_24 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    7568                 :      206613 :                     if (res) return res;
    7569                 :             :                   }
    7570                 :             :                 }
    7571                 :             :               break;
    7572                 :             :             }
    7573                 :             :           default:;
    7574                 :             :           }
    7575                 :             :         break;
    7576                 :             :       }
    7577                 :    19661167 :     default:;
    7578                 :             :     }
    7579                 :    19661167 :   switch (TREE_CODE (_p1))
    7580                 :             :     {
    7581                 :     1784906 :     case MULT_EXPR:
    7582                 :     1784906 :       {
    7583                 :     1784906 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7584                 :     1784906 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7585                 :     1784906 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7586                 :             :           {
    7587                 :        3682 :             {
    7588                 :        3682 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    7589                 :        3682 :               tree res = generic_simplify_25 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    7590                 :        3682 :               if (res) return res;
    7591                 :             :             }
    7592                 :             :           }
    7593                 :     1781298 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    7594                 :             :           {
    7595                 :         914 :             {
    7596                 :         914 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q30 };
    7597                 :         914 :               tree res = generic_simplify_25 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    7598                 :         914 :               if (res) return res;
    7599                 :             :             }
    7600                 :             :           }
    7601                 :             :         break;
    7602                 :             :       }
    7603                 :    19656744 :     default:;
    7604                 :             :     }
    7605                 :    19656744 :   switch (TREE_CODE (_p0))
    7606                 :             :     {
    7607                 :     1230467 :     case MULT_EXPR:
    7608                 :     1230467 :       {
    7609                 :     1230467 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7610                 :     1230467 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7611                 :     1230467 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7612                 :             :           {
    7613                 :       34241 :             {
    7614                 :       34241 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7615                 :       34241 :               tree res = generic_simplify_26 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    7616                 :       34241 :               if (res) return res;
    7617                 :             :             }
    7618                 :             :           }
    7619                 :     1196351 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    7620                 :             :           {
    7621                 :         644 :             {
    7622                 :         644 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    7623                 :         644 :               tree res = generic_simplify_26 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    7624                 :         644 :               if (res) return res;
    7625                 :             :             }
    7626                 :             :           }
    7627                 :             :         break;
    7628                 :             :       }
    7629                 :    19622529 :     default:;
    7630                 :             :     }
    7631                 :    19622529 :   switch (TREE_CODE (_p1))
    7632                 :             :     {
    7633                 :     1780483 :     case MULT_EXPR:
    7634                 :     1780483 :       {
    7635                 :     1780483 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7636                 :     1780483 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7637                 :     1780483 :         switch (TREE_CODE (_q30))
    7638                 :             :           {
    7639                 :       80023 :           case MINUS_EXPR:
    7640                 :       80023 :             {
    7641                 :       80023 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7642                 :       80023 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7643                 :       80023 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    7644                 :             :                 {
    7645                 :          19 :                   if (tree_zero_one_valued_p (_q31))
    7646                 :             :                     {
    7647                 :           0 :                       {
    7648                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q41, _q31 };
    7649                 :           0 :                         tree res = generic_simplify_58 (loc, type, _p0, _p1, captures);
    7650                 :           0 :                         if (res) return res;
    7651                 :             :                       }
    7652                 :             :                     }
    7653                 :             :                 }
    7654                 :             :               break;
    7655                 :             :             }
    7656                 :     1780483 :           default:;
    7657                 :             :           }
    7658                 :     1780483 :       if (tree_zero_one_valued_p (_q30))
    7659                 :             :         {
    7660                 :        1174 :           switch (TREE_CODE (_q31))
    7661                 :             :             {
    7662                 :           9 :             case MINUS_EXPR:
    7663                 :           9 :               {
    7664                 :           9 :                 tree _q50 = TREE_OPERAND (_q31, 0);
    7665                 :           9 :                 tree _q51 = TREE_OPERAND (_q31, 1);
    7666                 :           9 :                 if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    7667                 :             :                   {
    7668                 :           9 :                     {
    7669                 :           9 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q51, _q30 };
    7670                 :           9 :                       tree res = generic_simplify_58 (loc, type, _p0, _p1, captures);
    7671                 :           9 :                       if (res) return res;
    7672                 :             :                     }
    7673                 :             :                   }
    7674                 :             :                 break;
    7675                 :             :               }
    7676                 :             :             default:;
    7677                 :             :             }
    7678                 :             :         }
    7679                 :             :         break;
    7680                 :             :       }
    7681                 :    19622527 :     default:;
    7682                 :             :     }
    7683                 :    19622527 :   switch (TREE_CODE (_p0))
    7684                 :             :     {
    7685                 :           0 :     case VEC_COND_EXPR:
    7686                 :           0 :       {
    7687                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7688                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7689                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    7690                 :           0 :         switch (TREE_CODE (_p1))
    7691                 :             :           {
    7692                 :           0 :           case VEC_COND_EXPR:
    7693                 :           0 :             {
    7694                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    7695                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    7696                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    7697                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7698                 :             :                 {
    7699                 :           0 :                   {
    7700                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    7701                 :           0 :                     if (VECTOR_TYPE_P (type)
    7702                 :           0 :  && (TREE_CODE_CLASS (MINUS_EXPR) != tcc_comparison
    7703                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    7704                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    7705                 :             :  || (optimize_vectors_before_lowering_p ()
    7706                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    7707                 :             : )
    7708                 :             :                       {
    7709                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1316;
    7710                 :           0 :                         {
    7711                 :           0 :                           tree res_op0;
    7712                 :           0 :                           res_op0 = captures[1];
    7713                 :           0 :                           tree res_op1;
    7714                 :           0 :                           {
    7715                 :           0 :                             tree _o1[2], _r1;
    7716                 :           0 :                             _o1[0] = captures[2];
    7717                 :           0 :                             _o1[1] = captures[5];
    7718                 :           0 :                             _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7719                 :           0 :                             if (EXPR_P (_r1))
    7720                 :           0 :                               goto next_after_fail1316;
    7721                 :           0 :                             res_op1 = _r1;
    7722                 :             :                           }
    7723                 :           0 :                           tree res_op2;
    7724                 :           0 :                           {
    7725                 :           0 :                             tree _o1[2], _r1;
    7726                 :           0 :                             _o1[0] = captures[3];
    7727                 :           0 :                             _o1[1] = captures[6];
    7728                 :           0 :                             _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7729                 :           0 :                             if (EXPR_P (_r1))
    7730                 :           0 :                               goto next_after_fail1316;
    7731                 :           0 :                             res_op2 = _r1;
    7732                 :             :                           }
    7733                 :           0 :                           tree _r;
    7734                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7735                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
    7736                 :           0 :                           return _r;
    7737                 :             :                         }
    7738                 :           0 : next_after_fail1316:;
    7739                 :             :                       }
    7740                 :             :                   }
    7741                 :             :                 }
    7742                 :             :               break;
    7743                 :             :             }
    7744                 :           0 :           default:;
    7745                 :             :           }
    7746                 :           0 :         {
    7747                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    7748                 :           0 :           if (VECTOR_TYPE_P (type)
    7749                 :           0 :  && (TREE_CODE_CLASS (MINUS_EXPR) != tcc_comparison
    7750                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    7751                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    7752                 :             :  || (optimize_vectors_before_lowering_p ()
    7753                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    7754                 :             : )
    7755                 :             :             {
    7756                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1317;
    7757                 :           0 :               {
    7758                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1317;
    7759                 :           0 :                 tree res_op0;
    7760                 :           0 :                 res_op0 = captures[1];
    7761                 :           0 :                 tree res_op1;
    7762                 :           0 :                 {
    7763                 :           0 :                   tree _o1[2], _r1;
    7764                 :           0 :                   _o1[0] = captures[2];
    7765                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
    7766                 :           0 :                   _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7767                 :           0 :                   if (EXPR_P (_r1))
    7768                 :           0 :                     goto next_after_fail1317;
    7769                 :           0 :                   res_op1 = _r1;
    7770                 :             :                 }
    7771                 :           0 :                 tree res_op2;
    7772                 :           0 :                 {
    7773                 :           0 :                   tree _o1[2], _r1;
    7774                 :           0 :                   _o1[0] = captures[3];
    7775                 :           0 :                   _o1[1] = captures[4];
    7776                 :           0 :                   _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7777                 :           0 :                   if (EXPR_P (_r1))
    7778                 :           0 :                     goto next_after_fail1317;
    7779                 :           0 :                   res_op2 = _r1;
    7780                 :             :                 }
    7781                 :           0 :                 tree _r;
    7782                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7783                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
    7784                 :           0 :                 return _r;
    7785                 :             :               }
    7786                 :           0 : next_after_fail1317:;
    7787                 :             :             }
    7788                 :             :         }
    7789                 :           0 :         break;
    7790                 :             :       }
    7791                 :    19622527 :     default:;
    7792                 :             :     }
    7793                 :    19622527 : if (integer_zerop (_p0))
    7794                 :             :   {
    7795                 :      287531 :     {
    7796                 :      287531 :       tree captures[1] ATTRIBUTE_UNUSED = { _p1 };
    7797                 :      287531 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1318;
    7798                 :      287531 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1318;
    7799                 :      287531 :       {
    7800                 :      287531 :         tree res_op0;
    7801                 :      287531 :         res_op0 = captures[0];
    7802                 :      287531 :         tree _r;
    7803                 :      287531 :         _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    7804                 :      287531 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 936, __FILE__, __LINE__, true);
    7805                 :      287531 :         return _r;
    7806                 :             :       }
    7807                 :             : next_after_fail1318:;
    7808                 :             :     }
    7809                 :             :   }
    7810                 :    19334996 : if (real_zerop (_p0))
    7811                 :             :   {
    7812                 :         130 :     {
    7813                 :         130 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    7814                 :         130 :       if (fold_real_zero_addition_p (type, captures[1], captures[0], 0)
    7815                 :             : )
    7816                 :             :         {
    7817                 :          56 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1319;
    7818                 :          56 :           {
    7819                 :          56 :             tree res_op0;
    7820                 :          56 :             res_op0 = captures[1];
    7821                 :          56 :             tree _r;
    7822                 :          56 :             _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    7823                 :          56 :             if (TREE_SIDE_EFFECTS (captures[0]))
    7824                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    7825                 :          56 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 937, __FILE__, __LINE__, true);
    7826                 :          56 :             return _r;
    7827                 :             :           }
    7828                 :           0 : next_after_fail1319:;
    7829                 :             :         }
    7830                 :             :     }
    7831                 :             :   }
    7832                 :    19334940 :   switch (TREE_CODE (_p1))
    7833                 :             :     {
    7834                 :           4 :     case VEC_COND_EXPR:
    7835                 :           4 :       {
    7836                 :           4 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7837                 :           4 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7838                 :           4 :         tree _q32 = TREE_OPERAND (_p1, 2);
    7839                 :           4 :         {
    7840                 :           4 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    7841                 :           4 :           if (VECTOR_TYPE_P (type)
    7842                 :           4 :  && (TREE_CODE_CLASS (MINUS_EXPR) != tcc_comparison
    7843                 :             :  || types_match (type, TREE_TYPE (captures[3]))
    7844                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
    7845                 :             :  || (optimize_vectors_before_lowering_p ()
    7846                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
    7847                 :             : )
    7848                 :             :             {
    7849                 :           4 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1320;
    7850                 :           4 :               {
    7851                 :           4 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1320;
    7852                 :           0 :                 tree res_op0;
    7853                 :           0 :                 res_op0 = captures[2];
    7854                 :           0 :                 tree res_op1;
    7855                 :           0 :                 {
    7856                 :           0 :                   tree _o1[2], _r1;
    7857                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    7858                 :           0 :                   _o1[1] = captures[3];
    7859                 :           0 :                   _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7860                 :           0 :                   if (EXPR_P (_r1))
    7861                 :           0 :                     goto next_after_fail1320;
    7862                 :           0 :                   res_op1 = _r1;
    7863                 :             :                 }
    7864                 :           0 :                 tree res_op2;
    7865                 :           0 :                 {
    7866                 :           0 :                   tree _o1[2], _r1;
    7867                 :           0 :                   _o1[0] = captures[0];
    7868                 :           0 :                   _o1[1] = captures[4];
    7869                 :           0 :                   _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7870                 :           0 :                   if (EXPR_P (_r1))
    7871                 :           0 :                     goto next_after_fail1320;
    7872                 :           0 :                   res_op2 = _r1;
    7873                 :             :                 }
    7874                 :           0 :                 tree _r;
    7875                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7876                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
    7877                 :           0 :                 return _r;
    7878                 :             :               }
    7879                 :           4 : next_after_fail1320:;
    7880                 :             :             }
    7881                 :             :         }
    7882                 :           4 :         if (integer_each_onep (_q31))
    7883                 :             :           {
    7884                 :           0 :             if (integer_zerop (_q32))
    7885                 :             :               {
    7886                 :           0 :                 {
    7887                 :           0 :                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    7888                 :           0 :                   tree res = generic_simplify_59 (loc, type, _p0, _p1, captures);
    7889                 :           0 :                   if (res) return res;
    7890                 :             :                 }
    7891                 :             :               }
    7892                 :             :           }
    7893                 :             :         break;
    7894                 :             :       }
    7895                 :      108549 :     case VIEW_CONVERT_EXPR:
    7896                 :      108549 :       {
    7897                 :      108549 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7898                 :      108549 :         switch (TREE_CODE (_q30))
    7899                 :             :           {
    7900                 :           0 :           case VEC_COND_EXPR:
    7901                 :           0 :             {
    7902                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7903                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7904                 :           0 :               tree _q42 = TREE_OPERAND (_q30, 2);
    7905                 :           0 :               if (integer_each_onep (_q41))
    7906                 :             :                 {
    7907                 :           0 :                   if (integer_zerop (_q42))
    7908                 :             :                     {
    7909                 :           0 :                       {
    7910                 :           0 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42 };
    7911                 :           0 :                         tree res = generic_simplify_59 (loc, type, _p0, _p1, captures);
    7912                 :           0 :                         if (res) return res;
    7913                 :             :                       }
    7914                 :             :                     }
    7915                 :             :                 }
    7916                 :             :               break;
    7917                 :             :             }
    7918                 :             :           default:;
    7919                 :             :           }
    7920                 :             :         break;
    7921                 :             :       }
    7922                 :    19334940 :     default:;
    7923                 :             :     }
    7924                 :    19334940 :   switch (TREE_CODE (_p0))
    7925                 :             :     {
    7926                 :      118877 :     case RDIV_EXPR:
    7927                 :      118877 :       {
    7928                 :      118877 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7929                 :      118877 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7930                 :      118877 :         switch (TREE_CODE (_p1))
    7931                 :             :           {
    7932                 :       19891 :           case RDIV_EXPR:
    7933                 :       19891 :             {
    7934                 :       19891 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7935                 :       19891 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7936                 :       19891 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7937                 :             :                 {
    7938                 :       19871 :                   {
    7939                 :       19871 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    7940                 :       19871 :                     tree res = generic_simplify_31 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    7941                 :       19871 :                     if (res) return res;
    7942                 :             :                   }
    7943                 :             :                 }
    7944                 :             :               break;
    7945                 :             :             }
    7946                 :             :           default:;
    7947                 :             :           }
    7948                 :             :         break;
    7949                 :             :       }
    7950                 :     1255344 :     case PLUS_EXPR:
    7951                 :     1255344 :       {
    7952                 :     1255344 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7953                 :     1255344 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7954                 :     1255344 :         switch (TREE_CODE (_q20))
    7955                 :             :           {
    7956                 :       44638 :           case CALL_EXPR:
    7957                 :       44638 :             switch (get_call_combined_fn (_q20))
    7958                 :             :               {
    7959                 :           4 :               case CFN_BUILT_IN_POPCOUNT:
    7960                 :           4 :                 if (call_expr_nargs (_q20) == 1)
    7961                 :             :     {
    7962                 :           4 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    7963                 :           4 :                     switch (TREE_CODE (_q21))
    7964                 :             :                       {
    7965                 :           4 :                       case CALL_EXPR:
    7966                 :           4 :                         switch (get_call_combined_fn (_q21))
    7967                 :             :                           {
    7968                 :           4 :                           case CFN_BUILT_IN_POPCOUNT:
    7969                 :           4 :                             if (call_expr_nargs (_q21) == 1)
    7970                 :             :     {
    7971                 :           4 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    7972                 :           4 :                                 switch (TREE_CODE (_p1))
    7973                 :             :                                   {
    7974                 :           4 :                                   case CALL_EXPR:
    7975                 :           4 :                                     switch (get_call_combined_fn (_p1))
    7976                 :             :                                       {
    7977                 :           4 :                                       case CFN_BUILT_IN_POPCOUNT:
    7978                 :           4 :                                         if (call_expr_nargs (_p1) == 1)
    7979                 :             :     {
    7980                 :           4 :                                             tree _q70 = CALL_EXPR_ARG (_p1, 0);
    7981                 :           4 :                                             switch (TREE_CODE (_q70))
    7982                 :             :                                               {
    7983                 :           2 :                                               case BIT_AND_EXPR:
    7984                 :           2 :                                                 {
    7985                 :           2 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    7986                 :           2 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    7987                 :           2 :                                                   if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    7988                 :             :                                                     {
    7989                 :           1 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    7990                 :             :                                                         {
    7991                 :           1 :                                                           {
    7992                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    7993                 :           1 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT);
    7994                 :           1 :                                                             if (res) return res;
    7995                 :             :                                                           }
    7996                 :             :                                                         }
    7997                 :             :                                                     }
    7998                 :           1 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    7999                 :             :                                                     {
    8000                 :           1 :                                                       if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    8001                 :             :                                                         {
    8002                 :           1 :                                                           {
    8003                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8004                 :           1 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT);
    8005                 :           1 :                                                             if (res) return res;
    8006                 :             :                                                           }
    8007                 :             :                                                         }
    8008                 :             :                                                     }
    8009                 :             :                                                   break;
    8010                 :             :                                                 }
    8011                 :           2 :                                               case BIT_IOR_EXPR:
    8012                 :           2 :                                                 {
    8013                 :           2 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8014                 :           2 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8015                 :           2 :                                                   if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    8016                 :             :                                                     {
    8017                 :           1 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    8018                 :             :                                                         {
    8019                 :           1 :                                                           {
    8020                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8021                 :           1 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT);
    8022                 :           1 :                                                             if (res) return res;
    8023                 :             :                                                           }
    8024                 :             :                                                         }
    8025                 :             :                                                     }
    8026                 :           1 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    8027                 :             :                                                     {
    8028                 :           1 :                                                       if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    8029                 :             :                                                         {
    8030                 :           1 :                                                           {
    8031                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8032                 :           1 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT);
    8033                 :           1 :                                                             if (res) return res;
    8034                 :             :                                                           }
    8035                 :             :                                                         }
    8036                 :             :                                                     }
    8037                 :             :                                                   break;
    8038                 :             :                                                 }
    8039                 :             :                                               default:;
    8040                 :             :                                               }
    8041                 :             :                                           }
    8042                 :             :                                         break;
    8043                 :             :                                       default:;
    8044                 :             :                                       }
    8045                 :             :                                     break;
    8046                 :             :                                   default:;
    8047                 :             :                                   }
    8048                 :             :                               }
    8049                 :             :                             break;
    8050                 :             :                           default:;
    8051                 :             :                           }
    8052                 :             :                         break;
    8053                 :             :                       default:;
    8054                 :             :                       }
    8055                 :             :                   }
    8056                 :             :                 break;
    8057                 :           0 :               case CFN_BUILT_IN_POPCOUNTLL:
    8058                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    8059                 :             :     {
    8060                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    8061                 :           0 :                     switch (TREE_CODE (_q21))
    8062                 :             :                       {
    8063                 :           0 :                       case CALL_EXPR:
    8064                 :           0 :                         switch (get_call_combined_fn (_q21))
    8065                 :             :                           {
    8066                 :           0 :                           case CFN_BUILT_IN_POPCOUNTLL:
    8067                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    8068                 :             :     {
    8069                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    8070                 :           0 :                                 switch (TREE_CODE (_p1))
    8071                 :             :                                   {
    8072                 :           0 :                                   case CALL_EXPR:
    8073                 :           0 :                                     switch (get_call_combined_fn (_p1))
    8074                 :             :                                       {
    8075                 :           0 :                                       case CFN_BUILT_IN_POPCOUNTLL:
    8076                 :           0 :                                         if (call_expr_nargs (_p1) == 1)
    8077                 :             :     {
    8078                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_p1, 0);
    8079                 :           0 :                                             switch (TREE_CODE (_q70))
    8080                 :             :                                               {
    8081                 :           0 :                                               case BIT_AND_EXPR:
    8082                 :           0 :                                                 {
    8083                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8084                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8085                 :           0 :                                                   if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    8086                 :             :                                                     {
    8087                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    8088                 :             :                                                         {
    8089                 :           0 :                                                           {
    8090                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8091                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    8092                 :           0 :                                                             if (res) return res;
    8093                 :             :                                                           }
    8094                 :             :                                                         }
    8095                 :             :                                                     }
    8096                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    8097                 :             :                                                     {
    8098                 :           0 :                                                       if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    8099                 :             :                                                         {
    8100                 :           0 :                                                           {
    8101                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8102                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    8103                 :           0 :                                                             if (res) return res;
    8104                 :             :                                                           }
    8105                 :             :                                                         }
    8106                 :             :                                                     }
    8107                 :             :                                                   break;
    8108                 :             :                                                 }
    8109                 :           0 :                                               case BIT_IOR_EXPR:
    8110                 :           0 :                                                 {
    8111                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8112                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8113                 :           0 :                                                   if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    8114                 :             :                                                     {
    8115                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    8116                 :             :                                                         {
    8117                 :           0 :                                                           {
    8118                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8119                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    8120                 :           0 :                                                             if (res) return res;
    8121                 :             :                                                           }
    8122                 :             :                                                         }
    8123                 :             :                                                     }
    8124                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    8125                 :             :                                                     {
    8126                 :           0 :                                                       if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    8127                 :             :                                                         {
    8128                 :           0 :                                                           {
    8129                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8130                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    8131                 :           0 :                                                             if (res) return res;
    8132                 :             :                                                           }
    8133                 :             :                                                         }
    8134                 :             :                                                     }
    8135                 :             :                                                   break;
    8136                 :             :                                                 }
    8137                 :             :                                               default:;
    8138                 :             :                                               }
    8139                 :             :                                           }
    8140                 :             :                                         break;
    8141                 :             :                                       default:;
    8142                 :             :                                       }
    8143                 :             :                                     break;
    8144                 :             :                                   default:;
    8145                 :             :                                   }
    8146                 :             :                               }
    8147                 :             :                             break;
    8148                 :             :                           default:;
    8149                 :             :                           }
    8150                 :             :                         break;
    8151                 :             :                       default:;
    8152                 :             :                       }
    8153                 :             :                   }
    8154                 :             :                 break;
    8155                 :           0 :               case CFN_POPCOUNT:
    8156                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    8157                 :             :     {
    8158                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    8159                 :           0 :                     switch (TREE_CODE (_q21))
    8160                 :             :                       {
    8161                 :           0 :                       case CALL_EXPR:
    8162                 :           0 :                         switch (get_call_combined_fn (_q21))
    8163                 :             :                           {
    8164                 :           0 :                           case CFN_POPCOUNT:
    8165                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    8166                 :             :     {
    8167                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    8168                 :           0 :                                 switch (TREE_CODE (_p1))
    8169                 :             :                                   {
    8170                 :           0 :                                   case CALL_EXPR:
    8171                 :           0 :                                     switch (get_call_combined_fn (_p1))
    8172                 :             :                                       {
    8173                 :           0 :                                       case CFN_POPCOUNT:
    8174                 :           0 :                                         if (call_expr_nargs (_p1) == 1)
    8175                 :             :     {
    8176                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_p1, 0);
    8177                 :           0 :                                             switch (TREE_CODE (_q70))
    8178                 :             :                                               {
    8179                 :           0 :                                               case BIT_AND_EXPR:
    8180                 :           0 :                                                 {
    8181                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8182                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8183                 :           0 :                                                   if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    8184                 :             :                                                     {
    8185                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    8186                 :             :                                                         {
    8187                 :           0 :                                                           {
    8188                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8189                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT);
    8190                 :           0 :                                                             if (res) return res;
    8191                 :             :                                                           }
    8192                 :             :                                                         }
    8193                 :             :                                                     }
    8194                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    8195                 :             :                                                     {
    8196                 :           0 :                                                       if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    8197                 :             :                                                         {
    8198                 :           0 :                                                           {
    8199                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8200                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT);
    8201                 :           0 :                                                             if (res) return res;
    8202                 :             :                                                           }
    8203                 :             :                                                         }
    8204                 :             :                                                     }
    8205                 :             :                                                   break;
    8206                 :             :                                                 }
    8207                 :           0 :                                               case BIT_IOR_EXPR:
    8208                 :           0 :                                                 {
    8209                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8210                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8211                 :           0 :                                                   if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    8212                 :             :                                                     {
    8213                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    8214                 :             :                                                         {
    8215                 :           0 :                                                           {
    8216                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8217                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT);
    8218                 :           0 :                                                             if (res) return res;
    8219                 :             :                                                           }
    8220                 :             :                                                         }
    8221                 :             :                                                     }
    8222                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    8223                 :             :                                                     {
    8224                 :           0 :                                                       if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    8225                 :             :                                                         {
    8226                 :           0 :                                                           {
    8227                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8228                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT);
    8229                 :           0 :                                                             if (res) return res;
    8230                 :             :                                                           }
    8231                 :             :                                                         }
    8232                 :             :                                                     }
    8233                 :             :                                                   break;
    8234                 :             :                                                 }
    8235                 :             :                                               default:;
    8236                 :             :                                               }
    8237                 :             :                                           }
    8238                 :             :                                         break;
    8239                 :             :                                       default:;
    8240                 :             :                                       }
    8241                 :             :                                     break;
    8242                 :             :                                   default:;
    8243                 :             :                                   }
    8244                 :             :                               }
    8245                 :             :                             break;
    8246                 :             :                           default:;
    8247                 :             :                           }
    8248                 :             :                         break;
    8249                 :             :                       default:;
    8250                 :             :                       }
    8251                 :             :                   }
    8252                 :             :                 break;
    8253                 :           0 :               case CFN_BUILT_IN_POPCOUNTIMAX:
    8254                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    8255                 :             :     {
    8256                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    8257                 :           0 :                     switch (TREE_CODE (_q21))
    8258                 :             :                       {
    8259                 :           0 :                       case CALL_EXPR:
    8260                 :           0 :                         switch (get_call_combined_fn (_q21))
    8261                 :             :                           {
    8262                 :           0 :                           case CFN_BUILT_IN_POPCOUNTIMAX:
    8263                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    8264                 :             :     {
    8265                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    8266                 :           0 :                                 switch (TREE_CODE (_p1))
    8267                 :             :                                   {
    8268                 :           0 :                                   case CALL_EXPR:
    8269                 :           0 :                                     switch (get_call_combined_fn (_p1))
    8270                 :             :                                       {
    8271                 :           0 :                                       case CFN_BUILT_IN_POPCOUNTIMAX:
    8272                 :           0 :                                         if (call_expr_nargs (_p1) == 1)
    8273                 :             :     {
    8274                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_p1, 0);
    8275                 :           0 :                                             switch (TREE_CODE (_q70))
    8276                 :             :                                               {
    8277                 :           0 :                                               case BIT_AND_EXPR:
    8278                 :           0 :                                                 {
    8279                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8280                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8281                 :           0 :                                                   if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    8282                 :             :                                                     {
    8283                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    8284                 :             :                                                         {
    8285                 :           0 :                                                           {
    8286                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8287                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    8288                 :           0 :                                                             if (res) return res;
    8289                 :             :                                                           }
    8290                 :             :                                                         }
    8291                 :             :                                                     }
    8292                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    8293                 :             :                                                     {
    8294                 :           0 :                                                       if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    8295                 :             :                                                         {
    8296                 :           0 :                                                           {
    8297                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8298                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    8299                 :           0 :                                                             if (res) return res;
    8300                 :             :                                                           }
    8301                 :             :                                                         }
    8302                 :             :                                                     }
    8303                 :             :                                                   break;
    8304                 :             :                                                 }
    8305                 :           0 :                                               case BIT_IOR_EXPR:
    8306                 :           0 :                                                 {
    8307                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8308                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8309                 :           0 :                                                   if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    8310                 :             :                                                     {
    8311                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    8312                 :             :                                                         {
    8313                 :           0 :                                                           {
    8314                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8315                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    8316                 :           0 :                                                             if (res) return res;
    8317                 :             :                                                           }
    8318                 :             :                                                         }
    8319                 :             :                                                     }
    8320                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    8321                 :             :                                                     {
    8322                 :           0 :                                                       if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    8323                 :             :                                                         {
    8324                 :           0 :                                                           {
    8325                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8326                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    8327                 :           0 :                                                             if (res) return res;
    8328                 :             :                                                           }
    8329                 :             :                                                         }
    8330                 :             :                                                     }
    8331                 :             :                                                   break;
    8332                 :             :                                                 }
    8333                 :             :                                               default:;
    8334                 :             :                                               }
    8335                 :             :                                           }
    8336                 :             :                                         break;
    8337                 :             :                                       default:;
    8338                 :             :                                       }
    8339                 :             :                                     break;
    8340                 :             :                                   default:;
    8341                 :             :                                   }
    8342                 :             :                               }
    8343                 :             :                             break;
    8344                 :             :                           default:;
    8345                 :             :                           }
    8346                 :             :                         break;
    8347                 :             :                       default:;
    8348                 :             :                       }
    8349                 :             :                   }
    8350                 :             :                 break;
    8351                 :           0 :               case CFN_BUILT_IN_POPCOUNTL:
    8352                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    8353                 :             :     {
    8354                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    8355                 :           0 :                     switch (TREE_CODE (_q21))
    8356                 :             :                       {
    8357                 :           0 :                       case CALL_EXPR:
    8358                 :           0 :                         switch (get_call_combined_fn (_q21))
    8359                 :             :                           {
    8360                 :           0 :                           case CFN_BUILT_IN_POPCOUNTL:
    8361                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    8362                 :             :     {
    8363                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    8364                 :           0 :                                 switch (TREE_CODE (_p1))
    8365                 :             :                                   {
    8366                 :           0 :                                   case CALL_EXPR:
    8367                 :           0 :                                     switch (get_call_combined_fn (_p1))
    8368                 :             :                                       {
    8369                 :           0 :                                       case CFN_BUILT_IN_POPCOUNTL:
    8370                 :           0 :                                         if (call_expr_nargs (_p1) == 1)
    8371                 :             :     {
    8372                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_p1, 0);
    8373                 :           0 :                                             switch (TREE_CODE (_q70))
    8374                 :             :                                               {
    8375                 :           0 :                                               case BIT_AND_EXPR:
    8376                 :           0 :                                                 {
    8377                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8378                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8379                 :           0 :                                                   if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    8380                 :             :                                                     {
    8381                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    8382                 :             :                                                         {
    8383                 :           0 :                                                           {
    8384                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8385                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL);
    8386                 :           0 :                                                             if (res) return res;
    8387                 :             :                                                           }
    8388                 :             :                                                         }
    8389                 :             :                                                     }
    8390                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    8391                 :             :                                                     {
    8392                 :           0 :                                                       if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    8393                 :             :                                                         {
    8394                 :           0 :                                                           {
    8395                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8396                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL);
    8397                 :           0 :                                                             if (res) return res;
    8398                 :             :                                                           }
    8399                 :             :                                                         }
    8400                 :             :                                                     }
    8401                 :             :                                                   break;
    8402                 :             :                                                 }
    8403                 :           0 :                                               case BIT_IOR_EXPR:
    8404                 :           0 :                                                 {
    8405                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8406                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8407                 :           0 :                                                   if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
    8408                 :             :                                                     {
    8409                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    8410                 :             :                                                         {
    8411                 :           0 :                                                           {
    8412                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8413                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL);
    8414                 :           0 :                                                             if (res) return res;
    8415                 :             :                                                           }
    8416                 :             :                                                         }
    8417                 :             :                                                     }
    8418                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    8419                 :             :                                                     {
    8420                 :           0 :                                                       if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
    8421                 :             :                                                         {
    8422                 :           0 :                                                           {
    8423                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _p1, _q70 };
    8424                 :           0 :                                                             tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL);
    8425                 :           0 :                                                             if (res) return res;
    8426                 :             :                                                           }
    8427                 :             :                                                         }
    8428                 :             :                                                     }
    8429                 :             :                                                   break;
    8430                 :             :                                                 }
    8431                 :             :                                               default:;
    8432                 :             :                                               }
    8433                 :             :                                           }
    8434                 :             :                                         break;
    8435                 :             :                                       default:;
    8436                 :             :                                       }
    8437                 :             :                                     break;
    8438                 :             :                                   default:;
    8439                 :             :                                   }
    8440                 :             :                               }
    8441                 :             :                             break;
    8442                 :             :                           default:;
    8443                 :             :                           }
    8444                 :             :                         break;
    8445                 :             :                       default:;
    8446                 :             :                       }
    8447                 :             :                   }
    8448                 :             :                 break;
    8449                 :             :               default:;
    8450                 :             :               }
    8451                 :             :             break;
    8452                 :             :           default:;
    8453                 :             :           }
    8454                 :             :         break;
    8455                 :             :       }
    8456                 :           0 :     case VEC_PERM_EXPR:
    8457                 :           0 :       {
    8458                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8459                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8460                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8461                 :           0 :         switch (TREE_CODE (_q20))
    8462                 :             :           {
    8463                 :           0 :           case MULT_EXPR:
    8464                 :           0 :             {
    8465                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8466                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8467                 :           0 :               if (tree_vec_same_elem_p (_q31))
    8468                 :             :                 {
    8469                 :           0 :                   if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
    8470                 :             :                     {
    8471                 :           0 :                       {
    8472                 :           0 :                         tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q22, _p1 };
    8473                 :           0 :                         tree res = generic_simplify_62 (loc, type, _p0, _p1, captures);
    8474                 :           0 :                         if (res) return res;
    8475                 :             :                       }
    8476                 :             :                     }
    8477                 :             :                 }
    8478                 :           0 :               if (tree_vec_same_elem_p (_q30))
    8479                 :             :                 {
    8480                 :           0 :                   if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
    8481                 :             :                     {
    8482                 :           0 :                       {
    8483                 :           0 :                         tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _q22, _p1 };
    8484                 :           0 :                         tree res = generic_simplify_62 (loc, type, _p0, _p1, captures);
    8485                 :           0 :                         if (res) return res;
    8486                 :             :                       }
    8487                 :             :                     }
    8488                 :             :                 }
    8489                 :             :               break;
    8490                 :             :             }
    8491                 :             :           default:;
    8492                 :             :           }
    8493                 :             :         break;
    8494                 :             :       }
    8495                 :      607108 :     case CALL_EXPR:
    8496                 :      607108 :       switch (get_call_combined_fn (_p0))
    8497                 :             :         {
    8498                 :          18 :         case CFN_BUILT_IN_LOG:
    8499                 :          18 :           if (call_expr_nargs (_p0) == 1)
    8500                 :             :     {
    8501                 :          18 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8502                 :          18 :               switch (TREE_CODE (_p1))
    8503                 :             :                 {
    8504                 :           0 :                 case CALL_EXPR:
    8505                 :           0 :                   switch (get_call_combined_fn (_p1))
    8506                 :             :                     {
    8507                 :           0 :                     case CFN_BUILT_IN_LOG:
    8508                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8509                 :             :     {
    8510                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8511                 :           0 :                           {
    8512                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8513                 :           0 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG);
    8514                 :           0 :                             if (res) return res;
    8515                 :             :                           }
    8516                 :             :                         }
    8517                 :             :                       break;
    8518                 :             :                     default:;
    8519                 :             :                     }
    8520                 :             :                   break;
    8521                 :             :                 default:;
    8522                 :             :                 }
    8523                 :             :             }
    8524                 :             :           break;
    8525                 :           2 :         case CFN_BUILT_IN_LOG2:
    8526                 :           2 :           if (call_expr_nargs (_p0) == 1)
    8527                 :             :     {
    8528                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8529                 :           2 :               switch (TREE_CODE (_p1))
    8530                 :             :                 {
    8531                 :           0 :                 case CALL_EXPR:
    8532                 :           0 :                   switch (get_call_combined_fn (_p1))
    8533                 :             :                     {
    8534                 :           0 :                     case CFN_BUILT_IN_LOG2:
    8535                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8536                 :             :     {
    8537                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8538                 :           0 :                           {
    8539                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8540                 :           0 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2);
    8541                 :           0 :                             if (res) return res;
    8542                 :             :                           }
    8543                 :             :                         }
    8544                 :             :                       break;
    8545                 :             :                     default:;
    8546                 :             :                     }
    8547                 :             :                   break;
    8548                 :             :                 default:;
    8549                 :             :                 }
    8550                 :             :             }
    8551                 :             :           break;
    8552                 :           0 :         case CFN_BUILT_IN_LOGF:
    8553                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8554                 :             :     {
    8555                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8556                 :           0 :               switch (TREE_CODE (_p1))
    8557                 :             :                 {
    8558                 :           0 :                 case CALL_EXPR:
    8559                 :           0 :                   switch (get_call_combined_fn (_p1))
    8560                 :             :                     {
    8561                 :           0 :                     case CFN_BUILT_IN_LOGF:
    8562                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8563                 :             :     {
    8564                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8565                 :           0 :                           {
    8566                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8567                 :           0 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGF);
    8568                 :           0 :                             if (res) return res;
    8569                 :             :                           }
    8570                 :             :                         }
    8571                 :             :                       break;
    8572                 :             :                     default:;
    8573                 :             :                     }
    8574                 :             :                   break;
    8575                 :             :                 default:;
    8576                 :             :                 }
    8577                 :             :             }
    8578                 :             :           break;
    8579                 :           0 :         case CFN_BUILT_IN_LOGL:
    8580                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8581                 :             :     {
    8582                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8583                 :           0 :               switch (TREE_CODE (_p1))
    8584                 :             :                 {
    8585                 :           0 :                 case CALL_EXPR:
    8586                 :           0 :                   switch (get_call_combined_fn (_p1))
    8587                 :             :                     {
    8588                 :           0 :                     case CFN_BUILT_IN_LOGL:
    8589                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8590                 :             :     {
    8591                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8592                 :           0 :                           {
    8593                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8594                 :           0 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGL);
    8595                 :           0 :                             if (res) return res;
    8596                 :             :                           }
    8597                 :             :                         }
    8598                 :             :                       break;
    8599                 :             :                     default:;
    8600                 :             :                     }
    8601                 :             :                   break;
    8602                 :             :                 default:;
    8603                 :             :                 }
    8604                 :             :             }
    8605                 :             :           break;
    8606                 :           0 :         case CFN_BUILT_IN_LOG10F:
    8607                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8608                 :             :     {
    8609                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8610                 :           0 :               switch (TREE_CODE (_p1))
    8611                 :             :                 {
    8612                 :           0 :                 case CALL_EXPR:
    8613                 :           0 :                   switch (get_call_combined_fn (_p1))
    8614                 :             :                     {
    8615                 :           0 :                     case CFN_BUILT_IN_LOG10F:
    8616                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8617                 :             :     {
    8618                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8619                 :           0 :                           {
    8620                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8621                 :           0 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10F);
    8622                 :           0 :                             if (res) return res;
    8623                 :             :                           }
    8624                 :             :                         }
    8625                 :             :                       break;
    8626                 :             :                     default:;
    8627                 :             :                     }
    8628                 :             :                   break;
    8629                 :             :                 default:;
    8630                 :             :                 }
    8631                 :             :             }
    8632                 :             :           break;
    8633                 :           0 :         case CFN_BUILT_IN_LOG10L:
    8634                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8635                 :             :     {
    8636                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8637                 :           0 :               switch (TREE_CODE (_p1))
    8638                 :             :                 {
    8639                 :           0 :                 case CALL_EXPR:
    8640                 :           0 :                   switch (get_call_combined_fn (_p1))
    8641                 :             :                     {
    8642                 :           0 :                     case CFN_BUILT_IN_LOG10L:
    8643                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8644                 :             :     {
    8645                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8646                 :           0 :                           {
    8647                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8648                 :           0 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10L);
    8649                 :           0 :                             if (res) return res;
    8650                 :             :                           }
    8651                 :             :                         }
    8652                 :             :                       break;
    8653                 :             :                     default:;
    8654                 :             :                     }
    8655                 :             :                   break;
    8656                 :             :                 default:;
    8657                 :             :                 }
    8658                 :             :             }
    8659                 :             :           break;
    8660                 :           0 :         case CFN_LOG:
    8661                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8662                 :             :     {
    8663                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8664                 :           0 :               switch (TREE_CODE (_p1))
    8665                 :             :                 {
    8666                 :           0 :                 case CALL_EXPR:
    8667                 :           0 :                   switch (get_call_combined_fn (_p1))
    8668                 :             :                     {
    8669                 :           0 :                     case CFN_LOG:
    8670                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8671                 :             :     {
    8672                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8673                 :           0 :                           {
    8674                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8675                 :           0 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_LOG);
    8676                 :           0 :                             if (res) return res;
    8677                 :             :                           }
    8678                 :             :                         }
    8679                 :             :                       break;
    8680                 :             :                     default:;
    8681                 :             :                     }
    8682                 :             :                   break;
    8683                 :             :                 default:;
    8684                 :             :                 }
    8685                 :             :             }
    8686                 :             :           break;
    8687                 :           0 :         case CFN_LOG2:
    8688                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8689                 :             :     {
    8690                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8691                 :           0 :               switch (TREE_CODE (_p1))
    8692                 :             :                 {
    8693                 :           0 :                 case CALL_EXPR:
    8694                 :           0 :                   switch (get_call_combined_fn (_p1))
    8695                 :             :                     {
    8696                 :           0 :                     case CFN_LOG2:
    8697                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8698                 :             :     {
    8699                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8700                 :           0 :                           {
    8701                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8702                 :           0 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_LOG2);
    8703                 :           0 :                             if (res) return res;
    8704                 :             :                           }
    8705                 :             :                         }
    8706                 :             :                       break;
    8707                 :             :                     default:;
    8708                 :             :                     }
    8709                 :             :                   break;
    8710                 :             :                 default:;
    8711                 :             :                 }
    8712                 :             :             }
    8713                 :             :           break;
    8714                 :           0 :         case CFN_LOG10:
    8715                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8716                 :             :     {
    8717                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8718                 :           0 :               switch (TREE_CODE (_p1))
    8719                 :             :                 {
    8720                 :           0 :                 case CALL_EXPR:
    8721                 :           0 :                   switch (get_call_combined_fn (_p1))
    8722                 :             :                     {
    8723                 :           0 :                     case CFN_LOG10:
    8724                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8725                 :             :     {
    8726                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8727                 :           0 :                           {
    8728                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8729                 :           0 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_LOG10);
    8730                 :           0 :                             if (res) return res;
    8731                 :             :                           }
    8732                 :             :                         }
    8733                 :             :                       break;
    8734                 :             :                     default:;
    8735                 :             :                     }
    8736                 :             :                   break;
    8737                 :             :                 default:;
    8738                 :             :                 }
    8739                 :             :             }
    8740                 :             :           break;
    8741                 :           6 :         case CFN_BUILT_IN_LOG10:
    8742                 :           6 :           if (call_expr_nargs (_p0) == 1)
    8743                 :             :     {
    8744                 :           6 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8745                 :           6 :               switch (TREE_CODE (_p1))
    8746                 :             :                 {
    8747                 :           2 :                 case CALL_EXPR:
    8748                 :           2 :                   switch (get_call_combined_fn (_p1))
    8749                 :             :                     {
    8750                 :           2 :                     case CFN_BUILT_IN_LOG10:
    8751                 :           2 :                       if (call_expr_nargs (_p1) == 1)
    8752                 :             :     {
    8753                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8754                 :           2 :                           {
    8755                 :           2 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8756                 :           2 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10);
    8757                 :           2 :                             if (res) return res;
    8758                 :             :                           }
    8759                 :             :                         }
    8760                 :             :                       break;
    8761                 :             :                     default:;
    8762                 :             :                     }
    8763                 :             :                   break;
    8764                 :             :                 default:;
    8765                 :             :                 }
    8766                 :             :             }
    8767                 :             :           break;
    8768                 :           0 :         case CFN_BUILT_IN_LOG2F:
    8769                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8770                 :             :     {
    8771                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8772                 :           0 :               switch (TREE_CODE (_p1))
    8773                 :             :                 {
    8774                 :           0 :                 case CALL_EXPR:
    8775                 :           0 :                   switch (get_call_combined_fn (_p1))
    8776                 :             :                     {
    8777                 :           0 :                     case CFN_BUILT_IN_LOG2F:
    8778                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8779                 :             :     {
    8780                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8781                 :           0 :                           {
    8782                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8783                 :           0 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2F);
    8784                 :           0 :                             if (res) return res;
    8785                 :             :                           }
    8786                 :             :                         }
    8787                 :             :                       break;
    8788                 :             :                     default:;
    8789                 :             :                     }
    8790                 :             :                   break;
    8791                 :             :                 default:;
    8792                 :             :                 }
    8793                 :             :             }
    8794                 :             :           break;
    8795                 :           0 :         case CFN_BUILT_IN_LOG2L:
    8796                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8797                 :             :     {
    8798                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8799                 :           0 :               switch (TREE_CODE (_p1))
    8800                 :             :                 {
    8801                 :           0 :                 case CALL_EXPR:
    8802                 :           0 :                   switch (get_call_combined_fn (_p1))
    8803                 :             :                     {
    8804                 :           0 :                     case CFN_BUILT_IN_LOG2L:
    8805                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8806                 :             :     {
    8807                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8808                 :           0 :                           {
    8809                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    8810                 :           0 :                             tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2L);
    8811                 :           0 :                             if (res) return res;
    8812                 :             :                           }
    8813                 :             :                         }
    8814                 :             :                       break;
    8815                 :             :                     default:;
    8816                 :             :                     }
    8817                 :             :                   break;
    8818                 :             :                 default:;
    8819                 :             :                 }
    8820                 :             :             }
    8821                 :             :           break;
    8822                 :             :         default:;
    8823                 :             :         }
    8824                 :             :       break;
    8825                 :    19334923 :     default:;
    8826                 :             :     }
    8827                 :    19334923 :   switch (TREE_CODE (_p1))
    8828                 :             :     {
    8829                 :        6529 :     case BIT_AND_EXPR:
    8830                 :        6529 :       {
    8831                 :        6529 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8832                 :        6529 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8833                 :        6529 :         switch (TREE_CODE (_q30))
    8834                 :             :           {
    8835                 :          80 :           case MAX_EXPR:
    8836                 :          80 :             {
    8837                 :          80 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8838                 :          80 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8839                 :          80 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    8840                 :             :                 {
    8841                 :          80 :                   switch (TREE_CODE (_q41))
    8842                 :             :                     {
    8843                 :          80 :                     case INTEGER_CST:
    8844                 :          80 :                       {
    8845                 :          80 :                         switch (TREE_CODE (_q31))
    8846                 :             :                           {
    8847                 :          72 :                           case INTEGER_CST:
    8848                 :          72 :                             {
    8849                 :          72 :                               {
    8850                 :          72 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q41, _q31 };
    8851                 :          72 :                                 {
    8852                 :          72 :  auto i = wi::neg (wi::to_wide (captures[2]));
    8853                 :          72 :                                     if (wi::popcount (i) == 1
    8854                 :         200 :  && (wi::to_wide (captures[1])) == (i - 1)
    8855                 :             : )
    8856                 :             :                                       {
    8857                 :          40 :                                         if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    8858                 :             : )
    8859                 :             :                                           {
    8860                 :           8 :                                             if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1321;
    8861                 :           8 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1321;
    8862                 :           8 :                                             {
    8863                 :           8 :                                               tree res_op0;
    8864                 :           8 :                                               res_op0 = captures[0];
    8865                 :           8 :                                               tree res_op1;
    8866                 :           8 :                                               res_op1 = captures[1];
    8867                 :           8 :                                               tree _r;
    8868                 :           8 :                                               _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    8869                 :           8 :                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 938, __FILE__, __LINE__, true);
    8870                 :           8 :                                               return _r;
    8871                 :             :                                             }
    8872                 :          64 : next_after_fail1321:;
    8873                 :             :                                           }
    8874                 :             :                                         else
    8875                 :             :                                           {
    8876                 :          32 :                                             if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1322;
    8877                 :          32 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1322;
    8878                 :          32 :                                             {
    8879                 :          32 :                                               if (! tree_invariant_p (captures[0])) goto next_after_fail1322;
    8880                 :           0 :                                               if (! tree_invariant_p (captures[1])) goto next_after_fail1322;
    8881                 :           0 :                                               tree res_op0;
    8882                 :           0 :                                               {
    8883                 :           0 :                                                 tree _o1[2], _r1;
    8884                 :           0 :                                                 _o1[0] = unshare_expr (captures[0]);
    8885                 :           0 :                                                 _o1[1] = unshare_expr (captures[1]);
    8886                 :           0 :                                                 _r1 = fold_build2_loc (loc, LE_EXPR, boolean_type_node, _o1[0], _o1[1]);
    8887                 :           0 :                                                 res_op0 = _r1;
    8888                 :             :                                               }
    8889                 :           0 :                                               tree res_op1;
    8890                 :           0 :                                               res_op1 = unshare_expr (captures[0]);
    8891                 :           0 :                                               tree res_op2;
    8892                 :           0 :                                               {
    8893                 :           0 :                                                 tree _o1[2], _r1;
    8894                 :           0 :                                                 _o1[0] = captures[0];
    8895                 :           0 :                                                 _o1[1] = captures[1];
    8896                 :           0 :                                                 _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8897                 :           0 :                                                 res_op2 = _r1;
    8898                 :             :                                               }
    8899                 :           0 :                                               tree _r;
    8900                 :           0 :                                               _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    8901                 :           0 :                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 939, __FILE__, __LINE__, true);
    8902                 :           0 :                                               return _r;
    8903                 :             :                                             }
    8904                 :          64 : next_after_fail1322:;
    8905                 :             :                                           }
    8906                 :             :                                       }
    8907                 :           8 :                                 }
    8908                 :             :                               }
    8909                 :          64 :                               break;
    8910                 :             :                             }
    8911                 :             :                           default:;
    8912                 :             :                           }
    8913                 :             :                         break;
    8914                 :             :                       }
    8915                 :             :                     default:;
    8916                 :             :                     }
    8917                 :             :                 }
    8918                 :             :               break;
    8919                 :             :             }
    8920                 :             :           default:;
    8921                 :             :           }
    8922                 :             :         break;
    8923                 :             :       }
    8924                 :    19334915 :     default:;
    8925                 :             :     }
    8926                 :    19334915 :   switch (TREE_CODE (_p0))
    8927                 :             :     {
    8928                 :           0 :     case VEC_PERM_EXPR:
    8929                 :           0 :       {
    8930                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8931                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8932                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8933                 :           0 :         if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
    8934                 :             :           {
    8935                 :           0 :             switch (TREE_CODE (_p1))
    8936                 :             :               {
    8937                 :           0 :               case VEC_PERM_EXPR:
    8938                 :           0 :                 {
    8939                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    8940                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    8941                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    8942                 :           0 :                   if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
    8943                 :             :                     {
    8944                 :           0 :                       if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    8945                 :             :                         {
    8946                 :           0 :                           {
    8947                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
    8948                 :           0 :                             if (VECTOR_INTEGER_TYPE_P (type)
    8949                 :             : )
    8950                 :             :                               {
    8951                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1323;
    8952                 :           0 :                                 {
    8953                 :           0 :                                   tree res_op0;
    8954                 :           0 :                                   {
    8955                 :           0 :                                     tree _o1[2], _r1;
    8956                 :           0 :                                     _o1[0] = captures[0];
    8957                 :           0 :                                     _o1[1] = captures[2];
    8958                 :           0 :                                     _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8959                 :           0 :                                     captures[3] = _r1;
    8960                 :             :                                   }
    8961                 :           0 :                                   res_op0 = unshare_expr (captures[3]);
    8962                 :           0 :                                   tree res_op1;
    8963                 :           0 :                                   res_op1 = captures[3];
    8964                 :           0 :                                   tree res_op2;
    8965                 :           0 :                                   res_op2 = captures[1];
    8966                 :           0 :                                   tree _r;
    8967                 :           0 :                                   _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
    8968                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
    8969                 :           0 :                                   return _r;
    8970                 :             :                                 }
    8971                 :           0 : next_after_fail1323:;
    8972                 :             :                               }
    8973                 :             :                           }
    8974                 :             :                         }
    8975                 :             :                     }
    8976                 :             :                   break;
    8977                 :             :                 }
    8978                 :           0 :               default:;
    8979                 :             :               }
    8980                 :           0 :             switch (TREE_CODE (_q22))
    8981                 :             :               {
    8982                 :           0 :               case VECTOR_CST:
    8983                 :           0 :                 {
    8984                 :           0 :                   switch (TREE_CODE (_p1))
    8985                 :             :                     {
    8986                 :           0 :                     case VEC_PERM_EXPR:
    8987                 :           0 :                       {
    8988                 :           0 :                         tree _q60 = TREE_OPERAND (_p1, 0);
    8989                 :           0 :                         tree _q61 = TREE_OPERAND (_p1, 1);
    8990                 :           0 :                         tree _q62 = TREE_OPERAND (_p1, 2);
    8991                 :           0 :                         if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
    8992                 :             :                           {
    8993                 :           0 :                             if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    8994                 :             :                               {
    8995                 :           0 :                                 switch (TREE_CODE (_q62))
    8996                 :             :                                   {
    8997                 :           0 :                                   case VECTOR_CST:
    8998                 :           0 :                                     {
    8999                 :           0 :                                       {
    9000                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
    9001                 :           0 :                                         tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    9002                 :           0 :                                         if (res) return res;
    9003                 :             :                                       }
    9004                 :           0 :                                       break;
    9005                 :             :                                     }
    9006                 :             :                                   default:;
    9007                 :             :                                   }
    9008                 :             :                               }
    9009                 :             :                           }
    9010                 :             :                         break;
    9011                 :             :                       }
    9012                 :             :                     default:;
    9013                 :             :                     }
    9014                 :             :                   break;
    9015                 :             :                 }
    9016                 :             :               default:;
    9017                 :             :               }
    9018                 :             :           }
    9019                 :             :         break;
    9020                 :             :       }
    9021                 :             :     default:;
    9022                 :             :     }
    9023                 :             :   return NULL_TREE;
    9024                 :             : }
    9025                 :             : 
    9026                 :             : tree
    9027                 :     1215058 : generic_simplify_LSHIFT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    9028                 :             : {
    9029                 :     1215058 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    9030                 :     1215058 :   switch (TREE_CODE (_p1))
    9031                 :             :     {
    9032                 :         254 :     case TRUNC_MOD_EXPR:
    9033                 :         254 :       {
    9034                 :         254 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9035                 :         254 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9036                 :         254 :         {
    9037                 :         254 :           tree _q31_pops[1];
    9038                 :         254 :           if (tree_power_of_two_cand (_q31, _q31_pops))
    9039                 :             :             {
    9040                 :         248 :               tree _q50 = _q31_pops[0];
    9041                 :         248 :               {
    9042                 :         248 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q50 };
    9043                 :         248 :                 tree res = generic_simplify_369 (loc, type, _p0, _p1, captures, LSHIFT_EXPR, TRUNC_MOD_EXPR);
    9044                 :         248 :                 if (res) return res;
    9045                 :             :               }
    9046                 :             :             }
    9047                 :             :         }
    9048                 :          24 :         break;
    9049                 :             :       }
    9050                 :           0 :     case FLOOR_MOD_EXPR:
    9051                 :           0 :       {
    9052                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9053                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9054                 :           0 :         {
    9055                 :           0 :           tree _q31_pops[1];
    9056                 :           0 :           if (tree_power_of_two_cand (_q31, _q31_pops))
    9057                 :             :             {
    9058                 :           0 :               tree _q50 = _q31_pops[0];
    9059                 :           0 :               {
    9060                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q50 };
    9061                 :           0 :                 tree res = generic_simplify_369 (loc, type, _p0, _p1, captures, LSHIFT_EXPR, FLOOR_MOD_EXPR);
    9062                 :           0 :                 if (res) return res;
    9063                 :             :               }
    9064                 :             :             }
    9065                 :             :         }
    9066                 :           0 :         break;
    9067                 :             :       }
    9068                 :     1214828 :     default:;
    9069                 :             :     }
    9070                 :     1214828 : if (uniform_integer_cst_p (_p1))
    9071                 :             :   {
    9072                 :      827748 :     {
    9073                 :      827748 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9074                 :      827748 :       tree res = generic_simplify_370 (loc, type, _p0, _p1, captures, LSHIFT_EXPR);
    9075                 :      827748 :       if (res) return res;
    9076                 :             :     }
    9077                 :             :   }
    9078                 :     1214363 :   switch (TREE_CODE (_p0))
    9079                 :             :     {
    9080                 :      655251 :     CASE_CONVERT:
    9081                 :      655251 :       {
    9082                 :      655251 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9083                 :      655251 :         switch (TREE_CODE (_q20))
    9084                 :             :           {
    9085                 :           4 :           case LT_EXPR:
    9086                 :           4 :             {
    9087                 :           4 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9088                 :           4 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9089                 :           4 :               if (integer_zerop (_q31))
    9090                 :             :                 {
    9091                 :           4 :                   switch (TREE_CODE (_p1))
    9092                 :             :                     {
    9093                 :           4 :                     case INTEGER_CST:
    9094                 :           4 :                       {
    9095                 :           4 :                         {
    9096                 :           4 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    9097                 :           4 :                           if (TYPE_SIGN (TREE_TYPE (captures[0])) == SIGNED
    9098                 :           4 :  && wi::eq_p (wi::to_wide (captures[2]), TYPE_PRECISION (TREE_TYPE (captures[0])) - 1)
    9099                 :             : )
    9100                 :             :                             {
    9101                 :           0 :                               {
    9102                 :           0 :  wide_int wone = wi::one (TYPE_PRECISION (type));
    9103                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1683;
    9104                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1683;
    9105                 :           0 :                                   {
    9106                 :           0 :                                     tree res_op0;
    9107                 :           0 :                                     {
    9108                 :           0 :                                       tree _o1[1], _r1;
    9109                 :           0 :                                       _o1[0] = captures[0];
    9110                 :           0 :                                       if (TREE_TYPE (_o1[0]) != type)
    9111                 :             :                                         {
    9112                 :           0 :                                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    9113                 :             :                                         }
    9114                 :             :                                       else
    9115                 :             :                                         _r1 = _o1[0];
    9116                 :           0 :                                       res_op0 = _r1;
    9117                 :             :                                     }
    9118                 :           0 :                                     tree res_op1;
    9119                 :           0 :                                     res_op1 =  wide_int_to_tree (type,
    9120                 :           0 :  wi::lshift (wone, wi::to_wide (captures[2])));
    9121                 :           0 :                                     tree _r;
    9122                 :           0 :                                     _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    9123                 :           0 :                                     if (TREE_SIDE_EFFECTS (captures[1]))
    9124                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    9125                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1008, __FILE__, __LINE__, true);
    9126                 :           0 :                                     return _r;
    9127                 :             :                                   }
    9128                 :           0 : next_after_fail1683:;
    9129                 :           0 :                               }
    9130                 :             :                             }
    9131                 :             :                         }
    9132                 :           4 :                         break;
    9133                 :             :                       }
    9134                 :             :                     default:;
    9135                 :             :                     }
    9136                 :             :                 }
    9137                 :             :               break;
    9138                 :             :             }
    9139                 :         123 :           CASE_CONVERT:
    9140                 :         123 :             {
    9141                 :         123 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9142                 :         123 :               switch (TREE_CODE (_q30))
    9143                 :             :                 {
    9144                 :           0 :                 case RSHIFT_EXPR:
    9145                 :           0 :                   {
    9146                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9147                 :           0 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    9148                 :           0 :                     switch (TREE_CODE (_q41))
    9149                 :             :                       {
    9150                 :           0 :                       case INTEGER_CST:
    9151                 :           0 :                         {
    9152                 :           0 :                           if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
    9153                 :             :                             {
    9154                 :           0 :                               {
    9155                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _q41 };
    9156                 :           0 :                                 if (wi::ltu_p (wi::to_wide (captures[2]), element_precision (type))
    9157                 :           0 :  && INTEGRAL_TYPE_P (type)
    9158                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    9159                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    9160                 :           0 :  && TYPE_PRECISION (type) == TYPE_PRECISION (TREE_TYPE (captures[1]))
    9161                 :           0 :  && (TYPE_PRECISION (TREE_TYPE (captures[0])) >= TYPE_PRECISION (type)
    9162                 :           0 :  || wi::geu_p (wi::to_wide (captures[2]),
    9163                 :           0 :  TYPE_PRECISION (type)
    9164                 :           0 :  - TYPE_PRECISION (TREE_TYPE (captures[0]))))
    9165                 :             : )
    9166                 :             :                                   {
    9167                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1684;
    9168                 :           0 :                                     {
    9169                 :           0 :                                       tree res_op0;
    9170                 :           0 :                                       {
    9171                 :           0 :                                         tree _o1[1], _r1;
    9172                 :           0 :                                         _o1[0] = captures[1];
    9173                 :           0 :                                         if (TREE_TYPE (_o1[0]) != type)
    9174                 :             :                                           {
    9175                 :           0 :                                             _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    9176                 :             :                                           }
    9177                 :             :                                         else
    9178                 :             :                                           _r1 = _o1[0];
    9179                 :           0 :                                         res_op0 = _r1;
    9180                 :             :                                       }
    9181                 :           0 :                                       tree res_op1;
    9182                 :           0 :                                       {
    9183                 :           0 :                                         tree _o1[2], _r1;
    9184                 :           0 :                                         _o1[0] =  build_minus_one_cst (type);
    9185                 :           0 :                                         _o1[1] = captures[2];
    9186                 :           0 :                                         _r1 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9187                 :           0 :                                         res_op1 = _r1;
    9188                 :             :                                       }
    9189                 :           0 :                                       tree _r;
    9190                 :           0 :                                       _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    9191                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1009, __FILE__, __LINE__, true);
    9192                 :           0 :                                       return _r;
    9193                 :             :                                     }
    9194                 :           0 : next_after_fail1684:;
    9195                 :             :                                   }
    9196                 :             :                               }
    9197                 :             :                             }
    9198                 :             :                           break;
    9199                 :             :                         }
    9200                 :             :                       default:;
    9201                 :             :                       }
    9202                 :             :                     break;
    9203                 :             :                   }
    9204                 :             :                 default:;
    9205                 :             :                 }
    9206                 :             :               break;
    9207                 :             :             }
    9208                 :             :           default:;
    9209                 :             :           }
    9210                 :             :         break;
    9211                 :             :       }
    9212                 :       20113 :     case RSHIFT_EXPR:
    9213                 :       20113 :       {
    9214                 :       20113 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9215                 :       20113 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9216                 :       20113 :         switch (TREE_CODE (_q21))
    9217                 :             :           {
    9218                 :         107 :           case INTEGER_CST:
    9219                 :         107 :             {
    9220                 :         107 :               if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9221                 :             :                 {
    9222                 :          60 :                   {
    9223                 :          60 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9224                 :          60 :                     tree res = generic_simplify_371 (loc, type, _p0, _p1, captures);
    9225                 :          60 :                     if (res) return res;
    9226                 :             :                   }
    9227                 :             :                 }
    9228                 :             :               break;
    9229                 :             :             }
    9230                 :             :           default:;
    9231                 :             :           }
    9232                 :             :         break;
    9233                 :             :       }
    9234                 :     1214303 :     default:;
    9235                 :             :     }
    9236                 :     1214303 : {
    9237                 :     1214303 :   tree _p0_pops[1];
    9238                 :     1214303 :   if (tree_nop_convert (_p0, _p0_pops))
    9239                 :             :     {
    9240                 :      629656 :       tree _q20 = _p0_pops[0];
    9241                 :      629656 :       switch (TREE_CODE (_q20))
    9242                 :             :         {
    9243                 :          73 :         case RSHIFT_EXPR:
    9244                 :          73 :           {
    9245                 :          73 :             tree _q30 = TREE_OPERAND (_q20, 0);
    9246                 :          73 :             tree _q31 = TREE_OPERAND (_q20, 1);
    9247                 :          73 :             switch (TREE_CODE (_q31))
    9248                 :             :               {
    9249                 :          67 :               case INTEGER_CST:
    9250                 :          67 :                 {
    9251                 :          67 :                   if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    9252                 :             :                     {
    9253                 :           8 :                       {
    9254                 :           8 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    9255                 :           8 :                         tree res = generic_simplify_371 (loc, type, _p0, _p1, captures);
    9256                 :           8 :                         if (res) return res;
    9257                 :             :                       }
    9258                 :             :                     }
    9259                 :             :                   break;
    9260                 :             :                 }
    9261                 :             :               default:;
    9262                 :             :               }
    9263                 :             :             break;
    9264                 :             :           }
    9265                 :             :         default:;
    9266                 :             :         }
    9267                 :             :     }
    9268                 :             : }
    9269                 :     1214295 : if (integer_onep (_p0))
    9270                 :             :   {
    9271                 :      322626 :     switch (TREE_CODE (_p1))
    9272                 :             :       {
    9273                 :       48994 :       case MINUS_EXPR:
    9274                 :       48994 :         {
    9275                 :       48994 :           tree _q30 = TREE_OPERAND (_p1, 0);
    9276                 :       48994 :           tree _q31 = TREE_OPERAND (_p1, 1);
    9277                 :       48994 :           switch (TREE_CODE (_q30))
    9278                 :             :             {
    9279                 :       48991 :             case INTEGER_CST:
    9280                 :       48991 :               {
    9281                 :       48991 :                 {
    9282                 :       48991 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31 };
    9283                 :       48991 :                   if (INTEGRAL_TYPE_P (type)
    9284                 :       48991 :  && wi::eq_p (wi::to_wide (captures[2]), TYPE_PRECISION (type) - 1)
    9285                 :       48991 :  && single_use (captures[1])
    9286                 :             : )
    9287                 :             :                     {
    9288                 :       29718 :                       if (TYPE_UNSIGNED (type)
    9289                 :             : )
    9290                 :             :                         {
    9291                 :       29712 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1685;
    9292                 :       29712 :                           {
    9293                 :       29712 :                             tree res_op0;
    9294                 :       29712 :                             {
    9295                 :       29712 :                               tree _o1[2], _r1;
    9296                 :       29712 :                               _o1[0] = captures[0];
    9297                 :       29712 :                               _o1[1] = captures[2];
    9298                 :       29712 :                               _r1 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9299                 :       29712 :                               res_op0 = _r1;
    9300                 :             :                             }
    9301                 :       29712 :                             tree res_op1;
    9302                 :       29712 :                             res_op1 = captures[3];
    9303                 :       29712 :                             tree _r;
    9304                 :       29712 :                             _r = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1);
    9305                 :       29712 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1010, __FILE__, __LINE__, true);
    9306                 :       29712 :                             return _r;
    9307                 :             :                           }
    9308                 :           0 : next_after_fail1685:;
    9309                 :             :                         }
    9310                 :             :                       else
    9311                 :             :                         {
    9312                 :           6 :                           {
    9313                 :           6 :  tree utype = unsigned_type_for (type);
    9314                 :           6 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1686;
    9315                 :           6 :                               {
    9316                 :           6 :                                 tree res_op0;
    9317                 :           6 :                                 {
    9318                 :           6 :                                   tree _o1[2], _r1;
    9319                 :           6 :                                   {
    9320                 :           6 :                                     tree _o2[2], _r2;
    9321                 :           6 :                                     {
    9322                 :           6 :                                       tree _o3[1], _r3;
    9323                 :           6 :                                       _o3[0] = captures[0];
    9324                 :           6 :                                       if (TREE_TYPE (_o3[0]) != utype)
    9325                 :             :                                         {
    9326                 :           6 :                                           _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    9327                 :             :                                         }
    9328                 :             :                                       else
    9329                 :             :                                         _r3 = _o3[0];
    9330                 :           6 :                                       _o2[0] = _r3;
    9331                 :             :                                     }
    9332                 :           6 :                                     _o2[1] = captures[2];
    9333                 :           6 :                                     _r2 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    9334                 :           6 :                                     _o1[0] = _r2;
    9335                 :             :                                   }
    9336                 :           6 :                                   _o1[1] = captures[3];
    9337                 :           6 :                                   _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9338                 :           6 :                                   res_op0 = _r1;
    9339                 :             :                                 }
    9340                 :           6 :                                 tree _r;
    9341                 :           6 :                                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    9342                 :           6 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1011, __FILE__, __LINE__, true);
    9343                 :           6 :                                 return _r;
    9344                 :             :                               }
    9345                 :           0 : next_after_fail1686:;
    9346                 :             :                           }
    9347                 :             :                         }
    9348                 :             :                     }
    9349                 :             :                 }
    9350                 :       19273 :                 break;
    9351                 :             :               }
    9352                 :             :             default:;
    9353                 :             :             }
    9354                 :             :           break;
    9355                 :             :         }
    9356                 :             :       default:;
    9357                 :             :       }
    9358                 :             :   }
    9359                 :     1184577 :   if (integer_zerop (_p1))
    9360                 :             :     {
    9361                 :        1058 :       {
    9362                 :        1058 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    9363                 :        1058 :         tree res = generic_simplify_372 (loc, type, _p0, _p1, captures, LSHIFT_EXPR);
    9364                 :        1058 :         if (res) return res;
    9365                 :             :       }
    9366                 :             :     }
    9367                 :     1183519 :   if (integer_zerop (_p0))
    9368                 :             :     {
    9369                 :         162 :       {
    9370                 :         162 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9371                 :         162 :         tree res = generic_simplify_373 (loc, type, _p0, _p1, captures, LSHIFT_EXPR);
    9372                 :         162 :         if (res) return res;
    9373                 :             :       }
    9374                 :             :     }
    9375                 :     1183357 :   switch (TREE_CODE (_p1))
    9376                 :             :     {
    9377                 :           0 :     case VECTOR_CST:
    9378                 :           0 :       {
    9379                 :           0 :         {
    9380                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9381                 :           0 :           tree res = generic_simplify_374 (loc, type, _p0, _p1, captures, LSHIFT_EXPR);
    9382                 :           0 :           if (res) return res;
    9383                 :             :         }
    9384                 :           0 :         break;
    9385                 :             :       }
    9386                 :           0 :     case CONSTRUCTOR:
    9387                 :           0 :       {
    9388                 :           0 :         {
    9389                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9390                 :           0 :           tree res = generic_simplify_375 (loc, type, _p0, _p1, captures, LSHIFT_EXPR);
    9391                 :           0 :           if (res) return res;
    9392                 :             :         }
    9393                 :           0 :         break;
    9394                 :             :       }
    9395                 :     1183357 :     default:;
    9396                 :             :     }
    9397                 :     1183357 :   switch (TREE_CODE (_p0))
    9398                 :             :     {
    9399                 :         280 :     case LSHIFT_EXPR:
    9400                 :         280 :       {
    9401                 :         280 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9402                 :         280 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9403                 :         280 :         switch (TREE_CODE (_q21))
    9404                 :             :           {
    9405                 :          39 :           case INTEGER_CST:
    9406                 :          39 :             {
    9407                 :          39 :               switch (TREE_CODE (_p1))
    9408                 :             :                 {
    9409                 :          39 :                 case INTEGER_CST:
    9410                 :          39 :                   {
    9411                 :          39 :                     {
    9412                 :          39 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9413                 :          39 :                       tree res = generic_simplify_376 (loc, type, _p0, _p1, captures, LSHIFT_EXPR);
    9414                 :          39 :                       if (res) return res;
    9415                 :             :                     }
    9416                 :           0 :                     break;
    9417                 :             :                   }
    9418                 :             :                 default:;
    9419                 :             :                 }
    9420                 :             :               break;
    9421                 :             :             }
    9422                 :             :           default:;
    9423                 :             :           }
    9424                 :             :         break;
    9425                 :             :       }
    9426                 :      655096 :     CASE_CONVERT:
    9427                 :      655096 :       {
    9428                 :      655096 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9429                 :      655096 :         switch (TREE_CODE (_q20))
    9430                 :             :           {
    9431                 :           0 :           case BIT_AND_EXPR:
    9432                 :           0 :             {
    9433                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9434                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9435                 :           0 :               switch (TREE_CODE (_q31))
    9436                 :             :                 {
    9437                 :           0 :                 case INTEGER_CST:
    9438                 :           0 :                   {
    9439                 :           0 :                     switch (TREE_CODE (_p1))
    9440                 :             :                       {
    9441                 :           0 :                       case INTEGER_CST:
    9442                 :           0 :                         {
    9443                 :           0 :                           {
    9444                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1 };
    9445                 :           0 :                             tree res = generic_simplify_377 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, LSHIFT_EXPR);
    9446                 :           0 :                             if (res) return res;
    9447                 :             :                           }
    9448                 :           0 :                           break;
    9449                 :             :                         }
    9450                 :             :                       default:;
    9451                 :             :                       }
    9452                 :             :                     break;
    9453                 :             :                   }
    9454                 :             :                 default:;
    9455                 :             :                 }
    9456                 :             :               break;
    9457                 :             :             }
    9458                 :           9 :           case BIT_XOR_EXPR:
    9459                 :           9 :             {
    9460                 :           9 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9461                 :           9 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9462                 :           9 :               switch (TREE_CODE (_q31))
    9463                 :             :                 {
    9464                 :           0 :                 case INTEGER_CST:
    9465                 :           0 :                   {
    9466                 :           0 :                     switch (TREE_CODE (_p1))
    9467                 :             :                       {
    9468                 :           0 :                       case INTEGER_CST:
    9469                 :           0 :                         {
    9470                 :           0 :                           {
    9471                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1 };
    9472                 :           0 :                             tree res = generic_simplify_377 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LSHIFT_EXPR);
    9473                 :           0 :                             if (res) return res;
    9474                 :             :                           }
    9475                 :           0 :                           break;
    9476                 :             :                         }
    9477                 :             :                       default:;
    9478                 :             :                       }
    9479                 :             :                     break;
    9480                 :             :                   }
    9481                 :             :                 default:;
    9482                 :             :                 }
    9483                 :             :               break;
    9484                 :             :             }
    9485                 :          16 :           case BIT_IOR_EXPR:
    9486                 :          16 :             {
    9487                 :          16 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9488                 :          16 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9489                 :          16 :               switch (TREE_CODE (_q31))
    9490                 :             :                 {
    9491                 :          11 :                 case INTEGER_CST:
    9492                 :          11 :                   {
    9493                 :          11 :                     switch (TREE_CODE (_p1))
    9494                 :             :                       {
    9495                 :          11 :                       case INTEGER_CST:
    9496                 :          11 :                         {
    9497                 :          11 :                           {
    9498                 :          11 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1 };
    9499                 :          11 :                             tree res = generic_simplify_377 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LSHIFT_EXPR);
    9500                 :          11 :                             if (res) return res;
    9501                 :             :                           }
    9502                 :           2 :                           break;
    9503                 :             :                         }
    9504                 :             :                       default:;
    9505                 :             :                       }
    9506                 :             :                     break;
    9507                 :             :                   }
    9508                 :             :                 default:;
    9509                 :             :                 }
    9510                 :             :               break;
    9511                 :             :             }
    9512                 :             :           default:;
    9513                 :             :           }
    9514                 :             :         break;
    9515                 :             :       }
    9516                 :       14767 :     case BIT_AND_EXPR:
    9517                 :       14767 :       {
    9518                 :       14767 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9519                 :       14767 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9520                 :       14767 :         switch (TREE_CODE (_q21))
    9521                 :             :           {
    9522                 :       14672 :           case INTEGER_CST:
    9523                 :       14672 :             {
    9524                 :       14672 :               switch (TREE_CODE (_p1))
    9525                 :             :                 {
    9526                 :       14533 :                 case INTEGER_CST:
    9527                 :       14533 :                   {
    9528                 :       14533 :                     {
    9529                 :       14533 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1 };
    9530                 :       14533 :                       tree res = generic_simplify_378 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, LSHIFT_EXPR);
    9531                 :       14533 :                       if (res) return res;
    9532                 :             :                     }
    9533                 :           7 :                     break;
    9534                 :             :                   }
    9535                 :             :                 default:;
    9536                 :             :                 }
    9537                 :             :               break;
    9538                 :             :             }
    9539                 :             :           default:;
    9540                 :             :           }
    9541                 :             :         break;
    9542                 :             :       }
    9543                 :          66 :     case BIT_XOR_EXPR:
    9544                 :          66 :       {
    9545                 :          66 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9546                 :          66 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9547                 :          66 :         switch (TREE_CODE (_q21))
    9548                 :             :           {
    9549                 :           0 :           case INTEGER_CST:
    9550                 :           0 :             {
    9551                 :           0 :               switch (TREE_CODE (_p1))
    9552                 :             :                 {
    9553                 :           0 :                 case INTEGER_CST:
    9554                 :           0 :                   {
    9555                 :           0 :                     {
    9556                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1 };
    9557                 :           0 :                       tree res = generic_simplify_378 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LSHIFT_EXPR);
    9558                 :           0 :                       if (res) return res;
    9559                 :             :                     }
    9560                 :           0 :                     break;
    9561                 :             :                   }
    9562                 :             :                 default:;
    9563                 :             :                 }
    9564                 :             :               break;
    9565                 :             :             }
    9566                 :             :           default:;
    9567                 :             :           }
    9568                 :             :         break;
    9569                 :             :       }
    9570                 :          75 :     case BIT_IOR_EXPR:
    9571                 :          75 :       {
    9572                 :          75 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9573                 :          75 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9574                 :          75 :         switch (TREE_CODE (_q21))
    9575                 :             :           {
    9576                 :           2 :           case INTEGER_CST:
    9577                 :           2 :             {
    9578                 :           2 :               switch (TREE_CODE (_p1))
    9579                 :             :                 {
    9580                 :           2 :                 case INTEGER_CST:
    9581                 :           2 :                   {
    9582                 :           2 :                     {
    9583                 :           2 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1 };
    9584                 :           2 :                       tree res = generic_simplify_378 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LSHIFT_EXPR);
    9585                 :           2 :                       if (res) return res;
    9586                 :             :                     }
    9587                 :           0 :                     break;
    9588                 :             :                   }
    9589                 :             :                 default:;
    9590                 :             :                 }
    9591                 :             :               break;
    9592                 :             :             }
    9593                 :             :           default:;
    9594                 :             :           }
    9595                 :             :         break;
    9596                 :             :       }
    9597                 :           1 :     case VEC_COND_EXPR:
    9598                 :           1 :       {
    9599                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9600                 :           1 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9601                 :           1 :         tree _q22 = TREE_OPERAND (_p0, 2);
    9602                 :           1 :         switch (TREE_CODE (_p1))
    9603                 :             :           {
    9604                 :           0 :           case VEC_COND_EXPR:
    9605                 :           0 :             {
    9606                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    9607                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    9608                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    9609                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    9610                 :             :                 {
    9611                 :           0 :                   {
    9612                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    9613                 :           0 :                     if (VECTOR_TYPE_P (type)
    9614                 :           0 :  && (TREE_CODE_CLASS (LSHIFT_EXPR) != tcc_comparison
    9615                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    9616                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    9617                 :             :  || (optimize_vectors_before_lowering_p ()
    9618                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    9619                 :             : )
    9620                 :             :                       {
    9621                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1687;
    9622                 :           0 :                         {
    9623                 :           0 :                           tree res_op0;
    9624                 :           0 :                           res_op0 = captures[1];
    9625                 :           0 :                           tree res_op1;
    9626                 :           0 :                           {
    9627                 :           0 :                             tree _o1[2], _r1;
    9628                 :           0 :                             _o1[0] = captures[2];
    9629                 :           0 :                             _o1[1] = captures[5];
    9630                 :           0 :                             _r1 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9631                 :           0 :                             if (EXPR_P (_r1))
    9632                 :           0 :                               goto next_after_fail1687;
    9633                 :           0 :                             res_op1 = _r1;
    9634                 :             :                           }
    9635                 :           0 :                           tree res_op2;
    9636                 :           0 :                           {
    9637                 :           0 :                             tree _o1[2], _r1;
    9638                 :           0 :                             _o1[0] = captures[3];
    9639                 :           0 :                             _o1[1] = captures[6];
    9640                 :           0 :                             _r1 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9641                 :           0 :                             if (EXPR_P (_r1))
    9642                 :           0 :                               goto next_after_fail1687;
    9643                 :           0 :                             res_op2 = _r1;
    9644                 :             :                           }
    9645                 :           0 :                           tree _r;
    9646                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9647                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
    9648                 :           0 :                           return _r;
    9649                 :             :                         }
    9650                 :           0 : next_after_fail1687:;
    9651                 :             :                       }
    9652                 :             :                   }
    9653                 :             :                 }
    9654                 :             :               break;
    9655                 :             :             }
    9656                 :           1 :           default:;
    9657                 :             :           }
    9658                 :           1 :         {
    9659                 :           1 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    9660                 :           1 :           if (VECTOR_TYPE_P (type)
    9661                 :           1 :  && (TREE_CODE_CLASS (LSHIFT_EXPR) != tcc_comparison
    9662                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    9663                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    9664                 :             :  || (optimize_vectors_before_lowering_p ()
    9665                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    9666                 :             : )
    9667                 :             :             {
    9668                 :           1 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1688;
    9669                 :           1 :               {
    9670                 :           1 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1688;
    9671                 :           0 :                 tree res_op0;
    9672                 :           0 :                 res_op0 = captures[1];
    9673                 :           0 :                 tree res_op1;
    9674                 :           0 :                 {
    9675                 :           0 :                   tree _o1[2], _r1;
    9676                 :           0 :                   _o1[0] = captures[2];
    9677                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
    9678                 :           0 :                   _r1 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9679                 :           0 :                   if (EXPR_P (_r1))
    9680                 :           0 :                     goto next_after_fail1688;
    9681                 :           0 :                   res_op1 = _r1;
    9682                 :             :                 }
    9683                 :           0 :                 tree res_op2;
    9684                 :           0 :                 {
    9685                 :           0 :                   tree _o1[2], _r1;
    9686                 :           0 :                   _o1[0] = captures[3];
    9687                 :           0 :                   _o1[1] = captures[4];
    9688                 :           0 :                   _r1 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9689                 :           0 :                   if (EXPR_P (_r1))
    9690                 :           0 :                     goto next_after_fail1688;
    9691                 :           0 :                   res_op2 = _r1;
    9692                 :             :                 }
    9693                 :           0 :                 tree _r;
    9694                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9695                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
    9696                 :           0 :                 return _r;
    9697                 :             :               }
    9698                 :           1 : next_after_fail1688:;
    9699                 :             :             }
    9700                 :             :         }
    9701                 :           1 :         break;
    9702                 :             :       }
    9703                 :     1168781 :     default:;
    9704                 :             :     }
    9705                 :     1168781 :   switch (TREE_CODE (_p1))
    9706                 :             :     {
    9707                 :           3 :     case VEC_COND_EXPR:
    9708                 :           3 :       {
    9709                 :           3 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9710                 :           3 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9711                 :           3 :         tree _q32 = TREE_OPERAND (_p1, 2);
    9712                 :           3 :         {
    9713                 :           3 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    9714                 :           3 :           if (VECTOR_TYPE_P (type)
    9715                 :           3 :  && (TREE_CODE_CLASS (LSHIFT_EXPR) != tcc_comparison
    9716                 :             :  || types_match (type, TREE_TYPE (captures[3]))
    9717                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
    9718                 :             :  || (optimize_vectors_before_lowering_p ()
    9719                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
    9720                 :             : )
    9721                 :             :             {
    9722                 :           3 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1689;
    9723                 :           3 :               {
    9724                 :           3 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1689;
    9725                 :           1 :                 tree res_op0;
    9726                 :           1 :                 res_op0 = captures[2];
    9727                 :           1 :                 tree res_op1;
    9728                 :           1 :                 {
    9729                 :           1 :                   tree _o1[2], _r1;
    9730                 :           1 :                   _o1[0] = unshare_expr (captures[0]);
    9731                 :           1 :                   _o1[1] = captures[3];
    9732                 :           1 :                   _r1 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9733                 :           1 :                   if (EXPR_P (_r1))
    9734                 :           0 :                     goto next_after_fail1689;
    9735                 :           1 :                   res_op1 = _r1;
    9736                 :             :                 }
    9737                 :           1 :                 tree res_op2;
    9738                 :           1 :                 {
    9739                 :           1 :                   tree _o1[2], _r1;
    9740                 :           1 :                   _o1[0] = captures[0];
    9741                 :           1 :                   _o1[1] = captures[4];
    9742                 :           1 :                   _r1 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9743                 :           1 :                   if (EXPR_P (_r1))
    9744                 :           0 :                     goto next_after_fail1689;
    9745                 :           1 :                   res_op2 = _r1;
    9746                 :             :                 }
    9747                 :           1 :                 tree _r;
    9748                 :           1 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9749                 :           1 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
    9750                 :           1 :                 return _r;
    9751                 :             :               }
    9752                 :           2 : next_after_fail1689:;
    9753                 :             :             }
    9754                 :             :         }
    9755                 :           2 :         break;
    9756                 :             :       }
    9757                 :     1168780 :     default:;
    9758                 :             :     }
    9759                 :     1168780 :   switch (TREE_CODE (_p0))
    9760                 :             :     {
    9761                 :           0 :     case VEC_PERM_EXPR:
    9762                 :           0 :       {
    9763                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9764                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9765                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    9766                 :           0 :         if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
    9767                 :             :           {
    9768                 :           0 :             switch (TREE_CODE (_p1))
    9769                 :             :               {
    9770                 :           0 :               case VEC_PERM_EXPR:
    9771                 :           0 :                 {
    9772                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    9773                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    9774                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    9775                 :           0 :                   if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
    9776                 :             :                     {
    9777                 :           0 :                       if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    9778                 :             :                         {
    9779                 :           0 :                           {
    9780                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
    9781                 :           0 :                             if (VECTOR_INTEGER_TYPE_P (type)
    9782                 :             : )
    9783                 :             :                               {
    9784                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1690;
    9785                 :           0 :                                 {
    9786                 :           0 :                                   tree res_op0;
    9787                 :           0 :                                   {
    9788                 :           0 :                                     tree _o1[2], _r1;
    9789                 :           0 :                                     _o1[0] = captures[0];
    9790                 :           0 :                                     _o1[1] = captures[2];
    9791                 :           0 :                                     _r1 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9792                 :           0 :                                     captures[3] = _r1;
    9793                 :             :                                   }
    9794                 :           0 :                                   res_op0 = unshare_expr (captures[3]);
    9795                 :           0 :                                   tree res_op1;
    9796                 :           0 :                                   res_op1 = captures[3];
    9797                 :           0 :                                   tree res_op2;
    9798                 :           0 :                                   res_op2 = captures[1];
    9799                 :           0 :                                   tree _r;
    9800                 :           0 :                                   _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
    9801                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
    9802                 :           0 :                                   return _r;
    9803                 :             :                                 }
    9804                 :           0 : next_after_fail1690:;
    9805                 :             :                               }
    9806                 :             :                           }
    9807                 :             :                         }
    9808                 :             :                     }
    9809                 :             :                   break;
    9810                 :             :                 }
    9811                 :             :               default:;
    9812                 :             :               }
    9813                 :             :           }
    9814                 :             :         break;
    9815                 :             :       }
    9816                 :             :     default:;
    9817                 :             :     }
    9818                 :             :   return NULL_TREE;
    9819                 :             : }
    9820                 :             : 
    9821                 :             : tree
    9822                 :       82761 : generic_simplify_MIN_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    9823                 :             : {
    9824                 :       82761 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    9825                 :       82761 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    9826                 :             :     {
    9827                 :           0 :       {
    9828                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    9829                 :           0 :         tree res = generic_simplify_496 (loc, type, _p0, _p1, captures, MIN_EXPR);
    9830                 :           0 :         if (res) return res;
    9831                 :             :       }
    9832                 :             :     }
    9833                 :       82761 :   switch (TREE_CODE (_p0))
    9834                 :             :     {
    9835                 :           4 :     case MIN_EXPR:
    9836                 :           4 :       {
    9837                 :           4 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9838                 :           4 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9839                 :           4 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9840                 :             :           {
    9841                 :           0 :             {
    9842                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    9843                 :           0 :               tree res = generic_simplify_497 (loc, type, _p0, _p1, captures, MIN_EXPR);
    9844                 :           0 :               if (res) return res;
    9845                 :             :             }
    9846                 :             :           }
    9847                 :           4 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9848                 :             :           {
    9849                 :           0 :             {
    9850                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    9851                 :           0 :               tree res = generic_simplify_497 (loc, type, _p0, _p1, captures, MIN_EXPR);
    9852                 :           0 :               if (res) return res;
    9853                 :             :             }
    9854                 :             :           }
    9855                 :             :         break;
    9856                 :             :       }
    9857                 :       82761 :     default:;
    9858                 :             :     }
    9859                 :       82761 :   switch (TREE_CODE (_p1))
    9860                 :             :     {
    9861                 :           0 :     case MIN_EXPR:
    9862                 :           0 :       {
    9863                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9864                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9865                 :           0 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9866                 :             :           {
    9867                 :           0 :             {
    9868                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
    9869                 :           0 :               tree res = generic_simplify_498 (loc, type, _p0, _p1, captures, MIN_EXPR);
    9870                 :           0 :               if (res) return res;
    9871                 :             :             }
    9872                 :             :           }
    9873                 :           0 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    9874                 :             :           {
    9875                 :           0 :             {
    9876                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q30 };
    9877                 :           0 :               tree res = generic_simplify_498 (loc, type, _p0, _p1, captures, MIN_EXPR);
    9878                 :           0 :               if (res) return res;
    9879                 :             :             }
    9880                 :             :           }
    9881                 :             :         break;
    9882                 :             :       }
    9883                 :       82761 :     default:;
    9884                 :             :     }
    9885                 :       82761 :   switch (TREE_CODE (_p0))
    9886                 :             :     {
    9887                 :           4 :     case MAX_EXPR:
    9888                 :           4 :       {
    9889                 :           4 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9890                 :           4 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9891                 :           4 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9892                 :             :           {
    9893                 :           3 :             {
    9894                 :           3 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9895                 :           3 :               tree res = generic_simplify_499 (loc, type, _p0, _p1, captures);
    9896                 :           3 :               if (res) return res;
    9897                 :             :             }
    9898                 :             :           }
    9899                 :           1 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9900                 :             :           {
    9901                 :           1 :             {
    9902                 :           1 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9903                 :           1 :               tree res = generic_simplify_499 (loc, type, _p0, _p1, captures);
    9904                 :           1 :               if (res) return res;
    9905                 :             :             }
    9906                 :             :           }
    9907                 :             :         break;
    9908                 :             :       }
    9909                 :       82757 :     default:;
    9910                 :             :     }
    9911                 :       82757 :   switch (TREE_CODE (_p1))
    9912                 :             :     {
    9913                 :           0 :     case MAX_EXPR:
    9914                 :           0 :       {
    9915                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9916                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9917                 :           0 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    9918                 :             :           {
    9919                 :           0 :             {
    9920                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    9921                 :           0 :               tree res = generic_simplify_499 (loc, type, _p0, _p1, captures);
    9922                 :           0 :               if (res) return res;
    9923                 :             :             }
    9924                 :             :           }
    9925                 :           0 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9926                 :             :           {
    9927                 :           0 :             {
    9928                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q31, _p0 };
    9929                 :           0 :               tree res = generic_simplify_499 (loc, type, _p0, _p1, captures);
    9930                 :           0 :               if (res) return res;
    9931                 :             :             }
    9932                 :             :           }
    9933                 :             :         break;
    9934                 :             :       }
    9935                 :           0 :     case NEGATE_EXPR:
    9936                 :           0 :       {
    9937                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9938                 :           0 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9939                 :             :           {
    9940                 :           0 :             {
    9941                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    9942                 :           0 :               tree res = generic_simplify_500 (loc, type, _p0, _p1, captures);
    9943                 :           0 :               if (res) return res;
    9944                 :             :             }
    9945                 :             :           }
    9946                 :             :         break;
    9947                 :             :       }
    9948                 :       82757 :     default:;
    9949                 :             :     }
    9950                 :       82757 :   switch (TREE_CODE (_p0))
    9951                 :             :     {
    9952                 :           2 :     case NEGATE_EXPR:
    9953                 :           2 :       {
    9954                 :           2 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9955                 :           2 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9956                 :             :           {
    9957                 :           2 :             {
    9958                 :           2 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    9959                 :           2 :               tree res = generic_simplify_500 (loc, type, _p0, _p1, captures);
    9960                 :           2 :               if (res) return res;
    9961                 :             :             }
    9962                 :             :           }
    9963                 :             :         break;
    9964                 :             :       }
    9965                 :       82755 :     default:;
    9966                 :             :     }
    9967                 :       82755 :   {
    9968                 :       82755 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9969                 :       82755 :     if (INTEGRAL_TYPE_P (type)
    9970                 :       80969 :  && TYPE_MIN_VALUE (type)
    9971                 :      163724 :  && operand_equal_p (captures[1], TYPE_MIN_VALUE (type), OEP_ONLY_CONST)
    9972                 :             : )
    9973                 :             :       {
    9974                 :         540 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1720;
    9975                 :         540 :         {
    9976                 :         540 :           tree _r;
    9977                 :         540 :           _r = captures[1];
    9978                 :         540 :           if (TREE_SIDE_EFFECTS (captures[0]))
    9979                 :           0 :             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    9980                 :         540 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1026, __FILE__, __LINE__, true);
    9981                 :         540 :           return _r;
    9982                 :             :         }
    9983                 :           0 : next_after_fail1720:;
    9984                 :             :       }
    9985                 :             :     else
    9986                 :             :       {
    9987                 :       82215 :         if (INTEGRAL_TYPE_P (type)
    9988                 :       80429 :  && TYPE_MAX_VALUE (type)
    9989                 :      162644 :  && operand_equal_p (captures[1], TYPE_MAX_VALUE (type), OEP_ONLY_CONST)
    9990                 :             : )
    9991                 :             :           {
    9992                 :           1 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1721;
    9993                 :           1 :             {
    9994                 :           1 :               tree _r;
    9995                 :           1 :               _r = captures[0];
    9996                 :           1 :               if (TREE_SIDE_EFFECTS (captures[1]))
    9997                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    9998                 :           1 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1027, __FILE__, __LINE__, true);
    9999                 :           1 :               return _r;
   10000                 :             :             }
   10001                 :           0 : next_after_fail1721:;
   10002                 :             :           }
   10003                 :             :       }
   10004                 :             :   }
   10005                 :       82214 :   switch (TREE_CODE (_p1))
   10006                 :             :     {
   10007                 :          22 :     case PLUS_EXPR:
   10008                 :          22 :       {
   10009                 :          22 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10010                 :          22 :         tree _q31 = TREE_OPERAND (_p1, 1);
   10011                 :          22 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   10012                 :             :           {
   10013                 :           0 :             switch (TREE_CODE (_q31))
   10014                 :             :               {
   10015                 :           0 :               case INTEGER_CST:
   10016                 :           0 :                 {
   10017                 :           0 :                   {
   10018                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
   10019                 :           0 :                     if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
   10020                 :             : )
   10021                 :             :                       {
   10022                 :           0 :                         if (tree_int_cst_sgn (captures[2]) > 0
   10023                 :             : )
   10024                 :             :                           {
   10025                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1722;
   10026                 :           0 :                             {
   10027                 :           0 :                               tree _r;
   10028                 :           0 :                               _r = captures[0];
   10029                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2]))
   10030                 :           0 :                                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10031                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1028, __FILE__, __LINE__, true);
   10032                 :           0 :                               return _r;
   10033                 :             :                             }
   10034                 :           0 : next_after_fail1722:;
   10035                 :             :                           }
   10036                 :             :                         else
   10037                 :             :                           {
   10038                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1723;
   10039                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1723;
   10040                 :           0 :                             {
   10041                 :           0 :                               tree _r;
   10042                 :           0 :                               _r = captures[1];
   10043                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1029, __FILE__, __LINE__, true);
   10044                 :           0 :                               return _r;
   10045                 :             :                             }
   10046                 :           0 : next_after_fail1723:;
   10047                 :             :                           }
   10048                 :             :                       }
   10049                 :             :                   }
   10050                 :           0 :                   break;
   10051                 :             :                 }
   10052                 :             :               default:;
   10053                 :             :               }
   10054                 :             :           }
   10055                 :             :         break;
   10056                 :             :       }
   10057                 :       82214 :     default:;
   10058                 :             :     }
   10059                 :       82214 :   switch (TREE_CODE (_p0))
   10060                 :             :     {
   10061                 :        5561 :     case PLUS_EXPR:
   10062                 :        5561 :       {
   10063                 :        5561 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10064                 :        5561 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10065                 :        5561 :         switch (TREE_CODE (_q21))
   10066                 :             :           {
   10067                 :        5432 :           case INTEGER_CST:
   10068                 :        5432 :             {
   10069                 :        5432 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   10070                 :             :                 {
   10071                 :           0 :                   {
   10072                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
   10073                 :           0 :                     if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
   10074                 :             : )
   10075                 :             :                       {
   10076                 :           0 :                         if (tree_int_cst_sgn (captures[2]) > 0
   10077                 :             : )
   10078                 :             :                           {
   10079                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1724;
   10080                 :           0 :                             {
   10081                 :           0 :                               tree _r;
   10082                 :           0 :                               _r = captures[0];
   10083                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2]))
   10084                 :           0 :                                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10085                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1028, __FILE__, __LINE__, true);
   10086                 :           0 :                               return _r;
   10087                 :             :                             }
   10088                 :           0 : next_after_fail1724:;
   10089                 :             :                           }
   10090                 :             :                         else
   10091                 :             :                           {
   10092                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1725;
   10093                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1725;
   10094                 :           0 :                             {
   10095                 :           0 :                               tree _r;
   10096                 :           0 :                               _r = captures[1];
   10097                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1029, __FILE__, __LINE__, true);
   10098                 :           0 :                               return _r;
   10099                 :             :                             }
   10100                 :           0 : next_after_fail1725:;
   10101                 :             :                           }
   10102                 :             :                       }
   10103                 :             :                   }
   10104                 :             :                 }
   10105                 :             :               break;
   10106                 :             :             }
   10107                 :             :           default:;
   10108                 :             :           }
   10109                 :             :         break;
   10110                 :             :       }
   10111                 :           4 :     case MIN_EXPR:
   10112                 :           4 :       {
   10113                 :           4 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10114                 :           4 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10115                 :           4 :         switch (TREE_CODE (_p1))
   10116                 :             :           {
   10117                 :           0 :           case MAX_EXPR:
   10118                 :           0 :             {
   10119                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
   10120                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
   10121                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10122                 :             :                 {
   10123                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10124                 :             :                     {
   10125                 :           0 :                       {
   10126                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10127                 :           0 :                         if (!HONOR_NANS (captures[0])
   10128                 :             : )
   10129                 :             :                           {
   10130                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1726;
   10131                 :           0 :                             {
   10132                 :           0 :                               tree res_op0;
   10133                 :           0 :                               res_op0 = captures[0];
   10134                 :           0 :                               tree res_op1;
   10135                 :           0 :                               res_op1 = captures[1];
   10136                 :           0 :                               tree _r;
   10137                 :           0 :                               _r = fold_build2_loc (loc, MIN_EXPR, type, res_op0, res_op1);
   10138                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
   10139                 :           0 :                               return _r;
   10140                 :             :                             }
   10141                 :           0 : next_after_fail1726:;
   10142                 :             :                           }
   10143                 :             :                       }
   10144                 :             :                     }
   10145                 :             :                 }
   10146                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10147                 :             :                 {
   10148                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10149                 :             :                     {
   10150                 :           0 :                       {
   10151                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10152                 :           0 :                         if (!HONOR_NANS (captures[0])
   10153                 :             : )
   10154                 :             :                           {
   10155                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1727;
   10156                 :           0 :                             {
   10157                 :           0 :                               tree res_op0;
   10158                 :           0 :                               res_op0 = captures[0];
   10159                 :           0 :                               tree res_op1;
   10160                 :           0 :                               res_op1 = captures[1];
   10161                 :           0 :                               tree _r;
   10162                 :           0 :                               _r = fold_build2_loc (loc, MIN_EXPR, type, res_op0, res_op1);
   10163                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
   10164                 :           0 :                               return _r;
   10165                 :             :                             }
   10166                 :           0 : next_after_fail1727:;
   10167                 :             :                           }
   10168                 :             :                       }
   10169                 :             :                     }
   10170                 :             :                 }
   10171                 :             :               break;
   10172                 :             :             }
   10173                 :             :           default:;
   10174                 :             :           }
   10175                 :             :         break;
   10176                 :             :       }
   10177                 :           0 :     case MAX_EXPR:
   10178                 :           0 :       {
   10179                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10180                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10181                 :           0 :         switch (TREE_CODE (_p1))
   10182                 :             :           {
   10183                 :           0 :           case MIN_EXPR:
   10184                 :           0 :             {
   10185                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
   10186                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
   10187                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10188                 :             :                 {
   10189                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10190                 :             :                     {
   10191                 :           0 :                       {
   10192                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10193                 :           0 :                         if (!HONOR_NANS (captures[0])
   10194                 :             : )
   10195                 :             :                           {
   10196                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1728;
   10197                 :           0 :                             {
   10198                 :           0 :                               tree res_op0;
   10199                 :           0 :                               res_op0 = captures[0];
   10200                 :           0 :                               tree res_op1;
   10201                 :           0 :                               res_op1 = captures[1];
   10202                 :           0 :                               tree _r;
   10203                 :           0 :                               _r = fold_build2_loc (loc, MIN_EXPR, type, res_op0, res_op1);
   10204                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
   10205                 :           0 :                               return _r;
   10206                 :             :                             }
   10207                 :           0 : next_after_fail1728:;
   10208                 :             :                           }
   10209                 :             :                       }
   10210                 :             :                     }
   10211                 :             :                 }
   10212                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10213                 :             :                 {
   10214                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10215                 :             :                     {
   10216                 :           0 :                       {
   10217                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10218                 :           0 :                         if (!HONOR_NANS (captures[0])
   10219                 :             : )
   10220                 :             :                           {
   10221                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1729;
   10222                 :           0 :                             {
   10223                 :           0 :                               tree res_op0;
   10224                 :           0 :                               res_op0 = captures[0];
   10225                 :           0 :                               tree res_op1;
   10226                 :           0 :                               res_op1 = captures[1];
   10227                 :           0 :                               tree _r;
   10228                 :           0 :                               _r = fold_build2_loc (loc, MIN_EXPR, type, res_op0, res_op1);
   10229                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
   10230                 :           0 :                               return _r;
   10231                 :             :                             }
   10232                 :           0 : next_after_fail1729:;
   10233                 :             :                           }
   10234                 :             :                       }
   10235                 :             :                     }
   10236                 :             :                 }
   10237                 :             :               break;
   10238                 :             :             }
   10239                 :             :           default:;
   10240                 :             :           }
   10241                 :             :         break;
   10242                 :             :       }
   10243                 :         506 :     CASE_CONVERT:
   10244                 :         506 :       {
   10245                 :         506 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10246                 :         506 :         switch (TREE_CODE (_q20))
   10247                 :             :           {
   10248                 :           2 :           case ADDR_EXPR:
   10249                 :           2 :             {
   10250                 :           2 :               switch (TREE_CODE (_p1))
   10251                 :             :                 {
   10252                 :           2 :                 CASE_CONVERT:
   10253                 :           2 :                   {
   10254                 :           2 :                     tree _q40 = TREE_OPERAND (_p1, 0);
   10255                 :           2 :                     switch (TREE_CODE (_q40))
   10256                 :             :                       {
   10257                 :           2 :                       case ADDR_EXPR:
   10258                 :           2 :                         {
   10259                 :           2 :                           {
   10260                 :           2 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10261                 :           2 :                             tree res = generic_simplify_501 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR);
   10262                 :           2 :                             if (res) return res;
   10263                 :             :                           }
   10264                 :           2 :                           break;
   10265                 :             :                         }
   10266                 :             :                       default:;
   10267                 :             :                       }
   10268                 :             :                     break;
   10269                 :             :                   }
   10270                 :           0 :                 case ADDR_EXPR:
   10271                 :           0 :                   {
   10272                 :           0 :                     {
   10273                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
   10274                 :           0 :                       tree res = generic_simplify_502 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR);
   10275                 :           0 :                       if (res) return res;
   10276                 :             :                     }
   10277                 :           0 :                     break;
   10278                 :             :                   }
   10279                 :             :                 default:;
   10280                 :             :                 }
   10281                 :             :               break;
   10282                 :             :             }
   10283                 :             :           default:;
   10284                 :             :           }
   10285                 :             :         break;
   10286                 :             :       }
   10287                 :          10 :     case ADDR_EXPR:
   10288                 :          10 :       {
   10289                 :          10 :         switch (TREE_CODE (_p1))
   10290                 :             :           {
   10291                 :           0 :           CASE_CONVERT:
   10292                 :           0 :             {
   10293                 :           0 :               tree _q30 = TREE_OPERAND (_p1, 0);
   10294                 :           0 :               switch (TREE_CODE (_q30))
   10295                 :             :                 {
   10296                 :           0 :                 case ADDR_EXPR:
   10297                 :           0 :                   {
   10298                 :           0 :                     {
   10299                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _q30 };
   10300                 :           0 :                       tree res = generic_simplify_503 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR);
   10301                 :           0 :                       if (res) return res;
   10302                 :             :                     }
   10303                 :           0 :                     break;
   10304                 :             :                   }
   10305                 :             :                 default:;
   10306                 :             :                 }
   10307                 :             :               break;
   10308                 :             :             }
   10309                 :          10 :           case ADDR_EXPR:
   10310                 :          10 :             {
   10311                 :          10 :               {
   10312                 :          10 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _p1 };
   10313                 :          10 :                 tree res = generic_simplify_504 (loc, type, _p0, _p1, captures, MIN_EXPR, LT_EXPR);
   10314                 :          10 :                 if (res) return res;
   10315                 :             :               }
   10316                 :          10 :               break;
   10317                 :             :             }
   10318                 :             :           default:;
   10319                 :             :           }
   10320                 :             :         break;
   10321                 :             :       }
   10322                 :           0 :     case NEGATE_EXPR:
   10323                 :           0 :       {
   10324                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10325                 :           0 :         switch (TREE_CODE (_p1))
   10326                 :             :           {
   10327                 :           0 :           case NEGATE_EXPR:
   10328                 :           0 :             {
   10329                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   10330                 :           0 :               {
   10331                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10332                 :           0 :                 if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
   10333                 :           0 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
   10334                 :           0 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
   10335                 :             : )
   10336                 :             :                   {
   10337                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1730;
   10338                 :           0 :                     {
   10339                 :           0 :                       tree res_op0;
   10340                 :           0 :                       {
   10341                 :           0 :                         tree _o1[2], _r1;
   10342                 :           0 :                         _o1[0] = captures[1];
   10343                 :           0 :                         _o1[1] = captures[3];
   10344                 :           0 :                         _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10345                 :           0 :                         res_op0 = _r1;
   10346                 :             :                       }
   10347                 :           0 :                       tree _r;
   10348                 :           0 :                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
   10349                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1030, __FILE__, __LINE__, true);
   10350                 :           0 :                       return _r;
   10351                 :             :                     }
   10352                 :           0 : next_after_fail1730:;
   10353                 :             :                   }
   10354                 :             :               }
   10355                 :           0 :               break;
   10356                 :             :             }
   10357                 :             :           default:;
   10358                 :             :           }
   10359                 :             :         break;
   10360                 :             :       }
   10361                 :           0 :     case BIT_NOT_EXPR:
   10362                 :           0 :       {
   10363                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10364                 :           0 :         switch (TREE_CODE (_p1))
   10365                 :             :           {
   10366                 :           0 :           case BIT_NOT_EXPR:
   10367                 :           0 :             {
   10368                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   10369                 :           0 :               {
   10370                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10371                 :           0 :                 tree res = generic_simplify_505 (loc, type, _p0, _p1, captures, MIN_EXPR, MAX_EXPR);
   10372                 :           0 :                 if (res) return res;
   10373                 :             :               }
   10374                 :           0 :               break;
   10375                 :             :             }
   10376                 :             :           default:;
   10377                 :             :           }
   10378                 :             :         break;
   10379                 :             :       }
   10380                 :           0 :     case VEC_COND_EXPR:
   10381                 :           0 :       {
   10382                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10383                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10384                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   10385                 :           0 :         switch (TREE_CODE (_p1))
   10386                 :             :           {
   10387                 :           0 :           case VEC_COND_EXPR:
   10388                 :           0 :             {
   10389                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
   10390                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
   10391                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
   10392                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10393                 :             :                 {
   10394                 :           0 :                   {
   10395                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   10396                 :           0 :                     if (VECTOR_TYPE_P (type)
   10397                 :           0 :  && (TREE_CODE_CLASS (MIN_EXPR) != tcc_comparison
   10398                 :             :  || types_match (type, TREE_TYPE (captures[2]))
   10399                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10400                 :             :  || (optimize_vectors_before_lowering_p ()
   10401                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10402                 :             : )
   10403                 :             :                       {
   10404                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1731;
   10405                 :           0 :                         {
   10406                 :           0 :                           tree res_op0;
   10407                 :           0 :                           res_op0 = captures[1];
   10408                 :           0 :                           tree res_op1;
   10409                 :           0 :                           {
   10410                 :           0 :                             tree _o1[2], _r1;
   10411                 :           0 :                             _o1[0] = captures[2];
   10412                 :           0 :                             _o1[1] = captures[5];
   10413                 :           0 :                             _r1 = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10414                 :           0 :                             if (EXPR_P (_r1))
   10415                 :           0 :                               goto next_after_fail1731;
   10416                 :           0 :                             res_op1 = _r1;
   10417                 :             :                           }
   10418                 :           0 :                           tree res_op2;
   10419                 :           0 :                           {
   10420                 :           0 :                             tree _o1[2], _r1;
   10421                 :           0 :                             _o1[0] = captures[3];
   10422                 :           0 :                             _o1[1] = captures[6];
   10423                 :           0 :                             _r1 = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10424                 :           0 :                             if (EXPR_P (_r1))
   10425                 :           0 :                               goto next_after_fail1731;
   10426                 :           0 :                             res_op2 = _r1;
   10427                 :             :                           }
   10428                 :           0 :                           tree _r;
   10429                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10430                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
   10431                 :           0 :                           return _r;
   10432                 :             :                         }
   10433                 :           0 : next_after_fail1731:;
   10434                 :             :                       }
   10435                 :             :                   }
   10436                 :             :                 }
   10437                 :             :               break;
   10438                 :             :             }
   10439                 :           0 :           default:;
   10440                 :             :           }
   10441                 :           0 :         {
   10442                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   10443                 :           0 :           if (VECTOR_TYPE_P (type)
   10444                 :           0 :  && (TREE_CODE_CLASS (MIN_EXPR) != tcc_comparison
   10445                 :             :  || types_match (type, TREE_TYPE (captures[2]))
   10446                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10447                 :             :  || (optimize_vectors_before_lowering_p ()
   10448                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10449                 :             : )
   10450                 :             :             {
   10451                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1732;
   10452                 :           0 :               {
   10453                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1732;
   10454                 :           0 :                 tree res_op0;
   10455                 :           0 :                 res_op0 = captures[1];
   10456                 :           0 :                 tree res_op1;
   10457                 :           0 :                 {
   10458                 :           0 :                   tree _o1[2], _r1;
   10459                 :           0 :                   _o1[0] = captures[2];
   10460                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
   10461                 :           0 :                   _r1 = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10462                 :           0 :                   if (EXPR_P (_r1))
   10463                 :           0 :                     goto next_after_fail1732;
   10464                 :           0 :                   res_op1 = _r1;
   10465                 :             :                 }
   10466                 :           0 :                 tree res_op2;
   10467                 :           0 :                 {
   10468                 :           0 :                   tree _o1[2], _r1;
   10469                 :           0 :                   _o1[0] = captures[3];
   10470                 :           0 :                   _o1[1] = captures[4];
   10471                 :           0 :                   _r1 = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10472                 :           0 :                   if (EXPR_P (_r1))
   10473                 :           0 :                     goto next_after_fail1732;
   10474                 :           0 :                   res_op2 = _r1;
   10475                 :             :                 }
   10476                 :           0 :                 tree _r;
   10477                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10478                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
   10479                 :           0 :                 return _r;
   10480                 :             :               }
   10481                 :           0 : next_after_fail1732:;
   10482                 :             :             }
   10483                 :             :         }
   10484                 :           0 :         break;
   10485                 :             :       }
   10486                 :       82214 :     default:;
   10487                 :             :     }
   10488                 :       82214 :   switch (TREE_CODE (_p1))
   10489                 :             :     {
   10490                 :           0 :     case VEC_COND_EXPR:
   10491                 :           0 :       {
   10492                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10493                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   10494                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   10495                 :           0 :         {
   10496                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   10497                 :           0 :           if (VECTOR_TYPE_P (type)
   10498                 :           0 :  && (TREE_CODE_CLASS (MIN_EXPR) != tcc_comparison
   10499                 :             :  || types_match (type, TREE_TYPE (captures[3]))
   10500                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   10501                 :             :  || (optimize_vectors_before_lowering_p ()
   10502                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   10503                 :             : )
   10504                 :             :             {
   10505                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1733;
   10506                 :           0 :               {
   10507                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1733;
   10508                 :           0 :                 tree res_op0;
   10509                 :           0 :                 res_op0 = captures[2];
   10510                 :           0 :                 tree res_op1;
   10511                 :           0 :                 {
   10512                 :           0 :                   tree _o1[2], _r1;
   10513                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   10514                 :           0 :                   _o1[1] = captures[3];
   10515                 :           0 :                   _r1 = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10516                 :           0 :                   if (EXPR_P (_r1))
   10517                 :           0 :                     goto next_after_fail1733;
   10518                 :           0 :                   res_op1 = _r1;
   10519                 :             :                 }
   10520                 :           0 :                 tree res_op2;
   10521                 :           0 :                 {
   10522                 :           0 :                   tree _o1[2], _r1;
   10523                 :           0 :                   _o1[0] = captures[0];
   10524                 :           0 :                   _o1[1] = captures[4];
   10525                 :           0 :                   _r1 = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10526                 :           0 :                   if (EXPR_P (_r1))
   10527                 :           0 :                     goto next_after_fail1733;
   10528                 :           0 :                   res_op2 = _r1;
   10529                 :             :                 }
   10530                 :           0 :                 tree _r;
   10531                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10532                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
   10533                 :           0 :                 return _r;
   10534                 :             :               }
   10535                 :           0 : next_after_fail1733:;
   10536                 :             :             }
   10537                 :             :         }
   10538                 :           0 :         break;
   10539                 :             :       }
   10540                 :       82214 :     default:;
   10541                 :             :     }
   10542                 :       82214 :   if (tree_zero_one_valued_p (_p0))
   10543                 :             :     {
   10544                 :          10 :       if (tree_zero_one_valued_p (_p1))
   10545                 :             :         {
   10546                 :           2 :           {
   10547                 :           2 :             tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   10548                 :           2 :             tree res = generic_simplify_506 (loc, type, _p0, _p1, captures, MIN_EXPR, BIT_AND_EXPR);
   10549                 :           2 :             if (res) return res;
   10550                 :             :           }
   10551                 :             :         }
   10552                 :             :     }
   10553                 :             :   return NULL_TREE;
   10554                 :             : }
   10555                 :             : 
   10556                 :             : tree
   10557                 :      812656 : generic_simplify_UNLT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   10558                 :             : {
   10559                 :      812656 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   10560                 :      812656 :   switch (TREE_CODE (_p0))
   10561                 :             :     {
   10562                 :           0 :     case VEC_COND_EXPR:
   10563                 :           0 :       {
   10564                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10565                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10566                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   10567                 :           0 :         switch (TREE_CODE (_p1))
   10568                 :             :           {
   10569                 :           0 :           case VEC_COND_EXPR:
   10570                 :           0 :             {
   10571                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
   10572                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
   10573                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
   10574                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10575                 :             :                 {
   10576                 :           0 :                   {
   10577                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   10578                 :           0 :                     if (VECTOR_TYPE_P (type)
   10579                 :           0 :  && (TREE_CODE_CLASS (UNLT_EXPR) != tcc_comparison
   10580                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   10581                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10582                 :             :  || (optimize_vectors_before_lowering_p ()
   10583                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10584                 :             : )
   10585                 :             :                       {
   10586                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1760;
   10587                 :           0 :                         {
   10588                 :           0 :                           tree res_op0;
   10589                 :           0 :                           res_op0 = captures[1];
   10590                 :           0 :                           tree res_op1;
   10591                 :           0 :                           {
   10592                 :           0 :                             tree _o1[2], _r1;
   10593                 :           0 :                             _o1[0] = captures[2];
   10594                 :           0 :                             _o1[1] = captures[5];
   10595                 :           0 :                             _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   10596                 :           0 :                             if (EXPR_P (_r1))
   10597                 :           0 :                               goto next_after_fail1760;
   10598                 :           0 :                             res_op1 = _r1;
   10599                 :             :                           }
   10600                 :           0 :                           tree res_op2;
   10601                 :           0 :                           {
   10602                 :           0 :                             tree _o1[2], _r1;
   10603                 :           0 :                             _o1[0] = captures[3];
   10604                 :           0 :                             _o1[1] = captures[6];
   10605                 :           0 :                             _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   10606                 :           0 :                             if (EXPR_P (_r1))
   10607                 :           0 :                               goto next_after_fail1760;
   10608                 :           0 :                             res_op2 = _r1;
   10609                 :             :                           }
   10610                 :           0 :                           tree _r;
   10611                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10612                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
   10613                 :           0 :                           return _r;
   10614                 :             :                         }
   10615                 :           0 : next_after_fail1760:;
   10616                 :             :                       }
   10617                 :             :                   }
   10618                 :             :                 }
   10619                 :             :               break;
   10620                 :             :             }
   10621                 :           0 :           default:;
   10622                 :             :           }
   10623                 :           0 :         {
   10624                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   10625                 :           0 :           if (VECTOR_TYPE_P (type)
   10626                 :           0 :  && (TREE_CODE_CLASS (UNLT_EXPR) != tcc_comparison
   10627                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   10628                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10629                 :             :  || (optimize_vectors_before_lowering_p ()
   10630                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10631                 :             : )
   10632                 :             :             {
   10633                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1761;
   10634                 :           0 :               {
   10635                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1761;
   10636                 :           0 :                 tree res_op0;
   10637                 :           0 :                 res_op0 = captures[1];
   10638                 :           0 :                 tree res_op1;
   10639                 :           0 :                 {
   10640                 :           0 :                   tree _o1[2], _r1;
   10641                 :           0 :                   _o1[0] = captures[2];
   10642                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
   10643                 :           0 :                   _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   10644                 :           0 :                   if (EXPR_P (_r1))
   10645                 :           0 :                     goto next_after_fail1761;
   10646                 :           0 :                   res_op1 = _r1;
   10647                 :             :                 }
   10648                 :           0 :                 tree res_op2;
   10649                 :           0 :                 {
   10650                 :           0 :                   tree _o1[2], _r1;
   10651                 :           0 :                   _o1[0] = captures[3];
   10652                 :           0 :                   _o1[1] = captures[4];
   10653                 :           0 :                   _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   10654                 :           0 :                   if (EXPR_P (_r1))
   10655                 :           0 :                     goto next_after_fail1761;
   10656                 :           0 :                   res_op2 = _r1;
   10657                 :             :                 }
   10658                 :           0 :                 tree _r;
   10659                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10660                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
   10661                 :           0 :                 return _r;
   10662                 :             :               }
   10663                 :           0 : next_after_fail1761:;
   10664                 :             :             }
   10665                 :             :         }
   10666                 :           0 :         break;
   10667                 :             :       }
   10668                 :      812656 :     default:;
   10669                 :             :     }
   10670                 :      812656 :   switch (TREE_CODE (_p1))
   10671                 :             :     {
   10672                 :           0 :     case VEC_COND_EXPR:
   10673                 :           0 :       {
   10674                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10675                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   10676                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   10677                 :           0 :         {
   10678                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   10679                 :           0 :           if (VECTOR_TYPE_P (type)
   10680                 :           0 :  && (TREE_CODE_CLASS (UNLT_EXPR) != tcc_comparison
   10681                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
   10682                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   10683                 :             :  || (optimize_vectors_before_lowering_p ()
   10684                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   10685                 :             : )
   10686                 :             :             {
   10687                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1762;
   10688                 :           0 :               {
   10689                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1762;
   10690                 :           0 :                 tree res_op0;
   10691                 :           0 :                 res_op0 = captures[2];
   10692                 :           0 :                 tree res_op1;
   10693                 :           0 :                 {
   10694                 :           0 :                   tree _o1[2], _r1;
   10695                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   10696                 :           0 :                   _o1[1] = captures[3];
   10697                 :           0 :                   _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   10698                 :           0 :                   if (EXPR_P (_r1))
   10699                 :           0 :                     goto next_after_fail1762;
   10700                 :           0 :                   res_op1 = _r1;
   10701                 :             :                 }
   10702                 :           0 :                 tree res_op2;
   10703                 :           0 :                 {
   10704                 :           0 :                   tree _o1[2], _r1;
   10705                 :           0 :                   _o1[0] = captures[0];
   10706                 :           0 :                   _o1[1] = captures[4];
   10707                 :           0 :                   _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   10708                 :           0 :                   if (EXPR_P (_r1))
   10709                 :           0 :                     goto next_after_fail1762;
   10710                 :           0 :                   res_op2 = _r1;
   10711                 :             :                 }
   10712                 :           0 :                 tree _r;
   10713                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10714                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
   10715                 :           0 :                 return _r;
   10716                 :             :               }
   10717                 :           0 : next_after_fail1762:;
   10718                 :             :             }
   10719                 :             :         }
   10720                 :           0 :         break;
   10721                 :             :       }
   10722                 :      812656 :     default:;
   10723                 :             :     }
   10724                 :      812656 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   10725                 :             :     {
   10726                 :           0 :       {
   10727                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   10728                 :           0 :         tree res = generic_simplify_536 (loc, type, _p0, _p1, captures, UNLT_EXPR);
   10729                 :           0 :         if (res) return res;
   10730                 :             :       }
   10731                 :             :     }
   10732                 :      812656 :   switch (TREE_CODE (_p0))
   10733                 :             :     {
   10734                 :         283 :     case FLOAT_EXPR:
   10735                 :         283 :       {
   10736                 :         283 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10737                 :         283 :         switch (TREE_CODE (_p1))
   10738                 :             :           {
   10739                 :           0 :           case FLOAT_EXPR:
   10740                 :           0 :             {
   10741                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   10742                 :           0 :               {
   10743                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   10744                 :           0 :                 tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, UNLT_EXPR, LT_EXPR);
   10745                 :           0 :                 if (res) return res;
   10746                 :             :               }
   10747                 :           0 :               break;
   10748                 :             :             }
   10749                 :             :           default:;
   10750                 :             :           }
   10751                 :             :         break;
   10752                 :             :       }
   10753                 :           0 :     case NEGATE_EXPR:
   10754                 :           0 :       {
   10755                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10756                 :           0 :         switch (TREE_CODE (_p1))
   10757                 :             :           {
   10758                 :           0 :           case NEGATE_EXPR:
   10759                 :           0 :             {
   10760                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   10761                 :           0 :               {
   10762                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   10763                 :           0 :                 tree res = generic_simplify_255 (loc, type, _p0, _p1, captures, UNLT_EXPR, UNGT_EXPR);
   10764                 :           0 :                 if (res) return res;
   10765                 :             :               }
   10766                 :           0 :               break;
   10767                 :             :             }
   10768                 :           0 :           default:;
   10769                 :             :           }
   10770                 :           0 :       if (CONSTANT_CLASS_P (_p1))
   10771                 :             :         {
   10772                 :           0 :           {
   10773                 :           0 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   10774                 :           0 :             tree res = generic_simplify_256 (loc, type, _p0, _p1, captures, UNLT_EXPR, UNGT_EXPR);
   10775                 :           0 :             if (res) return res;
   10776                 :             :           }
   10777                 :             :         }
   10778                 :             :         break;
   10779                 :             :       }
   10780                 :      812656 :     default:;
   10781                 :             :     }
   10782                 :      812656 :   switch (TREE_CODE (_p1))
   10783                 :             :     {
   10784                 :      407729 :     case REAL_CST:
   10785                 :      407729 :       {
   10786                 :      407729 :         {
   10787                 :      407729 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   10788                 :      407729 :           tree res = generic_simplify_535 (loc, type, _p0, _p1, captures, UNLT_EXPR);
   10789                 :      407729 :           if (res) return res;
   10790                 :             :         }
   10791                 :      407727 :         break;
   10792                 :             :       }
   10793                 :             :     default:;
   10794                 :             :     }
   10795                 :             :   return NULL_TREE;
   10796                 :             : }
   10797                 :             : 
   10798                 :             : tree
   10799                 :      404766 : generic_simplify_UNEQ_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   10800                 :             : {
   10801                 :      404766 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   10802                 :      404766 :   switch (TREE_CODE (_p0))
   10803                 :             :     {
   10804                 :           0 :     case VEC_COND_EXPR:
   10805                 :           0 :       {
   10806                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10807                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10808                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   10809                 :           0 :         switch (TREE_CODE (_p1))
   10810                 :             :           {
   10811                 :           0 :           case VEC_COND_EXPR:
   10812                 :           0 :             {
   10813                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
   10814                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
   10815                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
   10816                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10817                 :             :                 {
   10818                 :           0 :                   {
   10819                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   10820                 :           0 :                     if (VECTOR_TYPE_P (type)
   10821                 :           0 :  && (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
   10822                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   10823                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10824                 :             :  || (optimize_vectors_before_lowering_p ()
   10825                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10826                 :             : )
   10827                 :             :                       {
   10828                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1772;
   10829                 :           0 :                         {
   10830                 :           0 :                           tree res_op0;
   10831                 :           0 :                           res_op0 = captures[1];
   10832                 :           0 :                           tree res_op1;
   10833                 :           0 :                           {
   10834                 :           0 :                             tree _o1[2], _r1;
   10835                 :           0 :                             _o1[0] = captures[2];
   10836                 :           0 :                             _o1[1] = captures[5];
   10837                 :           0 :                             _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
   10838                 :           0 :                             if (EXPR_P (_r1))
   10839                 :           0 :                               goto next_after_fail1772;
   10840                 :           0 :                             res_op1 = _r1;
   10841                 :             :                           }
   10842                 :           0 :                           tree res_op2;
   10843                 :           0 :                           {
   10844                 :           0 :                             tree _o1[2], _r1;
   10845                 :           0 :                             _o1[0] = captures[3];
   10846                 :           0 :                             _o1[1] = captures[6];
   10847                 :           0 :                             _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
   10848                 :           0 :                             if (EXPR_P (_r1))
   10849                 :           0 :                               goto next_after_fail1772;
   10850                 :           0 :                             res_op2 = _r1;
   10851                 :             :                           }
   10852                 :           0 :                           tree _r;
   10853                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10854                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
   10855                 :           0 :                           return _r;
   10856                 :             :                         }
   10857                 :           0 : next_after_fail1772:;
   10858                 :             :                       }
   10859                 :             :                   }
   10860                 :             :                 }
   10861                 :             :               break;
   10862                 :             :             }
   10863                 :           0 :           default:;
   10864                 :             :           }
   10865                 :           0 :         {
   10866                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   10867                 :           0 :           if (VECTOR_TYPE_P (type)
   10868                 :           0 :  && (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
   10869                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   10870                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10871                 :             :  || (optimize_vectors_before_lowering_p ()
   10872                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10873                 :             : )
   10874                 :             :             {
   10875                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1773;
   10876                 :           0 :               {
   10877                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1773;
   10878                 :           0 :                 tree res_op0;
   10879                 :           0 :                 res_op0 = captures[1];
   10880                 :           0 :                 tree res_op1;
   10881                 :           0 :                 {
   10882                 :           0 :                   tree _o1[2], _r1;
   10883                 :           0 :                   _o1[0] = captures[2];
   10884                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
   10885                 :           0 :                   _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
   10886                 :           0 :                   if (EXPR_P (_r1))
   10887                 :           0 :                     goto next_after_fail1773;
   10888                 :           0 :                   res_op1 = _r1;
   10889                 :             :                 }
   10890                 :           0 :                 tree res_op2;
   10891                 :           0 :                 {
   10892                 :           0 :                   tree _o1[2], _r1;
   10893                 :           0 :                   _o1[0] = captures[3];
   10894                 :           0 :                   _o1[1] = captures[4];
   10895                 :           0 :                   _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
   10896                 :           0 :                   if (EXPR_P (_r1))
   10897                 :           0 :                     goto next_after_fail1773;
   10898                 :           0 :                   res_op2 = _r1;
   10899                 :             :                 }
   10900                 :           0 :                 tree _r;
   10901                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10902                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
   10903                 :           0 :                 return _r;
   10904                 :             :               }
   10905                 :           0 : next_after_fail1773:;
   10906                 :             :             }
   10907                 :             :         }
   10908                 :           0 :         break;
   10909                 :             :       }
   10910                 :      404766 :     default:;
   10911                 :             :     }
   10912                 :      404766 :   switch (TREE_CODE (_p1))
   10913                 :             :     {
   10914                 :           0 :     case VEC_COND_EXPR:
   10915                 :           0 :       {
   10916                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10917                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   10918                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   10919                 :           0 :         {
   10920                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   10921                 :           0 :           if (VECTOR_TYPE_P (type)
   10922                 :           0 :  && (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
   10923                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
   10924                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   10925                 :             :  || (optimize_vectors_before_lowering_p ()
   10926                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   10927                 :             : )
   10928                 :             :             {
   10929                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1774;
   10930                 :           0 :               {
   10931                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1774;
   10932                 :           0 :                 tree res_op0;
   10933                 :           0 :                 res_op0 = captures[2];
   10934                 :           0 :                 tree res_op1;
   10935                 :           0 :                 {
   10936                 :           0 :                   tree _o1[2], _r1;
   10937                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   10938                 :           0 :                   _o1[1] = captures[3];
   10939                 :           0 :                   _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
   10940                 :           0 :                   if (EXPR_P (_r1))
   10941                 :           0 :                     goto next_after_fail1774;
   10942                 :           0 :                   res_op1 = _r1;
   10943                 :             :                 }
   10944                 :           0 :                 tree res_op2;
   10945                 :           0 :                 {
   10946                 :           0 :                   tree _o1[2], _r1;
   10947                 :           0 :                   _o1[0] = captures[0];
   10948                 :           0 :                   _o1[1] = captures[4];
   10949                 :           0 :                   _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
   10950                 :           0 :                   if (EXPR_P (_r1))
   10951                 :           0 :                     goto next_after_fail1774;
   10952                 :           0 :                   res_op2 = _r1;
   10953                 :             :                 }
   10954                 :           0 :                 tree _r;
   10955                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10956                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
   10957                 :           0 :                 return _r;
   10958                 :             :               }
   10959                 :           0 : next_after_fail1774:;
   10960                 :             :             }
   10961                 :             :         }
   10962                 :           0 :         break;
   10963                 :             :       }
   10964                 :      404766 :     default:;
   10965                 :             :     }
   10966                 :      404766 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   10967                 :             :     {
   10968                 :           0 :       {
   10969                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   10970                 :           0 :         tree res = generic_simplify_537 (loc, type, _p0, _p1, captures, UNEQ_EXPR);
   10971                 :           0 :         if (res) return res;
   10972                 :             :       }
   10973                 :             :     }
   10974                 :      404766 :   switch (TREE_CODE (_p0))
   10975                 :             :     {
   10976                 :           0 :     case FLOAT_EXPR:
   10977                 :           0 :       {
   10978                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10979                 :           0 :         switch (TREE_CODE (_p1))
   10980                 :             :           {
   10981                 :           0 :           case FLOAT_EXPR:
   10982                 :           0 :             {
   10983                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   10984                 :           0 :               {
   10985                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   10986                 :           0 :                 tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, UNEQ_EXPR, EQ_EXPR);
   10987                 :           0 :                 if (res) return res;
   10988                 :             :               }
   10989                 :           0 :               break;
   10990                 :             :             }
   10991                 :             :           default:;
   10992                 :             :           }
   10993                 :             :         break;
   10994                 :             :       }
   10995                 :           0 :     case NEGATE_EXPR:
   10996                 :           0 :       {
   10997                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10998                 :           0 :         switch (TREE_CODE (_p1))
   10999                 :             :           {
   11000                 :           0 :           case NEGATE_EXPR:
   11001                 :           0 :             {
   11002                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11003                 :           0 :               {
   11004                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   11005                 :           0 :                 tree res = generic_simplify_255 (loc, type, _p0, _p1, captures, UNEQ_EXPR, UNEQ_EXPR);
   11006                 :           0 :                 if (res) return res;
   11007                 :             :               }
   11008                 :           0 :               break;
   11009                 :             :             }
   11010                 :           0 :           default:;
   11011                 :             :           }
   11012                 :           0 :       if (CONSTANT_CLASS_P (_p1))
   11013                 :             :         {
   11014                 :           0 :           {
   11015                 :           0 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   11016                 :           0 :             tree res = generic_simplify_256 (loc, type, _p0, _p1, captures, UNEQ_EXPR, UNEQ_EXPR);
   11017                 :           0 :             if (res) return res;
   11018                 :             :           }
   11019                 :             :         }
   11020                 :             :         break;
   11021                 :             :       }
   11022                 :      404766 :     default:;
   11023                 :             :     }
   11024                 :      404766 :   switch (TREE_CODE (_p1))
   11025                 :             :     {
   11026                 :         154 :     case REAL_CST:
   11027                 :         154 :       {
   11028                 :         154 :         {
   11029                 :         154 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   11030                 :         154 :           tree res = generic_simplify_535 (loc, type, _p0, _p1, captures, UNEQ_EXPR);
   11031                 :         154 :           if (res) return res;
   11032                 :             :         }
   11033                 :         152 :         break;
   11034                 :             :       }
   11035                 :             :     default:;
   11036                 :             :     }
   11037                 :             :   return NULL_TREE;
   11038                 :             : }
   11039                 :             : 
   11040                 :             : tree
   11041                 :       13629 : generic_simplify_BIT_INSERT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2)
   11042                 :             : {
   11043                 :       13629 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11044                 :       13629 :   switch (TREE_CODE (_p1))
   11045                 :             :     {
   11046                 :           0 :     case BIT_FIELD_REF:
   11047                 :           0 :       {
   11048                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   11049                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   11050                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   11051                 :           0 :         {
   11052                 :           0 :           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2 };
   11053                 :           0 :           if (VECTOR_TYPE_P (type)
   11054                 :           0 :  && (VECTOR_MODE_P (TYPE_MODE (type))
   11055                 :             :  || optimize_vectors_before_lowering_p ())
   11056                 :           0 :  && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
   11057                 :           0 :  TYPE_SIZE (TREE_TYPE (captures[2])), 0)
   11058                 :           0 :  && types_match (TREE_TYPE (TREE_TYPE (captures[0])), TREE_TYPE (captures[1]))
   11059                 :           0 :  && TYPE_VECTOR_SUBPARTS (type).is_constant ()
   11060                 :           0 :  && multiple_p (wi::to_poly_offset (captures[4]),
   11061                 :           0 :  wi::to_poly_offset (TYPE_SIZE (TREE_TYPE (type))))
   11062                 :             : )
   11063                 :             :             {
   11064                 :           0 :               {
   11065                 :           0 :  unsigned HOST_WIDE_INT elsz
   11066                 :           0 :  = tree_to_uhwi (TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0]))));
   11067                 :           0 :  poly_uint64 relt = exact_div (tree_to_poly_uint64 (captures[4]), elsz);
   11068                 :           0 :  poly_uint64 ielt = exact_div (tree_to_poly_uint64 (captures[5]), elsz);
   11069                 :           0 :  unsigned nunits = TYPE_VECTOR_SUBPARTS (type).to_constant ();
   11070                 :           0 :  vec_perm_builder builder;
   11071                 :           0 :  builder.new_vector (nunits, nunits, 1);
   11072                 :           0 :  for (unsigned i = 0; i < nunits; ++i)
   11073                 :           0 :  builder.quick_push (known_eq (ielt, i) ? nunits + relt : i);
   11074                 :           0 :  vec_perm_indices sel (builder, 2, nunits);
   11075                 :           0 :                   if (!VECTOR_MODE_P (TYPE_MODE (type))
   11076                 :           0 :  || can_vec_perm_const_p (TYPE_MODE (type),
   11077                 :           0 :  TYPE_MODE (type), sel, false)
   11078                 :             : )
   11079                 :             :                     {
   11080                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1959;
   11081                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1959;
   11082                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1959;
   11083                 :           0 :                       {
   11084                 :           0 :                         tree res_op0;
   11085                 :           0 :                         res_op0 = captures[0];
   11086                 :           0 :                         tree res_op1;
   11087                 :           0 :                         {
   11088                 :           0 :                           tree _o1[1], _r1;
   11089                 :           0 :                           _o1[0] = captures[2];
   11090                 :           0 :                           if (TREE_TYPE (_o1[0]) != type)
   11091                 :             :                             {
   11092                 :           0 :                               _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
   11093                 :             :                             }
   11094                 :             :                           else
   11095                 :             :                             _r1 = _o1[0];
   11096                 :           0 :                           res_op1 = _r1;
   11097                 :             :                         }
   11098                 :           0 :                         tree res_op2;
   11099                 :           0 :                         res_op2 =  vec_perm_indices_to_tree (build_vector_type (ssizetype, nunits),
   11100                 :             :  sel);
   11101                 :           0 :                         tree _r;
   11102                 :           0 :                         _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   11103                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[3]))
   11104                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
   11105                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1099, __FILE__, __LINE__, true);
   11106                 :           0 :                         return _r;
   11107                 :             :                       }
   11108                 :           0 : next_after_fail1959:;
   11109                 :             :                     }
   11110                 :           0 :               }
   11111                 :             :             }
   11112                 :             :         }
   11113                 :           0 :         break;
   11114                 :             :       }
   11115                 :             :     default:;
   11116                 :             :     }
   11117                 :             :   return NULL_TREE;
   11118                 :             : }
   11119                 :             : 
   11120                 :             : tree
   11121                 :    26551243 : generic_simplify (location_t loc, enum tree_code code, const tree type ATTRIBUTE_UNUSED, tree _p0, tree _p1, tree _p2)
   11122                 :             : {
   11123                 :    26551243 :   switch (code)
   11124                 :             :     {
   11125                 :    11049267 :     case COND_EXPR:
   11126                 :    11049267 :       return generic_simplify_COND_EXPR (loc, code, type, _p0, _p1, _p2);
   11127                 :      310731 :     case VEC_COND_EXPR:
   11128                 :      310731 :       return generic_simplify_VEC_COND_EXPR (loc, code, type, _p0, _p1, _p2);
   11129                 :      640618 :     case BIT_FIELD_REF:
   11130                 :      640618 :       return generic_simplify_BIT_FIELD_REF (loc, code, type, _p0, _p1, _p2);
   11131                 :       13629 :     case BIT_INSERT_EXPR:
   11132                 :       13629 :       return generic_simplify_BIT_INSERT_EXPR (loc, code, type, _p0, _p1, _p2);
   11133                 :      701038 :     case VEC_PERM_EXPR:
   11134                 :      701038 :       return generic_simplify_VEC_PERM_EXPR (loc, code, type, _p0, _p1, _p2);
   11135                 :             :     default:;
   11136                 :             :     }
   11137                 :             :   return NULL_TREE;
   11138                 :             : }
   11139                 :             : 
   11140                 :             : tree
   11141                 :           0 : generic_simplify (location_t, enum tree_code,
   11142                 :             :                   const tree, tree, tree, tree, tree)
   11143                 :             : {
   11144                 :           0 :   return NULL_TREE;
   11145                 :             : }
   11146                 :             : 
   11147                 :             : tree
   11148                 :           0 : generic_simplify (location_t, enum tree_code,
   11149                 :             :                   const tree, tree, tree, tree, tree, tree)
   11150                 :             : {
   11151                 :           0 :   return NULL_TREE;
   11152                 :             : }
   11153                 :             : 
   11154                 :             : tree
   11155                 :           0 : generic_simplify (location_t, enum tree_code,
   11156                 :             :                   const tree, tree, tree, tree, tree, tree, tree)
   11157                 :             : {
   11158                 :           0 :   return NULL_TREE;
   11159                 :             : }
   11160                 :             : 
   11161                 :             : tree
   11162                 :           0 : generic_simplify (location_t, enum tree_code,
   11163                 :             :                   const tree, tree, tree, tree, tree, tree, tree, tree)
   11164                 :             : {
   11165                 :           0 :   return NULL_TREE;
   11166                 :             : }
   11167                 :             : void
   11168                 :       19367 : generic_dump_logs (const char *file1, int line1_id, const char *file2, int line2, bool simplify)
   11169                 :             : {
   11170                 :       19367 :   static int dbg_line_numbers[1112] = {
   11171                 :             :         /* 0 */ 161, 164, 173, 175, 178, 181, 183, 189, 197, 195, 
   11172                 :             :         /* 10 */ 199, 201, 938, 940, 2079, 2085, 2087, 2090, 2095, 2098, 
   11173                 :             :         /* 20 */ 2323, 2327, 2329, 2331, 2333, 2335, 2337, 2339, 2366, 2382, 
   11174                 :             :         /* 30 */ 2390, 2372, 2930, 2932, 2934, 2941, 2938, 2948, 2950, 2957, 
   11175                 :             :         /* 40 */ 2954, 3165, 3175, 3186, 3191, 3196, 3229, 3234, 3200, 3204, 
   11176                 :             :         /* 50 */ 3208, 3258, 3212, 3240, 3246, 3252, 3216, 3275, 3279, 3304, 
   11177                 :             :         /* 60 */ 3310, 3332, 3316, 3345, 3284, 3288, 3298, 3292, 3349, 3365, 
   11178                 :             :         /* 70 */ 3400, 3377, 3418, 3425, 3477, 3434, 3452, 3443, 3468, 3462, 
   11179                 :             :         /* 80 */ 3488, 3507, 3516, 3525, 3534, 3544, 5732, 8927, 8948, 11124, 
   11180                 :             :         /* 90 */ 11127, 11132, 11347, 11354, 11373, 11398, 11466, 11423, 11436, 11450, 
   11181                 :             :         /* 100 */ 11480, 11485, 8747, 254, 281, 282, 493, 1307, 1443, 1779, 
   11182                 :             :         /* 110 */ 1829, 1834, 1938, 1897, 4064, 4002, 2445, 2477, 4107, 4108, 
   11183                 :             :         /* 120 */ 4112, 4113, 4123, 4127, 4131, 4146, 4149, 4153, 4079, 4082, 
   11184                 :             :         /* 130 */ 4087, 4234, 4240, 4246, 4428, 4429, 4455, 4474, 4493, 4836, 
   11185                 :             :         /* 140 */ 5631, 6881, 8375, 8450, 10053, 10101, 10115, 11151, 11573, 922, 
   11186                 :             :         /* 150 */ 928, 1423, 1432, 1915, 1906, 1853, 2594, 4015, 4055, 4060, 
   11187                 :             :         /* 160 */ 4061, 4069, 4070, 4073, 4090, 4165, 4168, 4172, 4254, 4276, 
   11188                 :             :         /* 170 */ 4314, 4325, 4364, 4379, 4842, 6891, 8455, 10111, 11155, 1313, 
   11189                 :             :         /* 180 */ 1317, 1409, 1418, 1448, 1453, 1495, 1480, 1487, 1510, 1511, 
   11190                 :             :         /* 190 */ 1515, 1516, 1537, 1992, 1542, 1549, 1569, 1672, 1696, 1786, 
   11191                 :             :         /* 200 */ 1791, 1801, 1811, 1925, 1984, 2012, 2022, 2024, 2237, 2256, 
   11192                 :             :         /* 210 */ 2264, 2269, 2274, 2290, 2280, 2281, 4550, 4563, 4573, 2304, 
   11193                 :             :         /* 220 */ 2315, 2318, 2350, 2428, 2457, 2459, 2464, 2466, 2587, 3007, 
   11194                 :             :         /* 230 */ 3009, 3623, 3638, 3656, 3839, 3840, 3841, 3846, 3851, 3857, 
   11195                 :             :         /* 240 */ 3863, 3895, 3896, 3901, 3902, 3907, 3912, 3916, 3965, 3979, 
   11196                 :             :         /* 250 */ 3628, 3647, 3649, 3633, 4587, 4599, 7538, 9324, 1458, 1463, 
   11197                 :             :         /* 260 */ 1574, 1579, 1796, 1886, 1806, 1950, 1816, 1821, 1944, 1996, 
   11198                 :             :         /* 270 */ 1957, 1963, 2568, 1970, 2030, 4848, 6950, 6952, 7001, 7009, 
   11199                 :             :         /* 280 */ 10198, 10204, 461, 467, 499, 1252, 1272, 1277, 2071, 2072, 
   11200                 :             :         /* 290 */ 2109, 2603, 5341, 5617, 5624, 5674, 5677, 5727, 8368, 8782, 
   11201                 :             :         /* 300 */ 8612, 8619, 8776, 8821, 8826, 329, 885, 2355, 2582, 2621, 
   11202                 :             :         /* 310 */ 2631, 2670, 2676, 2679, 2684, 2849, 2700, 2702, 2703, 2706, 
   11203                 :             :         /* 320 */ 2708, 2709, 2711, 2713, 2715, 2717, 2719, 2721, 2735, 2736, 
   11204                 :             :         /* 330 */ 2770, 2855, 2880, 2796, 2823, 2863, 2868, 2893, 2900, 2966, 
   11205                 :             :         /* 340 */ 3937, 4778, 4786, 4789, 4795, 4798, 4825, 5133, 5134, 5168, 
   11206                 :             :         /* 350 */ 5172, 5301, 5141, 5142, 5186, 5189, 5190, 5195, 5198, 5201, 
   11207                 :             :         /* 360 */ 5202, 5154, 5157, 5374, 5378, 5383, 5642, 5794, 5798, 6961, 
   11208                 :             :         /* 370 */ 6977, 6979, 6991, 7021, 7027, 7028, 7043, 7044, 7048, 7066, 
   11209                 :             :         /* 380 */ 7071, 7103, 7111, 7121, 7130, 7134, 7140, 7147, 7163, 7167, 
   11210                 :             :         /* 390 */ 7171, 7178, 7179, 7184, 7185, 7192, 7193, 7195, 7196, 7212, 
   11211                 :             :         /* 400 */ 7223, 7235, 7239, 7241, 7246, 7249, 7252, 7260, 7322, 7323, 
   11212                 :             :         /* 410 */ 7327, 7328, 7335, 7339, 7343, 7346, 7352, 7353, 7357, 7360, 
   11213                 :             :         /* 420 */ 7367, 7387, 7390, 7393, 7396, 7445, 7448, 7452, 7459, 7465, 
   11214                 :             :         /* 430 */ 7473, 7482, 7483, 7581, 7591, 7630, 7636, 7652, 7665, 7667, 
   11215                 :             :         /* 440 */ 7669, 7695, 7737, 7716, 7717, 7724, 7726, 7742, 7748, 7753, 
   11216                 :             :         /* 450 */ 7762, 7768, 7774, 7779, 7784, 7816, 7879, 7798, 7808, 7917, 
   11217                 :             :         /* 460 */ 7919, 7921, 7923, 7925, 7927, 7931, 7933, 7956, 7979, 8091, 
   11218                 :             :         /* 470 */ 8098, 8099, 8107, 8108, 8288, 9368, 9370, 9458, 9460, 9461, 
   11219                 :             :         /* 480 */ 9467, 9483, 9485, 9487, 9505, 9506, 9838, 9841, 9855, 9864, 
   11220                 :             :         /* 490 */ 9928, 9929, 9983, 9985, 10061, 10470, 10472, 10474, 10906, 6957, 
   11221                 :             :         /* 500 */ 6968, 6970, 7078, 473, 1225, 1246, 8732, 8737, 8742, 533, 
   11222                 :             :         /* 510 */ 534, 545, 550, 557, 566, 574, 583, 629, 632, 820, 
   11223                 :             :         /* 520 */ 973, 999, 1030, 594, 850, 854, 859, 865, 869, 877, 
   11224                 :             :         /* 530 */ 965, 745, 755, 757, 759, 8362, 8787, 8809, 8792, 8797, 
   11225                 :             :         /* 540 */ 8802, 8816, 8850, 8855, 807, 810, 1647, 2644, 2647, 2744, 
   11226                 :             :         /* 550 */ 2756, 2838, 2782, 2809, 2921, 2924, 4816, 4808, 6915, 8218, 
   11227                 :             :         /* 560 */ 7495, 7498, 7524, 7525, 8004, 8006, 8008, 8010, 8014, 8016, 
   11228                 :             :         /* 570 */ 8018, 8020, 8024, 8029, 8036, 8041, 8061, 8063, 8065, 8067, 
   11229                 :             :         /* 580 */ 8231, 8239, 8249, 8257, 8267, 8389, 8391, 9382, 9401, 9441, 
   11230                 :             :         /* 590 */ 9906, 9908, 9909, 9964, 9967, 9969, 2660, 6905, 7568, 8463, 
   11231                 :             :         /* 600 */ 8468, 10491, 10493, 10495, 10497, 10501, 911, 947, 1297, 4954, 
   11232                 :             :         /* 610 */ 5024, 5027, 5035, 5102, 5104, 5105, 5106, 5313, 5005, 5014, 
   11233                 :             :         /* 620 */ 5848, 5851, 5852, 5860, 2248, 3948, 3953, 4720, 9207, 9209, 
   11234                 :             :         /* 630 */ 9240, 9275, 11517, 1189, 8680, 8701, 1198, 8424, 8430, 8727, 
   11235                 :             :         /* 640 */ 9154, 1212, 1216, 8722, 8905, 1391, 1475, 1523, 1468, 1500, 
   11236                 :             :         /* 650 */ 1531, 1564, 1605, 1616, 1627, 1639, 2489, 1868, 1876, 1881, 
   11237                 :             :         /* 660 */ 2004, 2345, 2609, 3161, 5272, 5290, 5291, 5819, 5825, 5873, 
   11238                 :             :         /* 670 */ 3593, 3595, 3605, 3607, 3712, 3713, 3714, 3719, 3724, 3730, 
   11239                 :             :         /* 680 */ 3736, 3768, 3769, 3774, 3775, 3780, 3785, 3789, 3613, 3618, 
   11240                 :             :         /* 690 */ 3663, 7093, 7541, 9310, 9312, 10096, 1554, 1559, 2547, 1727, 
   11241                 :             :         /* 700 */ 2552, 5352, 2527, 2558, 2562, 5366, 4763, 6942, 6944, 2116, 
   11242                 :             :         /* 710 */ 2154, 2177, 2178, 2532, 4040, 9781, 3584, 4878, 4921, 4934, 
   11243                 :             :         /* 720 */ 6356, 6358, 6360, 6570, 6574, 6582, 6609, 6611, 6460, 6463, 
   11244                 :             :         /* 730 */ 6625, 6629, 6687, 4866, 4885, 4892, 4898, 4904, 4910, 6693, 
   11245                 :             :         /* 740 */ 6825, 9341, 9342, 6835, 10258, 10266, 7832, 7833, 7847, 7848, 
   11246                 :             :         /* 750 */ 4606, 4610, 4620, 4638, 4703, 4705, 4707, 4709, 4758, 9332, 
   11247                 :             :         /* 760 */ 4624, 4631, 4616, 4730, 4739, 4742, 4941, 5074, 5084, 8317, 
   11248                 :             :         /* 770 */ 8320, 8339, 5770, 5782, 5785, 5789, 10700, 10706, 10714, 10720, 
   11249                 :             :         /* 780 */ 10729, 10735, 10743, 10749, 10795, 10803, 8123, 7086, 7082, 8298, 
   11250                 :             :         /* 790 */ 8305, 8440, 8445, 8546, 8643, 8660, 8692, 8712, 8717, 8968, 
   11251                 :             :         /* 800 */ 8945, 8924, 8753, 8757, 9048, 9058, 9065, 9074, 9092, 9099, 
   11252                 :             :         /* 810 */ 9080, 9347, 9353, 9771, 9777, 9774, 9785, 9791, 9799, 9805, 
   11253                 :             :         /* 820 */ 9813, 9819, 9873, 10076, 10091, 10357, 10360, 10165, 10179, 10192, 
   11254                 :             :         /* 830 */ 10876, 10890, 10981, 10982, 219, 2036, 2046, 5905, 2055, 1139, 
   11255                 :             :         /* 840 */ 2500, 3142, 5394, 5396, 5406, 5498, 5509, 5522, 5545, 5555, 
   11256                 :             :         /* 850 */ 5564, 5576, 5602, 5913, 6310, 1724, 1738, 1745, 1767, 1774, 
   11257                 :             :         /* 860 */ 2360, 2575, 2041, 2050, 2059, 2125, 2129, 2160, 2166, 4027, 
   11258                 :             :         /* 870 */ 6868, 4035, 9795, 9809, 9823, 5411, 5420, 5432, 5442, 5448, 
   11259                 :             :         /* 880 */ 5922, 5457, 5454, 5740, 5748, 5756, 5760, 5743, 5751, 5764, 
   11260                 :             :         /* 890 */ 5776, 237, 727, 2413, 4685, 5689, 5695, 5697, 5940, 5951, 
   11261                 :             :         /* 900 */ 5960, 11532, 3014, 3018, 242, 3035, 3039, 3070, 3078, 3051, 
   11262                 :             :         /* 910 */ 3065, 260, 297, 1427, 1733, 1841, 1848, 1858, 1863, 2135, 
   11263                 :             :         /* 920 */ 3086, 3098, 3092, 3104, 2146, 2765, 2790, 2817, 2801, 2828, 
   11264                 :             :         /* 930 */ 4288, 4260, 4335, 4344, 4387, 4398, 5702, 5713, 11498, 11499, 
   11265                 :             :         /* 940 */ 1652, 1657, 7531, 10854, 10858, 1680, 1685, 2540, 3928, 247, 
   11266                 :             :         /* 950 */ 300, 2774, 3111, 3118, 3125, 3131, 4297, 3136, 4353, 4401, 
   11267                 :             :         /* 960 */ 4410, 5705, 373, 304, 341, 350, 358, 432, 447, 455, 
   11268                 :             :         /* 970 */ 646, 686, 982, 1177, 1182, 1280, 1283, 1383, 2403, 5718, 
   11269                 :             :         /* 980 */ 8397, 8403, 8594, 8844, 2520, 6117, 6125, 7598, 8155, 8198, 
   11270                 :             :         /* 990 */ 8199, 2510, 8149, 609, 612, 736, 765, 771, 777, 785, 
   11271                 :             :         /* 1000 */ 790, 795, 838, 842, 8409, 8415, 8073, 896, 1338, 4970, 
   11272                 :             :         /* 1010 */ 1327, 1330, 1362, 1373, 4947, 5019, 5112, 1397, 1586, 1662, 
   11273                 :             :         /* 1020 */ 1690, 2295, 5118, 5119, 7535, 11505, 4645, 4649, 4677, 4678, 
   11274                 :             :         /* 1030 */ 4751, 4656, 4660, 4668, 4669, 5056, 5737, 8131, 8133, 8140, 
   11275                 :             :         /* 1040 */ 8142, 7090, 6589, 6594, 6662, 6668, 6677, 6678, 4854, 5891, 
   11276                 :             :         /* 1050 */ 5893, 6700, 6706, 6709, 6718, 6722, 6727, 6756, 6761, 6822, 
   11277                 :             :         /* 1060 */ 6769, 6774, 6832, 7862, 7864, 6791, 6792, 6793, 6843, 6812, 
   11278                 :             :         /* 1070 */ 6813, 6814, 6855, 6856, 7893, 7898, 6735, 5897, 5899, 6136, 
   11279                 :             :         /* 1080 */ 6138, 9513, 9519, 9524, 9533, 9535, 9555, 9600, 9603, 9604, 
   11280                 :             :         /* 1090 */ 9636, 9642, 9644, 9645, 9701, 9702, 9723, 9728, 9733, 9763, 
   11281                 :             :         /* 1100 */ 11005, 11007, 11042, 11116, 11119, 11204, 11139, 11145, 11273, 11275, 
   11282                 :             :         /* 1110 */ 11337, 11339
   11283                 :             :   };
   11284                 :             : 
   11285                 :       28983 :   fprintf (dump_file, "%s %s:%d, %s:%d\n",
   11286                 :             :           simplify ? "Applying pattern" : "Matching expression", file1, dbg_line_numbers[line1_id], file2, line2);
   11287                 :       19367 : }
   11288                 :             : 
   11289                 :             : #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.