LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - generic-match-4.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 50.3 % 7209 3625
Test Date: 2025-06-21 16:26:05 Functions: 60.3 % 63 38
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                 :   124834724 : tree_negate_expr_p (tree t)
      11                 :             : {
      12                 :   124834724 :   const tree type = TREE_TYPE (t);
      13                 :   124834724 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :   124834724 :   if (TREE_SIDE_EFFECTS (t)) return false;
      15                 :   120043687 :   switch (TREE_CODE (t))
      16                 :             :     {
      17                 :     7203493 :     case INTEGER_CST:
      18                 :     7203493 :       {
      19                 :     7203493 :         {
      20                 :     7203493 :           if ((INTEGRAL_TYPE_P (type)
      21                 :     7203493 :  && TYPE_UNSIGNED (type))
      22                 :     9316070 :  || (!TYPE_OVERFLOW_SANITIZED (type)
      23                 :     2109884 :  && may_negate_without_overflow_p (t))
      24                 :             : )
      25                 :             :             {
      26                 :     7187748 :               {
      27                 :     7187748 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 14, __FILE__, __LINE__, false);
      28                 :     7187748 :                 return true;
      29                 :             :               }
      30                 :             :             }
      31                 :             :         }
      32                 :             :         break;
      33                 :             :       }
      34                 :           0 :     case FIXED_CST:
      35                 :           0 :       {
      36                 :           0 :         {
      37                 :           0 :           {
      38                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 15, __FILE__, __LINE__, false);
      39                 :             :             return true;
      40                 :             :           }
      41                 :             :         }
      42                 :      485944 :         break;
      43                 :             :       }
      44                 :      485944 :     case NEGATE_EXPR:
      45                 :      485944 :       {
      46                 :      485944 :         tree _p0 = TREE_OPERAND (t, 0);
      47                 :      485944 :         {
      48                 :      485944 :           tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
      49                 :      485944 :           if (!TYPE_OVERFLOW_SANITIZED (type)
      50                 :             : )
      51                 :             :             {
      52                 :      485924 :               {
      53                 :      485924 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 16, __FILE__, __LINE__, false);
      54                 :      485924 :                 return true;
      55                 :             :               }
      56                 :             :             }
      57                 :             :         }
      58                 :             :         break;
      59                 :             :       }
      60                 :      764655 :     case REAL_CST:
      61                 :      764655 :       {
      62                 :      764655 :         {
      63                 :      764655 :           if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (t))
      64                 :             : )
      65                 :             :             {
      66                 :         638 :               {
      67                 :         638 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 17, __FILE__, __LINE__, false);
      68                 :         638 :                 return true;
      69                 :             :               }
      70                 :             :             }
      71                 :             :         }
      72                 :             :         break;
      73                 :             :       }
      74                 :         418 :     case VECTOR_CST:
      75                 :         418 :       {
      76                 :         418 :         {
      77                 :         418 :           if (FLOAT_TYPE_P (TREE_TYPE (type)) || TYPE_OVERFLOW_WRAPS (type)
      78                 :             : )
      79                 :             :             {
      80                 :         320 :               {
      81                 :         320 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 18, __FILE__, __LINE__, false);
      82                 :         320 :                 return true;
      83                 :             :               }
      84                 :             :             }
      85                 :             :         }
      86                 :             :         break;
      87                 :             :       }
      88                 :     1172019 :     case MINUS_EXPR:
      89                 :     1172019 :       {
      90                 :     1172019 :         tree _p0 = TREE_OPERAND (t, 0);
      91                 :     1172019 :         tree _p1 = TREE_OPERAND (t, 1);
      92                 :     1172019 :         {
      93                 :     1172019 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      94                 :     1172019 :           if ((ANY_INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_WRAPS (type))
      95                 :     2045332 :  || (FLOAT_TYPE_P (type)
      96                 :      613264 :  && !HONOR_SIGN_DEPENDENT_ROUNDING (type)
      97                 :      613264 :  && !HONOR_SIGNED_ZEROS (type))
      98                 :             : )
      99                 :             :             {
     100                 :      299261 :               {
     101                 :      299261 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 19, __FILE__, __LINE__, false);
     102                 :      299261 :                 return true;
     103                 :             :               }
     104                 :             :             }
     105                 :             :         }
     106                 :      872758 :         break;
     107                 :             :       }
     108                 :             :     default:;
     109                 :             :     }
     110                 :             :   return false;
     111                 :             : }
     112                 :             : 
     113                 :             : bool
     114                 :           0 : tree_unsigned_integer_sat_add (tree t, tree *res_ops)
     115                 :             : {
     116                 :           0 :   const tree type = TREE_TYPE (t);
     117                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     118                 :           0 :   if (TREE_SIDE_EFFECTS (t)) return false;
     119                 :           0 :   switch (TREE_CODE (t))
     120                 :             :     {
     121                 :           0 :     case BIT_IOR_EXPR:
     122                 :           0 :       {
     123                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     124                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
     125                 :           0 :         switch (TREE_CODE (_p0))
     126                 :             :           {
     127                 :           0 :           case PLUS_EXPR:
     128                 :           0 :             {
     129                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     130                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     131                 :           0 :               {
     132                 :           0 :                 tree _p1_pops[2];
     133                 :           0 :                 if (tree_usadd_overflow_mask (_p1, _p1_pops))
     134                 :             :                   {
     135                 :           0 :                     tree _q50 = _p1_pops[0];
     136                 :           0 :                     tree _q51 = _p1_pops[1];
     137                 :           0 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
     138                 :             :                       {
     139                 :           0 :                         if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
     140                 :             :                           {
     141                 :           0 :                             {
     142                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
     143                 :           0 :                               if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     144                 :             : )
     145                 :             :                                 {
     146                 :           0 :                                   if (types_match (type, captures[0], captures[1])
     147                 :             : )
     148                 :             :                                     {
     149                 :           0 :                                       {
     150                 :           0 :                                         res_ops[0] = captures[0];
     151                 :           0 :                                         res_ops[1] = captures[1];
     152                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 45, __FILE__, __LINE__, false);
     153                 :           0 :                                         return true;
     154                 :             :                                       }
     155                 :             :                                     }
     156                 :             :                                 }
     157                 :             :                             }
     158                 :             :                           }
     159                 :             :                       }
     160                 :           0 :                     if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
     161                 :             :                       {
     162                 :           0 :                         if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
     163                 :             :                           {
     164                 :           0 :                             {
     165                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
     166                 :           0 :                               if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     167                 :             : )
     168                 :             :                                 {
     169                 :           0 :                                   if (types_match (type, captures[0], captures[1])
     170                 :             : )
     171                 :             :                                     {
     172                 :           0 :                                       {
     173                 :           0 :                                         res_ops[0] = captures[0];
     174                 :           0 :                                         res_ops[1] = captures[1];
     175                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 45, __FILE__, __LINE__, false);
     176                 :           0 :                                         return true;
     177                 :             :                                       }
     178                 :             :                                     }
     179                 :             :                                 }
     180                 :             :                             }
     181                 :             :                           }
     182                 :             :                       }
     183                 :             :                   }
     184                 :             :               }
     185                 :           0 :               break;
     186                 :             :             }
     187                 :           0 :           case REALPART_EXPR:
     188                 :           0 :             {
     189                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     190                 :           0 :               switch (TREE_CODE (_q20))
     191                 :             :                 {
     192                 :           0 :                 case CALL_EXPR:
     193                 :           0 :                   switch (get_call_combined_fn (_q20))
     194                 :             :                     {
     195                 :           0 :                     case CFN_ADD_OVERFLOW:
     196                 :           0 :                       if (call_expr_nargs (_q20) == 2)
     197                 :             :     {
     198                 :           0 :                           tree _q30 = CALL_EXPR_ARG (_q20, 0);
     199                 :           0 :                           tree _q31 = CALL_EXPR_ARG (_q20, 1);
     200                 :           0 :                           switch (TREE_CODE (_p1))
     201                 :             :                             {
     202                 :           0 :                             case NEGATE_EXPR:
     203                 :           0 :                               {
     204                 :           0 :                                 tree _q60 = TREE_OPERAND (_p1, 0);
     205                 :           0 :                                 switch (TREE_CODE (_q60))
     206                 :             :                                   {
     207                 :           0 :                                   case IMAGPART_EXPR:
     208                 :           0 :                                     {
     209                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
     210                 :           0 :                                       if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
     211                 :             :                                         {
     212                 :           0 :                                           {
     213                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q20 };
     214                 :           0 :                                             if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     215                 :             : )
     216                 :             :                                               {
     217                 :           0 :                                                 if (types_match (type, captures[0], captures[1])
     218                 :             : )
     219                 :             :                                                   {
     220                 :           0 :                                                     {
     221                 :           0 :                                                       res_ops[0] = captures[0];
     222                 :           0 :                                                       res_ops[1] = captures[1];
     223                 :           0 :                                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 46, __FILE__, __LINE__, false);
     224                 :           0 :                                                       return true;
     225                 :             :                                                     }
     226                 :             :                                                   }
     227                 :             :                                               }
     228                 :             :                                           }
     229                 :             :                                         }
     230                 :             :                                       break;
     231                 :             :                                     }
     232                 :           0 :                                   CASE_CONVERT:
     233                 :           0 :                                     {
     234                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
     235                 :           0 :                                       switch (TREE_CODE (_q70))
     236                 :             :                                         {
     237                 :           0 :                                         case NE_EXPR:
     238                 :           0 :                                           {
     239                 :           0 :                                             tree _q80 = TREE_OPERAND (_q70, 0);
     240                 :           0 :                                             tree _q81 = TREE_OPERAND (_q70, 1);
     241                 :           0 :                                             switch (TREE_CODE (_q80))
     242                 :             :                                               {
     243                 :           0 :                                               case IMAGPART_EXPR:
     244                 :           0 :                                                 {
     245                 :           0 :                                                   tree _q90 = TREE_OPERAND (_q80, 0);
     246                 :           0 :                                                   if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
     247                 :             :                                                     {
     248                 :           0 :                                                       if (integer_zerop (_q81))
     249                 :             :                                                         {
     250                 :           0 :                                                           {
     251                 :           0 :                                                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q20 };
     252                 :           0 :                                                             if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     253                 :             : )
     254                 :             :                                                               {
     255                 :           0 :                                                                 if (types_match (type, captures[0], captures[1])
     256                 :             : )
     257                 :             :                                                                   {
     258                 :           0 :                                                                     {
     259                 :           0 :                                                                       res_ops[0] = captures[0];
     260                 :           0 :                                                                       res_ops[1] = captures[1];
     261                 :           0 :                                                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 47, __FILE__, __LINE__, false);
     262                 :           0 :                                                                       return true;
     263                 :             :                                                                     }
     264                 :             :                                                                   }
     265                 :             :                                                               }
     266                 :             :                                                           }
     267                 :             :                                                         }
     268                 :             :                                                     }
     269                 :             :                                                   break;
     270                 :             :                                                 }
     271                 :             :                                               default:;
     272                 :             :                                               }
     273                 :             :                                             break;
     274                 :             :                                           }
     275                 :             :                                         default:;
     276                 :             :                                         }
     277                 :             :                                       break;
     278                 :             :                                     }
     279                 :             :                                   default:;
     280                 :             :                                   }
     281                 :             :                                 break;
     282                 :             :                               }
     283                 :             :                             default:;
     284                 :             :                             }
     285                 :             :                         }
     286                 :             :                       break;
     287                 :             :                     default:;
     288                 :             :                     }
     289                 :             :                   break;
     290                 :             :                 default:;
     291                 :             :                 }
     292                 :             :               break;
     293                 :             :             }
     294                 :           0 :           case NEGATE_EXPR:
     295                 :           0 :             {
     296                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     297                 :           0 :               switch (TREE_CODE (_q20))
     298                 :             :                 {
     299                 :           0 :                 case IMAGPART_EXPR:
     300                 :           0 :                   {
     301                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     302                 :           0 :                     switch (TREE_CODE (_p1))
     303                 :             :                       {
     304                 :           0 :                       case REALPART_EXPR:
     305                 :           0 :                         {
     306                 :           0 :                           tree _q50 = TREE_OPERAND (_p1, 0);
     307                 :           0 :                           if ((_q50 == _q30 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q30, 0) && types_match (_q50, _q30)))
     308                 :             :                             {
     309                 :           0 :                               switch (TREE_CODE (_q50))
     310                 :             :                                 {
     311                 :           0 :                                 case CALL_EXPR:
     312                 :           0 :                                   switch (get_call_combined_fn (_q50))
     313                 :             :                                     {
     314                 :           0 :                                     case CFN_ADD_OVERFLOW:
     315                 :           0 :                                       if (call_expr_nargs (_q50) == 2)
     316                 :             :     {
     317                 :           0 :                                           tree _q70 = CALL_EXPR_ARG (_q50, 0);
     318                 :           0 :                                           tree _q71 = CALL_EXPR_ARG (_q50, 1);
     319                 :           0 :                                           {
     320                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q71, _q30 };
     321                 :           0 :                                             if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     322                 :             : )
     323                 :             :                                               {
     324                 :           0 :                                                 if (types_match (type, captures[0], captures[1])
     325                 :             : )
     326                 :             :                                                   {
     327                 :           0 :                                                     {
     328                 :           0 :                                                       res_ops[0] = captures[0];
     329                 :           0 :                                                       res_ops[1] = captures[1];
     330                 :           0 :                                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 46, __FILE__, __LINE__, false);
     331                 :           0 :                                                       return true;
     332                 :             :                                                     }
     333                 :             :                                                   }
     334                 :             :                                               }
     335                 :             :                                           }
     336                 :             :                                         }
     337                 :             :                                       break;
     338                 :             :                                     default:;
     339                 :             :                                     }
     340                 :             :                                   break;
     341                 :             :                                 default:;
     342                 :             :                                 }
     343                 :             :                             }
     344                 :             :                           break;
     345                 :             :                         }
     346                 :             :                       default:;
     347                 :             :                       }
     348                 :             :                     break;
     349                 :             :                   }
     350                 :           0 :                 CASE_CONVERT:
     351                 :           0 :                   {
     352                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     353                 :           0 :                     switch (TREE_CODE (_q30))
     354                 :             :                       {
     355                 :           0 :                       case NE_EXPR:
     356                 :           0 :                         {
     357                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     358                 :           0 :                           tree _q41 = TREE_OPERAND (_q30, 1);
     359                 :           0 :                           switch (TREE_CODE (_q40))
     360                 :             :                             {
     361                 :           0 :                             case IMAGPART_EXPR:
     362                 :           0 :                               {
     363                 :           0 :                                 tree _q50 = TREE_OPERAND (_q40, 0);
     364                 :           0 :                                 if (integer_zerop (_q41))
     365                 :             :                                   {
     366                 :           0 :                                     switch (TREE_CODE (_p1))
     367                 :             :                                       {
     368                 :           0 :                                       case REALPART_EXPR:
     369                 :           0 :                                         {
     370                 :           0 :                                           tree _q80 = TREE_OPERAND (_p1, 0);
     371                 :           0 :                                           if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
     372                 :             :                                             {
     373                 :           0 :                                               switch (TREE_CODE (_q80))
     374                 :             :                                                 {
     375                 :           0 :                                                 case CALL_EXPR:
     376                 :           0 :                                                   switch (get_call_combined_fn (_q80))
     377                 :             :                                                     {
     378                 :           0 :                                                     case CFN_ADD_OVERFLOW:
     379                 :           0 :                                                       if (call_expr_nargs (_q80) == 2)
     380                 :             :     {
     381                 :           0 :                                                           tree _q100 = CALL_EXPR_ARG (_q80, 0);
     382                 :           0 :                                                           tree _q101 = CALL_EXPR_ARG (_q80, 1);
     383                 :           0 :                                                           {
     384                 :           0 :                                                             tree captures[3] ATTRIBUTE_UNUSED = { _q100, _q101, _q50 };
     385                 :           0 :                                                             if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     386                 :             : )
     387                 :             :                                                               {
     388                 :           0 :                                                                 if (types_match (type, captures[0], captures[1])
     389                 :             : )
     390                 :             :                                                                   {
     391                 :           0 :                                                                     {
     392                 :           0 :                                                                       res_ops[0] = captures[0];
     393                 :           0 :                                                                       res_ops[1] = captures[1];
     394                 :           0 :                                                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 47, __FILE__, __LINE__, false);
     395                 :           0 :                                                                       return true;
     396                 :             :                                                                     }
     397                 :             :                                                                   }
     398                 :             :                                                               }
     399                 :             :                                                           }
     400                 :             :                                                         }
     401                 :             :                                                       break;
     402                 :             :                                                     default:;
     403                 :             :                                                     }
     404                 :             :                                                   break;
     405                 :             :                                                 default:;
     406                 :             :                                                 }
     407                 :             :                                             }
     408                 :             :                                           break;
     409                 :             :                                         }
     410                 :             :                                       default:;
     411                 :             :                                       }
     412                 :             :                                   }
     413                 :             :                                 break;
     414                 :             :                               }
     415                 :             :                             default:;
     416                 :             :                             }
     417                 :             :                           break;
     418                 :             :                         }
     419                 :             :                       default:;
     420                 :             :                       }
     421                 :             :                     break;
     422                 :             :                   }
     423                 :             :                 default:;
     424                 :             :                 }
     425                 :             :               break;
     426                 :             :             }
     427                 :           0 :           default:;
     428                 :             :           }
     429                 :           0 :       {
     430                 :           0 :         tree _p0_pops[2];
     431                 :           0 :         if (tree_usadd_overflow_mask (_p0, _p0_pops))
     432                 :             :           {
     433                 :           0 :             tree _q20 = _p0_pops[0];
     434                 :           0 :             tree _q21 = _p0_pops[1];
     435                 :           0 :             switch (TREE_CODE (_p1))
     436                 :             :               {
     437                 :           0 :               case PLUS_EXPR:
     438                 :           0 :                 {
     439                 :           0 :                   tree _q50 = TREE_OPERAND (_p1, 0);
     440                 :           0 :                   tree _q51 = TREE_OPERAND (_p1, 1);
     441                 :           0 :                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
     442                 :             :                     {
     443                 :           0 :                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
     444                 :             :                         {
     445                 :           0 :                           {
     446                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
     447                 :           0 :                             if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     448                 :             : )
     449                 :             :                               {
     450                 :           0 :                                 if (types_match (type, captures[0], captures[1])
     451                 :             : )
     452                 :             :                                   {
     453                 :           0 :                                     {
     454                 :           0 :                                       res_ops[0] = captures[0];
     455                 :           0 :                                       res_ops[1] = captures[1];
     456                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 45, __FILE__, __LINE__, false);
     457                 :           0 :                                       return true;
     458                 :             :                                     }
     459                 :             :                                   }
     460                 :             :                               }
     461                 :             :                           }
     462                 :             :                         }
     463                 :             :                     }
     464                 :           0 :                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
     465                 :             :                     {
     466                 :           0 :                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
     467                 :             :                         {
     468                 :           0 :                           {
     469                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
     470                 :           0 :                             if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     471                 :             : )
     472                 :             :                               {
     473                 :           0 :                                 if (types_match (type, captures[0], captures[1])
     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", 45, __FILE__, __LINE__, false);
     480                 :           0 :                                       return true;
     481                 :             :                                     }
     482                 :             :                                   }
     483                 :             :                               }
     484                 :             :                           }
     485                 :             :                         }
     486                 :             :                     }
     487                 :             :                   break;
     488                 :             :                 }
     489                 :             :               default:;
     490                 :             :               }
     491                 :             :           }
     492                 :             :       }
     493                 :           0 :         break;
     494                 :             :       }
     495                 :           0 :     case COND_EXPR:
     496                 :           0 :       {
     497                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     498                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
     499                 :           0 :         tree _p2 = TREE_OPERAND (t, 2);
     500                 :           0 :         switch (TREE_CODE (_p0))
     501                 :             :           {
     502                 :           0 :           case GE_EXPR:
     503                 :           0 :             {
     504                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     505                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     506                 :           0 :               switch (TREE_CODE (_q20))
     507                 :             :                 {
     508                 :           0 :                 case PLUS_EXPR:
     509                 :           0 :                   {
     510                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     511                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
     512                 :           0 :                     if ((_q21 == _q30 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q30, 0) && types_match (_q21, _q30)))
     513                 :             :                       {
     514                 :           0 :                         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
     515                 :             :                           {
     516                 :           0 :                             if (integer_minus_onep (_p2))
     517                 :             :                               {
     518                 :           0 :                                 {
     519                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q20 };
     520                 :           0 :                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     521                 :             : )
     522                 :             :                                     {
     523                 :           0 :                                       if (types_match (type, captures[0], captures[1])
     524                 :             : )
     525                 :             :                                         {
     526                 :           0 :                                           {
     527                 :           0 :                                             res_ops[0] = captures[0];
     528                 :           0 :                                             res_ops[1] = captures[1];
     529                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 48, __FILE__, __LINE__, false);
     530                 :           0 :                                             return true;
     531                 :             :                                           }
     532                 :             :                                         }
     533                 :             :                                     }
     534                 :             :                                 }
     535                 :             :                               }
     536                 :             :                           }
     537                 :             :                       }
     538                 :           0 :                     if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
     539                 :             :                       {
     540                 :           0 :                         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
     541                 :             :                           {
     542                 :           0 :                             if (integer_minus_onep (_p2))
     543                 :             :                               {
     544                 :           0 :                                 {
     545                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q20 };
     546                 :           0 :                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     547                 :             : )
     548                 :             :                                     {
     549                 :           0 :                                       if (types_match (type, captures[0], captures[1])
     550                 :             : )
     551                 :             :                                         {
     552                 :           0 :                                           {
     553                 :           0 :                                             res_ops[0] = captures[0];
     554                 :           0 :                                             res_ops[1] = captures[1];
     555                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 48, __FILE__, __LINE__, false);
     556                 :           0 :                                             return true;
     557                 :             :                                           }
     558                 :             :                                         }
     559                 :             :                                     }
     560                 :             :                                 }
     561                 :             :                               }
     562                 :             :                           }
     563                 :             :                       }
     564                 :             :                     break;
     565                 :             :                   }
     566                 :             :                 default:;
     567                 :             :                 }
     568                 :             :               break;
     569                 :             :             }
     570                 :           0 :           case LT_EXPR:
     571                 :           0 :             {
     572                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     573                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     574                 :           0 :               switch (TREE_CODE (_q20))
     575                 :             :                 {
     576                 :           0 :                 case PLUS_EXPR:
     577                 :           0 :                   {
     578                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     579                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
     580                 :           0 :                     if ((_q21 == _q30 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q30, 0) && types_match (_q21, _q30)))
     581                 :             :                       {
     582                 :           0 :                         if (integer_minus_onep (_p1))
     583                 :             :                           {
     584                 :           0 :                             if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
     585                 :             :                               {
     586                 :           0 :                                 {
     587                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q20 };
     588                 :           0 :                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     589                 :             : )
     590                 :             :                                     {
     591                 :           0 :                                       if (types_match (type, captures[0], captures[1])
     592                 :             : )
     593                 :             :                                         {
     594                 :           0 :                                           {
     595                 :           0 :                                             res_ops[0] = captures[0];
     596                 :           0 :                                             res_ops[1] = captures[1];
     597                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 49, __FILE__, __LINE__, false);
     598                 :           0 :                                             return true;
     599                 :             :                                           }
     600                 :             :                                         }
     601                 :             :                                     }
     602                 :             :                                 }
     603                 :             :                               }
     604                 :             :                           }
     605                 :             :                       }
     606                 :           0 :                     if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
     607                 :             :                       {
     608                 :           0 :                         if (integer_minus_onep (_p1))
     609                 :             :                           {
     610                 :           0 :                             if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
     611                 :             :                               {
     612                 :           0 :                                 {
     613                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q20 };
     614                 :           0 :                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     615                 :             : )
     616                 :             :                                     {
     617                 :           0 :                                       if (types_match (type, captures[0], captures[1])
     618                 :             : )
     619                 :             :                                         {
     620                 :           0 :                                           {
     621                 :           0 :                                             res_ops[0] = captures[0];
     622                 :           0 :                                             res_ops[1] = captures[1];
     623                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 49, __FILE__, __LINE__, false);
     624                 :           0 :                                             return true;
     625                 :             :                                           }
     626                 :             :                                         }
     627                 :             :                                     }
     628                 :             :                                 }
     629                 :             :                               }
     630                 :             :                           }
     631                 :             :                       }
     632                 :             :                     break;
     633                 :             :                   }
     634                 :             :                 default:;
     635                 :             :                 }
     636                 :             :               break;
     637                 :             :             }
     638                 :           0 :           case LE_EXPR:
     639                 :           0 :             {
     640                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     641                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     642                 :           0 :               switch (TREE_CODE (_q21))
     643                 :             :                 {
     644                 :           0 :                 case PLUS_EXPR:
     645                 :           0 :                   {
     646                 :           0 :                     tree _q40 = TREE_OPERAND (_q21, 0);
     647                 :           0 :                     tree _q41 = TREE_OPERAND (_q21, 1);
     648                 :           0 :                     if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
     649                 :             :                       {
     650                 :           0 :                         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
     651                 :             :                           {
     652                 :           0 :                             if (integer_minus_onep (_p2))
     653                 :             :                               {
     654                 :           0 :                                 {
     655                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q41, _q21 };
     656                 :           0 :                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     657                 :             : )
     658                 :             :                                     {
     659                 :           0 :                                       if (types_match (type, captures[0], captures[1])
     660                 :             : )
     661                 :             :                                         {
     662                 :           0 :                                           {
     663                 :           0 :                                             res_ops[0] = captures[0];
     664                 :           0 :                                             res_ops[1] = captures[1];
     665                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 50, __FILE__, __LINE__, false);
     666                 :           0 :                                             return true;
     667                 :             :                                           }
     668                 :             :                                         }
     669                 :             :                                     }
     670                 :             :                                 }
     671                 :             :                               }
     672                 :             :                           }
     673                 :             :                       }
     674                 :           0 :                     if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
     675                 :             :                       {
     676                 :           0 :                         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
     677                 :             :                           {
     678                 :           0 :                             if (integer_minus_onep (_p2))
     679                 :             :                               {
     680                 :           0 :                                 {
     681                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _q21 };
     682                 :           0 :                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     683                 :             : )
     684                 :             :                                     {
     685                 :           0 :                                       if (types_match (type, captures[0], captures[1])
     686                 :             : )
     687                 :             :                                         {
     688                 :           0 :                                           {
     689                 :           0 :                                             res_ops[0] = captures[0];
     690                 :           0 :                                             res_ops[1] = captures[1];
     691                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 50, __FILE__, __LINE__, false);
     692                 :           0 :                                             return true;
     693                 :             :                                           }
     694                 :             :                                         }
     695                 :             :                                     }
     696                 :             :                                 }
     697                 :             :                               }
     698                 :             :                           }
     699                 :             :                       }
     700                 :             :                     break;
     701                 :             :                   }
     702                 :           0 :                 default:;
     703                 :             :                 }
     704                 :           0 :               switch (TREE_CODE (_q20))
     705                 :             :                 {
     706                 :           0 :                 case PLUS_EXPR:
     707                 :           0 :                   {
     708                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     709                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
     710                 :           0 :                     switch (TREE_CODE (_q30))
     711                 :             :                       {
     712                 :           0 :                       CASE_CONVERT:
     713                 :           0 :                         {
     714                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     715                 :           0 :                           switch (TREE_CODE (_q31))
     716                 :             :                             {
     717                 :           0 :                             CASE_CONVERT:
     718                 :           0 :                               {
     719                 :           0 :                                 tree _q60 = TREE_OPERAND (_q31, 0);
     720                 :           0 :                                 switch (TREE_CODE (_q21))
     721                 :             :                                   {
     722                 :           0 :                                   case INTEGER_CST:
     723                 :           0 :                                     {
     724                 :           0 :                                       switch (TREE_CODE (_p1))
     725                 :             :                                         {
     726                 :           0 :                                         case PLUS_EXPR:
     727                 :           0 :                                           {
     728                 :           0 :                                             tree _q90 = TREE_OPERAND (_p1, 0);
     729                 :           0 :                                             tree _q91 = TREE_OPERAND (_p1, 1);
     730                 :           0 :                                             if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
     731                 :             :                                               {
     732                 :           0 :                                                 if ((_q91 == _q60 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q60, 0) && types_match (_q91, _q60)))
     733                 :             :                                                   {
     734                 :           0 :                                                     if (integer_minus_onep (_p2))
     735                 :             :                                                       {
     736                 :           0 :                                                         {
     737                 :           0 :                                                           tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q60, _q30, _q31, _q21 };
     738                 :           0 :                                                           if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     739                 :             : )
     740                 :             :                                                             {
     741                 :           0 :                                                               if (types_match (type, captures[0], captures[1]) && types_match (captures[2], captures[3])
     742                 :             : )
     743                 :             :                                                                 {
     744                 :           0 :                                                                   {
     745                 :           0 :  unsigned precision = TYPE_PRECISION (type);
     746                 :           0 :  unsigned widen_precision = TYPE_PRECISION (TREE_TYPE (captures[2]));
     747                 :           0 :  wide_int max = wi::mask (precision, false, widen_precision);
     748                 :           0 :  wide_int c4 = wi::to_wide (captures[4]);
     749                 :           0 :                                                                       if (wi::eq_p (c4, max) && widen_precision > precision
     750                 :             : )
     751                 :             :                                                                         {
     752                 :           0 :                                                                           {
     753                 :           0 :                                                                             res_ops[0] = captures[0];
     754                 :           0 :                                                                             res_ops[1] = captures[1];
     755                 :           0 :                                                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 51, __FILE__, __LINE__, false);
     756                 :           0 :                                                                             return true;
     757                 :             :                                                                           }
     758                 :             :                                                                         }
     759                 :           0 :                                                                   }
     760                 :             :                                                                 }
     761                 :             :                                                             }
     762                 :             :                                                         }
     763                 :             :                                                       }
     764                 :             :                                                   }
     765                 :             :                                               }
     766                 :           0 :                                             if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
     767                 :             :                                               {
     768                 :           0 :                                                 if ((_q91 == _q40 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q40, 0) && types_match (_q91, _q40)))
     769                 :             :                                                   {
     770                 :           0 :                                                     if (integer_minus_onep (_p2))
     771                 :             :                                                       {
     772                 :           0 :                                                         {
     773                 :           0 :                                                           tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q60, _q30, _q31, _q21 };
     774                 :           0 :                                                           if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     775                 :             : )
     776                 :             :                                                             {
     777                 :           0 :                                                               if (types_match (type, captures[0], captures[1]) && types_match (captures[2], captures[3])
     778                 :             : )
     779                 :             :                                                                 {
     780                 :           0 :                                                                   {
     781                 :           0 :  unsigned precision = TYPE_PRECISION (type);
     782                 :           0 :  unsigned widen_precision = TYPE_PRECISION (TREE_TYPE (captures[2]));
     783                 :           0 :  wide_int max = wi::mask (precision, false, widen_precision);
     784                 :           0 :  wide_int c4 = wi::to_wide (captures[4]);
     785                 :           0 :                                                                       if (wi::eq_p (c4, max) && widen_precision > precision
     786                 :             : )
     787                 :             :                                                                         {
     788                 :           0 :                                                                           {
     789                 :           0 :                                                                             res_ops[0] = captures[0];
     790                 :           0 :                                                                             res_ops[1] = captures[1];
     791                 :           0 :                                                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 51, __FILE__, __LINE__, false);
     792                 :           0 :                                                                             return true;
     793                 :             :                                                                           }
     794                 :             :                                                                         }
     795                 :           0 :                                                                   }
     796                 :             :                                                                 }
     797                 :             :                                                             }
     798                 :             :                                                         }
     799                 :             :                                                       }
     800                 :             :                                                   }
     801                 :             :                                               }
     802                 :             :                                             break;
     803                 :             :                                           }
     804                 :             :                                         default:;
     805                 :             :                                         }
     806                 :             :                                       break;
     807                 :             :                                     }
     808                 :             :                                   default:;
     809                 :             :                                   }
     810                 :             :                                 break;
     811                 :             :                               }
     812                 :             :                             default:;
     813                 :             :                             }
     814                 :             :                           break;
     815                 :             :                         }
     816                 :             :                       default:;
     817                 :             :                       }
     818                 :             :                     break;
     819                 :             :                   }
     820                 :             :                 default:;
     821                 :             :                 }
     822                 :             :               break;
     823                 :             :             }
     824                 :           0 :           case GT_EXPR:
     825                 :           0 :             {
     826                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     827                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     828                 :           0 :               switch (TREE_CODE (_q21))
     829                 :             :                 {
     830                 :           0 :                 case PLUS_EXPR:
     831                 :           0 :                   {
     832                 :           0 :                     tree _q40 = TREE_OPERAND (_q21, 0);
     833                 :           0 :                     tree _q41 = TREE_OPERAND (_q21, 1);
     834                 :           0 :                     if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
     835                 :             :                       {
     836                 :           0 :                         if (integer_minus_onep (_p1))
     837                 :             :                           {
     838                 :           0 :                             if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
     839                 :             :                               {
     840                 :           0 :                                 {
     841                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q41, _q21 };
     842                 :           0 :                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     843                 :             : )
     844                 :             :                                     {
     845                 :           0 :                                       if (types_match (type, captures[0], captures[1])
     846                 :             : )
     847                 :             :                                         {
     848                 :           0 :                                           {
     849                 :           0 :                                             res_ops[0] = captures[0];
     850                 :           0 :                                             res_ops[1] = captures[1];
     851                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     852                 :           0 :                                             return true;
     853                 :             :                                           }
     854                 :             :                                         }
     855                 :             :                                     }
     856                 :             :                                 }
     857                 :             :                               }
     858                 :             :                           }
     859                 :             :                       }
     860                 :           0 :                     if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
     861                 :             :                       {
     862                 :           0 :                         if (integer_minus_onep (_p1))
     863                 :             :                           {
     864                 :           0 :                             if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
     865                 :             :                               {
     866                 :           0 :                                 {
     867                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _q21 };
     868                 :           0 :                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     869                 :             : )
     870                 :             :                                     {
     871                 :           0 :                                       if (types_match (type, captures[0], captures[1])
     872                 :             : )
     873                 :             :                                         {
     874                 :           0 :                                           {
     875                 :           0 :                                             res_ops[0] = captures[0];
     876                 :           0 :                                             res_ops[1] = captures[1];
     877                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     878                 :           0 :                                             return true;
     879                 :             :                                           }
     880                 :             :                                         }
     881                 :             :                                     }
     882                 :             :                                 }
     883                 :             :                               }
     884                 :             :                           }
     885                 :             :                       }
     886                 :             :                     break;
     887                 :             :                   }
     888                 :             :                 default:;
     889                 :             :                 }
     890                 :             :               break;
     891                 :             :             }
     892                 :           0 :           case EQ_EXPR:
     893                 :           0 :             {
     894                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     895                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     896                 :           0 :               switch (TREE_CODE (_q20))
     897                 :             :                 {
     898                 :           0 :                 case IMAGPART_EXPR:
     899                 :           0 :                   {
     900                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     901                 :           0 :                     switch (TREE_CODE (_q30))
     902                 :             :                       {
     903                 :           0 :                       case CALL_EXPR:
     904                 :           0 :                         switch (get_call_combined_fn (_q30))
     905                 :             :                           {
     906                 :           0 :                           case CFN_ADD_OVERFLOW:
     907                 :           0 :                             if (call_expr_nargs (_q30) == 2)
     908                 :             :     {
     909                 :           0 :                                 tree _q40 = CALL_EXPR_ARG (_q30, 0);
     910                 :           0 :                                 tree _q41 = CALL_EXPR_ARG (_q30, 1);
     911                 :           0 :                                 if (integer_zerop (_q21))
     912                 :             :                                   {
     913                 :           0 :                                     switch (TREE_CODE (_p1))
     914                 :             :                                       {
     915                 :           0 :                                       case REALPART_EXPR:
     916                 :           0 :                                         {
     917                 :           0 :                                           tree _q80 = TREE_OPERAND (_p1, 0);
     918                 :           0 :                                           if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
     919                 :             :                                             {
     920                 :           0 :                                               if (integer_minus_onep (_p2))
     921                 :             :                                                 {
     922                 :           0 :                                                   {
     923                 :           0 :                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q30 };
     924                 :           0 :                                                     if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     925                 :             : )
     926                 :             :                                                       {
     927                 :           0 :                                                         if (types_match (type, captures[0], captures[1])
     928                 :             : )
     929                 :             :                                                           {
     930                 :           0 :                                                             {
     931                 :           0 :                                                               res_ops[0] = captures[0];
     932                 :           0 :                                                               res_ops[1] = captures[1];
     933                 :           0 :                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 53, __FILE__, __LINE__, false);
     934                 :           0 :                                                               return true;
     935                 :             :                                                             }
     936                 :             :                                                           }
     937                 :             :                                                       }
     938                 :             :                                                   }
     939                 :             :                                                 }
     940                 :             :                                             }
     941                 :             :                                           break;
     942                 :             :                                         }
     943                 :             :                                       default:;
     944                 :             :                                       }
     945                 :             :                                   }
     946                 :             :                               }
     947                 :             :                             break;
     948                 :             :                           default:;
     949                 :             :                           }
     950                 :             :                         break;
     951                 :             :                       default:;
     952                 :             :                       }
     953                 :             :                     break;
     954                 :             :                   }
     955                 :             :                 default:;
     956                 :             :                 }
     957                 :             :               break;
     958                 :             :             }
     959                 :           0 :           case NE_EXPR:
     960                 :           0 :             {
     961                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     962                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     963                 :           0 :               switch (TREE_CODE (_q20))
     964                 :             :                 {
     965                 :           0 :                 case IMAGPART_EXPR:
     966                 :           0 :                   {
     967                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     968                 :           0 :                     switch (TREE_CODE (_q30))
     969                 :             :                       {
     970                 :           0 :                       case CALL_EXPR:
     971                 :           0 :                         switch (get_call_combined_fn (_q30))
     972                 :             :                           {
     973                 :           0 :                           case CFN_ADD_OVERFLOW:
     974                 :           0 :                             if (call_expr_nargs (_q30) == 2)
     975                 :             :     {
     976                 :           0 :                                 tree _q40 = CALL_EXPR_ARG (_q30, 0);
     977                 :           0 :                                 tree _q41 = CALL_EXPR_ARG (_q30, 1);
     978                 :           0 :                                 if (integer_zerop (_q21))
     979                 :             :                                   {
     980                 :           0 :                                     if (integer_minus_onep (_p1))
     981                 :             :                                       {
     982                 :           0 :                                         switch (TREE_CODE (_p2))
     983                 :             :                                           {
     984                 :           0 :                                           case REALPART_EXPR:
     985                 :           0 :                                             {
     986                 :           0 :                                               tree _q90 = TREE_OPERAND (_p2, 0);
     987                 :           0 :                                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
     988                 :             :                                                 {
     989                 :           0 :                                                   {
     990                 :           0 :                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q30 };
     991                 :           0 :                                                     if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     992                 :             : )
     993                 :             :                                                       {
     994                 :           0 :                                                         if (types_match (type, captures[0], captures[1])
     995                 :             : )
     996                 :             :                                                           {
     997                 :           0 :                                                             {
     998                 :           0 :                                                               res_ops[0] = captures[0];
     999                 :           0 :                                                               res_ops[1] = captures[1];
    1000                 :           0 :                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 54, __FILE__, __LINE__, false);
    1001                 :           0 :                                                               return true;
    1002                 :             :                                                             }
    1003                 :             :                                                           }
    1004                 :             :                                                       }
    1005                 :             :                                                   }
    1006                 :             :                                                 }
    1007                 :             :                                               break;
    1008                 :             :                                             }
    1009                 :             :                                           default:;
    1010                 :             :                                           }
    1011                 :             :                                       }
    1012                 :             :                                   }
    1013                 :           0 :                                 switch (TREE_CODE (_q41))
    1014                 :             :                                   {
    1015                 :           0 :                                   case INTEGER_CST:
    1016                 :           0 :                                     {
    1017                 :           0 :                                       if (integer_zerop (_q21))
    1018                 :             :                                         {
    1019                 :           0 :                                           if (integer_minus_onep (_p1))
    1020                 :             :                                             {
    1021                 :           0 :                                               switch (TREE_CODE (_p2))
    1022                 :             :                                                 {
    1023                 :           0 :                                                 case REALPART_EXPR:
    1024                 :           0 :                                                   {
    1025                 :           0 :                                                     tree _q90 = TREE_OPERAND (_p2, 0);
    1026                 :           0 :                                                     if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    1027                 :             :                                                       {
    1028                 :           0 :                                                         {
    1029                 :           0 :                                                           tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q30 };
    1030                 :           0 :                                                           if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
    1031                 :             : )
    1032                 :             :                                                             {
    1033                 :           0 :                                                               if (types_match (type, captures[0]) && int_fits_type_p (captures[1], type)
    1034                 :             : )
    1035                 :             :                                                                 {
    1036                 :           0 :                                                                   {
    1037                 :           0 :                                                                     res_ops[0] = captures[0];
    1038                 :           0 :                                                                     res_ops[1] = captures[1];
    1039                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 55, __FILE__, __LINE__, false);
    1040                 :           0 :                                                                     return true;
    1041                 :             :                                                                   }
    1042                 :             :                                                                 }
    1043                 :             :                                                             }
    1044                 :             :                                                         }
    1045                 :             :                                                       }
    1046                 :             :                                                     break;
    1047                 :             :                                                   }
    1048                 :             :                                                 default:;
    1049                 :             :                                                 }
    1050                 :             :                                             }
    1051                 :             :                                         }
    1052                 :             :                                       break;
    1053                 :             :                                     }
    1054                 :             :                                   default:;
    1055                 :             :                                   }
    1056                 :             :                               }
    1057                 :             :                             break;
    1058                 :             :                           default:;
    1059                 :             :                           }
    1060                 :             :                         break;
    1061                 :             :                       default:;
    1062                 :             :                       }
    1063                 :             :                     break;
    1064                 :             :                   }
    1065                 :             :                 default:;
    1066                 :             :                 }
    1067                 :             :               break;
    1068                 :             :             }
    1069                 :             :           default:;
    1070                 :             :           }
    1071                 :             :         break;
    1072                 :             :       }
    1073                 :           0 :     case PLUS_EXPR:
    1074                 :           0 :       {
    1075                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
    1076                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
    1077                 :           0 :         switch (TREE_CODE (_p0))
    1078                 :             :           {
    1079                 :           0 :           case MIN_EXPR:
    1080                 :           0 :             {
    1081                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
    1082                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
    1083                 :           0 :               switch (TREE_CODE (_q21))
    1084                 :             :                 {
    1085                 :           0 :                 case INTEGER_CST:
    1086                 :           0 :                   {
    1087                 :           0 :                     switch (TREE_CODE (_p1))
    1088                 :             :                       {
    1089                 :           0 :                       case INTEGER_CST:
    1090                 :           0 :                         {
    1091                 :           0 :                           {
    1092                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q21 };
    1093                 :           0 :                             if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
    1094                 :             : )
    1095                 :             :                               {
    1096                 :           0 :                                 if (types_match (type, captures[0], captures[1])
    1097                 :             : )
    1098                 :             :                                   {
    1099                 :           0 :                                     {
    1100                 :           0 :  unsigned precision = TYPE_PRECISION (type);
    1101                 :           0 :  wide_int cst_1 = wi::to_wide (captures[1]);
    1102                 :           0 :  wide_int cst_2 = wi::to_wide (captures[2]);
    1103                 :           0 :  wide_int max = wi::mask (precision, false, precision);
    1104                 :           0 :  wide_int sum = wi::add (cst_1, cst_2);
    1105                 :           0 :                                         if (wi::eq_p (max, sum)
    1106                 :             : )
    1107                 :             :                                           {
    1108                 :           0 :                                             {
    1109                 :           0 :                                               res_ops[0] = captures[0];
    1110                 :           0 :                                               res_ops[1] = captures[1];
    1111                 :           0 :                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 56, __FILE__, __LINE__, false);
    1112                 :           0 :                                               return true;
    1113                 :             :                                             }
    1114                 :             :                                           }
    1115                 :           0 :                                     }
    1116                 :             :                                   }
    1117                 :             :                               }
    1118                 :             :                           }
    1119                 :           0 :                           break;
    1120                 :             :                         }
    1121                 :             :                       default:;
    1122                 :             :                       }
    1123                 :             :                     break;
    1124                 :             :                   }
    1125                 :             :                 default:;
    1126                 :             :                 }
    1127                 :             :               break;
    1128                 :             :             }
    1129                 :             :           default:;
    1130                 :             :           }
    1131                 :             :         break;
    1132                 :             :       }
    1133                 :             :     default:;
    1134                 :             :     }
    1135                 :             :   return false;
    1136                 :             : }
    1137                 :             : 
    1138                 :             : tree
    1139                 :           2 : generic_simplify_60 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1140                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1141                 :             :  const combined_fn ARG_UNUSED (logs))
    1142                 :             : {
    1143                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1144                 :           2 :   if (flag_unsafe_math_optimizations
    1145                 :             : )
    1146                 :             :     {
    1147                 :           2 :       if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    1148                 :           2 :  && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
    1149                 :           2 :  && ! flag_trapping_math
    1150                 :           4 :  && ! flag_errno_math
    1151                 :             : )
    1152                 :             :         {
    1153                 :           2 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail293;
    1154                 :           2 :           {
    1155                 :           2 :             tree res_op0;
    1156                 :           2 :             {
    1157                 :           2 :               tree _o1[2], _r1;
    1158                 :           2 :               _o1[0] = captures[1];
    1159                 :           2 :               _o1[1] = captures[3];
    1160                 :           2 :               _r1 = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1161                 :           2 :               res_op0 = _r1;
    1162                 :             :             }
    1163                 :           2 :             tree _r;
    1164                 :           2 :             _r = maybe_build_call_expr_loc (loc, logs, type, 1, res_op0);
    1165                 :           2 :             if (!_r)
    1166                 :           0 :               goto next_after_fail293;
    1167                 :           2 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 176, __FILE__, __LINE__, true);
    1168                 :           2 :             return _r;
    1169                 :             :           }
    1170                 :             : next_after_fail293:;
    1171                 :             :         }
    1172                 :             :     }
    1173                 :             :   return NULL_TREE;
    1174                 :             : }
    1175                 :             : 
    1176                 :             : tree
    1177                 :           3 : generic_simplify_63 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1178                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1179                 :             :  const enum tree_code ARG_UNUSED (op))
    1180                 :             : {
    1181                 :           3 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1182                 :           3 :   if (INTEGRAL_TYPE_P (type)
    1183                 :             : )
    1184                 :             :     {
    1185                 :           3 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail296;
    1186                 :           3 :       {
    1187                 :           3 :         tree res_op0;
    1188                 :           3 :         {
    1189                 :           3 :           tree _o1[2], _r1;
    1190                 :           3 :           _o1[0] = captures[1];
    1191                 :           3 :           _o1[1] = captures[4];
    1192                 :           3 :           _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1193                 :           3 :           res_op0 = _r1;
    1194                 :             :         }
    1195                 :           3 :         tree res_op1;
    1196                 :           3 :         res_op1 = captures[2];
    1197                 :           3 :         tree _r;
    1198                 :           3 :         _r = fold_build2_loc (loc, LSHIFT_EXPR, type, res_op0, res_op1);
    1199                 :           3 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 179, __FILE__, __LINE__, true);
    1200                 :           3 :         return _r;
    1201                 :             :       }
    1202                 :           0 : next_after_fail296:;
    1203                 :             :     }
    1204                 :             :   return NULL_TREE;
    1205                 :             : }
    1206                 :             : 
    1207                 :             : tree
    1208                 :        6183 : generic_simplify_69 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1209                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1210                 :             : {
    1211                 :        6183 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1212                 :        6183 :   {
    1213                 :        6183 :  bool wascmp;
    1214                 :        6183 :       if (bitwise_inverted_equal_p (captures[0], captures[2], wascmp)
    1215                 :        6183 :  && (!wascmp || element_precision (type) == 1)
    1216                 :             : )
    1217                 :             :         {
    1218                 :           1 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail302;
    1219                 :           1 :           {
    1220                 :           1 :             tree res_op0;
    1221                 :           1 :             res_op0 = captures[0];
    1222                 :           1 :             tree res_op1;
    1223                 :           1 :             {
    1224                 :           1 :               tree _o1[1], _r1;
    1225                 :           1 :               _o1[0] = captures[3];
    1226                 :           1 :               _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1227                 :           1 :               res_op1 = _r1;
    1228                 :             :             }
    1229                 :           1 :             tree _r;
    1230                 :           1 :             _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
    1231                 :           1 :             if (TREE_SIDE_EFFECTS (captures[2]))
    1232                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1233                 :           1 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 185, __FILE__, __LINE__, true);
    1234                 :           1 :             return _r;
    1235                 :             :           }
    1236                 :           0 : next_after_fail302:;
    1237                 :             :         }
    1238                 :             :   }
    1239                 :        6182 :   return NULL_TREE;
    1240                 :             : }
    1241                 :             : 
    1242                 :             : tree
    1243                 :           0 : generic_simplify_79 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1244                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1245                 :             :  const enum tree_code ARG_UNUSED (op))
    1246                 :             : {
    1247                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1248                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail316;
    1249                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail316;
    1250                 :           0 :   {
    1251                 :           0 :     tree _r;
    1252                 :           0 :     _r = captures[0];
    1253                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 192, __FILE__, __LINE__, true);
    1254                 :             :     return _r;
    1255                 :             :   }
    1256                 :             : next_after_fail316:;
    1257                 :             :   return NULL_TREE;
    1258                 :             : }
    1259                 :             : 
    1260                 :             : tree
    1261                 :      206993 : generic_simplify_86 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1262                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1263                 :             :  const enum tree_code ARG_UNUSED (op))
    1264                 :             : {
    1265                 :      206993 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1266                 :      206993 :   {
    1267                 :      206993 :  bool wascmp;
    1268                 :      206993 :       if (types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    1269                 :      206993 :  && bitwise_inverted_equal_p (captures[0], captures[1], wascmp)
    1270                 :             : )
    1271                 :             :         {
    1272                 :          47 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail323;
    1273                 :          47 :           {
    1274                 :          47 :             tree res_op0;
    1275                 :          47 :             res_op0 =  wascmp
    1276                 :          47 :  ? constant_boolean_node (true, type)
    1277                 :          40 :  : build_all_ones_cst (TREE_TYPE (captures[0]));
    1278                 :          47 :             tree _r;
    1279                 :          47 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1280                 :          47 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1281                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1282                 :          47 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1283                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1284                 :          47 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 197, __FILE__, __LINE__, true);
    1285                 :          47 :             return _r;
    1286                 :             :           }
    1287                 :           0 : next_after_fail323:;
    1288                 :             :         }
    1289                 :             :   }
    1290                 :      206946 :   return NULL_TREE;
    1291                 :             : }
    1292                 :             : 
    1293                 :             : tree
    1294                 :           0 : generic_simplify_98 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1295                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1296                 :             :  const enum tree_code ARG_UNUSED (op))
    1297                 :             : {
    1298                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1299                 :           0 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[3]))
    1300                 :           0 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))
    1301                 :             : )
    1302                 :             :     {
    1303                 :           0 :       if (single_use (captures[4]) && single_use (captures[5])
    1304                 :             : )
    1305                 :             :         {
    1306                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail336;
    1307                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail336;
    1308                 :           0 :           {
    1309                 :           0 :             tree res_op0;
    1310                 :           0 :             res_op0 = captures[0];
    1311                 :           0 :             tree res_op1;
    1312                 :           0 :             {
    1313                 :           0 :               tree _o1[1], _r1;
    1314                 :           0 :               _o1[0] = captures[6];
    1315                 :           0 :               if (TREE_TYPE (_o1[0]) != type)
    1316                 :             :                 {
    1317                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1318                 :             :                 }
    1319                 :             :               else
    1320                 :             :                 _r1 = _o1[0];
    1321                 :           0 :               res_op1 = _r1;
    1322                 :             :             }
    1323                 :           0 :             tree _r;
    1324                 :           0 :             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1325                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 206, __FILE__, __LINE__, true);
    1326                 :           0 :             return _r;
    1327                 :             :           }
    1328                 :             : next_after_fail336:;
    1329                 :             :         }
    1330                 :             :       else
    1331                 :             :         {
    1332                 :             :           if (single_use (captures[0]) && single_use (captures[1])
    1333                 :             : )
    1334                 :             :             {
    1335                 :             :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail337;
    1336                 :             :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail337;
    1337                 :             :               {
    1338                 :             :                 tree res_op0;
    1339                 :             :                 {
    1340                 :             :                   tree _o1[1], _r1;
    1341                 :             :                   _o1[0] = captures[3];
    1342                 :             :                   if (TREE_TYPE (_o1[0]) != type)
    1343                 :             :                     {
    1344                 :             :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1345                 :             :                     }
    1346                 :             :                   else
    1347                 :             :                     _r1 = _o1[0];
    1348                 :             :                   res_op0 = _r1;
    1349                 :             :                 }
    1350                 :             :                 tree res_op1;
    1351                 :             :                 res_op1 = captures[4];
    1352                 :             :                 tree _r;
    1353                 :             :                 _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1354                 :             :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 207, __FILE__, __LINE__, true);
    1355                 :             :                 return _r;
    1356                 :             :               }
    1357                 :             : next_after_fail337:;
    1358                 :             :             }
    1359                 :             :         }
    1360                 :             :     }
    1361                 :             :   return NULL_TREE;
    1362                 :             : }
    1363                 :             : 
    1364                 :             : tree
    1365                 :           0 : generic_simplify_110 (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 (bitop),
    1368                 :             :  const enum tree_code ARG_UNUSED (rbitop))
    1369                 :             : {
    1370                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1371                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail351;
    1372                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail351;
    1373                 :           0 :   {
    1374                 :           0 :     tree res_op0;
    1375                 :           0 :     res_op0 = captures[0];
    1376                 :           0 :     tree res_op1;
    1377                 :           0 :     res_op1 = captures[2];
    1378                 :           0 :     tree _r;
    1379                 :           0 :     _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    1380                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 212, __FILE__, __LINE__, true);
    1381                 :             :     return _r;
    1382                 :             :   }
    1383                 :             : next_after_fail351:;
    1384                 :             :   return NULL_TREE;
    1385                 :             : }
    1386                 :             : 
    1387                 :             : tree
    1388                 :         659 : generic_simplify_117 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1389                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1390                 :             :  const enum tree_code ARG_UNUSED (bitop))
    1391                 :             : {
    1392                 :         659 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1393                 :         659 :   if (!CONSTANT_CLASS_P (captures[0])
    1394                 :             : )
    1395                 :             :     {
    1396                 :         659 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail359;
    1397                 :         659 :       {
    1398                 :         659 :         tree res_op0;
    1399                 :         659 :         res_op0 = captures[0];
    1400                 :         659 :         tree res_op1;
    1401                 :         659 :         {
    1402                 :         659 :           tree _o1[2], _r1;
    1403                 :         659 :           _o1[0] = captures[1];
    1404                 :         659 :           _o1[1] = captures[2];
    1405                 :         659 :           _r1 = fold_build2_loc (loc, bitop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1406                 :         659 :           if (EXPR_P (_r1))
    1407                 :           0 :             goto next_after_fail359;
    1408                 :         659 :           res_op1 = _r1;
    1409                 :             :         }
    1410                 :         659 :         tree _r;
    1411                 :         659 :         _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    1412                 :         659 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 219, __FILE__, __LINE__, true);
    1413                 :         659 :         return _r;
    1414                 :             :       }
    1415                 :             : next_after_fail359:;
    1416                 :             :     }
    1417                 :             :   else
    1418                 :             :     {
    1419                 :           0 :       {
    1420                 :           0 :  tree cst1 = const_binop (bitop, type, captures[0], captures[2]);
    1421                 :           0 :           if (cst1
    1422                 :             : )
    1423                 :             :             {
    1424                 :           0 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail360;
    1425                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail360;
    1426                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail360;
    1427                 :           0 :               {
    1428                 :           0 :                 tree res_op0;
    1429                 :           0 :                 res_op0 = captures[1];
    1430                 :           0 :                 tree res_op1;
    1431                 :           0 :                 res_op1 =  cst1;
    1432                 :           0 :                 tree _r;
    1433                 :           0 :                 _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    1434                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 220, __FILE__, __LINE__, true);
    1435                 :           0 :                 return _r;
    1436                 :             :               }
    1437                 :             : next_after_fail360:;
    1438                 :             :             }
    1439                 :             :           else
    1440                 :             :             {
    1441                 :           0 :               {
    1442                 :           0 :  tree cst2 = const_binop (bitop, type, captures[1], captures[2]);
    1443                 :           0 :                   if (cst2
    1444                 :             : )
    1445                 :             :                     {
    1446                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail361;
    1447                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail361;
    1448                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail361;
    1449                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail361;
    1450                 :           0 :                       {
    1451                 :           0 :                         tree res_op0;
    1452                 :           0 :                         res_op0 = captures[0];
    1453                 :           0 :                         tree res_op1;
    1454                 :           0 :                         res_op1 =  cst2;
    1455                 :           0 :                         tree _r;
    1456                 :           0 :                         _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    1457                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 221, __FILE__, __LINE__, true);
    1458                 :           0 :                         return _r;
    1459                 :             :                       }
    1460                 :             : next_after_fail361:;
    1461                 :             :                     }
    1462                 :             :               }
    1463                 :             :             }
    1464                 :             :       }
    1465                 :             :     }
    1466                 :             :   return NULL_TREE;
    1467                 :             : }
    1468                 :             : 
    1469                 :             : tree
    1470                 :           0 : generic_simplify_132 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1471                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1472                 :             : {
    1473                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1474                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail398;
    1475                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail398;
    1476                 :           0 :   {
    1477                 :           0 :     tree _r;
    1478                 :           0 :     _r =  constant_boolean_node (true, type);
    1479                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    1480                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1481                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 250, __FILE__, __LINE__, true);
    1482                 :             :     return _r;
    1483                 :             :   }
    1484                 :             : next_after_fail398:;
    1485                 :             :   return NULL_TREE;
    1486                 :             : }
    1487                 :             : 
    1488                 :             : tree
    1489                 :         120 : generic_simplify_136 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1490                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1491                 :             :  const enum tree_code ARG_UNUSED (code2),
    1492                 :             :  const enum tree_code ARG_UNUSED (code1))
    1493                 :             : {
    1494                 :         120 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1495                 :         120 :   if ((TREE_CODE (captures[2]) == INTEGER_CST
    1496                 :          97 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    1497                 :         120 :  || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    1498                 :           0 :  || POINTER_TYPE_P (TREE_TYPE (captures[2])))
    1499                 :          23 :  && bitwise_equal_p (captures[2], captures[5]))
    1500                 :             : )
    1501                 :             :     {
    1502                 :          97 :       {
    1503                 :          97 :  bool one_before = false;
    1504                 :          97 :  bool one_after = false;
    1505                 :          97 :  int cmp = 0;
    1506                 :          97 :  bool allbits = true;
    1507                 :          97 :  if (TREE_CODE (captures[2]) == INTEGER_CST
    1508                 :          97 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    1509                 :             :  {
    1510                 :          97 :  allbits = TYPE_PRECISION (TREE_TYPE (captures[2])) <= TYPE_PRECISION (TREE_TYPE (captures[5]));
    1511                 :          97 :  auto t1 = wi::to_wide (fold_convert (TREE_TYPE (captures[5]), captures[2]));
    1512                 :          97 :  auto t2 = wi::to_wide (captures[5]);
    1513                 :          97 :  cmp = wi::cmp (t1, t2, TYPE_SIGN (TREE_TYPE (captures[5])));
    1514                 :          97 :  if (cmp < 0
    1515                 :          97 :  && t1 == t2 - 1)
    1516                 :             :  one_before = true;
    1517                 :          97 :  if (cmp > 0
    1518                 :          97 :  && t1 == t2 + 1)
    1519                 :             :  one_after = true;
    1520                 :             :  }
    1521                 :          97 :  bool val;
    1522                 :          97 :  switch (code2)
    1523                 :             :  {
    1524                 :          88 :  case EQ_EXPR: val = (cmp == 0); break;
    1525                 :           0 :  case NE_EXPR: val = (cmp != 0); break;
    1526                 :           0 :  case LT_EXPR: val = (cmp < 0); break;
    1527                 :           9 :  case GT_EXPR: val = (cmp > 0); break;
    1528                 :           0 :  case LE_EXPR: val = (cmp <= 0); break;
    1529                 :           0 :  case GE_EXPR: val = (cmp >= 0); break;
    1530                 :           0 :  default: gcc_unreachable ();
    1531                 :             :  }
    1532                 :          97 :           if (code1 == EQ_EXPR && val
    1533                 :             : )
    1534                 :             :             {
    1535                 :           0 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail409;
    1536                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail409;
    1537                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail409;
    1538                 :           0 :               {
    1539                 :           0 :                 tree _r;
    1540                 :           0 :                 _r = captures[3];
    1541                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 234, __FILE__, __LINE__, true);
    1542                 :           0 :                 return _r;
    1543                 :             :               }
    1544                 :             : next_after_fail409:;
    1545                 :             :             }
    1546                 :             :           else
    1547                 :             :             {
    1548                 :          97 :               if (code1 == NE_EXPR && val && allbits
    1549                 :             : )
    1550                 :             :                 {
    1551                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail410;
    1552                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail410;
    1553                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail410;
    1554                 :           0 :                   {
    1555                 :           0 :                     tree _r;
    1556                 :           0 :                     _r =  constant_boolean_node (true, type);
    1557                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[4]))
    1558                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    1559                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 235, __FILE__, __LINE__, true);
    1560                 :           0 :                     return _r;
    1561                 :             :                   }
    1562                 :             : next_after_fail410:;
    1563                 :             :                 }
    1564                 :             :               else
    1565                 :             :                 {
    1566                 :          97 :                   if (code1 == NE_EXPR && !val && allbits
    1567                 :             : )
    1568                 :             :                     {
    1569                 :           0 :                       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail411;
    1570                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail411;
    1571                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail411;
    1572                 :           0 :                       {
    1573                 :           0 :                         tree _r;
    1574                 :           0 :                         _r = captures[0];
    1575                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[4]))
    1576                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    1577                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 236, __FILE__, __LINE__, true);
    1578                 :           0 :                         return _r;
    1579                 :             :                       }
    1580                 :             : next_after_fail411:;
    1581                 :             :                     }
    1582                 :             :                   else
    1583                 :             :                     {
    1584                 :          97 :                       if (code1 == EQ_EXPR
    1585                 :          97 :  && code2 == GT_EXPR
    1586                 :           9 :  && cmp == 0
    1587                 :           9 :  && allbits
    1588                 :             : )
    1589                 :             :                         {
    1590                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail412;
    1591                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail412;
    1592                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail412;
    1593                 :           0 :                           {
    1594                 :           0 :                             tree res_op0;
    1595                 :           0 :                             res_op0 = captures[4];
    1596                 :           0 :                             tree res_op1;
    1597                 :           0 :                             res_op1 = captures[5];
    1598                 :           0 :                             tree _r;
    1599                 :           0 :                             _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    1600                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 237, __FILE__, __LINE__, true);
    1601                 :           0 :                             return _r;
    1602                 :             :                           }
    1603                 :             : next_after_fail412:;
    1604                 :             :                         }
    1605                 :             :                       else
    1606                 :             :                         {
    1607                 :          97 :                           if (code1 == EQ_EXPR
    1608                 :          97 :  && code2 == LT_EXPR
    1609                 :           0 :  && cmp == 0
    1610                 :           0 :  && allbits
    1611                 :             : )
    1612                 :             :                             {
    1613                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail413;
    1614                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail413;
    1615                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail413;
    1616                 :           0 :                               {
    1617                 :           0 :                                 tree res_op0;
    1618                 :           0 :                                 res_op0 = captures[4];
    1619                 :           0 :                                 tree res_op1;
    1620                 :           0 :                                 res_op1 = captures[5];
    1621                 :           0 :                                 tree _r;
    1622                 :           0 :                                 _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1623                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 238, __FILE__, __LINE__, true);
    1624                 :           0 :                                 return _r;
    1625                 :             :                               }
    1626                 :             : next_after_fail413:;
    1627                 :             :                             }
    1628                 :             :                           else
    1629                 :             :                             {
    1630                 :          97 :                               if (code1 == EQ_EXPR
    1631                 :          97 :  && code2 == GE_EXPR
    1632                 :             :  && one_before
    1633                 :           0 :  && allbits
    1634                 :             : )
    1635                 :             :                                 {
    1636                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail414;
    1637                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail414;
    1638                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail414;
    1639                 :           0 :                                   {
    1640                 :           0 :                                     tree res_op0;
    1641                 :           0 :                                     res_op0 = captures[4];
    1642                 :           0 :                                     tree res_op1;
    1643                 :           0 :                                     {
    1644                 :           0 :                                       tree _o1[1], _r1;
    1645                 :           0 :                                       _o1[0] = captures[2];
    1646                 :           0 :                                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    1647                 :             :                                         {
    1648                 :           0 :                                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    1649                 :             :                                         }
    1650                 :             :                                       else
    1651                 :             :                                         _r1 = _o1[0];
    1652                 :           0 :                                       res_op1 = _r1;
    1653                 :             :                                     }
    1654                 :           0 :                                     tree _r;
    1655                 :           0 :                                     _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    1656                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 239, __FILE__, __LINE__, true);
    1657                 :           0 :                                     return _r;
    1658                 :             :                                   }
    1659                 :             : next_after_fail414:;
    1660                 :             :                                 }
    1661                 :             :                               else
    1662                 :             :                                 {
    1663                 :          97 :                                   if (code1 == EQ_EXPR
    1664                 :          97 :  && code2 == LE_EXPR
    1665                 :             :  && one_after
    1666                 :           0 :  && allbits
    1667                 :             : )
    1668                 :             :                                     {
    1669                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail415;
    1670                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail415;
    1671                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail415;
    1672                 :           0 :                                       {
    1673                 :           0 :                                         tree res_op0;
    1674                 :           0 :                                         res_op0 = captures[4];
    1675                 :           0 :                                         tree res_op1;
    1676                 :           0 :                                         {
    1677                 :           0 :                                           tree _o1[1], _r1;
    1678                 :           0 :                                           _o1[0] = captures[2];
    1679                 :           0 :                                           if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    1680                 :             :                                             {
    1681                 :           0 :                                               _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    1682                 :             :                                             }
    1683                 :             :                                           else
    1684                 :             :                                             _r1 = _o1[0];
    1685                 :           0 :                                           res_op1 = _r1;
    1686                 :             :                                         }
    1687                 :           0 :                                         tree _r;
    1688                 :           0 :                                         _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1689                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 240, __FILE__, __LINE__, true);
    1690                 :           0 :                                         return _r;
    1691                 :             :                                       }
    1692                 :             : next_after_fail415:;
    1693                 :             :                                     }
    1694                 :             :                                 }
    1695                 :             :                             }
    1696                 :             :                         }
    1697                 :             :                     }
    1698                 :             :                 }
    1699                 :             :             }
    1700                 :             :       }
    1701                 :             :     }
    1702                 :             :   return NULL_TREE;
    1703                 :             : }
    1704                 :             : 
    1705                 :             : tree
    1706                 :           5 : generic_simplify_170 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1707                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1708                 :             : {
    1709                 :           5 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1710                 :          10 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1711                 :           5 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    1712                 :          10 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[3]))
    1713                 :             : )
    1714                 :             :     {
    1715                 :           5 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail451;
    1716                 :           5 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail451;
    1717                 :           5 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail451;
    1718                 :           5 :       {
    1719                 :           5 :         tree res_op0;
    1720                 :           5 :         {
    1721                 :           5 :           tree _o1[2], _r1;
    1722                 :           5 :           _o1[0] = captures[1];
    1723                 :           5 :           _o1[1] = captures[3];
    1724                 :           5 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1725                 :           5 :           res_op0 = _r1;
    1726                 :             :         }
    1727                 :           5 :         tree res_op1;
    1728                 :           5 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    1729                 :           5 :         tree _r;
    1730                 :           5 :         _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    1731                 :           5 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 279, __FILE__, __LINE__, true);
    1732                 :           5 :         return _r;
    1733                 :             :       }
    1734                 :             : next_after_fail451:;
    1735                 :             :     }
    1736                 :             :   return NULL_TREE;
    1737                 :             : }
    1738                 :             : 
    1739                 :             : tree
    1740                 :           0 : generic_simplify_180 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1741                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1742                 :             : {
    1743                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1744                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail462;
    1745                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail462;
    1746                 :           0 :   {
    1747                 :           0 :     tree _r;
    1748                 :           0 :     _r =  build_zero_cst (type);
    1749                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 287, __FILE__, __LINE__, true);
    1750                 :             :     return _r;
    1751                 :             :   }
    1752                 :             : next_after_fail462:;
    1753                 :             :   return NULL_TREE;
    1754                 :             : }
    1755                 :             : 
    1756                 :             : tree
    1757                 :          11 : generic_simplify_186 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1758                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1759                 :             : {
    1760                 :          11 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1761                 :          11 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    1762                 :          11 :  && wi::ltu_p (wi::to_widest (captures[1]), TYPE_PRECISION (type))
    1763                 :             : )
    1764                 :             :     {
    1765                 :          11 :       {
    1766                 :          11 :  unsigned int shift = tree_to_uhwi (captures[1]);
    1767                 :          11 :  unsigned int prec = TYPE_PRECISION (type);
    1768                 :          11 :           if ((prec <= TYPE_PRECISION (TREE_TYPE (captures[2])) + shift
    1769                 :           0 :  || tree_int_cst_sgn (captures[2]) >= 0)
    1770                 :          22 :  && wi::to_wide (captures[3]) == wi::set_bit_in_zero (shift, prec)
    1771                 :             : )
    1772                 :             :             {
    1773                 :           3 :               {
    1774                 :           3 :  auto mask = wide_int::from (wi::to_wide (captures[2]), prec, UNSIGNED);
    1775                 :           3 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail470;
    1776                 :           3 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail470;
    1777                 :           3 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail470;
    1778                 :           3 :                   {
    1779                 :           3 :                     tree res_op0;
    1780                 :           3 :                     {
    1781                 :           3 :                       tree _o1[1], _r1;
    1782                 :           3 :                       _o1[0] = captures[0];
    1783                 :           3 :                       if (TREE_TYPE (_o1[0]) != type)
    1784                 :             :                         {
    1785                 :           0 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1786                 :             :                         }
    1787                 :             :                       else
    1788                 :             :                         _r1 = _o1[0];
    1789                 :           3 :                       res_op0 = _r1;
    1790                 :             :                     }
    1791                 :           3 :                     tree res_op1;
    1792                 :           3 :                     res_op1 =  wide_int_to_tree (type, mask << shift);
    1793                 :           3 :                     tree _r;
    1794                 :           3 :                     _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    1795                 :           3 :                     if (TREE_SIDE_EFFECTS (captures[3]))
    1796                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1797                 :           3 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 292, __FILE__, __LINE__, true);
    1798                 :           3 :                     return _r;
    1799                 :             :                   }
    1800                 :           0 : next_after_fail470:;
    1801                 :           3 :               }
    1802                 :             :             }
    1803                 :             :       }
    1804                 :             :     }
    1805                 :             :   return NULL_TREE;
    1806                 :             : }
    1807                 :             : 
    1808                 :             : tree
    1809                 :           0 : generic_simplify_200 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1810                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1811                 :             :  const enum tree_code ARG_UNUSED (op))
    1812                 :             : {
    1813                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1814                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail485;
    1815                 :           0 :   {
    1816                 :           0 :     tree _r;
    1817                 :           0 :     _r =  constant_boolean_node (op == NE_EXPR ? true : false, type);
    1818                 :           0 :     if (TREE_SIDE_EFFECTS (captures[0]))
    1819                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1820                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 307, __FILE__, __LINE__, true);
    1821                 :             :     return _r;
    1822                 :             :   }
    1823                 :           0 : next_after_fail485:;
    1824                 :           0 :   return NULL_TREE;
    1825                 :             : }
    1826                 :             : 
    1827                 :             : tree
    1828                 :      136598 : generic_simplify_206 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1829                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1830                 :             :  const enum tree_code ARG_UNUSED (op))
    1831                 :             : {
    1832                 :      136598 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1833                 :      273196 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    1834                 :      271662 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
    1835                 :      122690 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2])))
    1836                 :             :  && (CONSTANT_CLASS_P (captures[2]) || (single_use (captures[1]) && single_use (captures[0])))
    1837                 :      135827 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    1838                 :      408256 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[3]))
    1839                 :             : )
    1840                 :             :     {
    1841                 :      135819 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail494;
    1842                 :      135819 :       {
    1843                 :      135819 :         tree res_op0;
    1844                 :      135819 :         res_op0 = captures[2];
    1845                 :      135819 :         tree res_op1;
    1846                 :      135819 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[2]));
    1847                 :      135819 :         tree _r;
    1848                 :      135819 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1849                 :      135819 :         if (TREE_SIDE_EFFECTS (captures[3]))
    1850                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1851                 :      135819 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 315, __FILE__, __LINE__, true);
    1852                 :      135819 :         return _r;
    1853                 :             :       }
    1854                 :           0 : next_after_fail494:;
    1855                 :             :     }
    1856                 :             :   return NULL_TREE;
    1857                 :             : }
    1858                 :             : 
    1859                 :             : tree
    1860                 :       59412 : generic_simplify_214 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1861                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1862                 :             :  const enum tree_code ARG_UNUSED (neeq))
    1863                 :             : {
    1864                 :       59412 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1865                 :       59412 :   {
    1866                 :       59412 :  poly_int64 diff; tree inner_type = TREE_TYPE (captures[1]);
    1867                 :       59412 :       if (ptr_difference_const (captures[2], captures[0], &diff)
    1868                 :             : )
    1869                 :             :         {
    1870                 :       12765 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail515;
    1871                 :       12765 :           {
    1872                 :       12765 :             tree res_op0;
    1873                 :       12765 :             res_op0 =  build_int_cst_type (inner_type, diff);
    1874                 :       12765 :             tree res_op1;
    1875                 :       12765 :             res_op1 = captures[1];
    1876                 :       12765 :             tree _r;
    1877                 :       12765 :             _r = fold_build2_loc (loc, neeq, type, res_op0, res_op1);
    1878                 :       12765 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1879                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1880                 :       12765 :             if (TREE_SIDE_EFFECTS (captures[2]))
    1881                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1882                 :       12765 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 335, __FILE__, __LINE__, true);
    1883                 :       12765 :             return _r;
    1884                 :             :           }
    1885                 :           0 : next_after_fail515:;
    1886                 :             :         }
    1887                 :             :   }
    1888                 :       46647 :   return NULL_TREE;
    1889                 :             : }
    1890                 :             : 
    1891                 :             : tree
    1892                 :           0 : generic_simplify_221 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1893                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1894                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1895                 :             : {
    1896                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1897                 :           0 :   if (wi::lt_p (wi::to_wide (captures[1]), wi::to_wide (captures[2]),
    1898                 :           0 :  TYPE_SIGN (TREE_TYPE (captures[0])))
    1899                 :             : )
    1900                 :             :     {
    1901                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail522;
    1902                 :           0 :       {
    1903                 :           0 :         tree _r;
    1904                 :           0 :         _r =  constant_boolean_node (cmp == NE_EXPR, type);
    1905                 :           0 :         if (TREE_SIDE_EFFECTS (captures[0]))
    1906                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1907                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1908                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1909                 :           0 :         if (TREE_SIDE_EFFECTS (captures[2]))
    1910                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1911                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 342, __FILE__, __LINE__, true);
    1912                 :           0 :         return _r;
    1913                 :             :       }
    1914                 :           0 : next_after_fail522:;
    1915                 :             :     }
    1916                 :             :   else
    1917                 :             :     {
    1918                 :           0 :       if (wi::gt_p (wi::to_wide (captures[1]), wi::to_wide (captures[2]),
    1919                 :           0 :  TYPE_SIGN (TREE_TYPE (captures[0])))
    1920                 :             : )
    1921                 :             :         {
    1922                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail523;
    1923                 :           0 :           {
    1924                 :           0 :             tree res_op0;
    1925                 :           0 :             res_op0 = captures[0];
    1926                 :           0 :             tree res_op1;
    1927                 :           0 :             res_op1 = captures[2];
    1928                 :           0 :             tree _r;
    1929                 :           0 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1930                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1931                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1932                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 343, __FILE__, __LINE__, true);
    1933                 :           0 :             return _r;
    1934                 :             :           }
    1935                 :           0 : next_after_fail523:;
    1936                 :             :         }
    1937                 :             :     }
    1938                 :             :   return NULL_TREE;
    1939                 :             : }
    1940                 :             : 
    1941                 :             : tree
    1942                 :         124 : generic_simplify_231 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1943                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1944                 :             :  const enum tree_code ARG_UNUSED (rotate),
    1945                 :             :  const enum tree_code ARG_UNUSED (invrot),
    1946                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1947                 :             : {
    1948                 :         124 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1949                 :         124 :   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail544;
    1950                 :         124 :   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail544;
    1951                 :         124 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail544;
    1952                 :         124 :   {
    1953                 :         124 :     tree res_op0;
    1954                 :         124 :     res_op0 = captures[0];
    1955                 :         124 :     tree res_op1;
    1956                 :         124 :     res_op1 =  const_binop (invrot, TREE_TYPE (captures[0]), captures[2], captures[1]);
    1957                 :         124 :     tree _r;
    1958                 :         124 :     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1959                 :         124 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 364, __FILE__, __LINE__, true);
    1960                 :             :     return _r;
    1961                 :             :   }
    1962                 :             : next_after_fail544:;
    1963                 :             :   return NULL_TREE;
    1964                 :             : }
    1965                 :             : 
    1966                 :             : tree
    1967                 :          22 : generic_simplify_235 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1968                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1969                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1970                 :             :  const combined_fn ARG_UNUSED (bswap))
    1971                 :             : {
    1972                 :          22 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1973                 :          22 :   {
    1974                 :          22 :  tree ctype = TREE_TYPE (captures[1]);
    1975                 :          22 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail548;
    1976                 :          22 :       {
    1977                 :          22 :         tree res_op0;
    1978                 :          22 :         {
    1979                 :          22 :           tree _o1[1], _r1;
    1980                 :          22 :           _o1[0] = captures[0];
    1981                 :          22 :           if (TREE_TYPE (_o1[0]) != ctype)
    1982                 :             :             {
    1983                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, ctype, _o1[0]);
    1984                 :             :             }
    1985                 :             :           else
    1986                 :             :             _r1 = _o1[0];
    1987                 :          22 :           res_op0 = _r1;
    1988                 :             :         }
    1989                 :          22 :         tree res_op1;
    1990                 :          22 :         {
    1991                 :          22 :           tree _o1[1], _r1;
    1992                 :          22 :           _o1[0] = captures[1];
    1993                 :          22 :           _r1 = maybe_build_call_expr_loc (loc, bswap, TREE_TYPE (_o1[0]), 1, _o1[0]);
    1994                 :          22 :           if (!_r1)
    1995                 :           0 :             goto next_after_fail548;
    1996                 :          22 :           if (EXPR_P (_r1))
    1997                 :          22 :             goto next_after_fail548;
    1998                 :           0 :           res_op1 = _r1;
    1999                 :             :         }
    2000                 :           0 :         tree _r;
    2001                 :           0 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2002                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 368, __FILE__, __LINE__, true);
    2003                 :             :         return _r;
    2004                 :             :       }
    2005                 :             : next_after_fail548:;
    2006                 :             :   }
    2007                 :             :   return NULL_TREE;
    2008                 :             : }
    2009                 :             : 
    2010                 :             : tree
    2011                 :           0 : generic_simplify_244 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2012                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2013                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2014                 :             : {
    2015                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2016                 :           0 :   if (single_use (captures[1]) && single_use (captures[3])
    2017                 :             : )
    2018                 :             :     {
    2019                 :           0 :       {
    2020                 :           0 :  tree otype = TREE_TYPE (captures[0]);
    2021                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail563;
    2022                 :           0 :           {
    2023                 :           0 :             tree res_op0;
    2024                 :           0 :             {
    2025                 :           0 :               tree _o1[1], _r1;
    2026                 :           0 :               _o1[0] = captures[4];
    2027                 :           0 :               if (TREE_TYPE (_o1[0]) != otype)
    2028                 :             :                 {
    2029                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, otype, _o1[0]);
    2030                 :             :                 }
    2031                 :             :               else
    2032                 :             :                 _r1 = _o1[0];
    2033                 :           0 :               res_op0 = _r1;
    2034                 :             :             }
    2035                 :           0 :             tree res_op1;
    2036                 :           0 :             {
    2037                 :           0 :               tree _o1[1], _r1;
    2038                 :           0 :               _o1[0] = captures[2];
    2039                 :           0 :               if (TREE_TYPE (_o1[0]) != otype)
    2040                 :             :                 {
    2041                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, otype, _o1[0]);
    2042                 :             :                 }
    2043                 :             :               else
    2044                 :             :                 _r1 = _o1[0];
    2045                 :           0 :               res_op1 = _r1;
    2046                 :             :             }
    2047                 :           0 :             tree _r;
    2048                 :           0 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2049                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 382, __FILE__, __LINE__, true);
    2050                 :           0 :             return _r;
    2051                 :             :           }
    2052                 :           0 : next_after_fail563:;
    2053                 :             :       }
    2054                 :             :     }
    2055                 :           0 :   return NULL_TREE;
    2056                 :             : }
    2057                 :             : 
    2058                 :             : tree
    2059                 :       20098 : generic_simplify_249 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2060                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2061                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2062                 :             : {
    2063                 :       20098 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2064                 :       20098 :   if (flag_associative_math
    2065                 :             : )
    2066                 :             :     {
    2067                 :          13 :       {
    2068                 :          13 :  tree tem = const_binop (MINUS_EXPR, TREE_TYPE (captures[1]), captures[0], captures[2]);
    2069                 :          13 :           if (tem && !TREE_OVERFLOW (tem)
    2070                 :             : )
    2071                 :             :             {
    2072                 :          13 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail582;
    2073                 :          13 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail582;
    2074                 :          13 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail582;
    2075                 :          13 :               {
    2076                 :          13 :                 tree res_op0;
    2077                 :          13 :                 res_op0 =  tem;
    2078                 :          13 :                 tree res_op1;
    2079                 :          13 :                 res_op1 = captures[1];
    2080                 :          13 :                 tree _r;
    2081                 :          13 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2082                 :          13 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 400, __FILE__, __LINE__, true);
    2083                 :          13 :                 return _r;
    2084                 :             :               }
    2085                 :             : next_after_fail582:;
    2086                 :             :             }
    2087                 :             :       }
    2088                 :             :     }
    2089                 :             :   return NULL_TREE;
    2090                 :             : }
    2091                 :             : 
    2092                 :             : tree
    2093                 :       82878 : generic_simplify_253 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2094                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2095                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2096                 :             :  const enum tree_code ARG_UNUSED (icmp))
    2097                 :             : {
    2098                 :       82878 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2099                 :       82878 :   if (SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[1]))
    2100                 :       82878 :  && ! DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[1]))
    2101                 :             : )
    2102                 :             :     {
    2103                 :       82387 :       {
    2104                 :       82387 :  tree itype = TREE_TYPE (captures[0]);
    2105                 :       82387 :  format_helper fmt (REAL_MODE_FORMAT (TYPE_MODE (TREE_TYPE (captures[1]))));
    2106                 :       82387 :  const REAL_VALUE_TYPE *cst = TREE_REAL_CST_PTR (captures[1]);
    2107                 :       82387 :  bool exception_p = real_isnan (cst)
    2108                 :         150 :  && flag_trapping_math
    2109                 :       82537 :  && ((cmp != EQ_EXPR && cmp != NE_EXPR)
    2110                 :          30 :  || (cst->signalling
    2111                 :          30 :  && HONOR_SNANS (TREE_TYPE (captures[1]))));
    2112                 :       82387 :           if (fmt.can_represent_integral_type_p (itype) && ! exception_p
    2113                 :             : )
    2114                 :             :             {
    2115                 :       40119 :               {
    2116                 :       40119 :  signop isign = TYPE_SIGN (itype);
    2117                 :       40119 :  REAL_VALUE_TYPE imin, imax;
    2118                 :       40119 :  real_from_integer (&imin, fmt, wi::min_value (itype), isign);
    2119                 :       40119 :  real_from_integer (&imax, fmt, wi::max_value (itype), isign);
    2120                 :       40119 :  REAL_VALUE_TYPE icst;
    2121                 :       40119 :  if (cmp == GT_EXPR || cmp == GE_EXPR)
    2122                 :       39786 :  real_ceil (&icst, fmt, cst);
    2123                 :         333 :  else if (cmp == LT_EXPR || cmp == LE_EXPR)
    2124                 :         181 :  real_floor (&icst, fmt, cst);
    2125                 :             :  else
    2126                 :         152 :  real_trunc (&icst, fmt, cst);
    2127                 :       40119 :  bool cst_int_p = !real_isnan (cst) && real_identical (&icst, cst);
    2128                 :       40119 :  bool overflow_p = false;
    2129                 :       40119 :  wide_int icst_val
    2130                 :       40119 :  = real_to_integer (&icst, &overflow_p, TYPE_PRECISION (itype));
    2131                 :       40119 :                   if (real_compare (LT_EXPR, cst, &imin)
    2132                 :             : )
    2133                 :             :                     {
    2134                 :       19890 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail607;
    2135                 :       19890 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail607;
    2136                 :       19890 :                       {
    2137                 :       19890 :                         tree _r;
    2138                 :       19890 :                         _r =  constant_boolean_node (cmp == GT_EXPR || cmp == GE_EXPR || cmp == NE_EXPR,
    2139                 :             :  type);
    2140                 :       19890 :                         if (TREE_SIDE_EFFECTS (captures[0]))
    2141                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2142                 :       19890 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 425, __FILE__, __LINE__, true);
    2143                 :       19890 :                         return _r;
    2144                 :             :                       }
    2145                 :           0 : next_after_fail607:;
    2146                 :             :                     }
    2147                 :             :                   else
    2148                 :             :                     {
    2149                 :       20229 :                       if (real_compare (GT_EXPR, cst, &imax)
    2150                 :             : )
    2151                 :             :                         {
    2152                 :          99 :                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail608;
    2153                 :          99 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail608;
    2154                 :          99 :                           {
    2155                 :          99 :                             tree _r;
    2156                 :          99 :                             _r =  constant_boolean_node (cmp == LT_EXPR || cmp == LE_EXPR || cmp == NE_EXPR,
    2157                 :             :  type);
    2158                 :          99 :                             if (TREE_SIDE_EFFECTS (captures[0]))
    2159                 :           1 :                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2160                 :          99 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 426, __FILE__, __LINE__, true);
    2161                 :          99 :                             return _r;
    2162                 :             :                           }
    2163                 :           0 : next_after_fail608:;
    2164                 :             :                         }
    2165                 :             :                       else
    2166                 :             :                         {
    2167                 :       20130 :                           if (cst_int_p
    2168                 :             : )
    2169                 :             :                             {
    2170                 :       20024 :                               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail609;
    2171                 :       20024 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail609;
    2172                 :       20024 :                               {
    2173                 :       20024 :                                 tree res_op0;
    2174                 :       20024 :                                 res_op0 = captures[0];
    2175                 :       20024 :                                 tree res_op1;
    2176                 :       20024 :  gcc_assert (!overflow_p);                              res_op1 = 
    2177                 :       20024 :  wide_int_to_tree (itype, icst_val);
    2178                 :       20024 :                                 tree _r;
    2179                 :       20024 :                                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2180                 :       20024 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 427, __FILE__, __LINE__, true);
    2181                 :       20024 :                                 return _r;
    2182                 :             :                               }
    2183                 :           0 : next_after_fail609:;
    2184                 :             :                             }
    2185                 :             :                           else
    2186                 :             :                             {
    2187                 :         106 :                               if (cmp == EQ_EXPR || cmp == NE_EXPR
    2188                 :             : )
    2189                 :             :                                 {
    2190                 :          14 :                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail610;
    2191                 :          14 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail610;
    2192                 :          14 :                                   {
    2193                 :          14 :                                     tree _r;
    2194                 :          14 :                                     _r =  constant_boolean_node (cmp == NE_EXPR, type);
    2195                 :          14 :                                     if (TREE_SIDE_EFFECTS (captures[0]))
    2196                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2197                 :          14 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 428, __FILE__, __LINE__, true);
    2198                 :          14 :                                     return _r;
    2199                 :             :                                   }
    2200                 :           0 : next_after_fail610:;
    2201                 :             :                                 }
    2202                 :             :                               else
    2203                 :             :                                 {
    2204                 :          92 :                                   {
    2205                 :          92 :  gcc_checking_assert (!overflow_p);
    2206                 :          92 :                                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail611;
    2207                 :          92 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail611;
    2208                 :          92 :                                       {
    2209                 :          92 :                                         tree res_op0;
    2210                 :          92 :                                         res_op0 = captures[0];
    2211                 :          92 :                                         tree res_op1;
    2212                 :          92 :                                         res_op1 =  wide_int_to_tree (itype, icst_val);
    2213                 :          92 :                                         tree _r;
    2214                 :          92 :                                         _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    2215                 :          92 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 429, __FILE__, __LINE__, true);
    2216                 :          92 :                                         return _r;
    2217                 :             :                                       }
    2218                 :           0 : next_after_fail611:;
    2219                 :             :                                   }
    2220                 :             :                                 }
    2221                 :             :                             }
    2222                 :             :                         }
    2223                 :             :                     }
    2224                 :       40119 :               }
    2225                 :             :             }
    2226                 :             :       }
    2227                 :             :     }
    2228                 :             :   return NULL_TREE;
    2229                 :             : }
    2230                 :             : 
    2231                 :             : tree
    2232                 :    27513272 : generic_simplify_267 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2233                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2234                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2235                 :             : {
    2236                 :    27513272 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2237                 :    27513272 :   if (tree_expr_nonzero_p (captures[0])
    2238                 :             : )
    2239                 :             :     {
    2240                 :      895433 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail642;
    2241                 :      895433 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail642;
    2242                 :      895433 :       {
    2243                 :      895433 :         tree _r;
    2244                 :      895433 :         _r =  constant_boolean_node (cmp == NE_EXPR, type);
    2245                 :      895433 :         if (TREE_SIDE_EFFECTS (captures[0]))
    2246                 :        4812 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2247                 :      895433 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 453, __FILE__, __LINE__, true);
    2248                 :      895433 :         return _r;
    2249                 :             :       }
    2250                 :             : next_after_fail642:;
    2251                 :             :     }
    2252                 :             :   return NULL_TREE;
    2253                 :             : }
    2254                 :             : 
    2255                 :             : tree
    2256                 :          84 : generic_simplify_272 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2257                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2258                 :             :  const enum tree_code ARG_UNUSED (sgncmp),
    2259                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2260                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    2261                 :             : {
    2262                 :          84 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2263                 :         168 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2264                 :          84 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2265                 :         168 :  && types_match (captures[0], captures[2])
    2266                 :             : )
    2267                 :             :     {
    2268                 :          84 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail647;
    2269                 :          84 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail647;
    2270                 :          84 :       {
    2271                 :          84 :         tree res_op0;
    2272                 :          84 :         {
    2273                 :          84 :           tree _o1[2], _r1;
    2274                 :          84 :           _o1[0] = captures[0];
    2275                 :          84 :           _o1[1] = captures[2];
    2276                 :          84 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2277                 :          84 :           res_op0 = _r1;
    2278                 :             :         }
    2279                 :          84 :         tree res_op1;
    2280                 :          84 :         res_op1 = captures[1];
    2281                 :          84 :         tree _r;
    2282                 :          84 :         _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
    2283                 :          84 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 457, __FILE__, __LINE__, true);
    2284                 :          84 :         return _r;
    2285                 :             :       }
    2286                 :             : next_after_fail647:;
    2287                 :             :     }
    2288                 :             :   return NULL_TREE;
    2289                 :             : }
    2290                 :             : 
    2291                 :             : tree
    2292                 :      947093 : generic_simplify_275 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2293                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2294                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2295                 :             : {
    2296                 :      947093 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2297                 :      947093 :   {
    2298                 :      947093 :  poly_int64 off0, off1;
    2299                 :      947093 :  tree base0, base1;
    2300                 :      947093 :  int equal = address_compare (cmp, TREE_TYPE (captures[0]), captures[1], captures[2], base0, base1,
    2301                 :             :  off0, off1,
    2302                 :             : 1
    2303                 :             : );
    2304                 :      947093 :       if (equal == 1
    2305                 :             : )
    2306                 :             :         {
    2307                 :      918687 :           if (cmp == EQ_EXPR && (known_eq (off0, off1) || known_ne (off0, off1))
    2308                 :             : )
    2309                 :             :             {
    2310                 :      123096 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail650;
    2311                 :      123096 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail650;
    2312                 :      123096 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail650;
    2313                 :      123096 :               {
    2314                 :      123096 :                 tree _r;
    2315                 :      123096 :                 _r =  constant_boolean_node (known_eq (off0, off1), type);
    2316                 :      123096 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 459, __FILE__, __LINE__, true);
    2317                 :      929645 :                 return _r;
    2318                 :             :               }
    2319                 :       17448 : next_after_fail650:;
    2320                 :             :             }
    2321                 :             :           else
    2322                 :             :             {
    2323                 :      793250 :               if (cmp == NE_EXPR && (known_eq (off0, off1) || known_ne (off0, off1))
    2324                 :             : )
    2325                 :             :                 {
    2326                 :      793250 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail651;
    2327                 :      793250 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail651;
    2328                 :      793250 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail651;
    2329                 :      793250 :                   {
    2330                 :      793250 :                     tree _r;
    2331                 :      793250 :                     _r =  constant_boolean_node (known_ne (off0, off1), type);
    2332                 :      793250 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 460, __FILE__, __LINE__, true);
    2333                 :      793250 :                     return _r;
    2334                 :             :                   }
    2335                 :       17448 : next_after_fail651:;
    2336                 :             :                 }
    2337                 :             :               else
    2338                 :             :                 {
    2339                 :        2038 :                   if (cmp == LT_EXPR && (known_lt (off0, off1) || known_ge (off0, off1))
    2340                 :             : )
    2341                 :             :                     {
    2342                 :        2038 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail652;
    2343                 :        2038 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail652;
    2344                 :        2038 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail652;
    2345                 :        2038 :                       {
    2346                 :        2038 :                         tree _r;
    2347                 :        2038 :                         _r =  constant_boolean_node (known_lt (off0, off1), type);
    2348                 :        2038 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 461, __FILE__, __LINE__, true);
    2349                 :        2038 :                         return _r;
    2350                 :             :                       }
    2351                 :       17448 : next_after_fail652:;
    2352                 :             :                     }
    2353                 :             :                   else
    2354                 :             :                     {
    2355                 :          55 :                       if (cmp == LE_EXPR && (known_le (off0, off1) || known_gt (off0, off1))
    2356                 :             : )
    2357                 :             :                         {
    2358                 :          55 :                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail653;
    2359                 :          55 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail653;
    2360                 :          55 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail653;
    2361                 :          55 :                           {
    2362                 :          55 :                             tree _r;
    2363                 :          55 :                             _r =  constant_boolean_node (known_le (off0, off1), type);
    2364                 :          55 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 462, __FILE__, __LINE__, true);
    2365                 :          55 :                             return _r;
    2366                 :             :                           }
    2367                 :       17448 : next_after_fail653:;
    2368                 :             :                         }
    2369                 :             :                       else
    2370                 :             :                         {
    2371                 :         181 :                           if (cmp == GE_EXPR && (known_ge (off0, off1) || known_lt (off0, off1))
    2372                 :             : )
    2373                 :             :                             {
    2374                 :         181 :                               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail654;
    2375                 :         181 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail654;
    2376                 :         181 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail654;
    2377                 :         181 :                               {
    2378                 :         181 :                                 tree _r;
    2379                 :         181 :                                 _r =  constant_boolean_node (known_ge (off0, off1), type);
    2380                 :         181 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 463, __FILE__, __LINE__, true);
    2381                 :         181 :                                 return _r;
    2382                 :             :                               }
    2383                 :       17448 : next_after_fail654:;
    2384                 :             :                             }
    2385                 :             :                           else
    2386                 :             :                             {
    2387                 :          67 :                               if (cmp == GT_EXPR && (known_gt (off0, off1) || known_le (off0, off1))
    2388                 :             : )
    2389                 :             :                                 {
    2390                 :          67 :                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail655;
    2391                 :          67 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail655;
    2392                 :          67 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail655;
    2393                 :          67 :                                   {
    2394                 :          67 :                                     tree _r;
    2395                 :          67 :                                     _r =  constant_boolean_node (known_gt (off0, off1), type);
    2396                 :          67 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 464, __FILE__, __LINE__, true);
    2397                 :          67 :                                     return _r;
    2398                 :             :                                   }
    2399                 :       17448 : next_after_fail655:;
    2400                 :             :                                 }
    2401                 :             :                             }
    2402                 :             :                         }
    2403                 :             :                     }
    2404                 :             :                 }
    2405                 :             :             }
    2406                 :             :         }
    2407                 :             :       else
    2408                 :             :         {
    2409                 :       28406 :           if (equal == 0
    2410                 :             : )
    2411                 :             :             {
    2412                 :       10958 :               if (cmp == EQ_EXPR
    2413                 :             : )
    2414                 :             :                 {
    2415                 :        5517 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail656;
    2416                 :        5517 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail656;
    2417                 :        5517 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail656;
    2418                 :        5517 :                   {
    2419                 :        5517 :                     tree _r;
    2420                 :        5517 :                     _r =  constant_boolean_node (false, type);
    2421                 :        5517 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 465, __FILE__, __LINE__, true);
    2422                 :        5517 :                     return _r;
    2423                 :             :                   }
    2424                 :       17448 : next_after_fail656:;
    2425                 :             :                 }
    2426                 :             :               else
    2427                 :             :                 {
    2428                 :        5441 :                   if (cmp == NE_EXPR
    2429                 :             : )
    2430                 :             :                     {
    2431                 :        5441 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail657;
    2432                 :        5441 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail657;
    2433                 :        5441 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail657;
    2434                 :        5441 :                       {
    2435                 :        5441 :                         tree _r;
    2436                 :        5441 :                         _r =  constant_boolean_node (true, type);
    2437                 :        5441 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 466, __FILE__, __LINE__, true);
    2438                 :        5441 :                         return _r;
    2439                 :             :                       }
    2440                 :       17448 : next_after_fail657:;
    2441                 :             :                     }
    2442                 :             :                 }
    2443                 :             :             }
    2444                 :             :         }
    2445                 :             :   }
    2446                 :       17448 :   return NULL_TREE;
    2447                 :             : }
    2448                 :             : 
    2449                 :             : tree
    2450                 :          17 : generic_simplify_288 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2451                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2452                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2453                 :             :  const combined_fn ARG_UNUSED (ffs))
    2454                 :             : {
    2455                 :          17 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2456                 :          17 :   {
    2457                 :          17 :  int prec = TYPE_PRECISION (TREE_TYPE (captures[1]));
    2458                 :          17 :       if (integer_zerop (captures[2])
    2459                 :             : )
    2460                 :             :         {
    2461                 :           9 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail694;
    2462                 :           9 :           {
    2463                 :           9 :             tree res_op0;
    2464                 :           9 :             res_op0 = captures[1];
    2465                 :           9 :             tree res_op1;
    2466                 :           9 :             res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    2467                 :           9 :             tree _r;
    2468                 :           9 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2469                 :           9 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2470                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2471                 :           9 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 495, __FILE__, __LINE__, true);
    2472                 :          17 :             return _r;
    2473                 :             :           }
    2474                 :           0 : next_after_fail694:;
    2475                 :             :         }
    2476                 :             :       else
    2477                 :             :         {
    2478                 :           8 :           if (tree_int_cst_sgn (captures[2]) < 0 || wi::to_widest (captures[2]) > prec
    2479                 :             : )
    2480                 :             :             {
    2481                 :           4 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail695;
    2482                 :           4 :               {
    2483                 :           4 :                 tree _r;
    2484                 :           4 :                 _r =  constant_boolean_node (cmp == NE_EXPR ? true : false, type);
    2485                 :           4 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    2486                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2487                 :           4 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    2488                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2489                 :           4 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 496, __FILE__, __LINE__, true);
    2490                 :           4 :                 return _r;
    2491                 :             :               }
    2492                 :           0 : next_after_fail695:;
    2493                 :             :             }
    2494                 :             :           else
    2495                 :             :             {
    2496                 :           4 :               if (single_use (captures[0])
    2497                 :             : )
    2498                 :             :                 {
    2499                 :           4 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail696;
    2500                 :           4 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail696;
    2501                 :           4 :                   {
    2502                 :           4 :                     tree res_op0;
    2503                 :           4 :                     {
    2504                 :           4 :                       tree _o1[2], _r1;
    2505                 :           4 :                       _o1[0] = captures[1];
    2506                 :           4 :                       _o1[1] =  wide_int_to_tree (TREE_TYPE (captures[1]),
    2507                 :           4 :  wi::mask (tree_to_uhwi (captures[2]),
    2508                 :             :  false, prec));
    2509                 :           4 :                       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2510                 :           4 :                       res_op0 = _r1;
    2511                 :             :                     }
    2512                 :           4 :                     tree res_op1;
    2513                 :           4 :                     res_op1 =  wide_int_to_tree (TREE_TYPE (captures[1]),
    2514                 :           4 :  wi::shifted_mask (tree_to_uhwi (captures[2]) - 1, 1,
    2515                 :             :  false, prec));
    2516                 :           4 :                     tree _r;
    2517                 :           4 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2518                 :           4 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 497, __FILE__, __LINE__, true);
    2519                 :           4 :                     return _r;
    2520                 :             :                   }
    2521                 :           0 : next_after_fail696:;
    2522                 :             :                 }
    2523                 :             :             }
    2524                 :             :         }
    2525                 :             :   }
    2526                 :           0 :   return NULL_TREE;
    2527                 :             : }
    2528                 :             : 
    2529                 :             : tree
    2530                 :         893 : generic_simplify_304 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2531                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2532                 :             :  const enum tree_code ARG_UNUSED (div))
    2533                 :             : {
    2534                 :         893 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2535                 :        1786 :   if (!ALL_FRACT_MODE_P (TYPE_MODE (type))
    2536                 :         893 :  && !integer_zerop (captures[0])
    2537                 :        1160 :  && (!flag_non_call_exceptions || tree_expr_nonzero_p (captures[0]))
    2538                 :             : )
    2539                 :             :     {
    2540                 :         111 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail715;
    2541                 :         111 :       {
    2542                 :         111 :         tree _r;
    2543                 :         111 :         _r =  build_one_cst (type);
    2544                 :         111 :         if (TREE_SIDE_EFFECTS (captures[0]))
    2545                 :           2 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2546                 :         111 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 514, __FILE__, __LINE__, true);
    2547                 :         111 :         return _r;
    2548                 :             :       }
    2549                 :           0 : next_after_fail715:;
    2550                 :             :     }
    2551                 :             :   return NULL_TREE;
    2552                 :             : }
    2553                 :             : 
    2554                 :             : tree
    2555                 :       22339 : generic_simplify_309 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2556                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2557                 :             :  const enum tree_code ARG_UNUSED (div))
    2558                 :             : {
    2559                 :       22339 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2560                 :       22339 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2561                 :             : )
    2562                 :             :     {
    2563                 :       22213 :       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail721;
    2564                 :       22213 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail721;
    2565                 :       22213 :       {
    2566                 :       22213 :         tree res_op0;
    2567                 :       22213 :         res_op0 = captures[0];
    2568                 :       22213 :         tree res_op1;
    2569                 :       22213 :         res_op1 =  wide_int_to_tree
    2570                 :       44426 :  (type, wi::mask (TYPE_PRECISION (type)
    2571                 :       22213 :  - wi::exact_log2 (wi::to_wide (captures[1])),
    2572                 :       22213 :  false, TYPE_PRECISION (type)));
    2573                 :       22213 :         tree _r;
    2574                 :       22213 :         _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    2575                 :       22213 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 520, __FILE__, __LINE__, true);
    2576                 :       22213 :         return _r;
    2577                 :             :       }
    2578                 :             : next_after_fail721:;
    2579                 :             :     }
    2580                 :             :   return NULL_TREE;
    2581                 :             : }
    2582                 :             : 
    2583                 :             : tree
    2584                 :         313 : generic_simplify_315 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2585                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2586                 :             :  const enum tree_code ARG_UNUSED (mod))
    2587                 :             : {
    2588                 :         313 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2589                 :         313 :   if (!TYPE_UNSIGNED (type)
    2590                 :             : )
    2591                 :             :     {
    2592                 :          20 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail727;
    2593                 :          20 :       {
    2594                 :          20 :         tree _r;
    2595                 :          20 :         _r =  build_zero_cst (type);
    2596                 :          20 :         if (TREE_SIDE_EFFECTS (captures[0]))
    2597                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2598                 :          20 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2599                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2600                 :          20 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 526, __FILE__, __LINE__, true);
    2601                 :          20 :         return _r;
    2602                 :             :       }
    2603                 :           0 : next_after_fail727:;
    2604                 :             :     }
    2605                 :             :   return NULL_TREE;
    2606                 :             : }
    2607                 :             : 
    2608                 :             : tree
    2609                 :           6 : generic_simplify_324 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2610                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2611                 :             :  const combined_fn ARG_UNUSED (SIN),
    2612                 :             :  const combined_fn ARG_UNUSED (TAN),
    2613                 :             :  const combined_fn ARG_UNUSED (COS))
    2614                 :             : {
    2615                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2616                 :           6 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    2617                 :             : )
    2618                 :             :     {
    2619                 :           6 :       if (! HONOR_NANS (captures[1])
    2620                 :           6 :  && ! HONOR_INFINITIES (captures[1])
    2621                 :             : )
    2622                 :             :         {
    2623                 :           6 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail738;
    2624                 :           6 :           {
    2625                 :           6 :             tree res_op0;
    2626                 :           6 :             res_op0 = captures[1];
    2627                 :           6 :             tree _r;
    2628                 :           6 :             _r = maybe_build_call_expr_loc (loc, COS, type, 1, res_op0);
    2629                 :           6 :             if (!_r)
    2630                 :           0 :               goto next_after_fail738;
    2631                 :           6 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 537, __FILE__, __LINE__, true);
    2632                 :           6 :             return _r;
    2633                 :             :           }
    2634                 :             : next_after_fail738:;
    2635                 :             :         }
    2636                 :             :     }
    2637                 :             :   return NULL_TREE;
    2638                 :             : }
    2639                 :             : 
    2640                 :             : tree
    2641                 :          83 : generic_simplify_332 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2642                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2643                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2644                 :             : {
    2645                 :          83 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2646                 :          83 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2647                 :             : )
    2648                 :             :     {
    2649                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail747;
    2650                 :           0 :       {
    2651                 :           0 :         tree _r;
    2652                 :           0 :         _r =  constant_boolean_node (cmp == LT_EXPR, type);
    2653                 :           0 :         if (TREE_SIDE_EFFECTS (captures[0]))
    2654                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2655                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2656                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2657                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 546, __FILE__, __LINE__, true);
    2658                 :           0 :         return _r;
    2659                 :             :       }
    2660                 :           0 : next_after_fail747:;
    2661                 :             :     }
    2662                 :             :   return NULL_TREE;
    2663                 :             : }
    2664                 :             : 
    2665                 :             : tree
    2666                 :        3936 : generic_simplify_339 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2667                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2668                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2669                 :             :  const enum tree_code ARG_UNUSED (bitop))
    2670                 :             : {
    2671                 :        3936 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2672                 :        3936 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2673                 :             : )
    2674                 :             :     {
    2675                 :        3936 :       if (bitop == BIT_AND_EXPR || tree_expr_nonnegative_p (captures[1])
    2676                 :             : )
    2677                 :             :         {
    2678                 :        3936 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail755;
    2679                 :        3936 :           {
    2680                 :        3936 :             tree _r;
    2681                 :        3936 :             _r =  constant_boolean_node (cmp == GE_EXPR || cmp == LE_EXPR, type);
    2682                 :        3936 :             if (TREE_SIDE_EFFECTS (captures[0]))
    2683                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2684                 :        3936 :             if (TREE_SIDE_EFFECTS (captures[1]))
    2685                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2686                 :        3936 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 554, __FILE__, __LINE__, true);
    2687                 :        3936 :             return _r;
    2688                 :             :           }
    2689                 :           0 : next_after_fail755:;
    2690                 :             :         }
    2691                 :             :       else
    2692                 :             :         {
    2693                 :           0 :           if (TREE_CODE (captures[1]) == INTEGER_CST && wi::neg_p (wi::to_wide (captures[1]))
    2694                 :             : )
    2695                 :             :             {
    2696                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail756;
    2697                 :           0 :               {
    2698                 :           0 :                 tree _r;
    2699                 :           0 :                 _r =  constant_boolean_node (cmp == LT_EXPR, type);
    2700                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    2701                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2702                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    2703                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2704                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 555, __FILE__, __LINE__, true);
    2705                 :           0 :                 return _r;
    2706                 :             :               }
    2707                 :           0 : next_after_fail756:;
    2708                 :             :             }
    2709                 :             :         }
    2710                 :             :     }
    2711                 :             :   return NULL_TREE;
    2712                 :             : }
    2713                 :             : 
    2714                 :             : tree
    2715                 :           2 : generic_simplify_350 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2716                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2717                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2718                 :             : {
    2719                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2720                 :           4 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2721                 :           4 :  && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2722                 :             : )
    2723                 :             :     {
    2724                 :           2 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail799;
    2725                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail799;
    2726                 :           2 :       {
    2727                 :           2 :         tree res_op0;
    2728                 :           2 :         res_op0 = captures[1];
    2729                 :           2 :         tree res_op1;
    2730                 :           2 :         res_op1 = captures[0];
    2731                 :           2 :         tree _r;
    2732                 :           2 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2733                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 581, __FILE__, __LINE__, true);
    2734                 :           2 :         return _r;
    2735                 :             :       }
    2736                 :             : next_after_fail799:;
    2737                 :             :     }
    2738                 :             :   return NULL_TREE;
    2739                 :             : }
    2740                 :             : 
    2741                 :             : tree
    2742                 :        1134 : generic_simplify_354 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2743                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2744                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2745                 :             :  const enum tree_code ARG_UNUSED (neg_cmp))
    2746                 :             : {
    2747                 :        1134 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2748                 :        1134 :   if (flag_unsafe_math_optimizations
    2749                 :             : )
    2750                 :             :     {
    2751                 :           9 :       {
    2752                 :           9 :  tree tem = const_binop (RDIV_EXPR, type, captures[2], captures[1]);
    2753                 :           9 :           if (tem
    2754                 :          27 :  && !(REAL_VALUE_ISINF (TREE_REAL_CST (tem))
    2755                 :          15 :  || (real_zerop (tem) && !real_zerop (captures[1])))
    2756                 :             : )
    2757                 :             :             {
    2758                 :           3 :               if (real_less (&dconst0, TREE_REAL_CST_PTR (captures[1]))
    2759                 :             : )
    2760                 :             :                 {
    2761                 :           2 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail803;
    2762                 :           2 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail803;
    2763                 :           2 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail803;
    2764                 :           2 :                   {
    2765                 :           2 :                     tree res_op0;
    2766                 :           2 :                     res_op0 = captures[0];
    2767                 :           2 :                     tree res_op1;
    2768                 :           2 :                     res_op1 =  tem;
    2769                 :           2 :                     tree _r;
    2770                 :           2 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2771                 :           2 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 585, __FILE__, __LINE__, true);
    2772                 :           2 :                     return _r;
    2773                 :             :                   }
    2774                 :             : next_after_fail803:;
    2775                 :             :                 }
    2776                 :             :               else
    2777                 :             :                 {
    2778                 :           1 :                   if (real_less (TREE_REAL_CST_PTR (captures[1]), &dconst0)
    2779                 :             : )
    2780                 :             :                     {
    2781                 :           1 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail804;
    2782                 :           1 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail804;
    2783                 :           1 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail804;
    2784                 :           1 :                       {
    2785                 :           1 :                         tree res_op0;
    2786                 :           1 :                         res_op0 = captures[0];
    2787                 :           1 :                         tree res_op1;
    2788                 :           1 :                         res_op1 =  tem;
    2789                 :           1 :                         tree _r;
    2790                 :           1 :                         _r = fold_build2_loc (loc, neg_cmp, type, res_op0, res_op1);
    2791                 :           1 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 586, __FILE__, __LINE__, true);
    2792                 :           1 :                         return _r;
    2793                 :             :                       }
    2794                 :             : next_after_fail804:;
    2795                 :             :                     }
    2796                 :             :                 }
    2797                 :             :             }
    2798                 :             :       }
    2799                 :             :     }
    2800                 :             :   return NULL_TREE;
    2801                 :             : }
    2802                 :             : 
    2803                 :             : tree
    2804                 :           0 : generic_simplify_361 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2805                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2806                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2807                 :             : {
    2808                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2809                 :           0 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2810                 :           0 :  && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2811                 :             : )
    2812                 :             :     {
    2813                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail817;
    2814                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail817;
    2815                 :           0 :       {
    2816                 :           0 :         tree res_op0;
    2817                 :           0 :         res_op0 = captures[1];
    2818                 :           0 :         tree res_op1;
    2819                 :           0 :         res_op1 = captures[0];
    2820                 :           0 :         tree _r;
    2821                 :           0 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2822                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 581, __FILE__, __LINE__, true);
    2823                 :           0 :         return _r;
    2824                 :             :       }
    2825                 :             : next_after_fail817:;
    2826                 :             :     }
    2827                 :             :   return NULL_TREE;
    2828                 :             : }
    2829                 :             : 
    2830                 :             : tree
    2831                 :           0 : generic_simplify_365 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2832                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2833                 :             :  const combined_fn ARG_UNUSED (logs),
    2834                 :             :  const combined_fn ARG_UNUSED (exps),
    2835                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2836                 :             : {
    2837                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2838                 :           0 :   if (flag_unsafe_math_optimizations
    2839                 :             : )
    2840                 :             :     {
    2841                 :           0 :       if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    2842                 :           0 :  && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
    2843                 :           0 :  && ! flag_trapping_math
    2844                 :           0 :  && ! flag_errno_math
    2845                 :             : )
    2846                 :             :         {
    2847                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail821;
    2848                 :           0 :           {
    2849                 :           0 :             tree res_op0;
    2850                 :           0 :             res_op0 = captures[1];
    2851                 :           0 :             tree res_op1;
    2852                 :           0 :             {
    2853                 :           0 :               tree _o1[1], _r1;
    2854                 :           0 :               _o1[0] = captures[2];
    2855                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, exps, TREE_TYPE (_o1[0]), 1, _o1[0]);
    2856                 :           0 :               if (!_r1)
    2857                 :           0 :                 goto next_after_fail821;
    2858                 :           0 :               if (EXPR_P (_r1))
    2859                 :           0 :                 goto next_after_fail821;
    2860                 :           0 :               res_op1 = _r1;
    2861                 :             :             }
    2862                 :           0 :             tree _r;
    2863                 :           0 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2864                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 599, __FILE__, __LINE__, true);
    2865                 :           0 :             return _r;
    2866                 :             :           }
    2867                 :             : next_after_fail821:;
    2868                 :             :         }
    2869                 :             :     }
    2870                 :             :   return NULL_TREE;
    2871                 :             : }
    2872                 :             : 
    2873                 :             : tree
    2874                 :          68 : generic_simplify_371 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2875                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2876                 :             : {
    2877                 :          68 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2878                 :          68 :   if (wi::ltu_p (wi::to_wide (captures[1]), element_precision (type))
    2879                 :             : )
    2880                 :             :     {
    2881                 :          68 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail831;
    2882                 :          68 :       {
    2883                 :          68 :         tree res_op0;
    2884                 :          68 :         {
    2885                 :          68 :           tree _o1[1], _r1;
    2886                 :          68 :           _o1[0] = captures[0];
    2887                 :          68 :           if (TREE_TYPE (_o1[0]) != type)
    2888                 :             :             {
    2889                 :           9 :               _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
    2890                 :             :             }
    2891                 :             :           else
    2892                 :             :             _r1 = _o1[0];
    2893                 :          68 :           res_op0 = _r1;
    2894                 :             :         }
    2895                 :          68 :         tree res_op1;
    2896                 :          68 :         {
    2897                 :          68 :           tree _o1[2], _r1;
    2898                 :          68 :           _o1[0] =  build_minus_one_cst (type);
    2899                 :          68 :           _o1[1] = captures[1];
    2900                 :          68 :           _r1 = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2901                 :          68 :           res_op1 = _r1;
    2902                 :             :         }
    2903                 :          68 :         tree _r;
    2904                 :          68 :         _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    2905                 :          68 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 609, __FILE__, __LINE__, true);
    2906                 :          68 :         return _r;
    2907                 :             :       }
    2908                 :           0 : next_after_fail831:;
    2909                 :             :     }
    2910                 :             :   return NULL_TREE;
    2911                 :             : }
    2912                 :             : 
    2913                 :             : tree
    2914                 :          67 : generic_simplify_379 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2915                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2916                 :             : {
    2917                 :          67 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2918                 :          67 :   if (wi::ltu_p (wi::to_wide (captures[1]), element_precision (type))
    2919                 :             : )
    2920                 :             :     {
    2921                 :          67 :       if (TYPE_UNSIGNED (type)
    2922                 :             : )
    2923                 :             :         {
    2924                 :           2 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail842;
    2925                 :           2 :           {
    2926                 :           2 :             tree res_op0;
    2927                 :           2 :             {
    2928                 :           2 :               tree _o1[1], _r1;
    2929                 :           2 :               _o1[0] = captures[0];
    2930                 :           2 :               if (TREE_TYPE (_o1[0]) != type)
    2931                 :             :                 {
    2932                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2933                 :             :                 }
    2934                 :             :               else
    2935                 :             :                 _r1 = _o1[0];
    2936                 :           2 :               res_op0 = _r1;
    2937                 :             :             }
    2938                 :           2 :             tree res_op1;
    2939                 :           2 :             {
    2940                 :           2 :               tree _o1[2], _r1;
    2941                 :           2 :               _o1[0] =  build_minus_one_cst (type);
    2942                 :           2 :               _o1[1] = captures[1];
    2943                 :           2 :               _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2944                 :           2 :               res_op1 = _r1;
    2945                 :             :             }
    2946                 :           2 :             tree _r;
    2947                 :           2 :             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    2948                 :           2 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 618, __FILE__, __LINE__, true);
    2949                 :           2 :             return _r;
    2950                 :             :           }
    2951                 :           0 : next_after_fail842:;
    2952                 :             :         }
    2953                 :             :       else
    2954                 :             :         {
    2955                 :          65 :           if (INTEGRAL_TYPE_P (type)
    2956                 :             : )
    2957                 :             :             {
    2958                 :          65 :               {
    2959                 :          65 :  int width = element_precision (type) - tree_to_uhwi (captures[1]);
    2960                 :          65 :  tree stype = NULL_TREE;
    2961                 :         130 :  if (width <= MAX_FIXED_MODE_SIZE)
    2962                 :          65 :  stype = build_nonstandard_integer_type (width, 0);
    2963                 :          65 :                   if (stype && (width == 1 || type_has_mode_precision_p (stype))
    2964                 :             : )
    2965                 :             :                     {
    2966                 :          25 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail843;
    2967                 :          25 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail843;
    2968                 :          25 :                       {
    2969                 :          25 :                         tree res_op0;
    2970                 :          25 :                         {
    2971                 :          25 :                           tree _o1[1], _r1;
    2972                 :          25 :                           _o1[0] = captures[0];
    2973                 :          25 :                           if (TREE_TYPE (_o1[0]) != stype)
    2974                 :             :                             {
    2975                 :          25 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
    2976                 :             :                             }
    2977                 :             :                           else
    2978                 :             :                             _r1 = _o1[0];
    2979                 :          25 :                           res_op0 = _r1;
    2980                 :             :                         }
    2981                 :          25 :                         tree _r;
    2982                 :          25 :                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2983                 :          25 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 619, __FILE__, __LINE__, true);
    2984                 :          25 :                         return _r;
    2985                 :             :                       }
    2986                 :             : next_after_fail843:;
    2987                 :             :                     }
    2988                 :             :               }
    2989                 :             :             }
    2990                 :             :         }
    2991                 :             :     }
    2992                 :             :   return NULL_TREE;
    2993                 :             : }
    2994                 :             : 
    2995                 :             : tree
    2996                 :     8041162 : generic_simplify_385 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2997                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2998                 :             :  const enum tree_code ARG_UNUSED (op))
    2999                 :             : {
    3000                 :     8041162 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3001                 :     8041162 :   if (INTEGRAL_TYPE_P (type)
    3002                 :     7245862 :  && op != MULT_EXPR
    3003                 :     7245862 :  && op != RDIV_EXPR
    3004                 :     3853196 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    3005                 :     3499827 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3006                 :     3499827 :  && type_has_mode_precision_p (TREE_TYPE (captures[2]))
    3007                 :     3440167 :  && type_has_mode_precision_p (TREE_TYPE (captures[4]))
    3008                 :     3440159 :  && type_has_mode_precision_p (type)
    3009                 :     3432778 :  && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2]))
    3010                 :     1098578 :  && types_match (captures[2], type)
    3011                 :     8057082 :  && (types_match (captures[2], captures[4])
    3012                 :       15920 :  || poly_int_tree_p (captures[3]))
    3013                 :             : )
    3014                 :             :     {
    3015                 :       10924 :       if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2]))
    3016                 :             : )
    3017                 :             :         {
    3018                 :        5962 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail856;
    3019                 :        5962 :           {
    3020                 :        5962 :             tree res_op0;
    3021                 :        5962 :             res_op0 = captures[2];
    3022                 :        5962 :             tree res_op1;
    3023                 :        5962 :             {
    3024                 :        5962 :               tree _o1[1], _r1;
    3025                 :        5962 :               _o1[0] = captures[4];
    3026                 :        5962 :               if (TREE_TYPE (_o1[0]) != type)
    3027                 :             :                 {
    3028                 :        5962 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3029                 :             :                 }
    3030                 :             :               else
    3031                 :             :                 _r1 = _o1[0];
    3032                 :        5962 :               res_op1 = _r1;
    3033                 :             :             }
    3034                 :        5962 :             tree _r;
    3035                 :        5962 :             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    3036                 :        5962 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 628, __FILE__, __LINE__, true);
    3037                 :        5962 :             return _r;
    3038                 :             :           }
    3039                 :           0 : next_after_fail856:;
    3040                 :             :         }
    3041                 :             :       else
    3042                 :             :         {
    3043                 :        4962 :           {
    3044                 :        4962 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
    3045                 :        4962 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail857;
    3046                 :        4962 :               {
    3047                 :        4962 :                 tree res_op0;
    3048                 :        4962 :                 {
    3049                 :        4962 :                   tree _o1[2], _r1;
    3050                 :        4962 :                   {
    3051                 :        4962 :                     tree _o2[1], _r2;
    3052                 :        4962 :                     _o2[0] = captures[2];
    3053                 :        4962 :                     if (TREE_TYPE (_o2[0]) != utype)
    3054                 :             :                       {
    3055                 :        4962 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    3056                 :             :                       }
    3057                 :             :                     else
    3058                 :             :                       _r2 = _o2[0];
    3059                 :        4962 :                     _o1[0] = _r2;
    3060                 :             :                   }
    3061                 :        4962 :                   {
    3062                 :        4962 :                     tree _o2[1], _r2;
    3063                 :        4962 :                     _o2[0] = captures[4];
    3064                 :        4962 :                     if (TREE_TYPE (_o2[0]) != utype)
    3065                 :             :                       {
    3066                 :        4962 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    3067                 :             :                       }
    3068                 :             :                     else
    3069                 :             :                       _r2 = _o2[0];
    3070                 :        4962 :                     _o1[1] = _r2;
    3071                 :             :                   }
    3072                 :        4962 :                   _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3073                 :        4962 :                   res_op0 = _r1;
    3074                 :             :                 }
    3075                 :        4962 :                 tree _r;
    3076                 :        4962 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3077                 :        4962 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 629, __FILE__, __LINE__, true);
    3078                 :        4962 :                 return _r;
    3079                 :             :               }
    3080                 :           0 : next_after_fail857:;
    3081                 :             :           }
    3082                 :             :         }
    3083                 :             :     }
    3084                 :             :   else
    3085                 :             :     {
    3086                 :     7991677 :       if (FLOAT_TYPE_P (type)
    3087                 :     8068799 :  && DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    3088                 :       38561 :  == DECIMAL_FLOAT_TYPE_P (type)
    3089                 :             : )
    3090                 :             :         {
    3091                 :       38535 :           {
    3092                 :       38535 :  tree arg0 = strip_float_extensions (captures[2]);
    3093                 :       38535 :  tree arg1 = strip_float_extensions (captures[4]);
    3094                 :       38535 :  tree itype = TREE_TYPE (captures[0]);
    3095                 :       38535 :  tree ty1 = TREE_TYPE (arg0);
    3096                 :       38535 :  tree ty2 = TREE_TYPE (arg1);
    3097                 :       38535 :  enum tree_code code = TREE_CODE (itype);
    3098                 :           0 :               if (FLOAT_TYPE_P (ty1)
    3099                 :       38535 :  && FLOAT_TYPE_P (ty2)
    3100                 :             : )
    3101                 :             :                 {
    3102                 :       38535 :                   {
    3103                 :       38535 :  tree newtype = type;
    3104                 :       38535 :  if (TYPE_MODE (ty1) == SDmode
    3105                 :       38273 :  || TYPE_MODE (ty2) == SDmode
    3106                 :       76808 :  || TYPE_MODE (type) == SDmode)
    3107                 :         262 :  newtype = dfloat32_type_node;
    3108                 :       38535 :  if (TYPE_MODE (ty1) == DDmode
    3109                 :       38403 :  || TYPE_MODE (ty2) == DDmode
    3110                 :       76811 :  || TYPE_MODE (type) == DDmode)
    3111                 :         259 :  newtype = dfloat64_type_node;
    3112                 :       38535 :  if (TYPE_MODE (ty1) == TDmode
    3113                 :       38535 :  || TYPE_MODE (ty2) == TDmode
    3114                 :       76818 :  || TYPE_MODE (type) == TDmode)
    3115                 :         267 :  newtype = dfloat128_type_node;
    3116                 :       38535 :                       if ((newtype == dfloat32_type_node
    3117                 :       38535 :  || newtype == dfloat64_type_node
    3118                 :       38408 :  || newtype == dfloat128_type_node)
    3119                 :         394 :  && newtype == type
    3120                 :       38541 :  && types_match (newtype, type)
    3121                 :             : )
    3122                 :             :                         {
    3123                 :           6 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail858;
    3124                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail858;
    3125                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail858;
    3126                 :           0 :                           {
    3127                 :           0 :                             tree res_op0;
    3128                 :           0 :                             {
    3129                 :           0 :                               tree _o1[1], _r1;
    3130                 :           0 :                               _o1[0] = captures[2];
    3131                 :           0 :                               if (TREE_TYPE (_o1[0]) != newtype)
    3132                 :             :                                 {
    3133                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    3134                 :             :                                 }
    3135                 :             :                               else
    3136                 :             :                                 _r1 = _o1[0];
    3137                 :           0 :                               res_op0 = _r1;
    3138                 :             :                             }
    3139                 :           0 :                             tree res_op1;
    3140                 :           0 :                             {
    3141                 :           0 :                               tree _o1[1], _r1;
    3142                 :           0 :                               _o1[0] = captures[4];
    3143                 :           0 :                               if (TREE_TYPE (_o1[0]) != newtype)
    3144                 :             :                                 {
    3145                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    3146                 :             :                                 }
    3147                 :             :                               else
    3148                 :             :                                 _r1 = _o1[0];
    3149                 :           0 :                               res_op1 = _r1;
    3150                 :             :                             }
    3151                 :           0 :                             tree _r;
    3152                 :           0 :                             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    3153                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 630, __FILE__, __LINE__, true);
    3154                 :           0 :                             return _r;
    3155                 :             :                           }
    3156                 :             : next_after_fail858:;
    3157                 :             :                         }
    3158                 :             :                       else
    3159                 :             :                         {
    3160                 :       38529 :                           {
    3161                 :       38529 :  if (element_precision (ty1) > element_precision (newtype))
    3162                 :          14 :  newtype = ty1;
    3163                 :       38529 :  if (element_precision (ty2) > element_precision (newtype))
    3164                 :        5392 :  newtype = ty2;
    3165                 :       38529 :                               if (element_precision (newtype) < element_precision (itype)
    3166                 :       20837 :  && (!VECTOR_MODE_P (TYPE_MODE (newtype))
    3167                 :           0 :  || target_supports_op_p (newtype, op, optab_default))
    3168                 :       20837 :  && (flag_unsafe_math_optimizations
    3169                 :       20816 :  || (element_precision (newtype) == element_precision (type)
    3170                 :       20792 :  && real_can_shorten_arithmetic (element_mode (itype),
    3171                 :             :  element_mode (type))
    3172                 :        9335 :  && !excess_precision_type (newtype)))
    3173                 :       41788 :  && !types_match (itype, newtype)
    3174                 :             : )
    3175                 :             :                                 {
    3176                 :        3259 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail859;
    3177                 :        3258 :                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail859;
    3178                 :        3250 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail859;
    3179                 :        3250 :                                   {
    3180                 :        3250 :                                     tree res_op0;
    3181                 :        3250 :                                     {
    3182                 :        3250 :                                       tree _o1[2], _r1;
    3183                 :        3250 :                                       {
    3184                 :        3250 :                                         tree _o2[1], _r2;
    3185                 :        3250 :                                         _o2[0] = captures[2];
    3186                 :        3250 :                                         if (TREE_TYPE (_o2[0]) != newtype)
    3187                 :             :                                           {
    3188                 :           3 :                                             _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
    3189                 :             :                                           }
    3190                 :             :                                         else
    3191                 :             :                                           _r2 = _o2[0];
    3192                 :        3250 :                                         _o1[0] = _r2;
    3193                 :             :                                       }
    3194                 :        3250 :                                       {
    3195                 :        3250 :                                         tree _o2[1], _r2;
    3196                 :        3250 :                                         _o2[0] = captures[4];
    3197                 :        3250 :                                         if (TREE_TYPE (_o2[0]) != newtype)
    3198                 :             :                                           {
    3199                 :        3250 :                                             _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
    3200                 :             :                                           }
    3201                 :             :                                         else
    3202                 :             :                                           _r2 = _o2[0];
    3203                 :        3250 :                                         _o1[1] = _r2;
    3204                 :             :                                       }
    3205                 :        3250 :                                       _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3206                 :        3250 :                                       res_op0 = _r1;
    3207                 :             :                                     }
    3208                 :        3250 :                                     tree _r;
    3209                 :        3250 :                                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3210                 :        3250 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 631, __FILE__, __LINE__, true);
    3211                 :        3250 :                                     return _r;
    3212                 :             :                                   }
    3213                 :             : next_after_fail859:;
    3214                 :             :                                 }
    3215                 :             :                           }
    3216                 :             :                         }
    3217                 :             :                   }
    3218                 :             :                 }
    3219                 :             :           }
    3220                 :             :         }
    3221                 :             :     }
    3222                 :             :   return NULL_TREE;
    3223                 :             : }
    3224                 :             : 
    3225                 :             : tree
    3226                 :          15 : generic_simplify_412 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3227                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3228                 :             :  const enum tree_code ARG_UNUSED (bitop))
    3229                 :             : {
    3230                 :          15 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3231                 :          15 :   {
    3232                 :          15 :  tree pmop[2];
    3233                 :          15 :  tree utype = fold_bit_and_mask (TREE_TYPE (captures[1]), captures[4], NEGATE_EXPR, captures[1],
    3234                 :             :  bitop, captures[2], captures[3], NULL_TREE, ERROR_MARK,
    3235                 :             :  NULL_TREE, NULL_TREE, pmop);
    3236                 :          15 :       if (utype
    3237                 :             : )
    3238                 :             :         {
    3239                 :           7 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail892;
    3240                 :           7 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail892;
    3241                 :           7 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail892;
    3242                 :           7 :           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail892;
    3243                 :           7 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail892;
    3244                 :           7 :           {
    3245                 :           7 :             tree res_op0;
    3246                 :           7 :             {
    3247                 :           7 :               tree _o1[2], _r1;
    3248                 :           7 :               {
    3249                 :           7 :                 tree _o2[1], _r2;
    3250                 :           7 :                 {
    3251                 :           7 :                   tree _o3[1], _r3;
    3252                 :           7 :                   _o3[0] =  pmop[0];
    3253                 :           7 :                   if (TREE_TYPE (_o3[0]) != utype)
    3254                 :             :                     {
    3255                 :           4 :                       _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    3256                 :             :                     }
    3257                 :             :                   else
    3258                 :             :                     _r3 = _o3[0];
    3259                 :           7 :                   _o2[0] = _r3;
    3260                 :             :                 }
    3261                 :           7 :                 _r2 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    3262                 :           7 :                 _o1[0] = _r2;
    3263                 :             :               }
    3264                 :           7 :               {
    3265                 :           7 :                 tree _o2[1], _r2;
    3266                 :           7 :                 _o2[0] = captures[4];
    3267                 :           7 :                 if (TREE_TYPE (_o2[0]) != utype)
    3268                 :             :                   {
    3269                 :           4 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    3270                 :             :                   }
    3271                 :             :                 else
    3272                 :             :                   _r2 = _o2[0];
    3273                 :           7 :                 _o1[1] = _r2;
    3274                 :             :               }
    3275                 :           7 :               _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3276                 :           7 :               res_op0 = _r1;
    3277                 :             :             }
    3278                 :           7 :             tree _r;
    3279                 :           7 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3280                 :           7 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 655, __FILE__, __LINE__, true);
    3281                 :           7 :             return _r;
    3282                 :             :           }
    3283                 :           8 : next_after_fail892:;
    3284                 :             :         }
    3285                 :             :   }
    3286                 :           8 :   return NULL_TREE;
    3287                 :             : }
    3288                 :             : 
    3289                 :             : tree
    3290                 :           0 : generic_simplify_427 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3291                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3292                 :             :  const enum tree_code ARG_UNUSED (eqne))
    3293                 :             : {
    3294                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3295                 :           0 :   if (eqne == EQ_EXPR
    3296                 :             : )
    3297                 :             :     {
    3298                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail913;
    3299                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail913;
    3300                 :           0 :       {
    3301                 :           0 :         tree _r;
    3302                 :           0 :         _r =  constant_boolean_node (false, type);
    3303                 :           0 :         if (TREE_SIDE_EFFECTS (captures[2]))
    3304                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3305                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 672, __FILE__, __LINE__, true);
    3306                 :           0 :         return _r;
    3307                 :             :       }
    3308                 :             : next_after_fail913:;
    3309                 :             :     }
    3310                 :             :   else
    3311                 :             :     {
    3312                 :           0 :       if (eqne == NE_EXPR
    3313                 :             : )
    3314                 :             :         {
    3315                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail914;
    3316                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail914;
    3317                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail914;
    3318                 :           0 :           {
    3319                 :           0 :             tree _r;
    3320                 :           0 :             _r = captures[0];
    3321                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 673, __FILE__, __LINE__, true);
    3322                 :           0 :             return _r;
    3323                 :             :           }
    3324                 :             : next_after_fail914:;
    3325                 :             :         }
    3326                 :             :     }
    3327                 :             :   return NULL_TREE;
    3328                 :             : }
    3329                 :             : 
    3330                 :             : tree
    3331                 :           0 : generic_simplify_432 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3332                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3333                 :             : {
    3334                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3335                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail938;
    3336                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail938;
    3337                 :           0 :   {
    3338                 :           0 :     tree _r;
    3339                 :           0 :     _r = captures[2];
    3340                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    3341                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3342                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 688, __FILE__, __LINE__, true);
    3343                 :             :     return _r;
    3344                 :             :   }
    3345                 :             : next_after_fail938:;
    3346                 :             :   return NULL_TREE;
    3347                 :             : }
    3348                 :             : 
    3349                 :             : tree
    3350                 :           0 : generic_simplify_434 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3351                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3352                 :             : {
    3353                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3354                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail941;
    3355                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail941;
    3356                 :           0 :   {
    3357                 :           0 :     tree _r;
    3358                 :           0 :     _r = captures[2];
    3359                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    3360                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3361                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 689, __FILE__, __LINE__, true);
    3362                 :             :     return _r;
    3363                 :             :   }
    3364                 :             : next_after_fail941:;
    3365                 :             :   return NULL_TREE;
    3366                 :             : }
    3367                 :             : 
    3368                 :             : tree
    3369                 :          55 : generic_simplify_436 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3370                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3371                 :             :  const enum tree_code ARG_UNUSED (code2),
    3372                 :             :  const enum tree_code ARG_UNUSED (code1))
    3373                 :             : {
    3374                 :          55 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3375                 :          55 :   if ((TREE_CODE (captures[2]) == INTEGER_CST
    3376                 :           6 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    3377                 :          55 :  || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    3378                 :           0 :  || POINTER_TYPE_P (TREE_TYPE (captures[2])))
    3379                 :          49 :  && bitwise_equal_p (captures[2], captures[5]))
    3380                 :             : )
    3381                 :             :     {
    3382                 :           6 :       {
    3383                 :           6 :  bool one_before = false;
    3384                 :           6 :  bool one_after = false;
    3385                 :           6 :  int cmp = 0;
    3386                 :           6 :  bool allbits = true;
    3387                 :           6 :  if (TREE_CODE (captures[2]) == INTEGER_CST
    3388                 :           6 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    3389                 :             :  {
    3390                 :           6 :  allbits = TYPE_PRECISION (TREE_TYPE (captures[2])) <= TYPE_PRECISION (TREE_TYPE (captures[5]));
    3391                 :           6 :  auto t1 = wi::to_wide (fold_convert (TREE_TYPE (captures[5]), captures[2]));
    3392                 :           6 :  auto t2 = wi::to_wide (captures[5]);
    3393                 :           6 :  cmp = wi::cmp (t1, t2, TYPE_SIGN (TREE_TYPE (captures[5])));
    3394                 :           6 :  if (cmp < 0
    3395                 :           6 :  && t1 == t2 - 1)
    3396                 :             :  one_before = true;
    3397                 :           6 :  if (cmp > 0
    3398                 :           6 :  && t1 == t2 + 1)
    3399                 :             :  one_after = true;
    3400                 :             :  }
    3401                 :           6 :  bool val;
    3402                 :           6 :  switch (code2)
    3403                 :             :  {
    3404                 :           0 :  case EQ_EXPR: val = (cmp == 0); break;
    3405                 :           2 :  case NE_EXPR: val = (cmp != 0); break;
    3406                 :           0 :  case LT_EXPR: val = (cmp < 0); break;
    3407                 :           4 :  case GT_EXPR: val = (cmp > 0); break;
    3408                 :           0 :  case LE_EXPR: val = (cmp <= 0); break;
    3409                 :           0 :  case GE_EXPR: val = (cmp >= 0); break;
    3410                 :           0 :  default: gcc_unreachable ();
    3411                 :             :  }
    3412                 :           6 :           if (code1 == EQ_EXPR && val
    3413                 :             : )
    3414                 :             :             {
    3415                 :           0 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail949;
    3416                 :           0 :               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail949;
    3417                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail949;
    3418                 :           0 :               {
    3419                 :           0 :                 tree _r;
    3420                 :           0 :                 _r = captures[0];
    3421                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[4]))
    3422                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    3423                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 674, __FILE__, __LINE__, true);
    3424                 :           0 :                 return _r;
    3425                 :             :               }
    3426                 :             : next_after_fail949:;
    3427                 :             :             }
    3428                 :             :           else
    3429                 :             :             {
    3430                 :           6 :               if (code1 == EQ_EXPR && !val
    3431                 :             : )
    3432                 :             :                 {
    3433                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail950;
    3434                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail950;
    3435                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail950;
    3436                 :           0 :                   {
    3437                 :           0 :                     tree _r;
    3438                 :           0 :                     _r =  constant_boolean_node (false, type);
    3439                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[4]))
    3440                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    3441                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 675, __FILE__, __LINE__, true);
    3442                 :           0 :                     return _r;
    3443                 :             :                   }
    3444                 :             : next_after_fail950:;
    3445                 :             :                 }
    3446                 :             :               else
    3447                 :             :                 {
    3448                 :           6 :                   if (code1 == NE_EXPR && !val && allbits
    3449                 :             : )
    3450                 :             :                     {
    3451                 :           0 :                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail951;
    3452                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail951;
    3453                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail951;
    3454                 :           0 :                       {
    3455                 :           0 :                         tree _r;
    3456                 :           0 :                         _r = captures[3];
    3457                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 676, __FILE__, __LINE__, true);
    3458                 :           0 :                         return _r;
    3459                 :             :                       }
    3460                 :             : next_after_fail951:;
    3461                 :             :                     }
    3462                 :             :                   else
    3463                 :             :                     {
    3464                 :           6 :                       if (code1 == NE_EXPR
    3465                 :           6 :  && code2 == GE_EXPR
    3466                 :           0 :  && cmp == 0
    3467                 :           0 :  && allbits
    3468                 :             : )
    3469                 :             :                         {
    3470                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail952;
    3471                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail952;
    3472                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail952;
    3473                 :           0 :                           {
    3474                 :           0 :                             tree res_op0;
    3475                 :           0 :                             res_op0 = captures[4];
    3476                 :           0 :                             tree res_op1;
    3477                 :           0 :                             {
    3478                 :           0 :                               tree _o1[1], _r1;
    3479                 :           0 :                               _o1[0] = captures[2];
    3480                 :           0 :                               if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3481                 :             :                                 {
    3482                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3483                 :             :                                 }
    3484                 :             :                               else
    3485                 :             :                                 _r1 = _o1[0];
    3486                 :           0 :                               res_op1 = _r1;
    3487                 :             :                             }
    3488                 :           0 :                             tree _r;
    3489                 :           0 :                             _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    3490                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 677, __FILE__, __LINE__, true);
    3491                 :           0 :                             return _r;
    3492                 :             :                           }
    3493                 :             : next_after_fail952:;
    3494                 :             :                         }
    3495                 :             :                       else
    3496                 :             :                         {
    3497                 :           6 :                           if (code1 == NE_EXPR
    3498                 :           6 :  && code2 == LE_EXPR
    3499                 :           0 :  && cmp == 0
    3500                 :           0 :  && allbits
    3501                 :             : )
    3502                 :             :                             {
    3503                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail953;
    3504                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail953;
    3505                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail953;
    3506                 :           0 :                               {
    3507                 :           0 :                                 tree res_op0;
    3508                 :           0 :                                 res_op0 = captures[4];
    3509                 :           0 :                                 tree res_op1;
    3510                 :           0 :                                 {
    3511                 :           0 :                                   tree _o1[1], _r1;
    3512                 :           0 :                                   _o1[0] = captures[2];
    3513                 :           0 :                                   if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3514                 :             :                                     {
    3515                 :           0 :                                       _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3516                 :             :                                     }
    3517                 :             :                                   else
    3518                 :             :                                     _r1 = _o1[0];
    3519                 :           0 :                                   res_op1 = _r1;
    3520                 :             :                                 }
    3521                 :           0 :                                 tree _r;
    3522                 :           0 :                                 _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    3523                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 678, __FILE__, __LINE__, true);
    3524                 :           0 :                                 return _r;
    3525                 :             :                               }
    3526                 :             : next_after_fail953:;
    3527                 :             :                             }
    3528                 :             :                           else
    3529                 :             :                             {
    3530                 :           6 :                               if (code1 == NE_EXPR
    3531                 :           6 :  && code2 == GT_EXPR
    3532                 :             :  && one_after
    3533                 :           4 :  && allbits
    3534                 :             : )
    3535                 :             :                                 {
    3536                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail954;
    3537                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail954;
    3538                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail954;
    3539                 :           0 :                                   {
    3540                 :           0 :                                     tree res_op0;
    3541                 :           0 :                                     res_op0 = captures[4];
    3542                 :           0 :                                     tree res_op1;
    3543                 :           0 :                                     {
    3544                 :           0 :                                       tree _o1[1], _r1;
    3545                 :           0 :                                       _o1[0] = captures[2];
    3546                 :           0 :                                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3547                 :             :                                         {
    3548                 :           0 :                                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3549                 :             :                                         }
    3550                 :             :                                       else
    3551                 :             :                                         _r1 = _o1[0];
    3552                 :           0 :                                       res_op1 = _r1;
    3553                 :             :                                     }
    3554                 :           0 :                                     tree _r;
    3555                 :           0 :                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    3556                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 679, __FILE__, __LINE__, true);
    3557                 :           0 :                                     return _r;
    3558                 :             :                                   }
    3559                 :             : next_after_fail954:;
    3560                 :             :                                 }
    3561                 :             :                               else
    3562                 :             :                                 {
    3563                 :           6 :                                   if (code1 == NE_EXPR
    3564                 :           6 :  && code2 == LT_EXPR
    3565                 :             :  && one_before
    3566                 :           0 :  && allbits
    3567                 :             : )
    3568                 :             :                                     {
    3569                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail955;
    3570                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail955;
    3571                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail955;
    3572                 :           0 :                                       {
    3573                 :           0 :                                         tree res_op0;
    3574                 :           0 :                                         res_op0 = captures[4];
    3575                 :           0 :                                         tree res_op1;
    3576                 :           0 :                                         {
    3577                 :           0 :                                           tree _o1[1], _r1;
    3578                 :           0 :                                           _o1[0] = captures[2];
    3579                 :           0 :                                           if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3580                 :             :                                             {
    3581                 :           0 :                                               _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3582                 :             :                                             }
    3583                 :             :                                           else
    3584                 :             :                                             _r1 = _o1[0];
    3585                 :           0 :                                           res_op1 = _r1;
    3586                 :             :                                         }
    3587                 :           0 :                                         tree _r;
    3588                 :           0 :                                         _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    3589                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 680, __FILE__, __LINE__, true);
    3590                 :           0 :                                         return _r;
    3591                 :             :                                       }
    3592                 :             : next_after_fail955:;
    3593                 :             :                                     }
    3594                 :             :                                 }
    3595                 :             :                             }
    3596                 :             :                         }
    3597                 :             :                     }
    3598                 :             :                 }
    3599                 :             :             }
    3600                 :             :       }
    3601                 :             :     }
    3602                 :             :   return NULL_TREE;
    3603                 :             : }
    3604                 :             : 
    3605                 :             : tree
    3606                 :           0 : generic_simplify_475 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3607                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
    3608                 :             : {
    3609                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3610                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1003;
    3611                 :           0 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1003;
    3612                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1003;
    3613                 :           0 :   {
    3614                 :           0 :     tree _r;
    3615                 :           0 :     _r = captures[2];
    3616                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 724, __FILE__, __LINE__, true);
    3617                 :             :     return _r;
    3618                 :             :   }
    3619                 :             : next_after_fail1003:;
    3620                 :             :   return NULL_TREE;
    3621                 :             : }
    3622                 :             : 
    3623                 :             : tree
    3624                 :           0 : generic_simplify_480 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3625                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3626                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3627                 :             : {
    3628                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3629                 :           0 :   if (INTEGRAL_TYPE_P (type)
    3630                 :             : )
    3631                 :             :     {
    3632                 :           0 :       if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1011;
    3633                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1011;
    3634                 :           0 :       {
    3635                 :           0 :         tree _r;
    3636                 :           0 :         _r = captures[2];
    3637                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    3638                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3639                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 732, __FILE__, __LINE__, true);
    3640                 :           0 :         return _r;
    3641                 :             :       }
    3642                 :             : next_after_fail1011:;
    3643                 :             :     }
    3644                 :             :   return NULL_TREE;
    3645                 :             : }
    3646                 :             : 
    3647                 :             : tree
    3648                 :           0 : generic_simplify_486 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3649                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3650                 :             :  const enum tree_code ARG_UNUSED (op))
    3651                 :             : {
    3652                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3653                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1017;
    3654                 :           0 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1017;
    3655                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1017;
    3656                 :           0 :   {
    3657                 :           0 :     tree _r;
    3658                 :           0 :     _r = captures[2];
    3659                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 738, __FILE__, __LINE__, true);
    3660                 :             :     return _r;
    3661                 :             :   }
    3662                 :             : next_after_fail1017:;
    3663                 :             :   return NULL_TREE;
    3664                 :             : }
    3665                 :             : 
    3666                 :             : tree
    3667                 :           9 : generic_simplify_491 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3668                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3669                 :             :  const combined_fn ARG_UNUSED (func))
    3670                 :             : {
    3671                 :           9 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3672                 :           9 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1023;
    3673                 :           9 :   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1023;
    3674                 :           9 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1023;
    3675                 :           9 :   {
    3676                 :           9 :     tree _r;
    3677                 :           9 :     _r = captures[2];
    3678                 :           9 :     if (TREE_SIDE_EFFECTS (captures[1]))
    3679                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3680                 :           9 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 744, __FILE__, __LINE__, true);
    3681                 :             :     return _r;
    3682                 :             :   }
    3683                 :             : next_after_fail1023:;
    3684                 :             :   return NULL_TREE;
    3685                 :             : }
    3686                 :             : 
    3687                 :             : tree
    3688                 :           0 : generic_simplify_498 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3689                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3690                 :             :  const enum tree_code ARG_UNUSED (minmax))
    3691                 :             : {
    3692                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3693                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1032;
    3694                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1032;
    3695                 :           0 :   {
    3696                 :           0 :     tree _r;
    3697                 :           0 :     _r = captures[0];
    3698                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 751, __FILE__, __LINE__, true);
    3699                 :             :     return _r;
    3700                 :             :   }
    3701                 :             : next_after_fail1032:;
    3702                 :             :   return NULL_TREE;
    3703                 :             : }
    3704                 :             : 
    3705                 :             : tree
    3706                 :          20 : generic_simplify_504 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3707                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3708                 :             :  const enum tree_code ARG_UNUSED (minmax),
    3709                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3710                 :             : {
    3711                 :          20 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3712                 :          20 :   {
    3713                 :          20 :  poly_int64 off0, off1;
    3714                 :          20 :  tree base0, base1;
    3715                 :          20 :  int equal = address_compare (cmp, TREE_TYPE (captures[0]), captures[1], captures[3], base0, base1,
    3716                 :             :  off0, off1,
    3717                 :             : 1
    3718                 :             : );
    3719                 :          20 :       if (equal == 1
    3720                 :             : )
    3721                 :             :         {
    3722                 :           0 :           if (minmax == MIN_EXPR
    3723                 :             : )
    3724                 :             :             {
    3725                 :           0 :               if (known_le (off0, off1)
    3726                 :             : )
    3727                 :             :                 {
    3728                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1047;
    3729                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1047;
    3730                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1047;
    3731                 :           0 :                   {
    3732                 :           0 :                     tree _r;
    3733                 :           0 :                     _r = captures[0];
    3734                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 754, __FILE__, __LINE__, true);
    3735                 :           0 :                     return _r;
    3736                 :             :                   }
    3737                 :          20 : next_after_fail1047:;
    3738                 :             :                 }
    3739                 :             :               else
    3740                 :             :                 {
    3741                 :           0 :                   if (known_gt (off0, off1)
    3742                 :             : )
    3743                 :             :                     {
    3744                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1048;
    3745                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1048;
    3746                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1048;
    3747                 :           0 :                       {
    3748                 :           0 :                         tree _r;
    3749                 :           0 :                         _r = captures[2];
    3750                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 755, __FILE__, __LINE__, true);
    3751                 :           0 :                         return _r;
    3752                 :             :                       }
    3753                 :          20 : next_after_fail1048:;
    3754                 :             :                     }
    3755                 :             :                 }
    3756                 :             :             }
    3757                 :             :           else
    3758                 :             :             {
    3759                 :           0 :               if (known_ge (off0, off1)
    3760                 :             : )
    3761                 :             :                 {
    3762                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1049;
    3763                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1049;
    3764                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1049;
    3765                 :           0 :                   {
    3766                 :           0 :                     tree _r;
    3767                 :           0 :                     _r = captures[0];
    3768                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 756, __FILE__, __LINE__, true);
    3769                 :           0 :                     return _r;
    3770                 :             :                   }
    3771                 :          20 : next_after_fail1049:;
    3772                 :             :                 }
    3773                 :             :               else
    3774                 :             :                 {
    3775                 :           0 :                   if (known_lt (off0, off1)
    3776                 :             : )
    3777                 :             :                     {
    3778                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1050;
    3779                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1050;
    3780                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1050;
    3781                 :           0 :                       {
    3782                 :           0 :                         tree _r;
    3783                 :           0 :                         _r = captures[2];
    3784                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 757, __FILE__, __LINE__, true);
    3785                 :           0 :                         return _r;
    3786                 :             :                       }
    3787                 :          20 : next_after_fail1050:;
    3788                 :             :                     }
    3789                 :             :                 }
    3790                 :             :             }
    3791                 :             :         }
    3792                 :             :   }
    3793                 :          20 :   return NULL_TREE;
    3794                 :             : }
    3795                 :             : 
    3796                 :             : tree
    3797                 :           0 : generic_simplify_523 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3798                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3799                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3800                 :             : {
    3801                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3802                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1072;
    3803                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1072;
    3804                 :           0 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1072;
    3805                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1072;
    3806                 :           0 :   {
    3807                 :           0 :     tree _r;
    3808                 :           0 :     _r = captures[3];
    3809                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 740, __FILE__, __LINE__, true);
    3810                 :             :     return _r;
    3811                 :             :   }
    3812                 :             : next_after_fail1072:;
    3813                 :             :   return NULL_TREE;
    3814                 :             : }
    3815                 :             : 
    3816                 :             : tree
    3817                 :           0 : generic_simplify_531 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3818                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3819                 :             :  const combined_fn ARG_UNUSED (cond_len_op))
    3820                 :             : {
    3821                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3822                 :           0 :   {
    3823                 :           0 :  tree op_type = TREE_TYPE (captures[4]);
    3824                 :           0 :       if (element_precision (type) == element_precision (op_type)
    3825                 :             : )
    3826                 :             :         {
    3827                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1080;
    3828                 :           0 :           {
    3829                 :           0 :             tree res_op0;
    3830                 :           0 :             {
    3831                 :           0 :               tree _o1[7], _r1;
    3832                 :           0 :               _o1[0] = captures[0];
    3833                 :           0 :               _o1[1] = captures[1];
    3834                 :           0 :               _o1[2] = captures[2];
    3835                 :           0 :               _o1[3] = captures[3];
    3836                 :           0 :               {
    3837                 :           0 :                 tree _o2[1], _r2;
    3838                 :           0 :                 _o2[0] = captures[7];
    3839                 :           0 :                 if (TREE_TYPE (_o2[0]) != op_type)
    3840                 :             :                   {
    3841                 :           0 :                     _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, op_type, _o2[0]);
    3842                 :             :                   }
    3843                 :             :                 else
    3844                 :             :                   _r2 = _o2[0];
    3845                 :           0 :                 _o1[4] = _r2;
    3846                 :             :               }
    3847                 :           0 :               _o1[5] = captures[5];
    3848                 :           0 :               _o1[6] = captures[6];
    3849                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, cond_len_op, TREE_TYPE (_o1[1]), 7, _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5], _o1[6]);
    3850                 :           0 :               if (!_r1)
    3851                 :           0 :                 goto next_after_fail1080;
    3852                 :           0 :               res_op0 = _r1;
    3853                 :             :             }
    3854                 :           0 :             tree _r;
    3855                 :           0 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    3856                 :           0 :             if (TREE_SIDE_EFFECTS (captures[4]))
    3857                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    3858                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 782, __FILE__, __LINE__, true);
    3859                 :           0 :             return _r;
    3860                 :             :           }
    3861                 :             : next_after_fail1080:;
    3862                 :             :         }
    3863                 :             :   }
    3864                 :             :   return NULL_TREE;
    3865                 :             : }
    3866                 :             : 
    3867                 :             : tree
    3868                 :           0 : generic_simplify_541 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3869                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3870                 :             :  const combined_fn ARG_UNUSED (logs))
    3871                 :             : {
    3872                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3873                 :           0 :   if (flag_unsafe_math_optimizations
    3874                 :             : )
    3875                 :             :     {
    3876                 :           0 :       if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    3877                 :           0 :  && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
    3878                 :           0 :  && ! flag_trapping_math
    3879                 :           0 :  && ! flag_errno_math
    3880                 :             : )
    3881                 :             :         {
    3882                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1090;
    3883                 :           0 :           {
    3884                 :           0 :             tree res_op0;
    3885                 :           0 :             {
    3886                 :           0 :               tree _o1[1], _r1;
    3887                 :           0 :               _o1[0] = captures[1];
    3888                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, logs, TREE_TYPE (_o1[0]), 1, _o1[0]);
    3889                 :           0 :               if (!_r1)
    3890                 :           0 :                 goto next_after_fail1090;
    3891                 :           0 :               if (EXPR_P (_r1))
    3892                 :           0 :                 goto next_after_fail1090;
    3893                 :           0 :               res_op0 = _r1;
    3894                 :             :             }
    3895                 :           0 :             tree res_op1;
    3896                 :           0 :             {
    3897                 :           0 :               tree _o1[1], _r1;
    3898                 :           0 :               _o1[0] = captures[2];
    3899                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, logs, TREE_TYPE (_o1[0]), 1, _o1[0]);
    3900                 :           0 :               if (!_r1)
    3901                 :           0 :                 goto next_after_fail1090;
    3902                 :           0 :               res_op1 = _r1;
    3903                 :             :             }
    3904                 :           0 :             tree _r;
    3905                 :           0 :             _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    3906                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 792, __FILE__, __LINE__, true);
    3907                 :           0 :             return _r;
    3908                 :             :           }
    3909                 :             : next_after_fail1090:;
    3910                 :             :         }
    3911                 :             :     }
    3912                 :             :   return NULL_TREE;
    3913                 :             : }
    3914                 :             : 
    3915                 :             : tree
    3916                 :           0 : generic_simplify_555 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3917                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3918                 :             :  const combined_fn ARG_UNUSED (floors))
    3919                 :             : {
    3920                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3921                 :           0 :   if (canonicalize_math_p ()
    3922                 :             : )
    3923                 :             :     {
    3924                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1104;
    3925                 :           0 :       {
    3926                 :           0 :         tree res_op0;
    3927                 :           0 :         res_op0 = captures[0];
    3928                 :           0 :         tree _r;
    3929                 :           0 :         _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    3930                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 806, __FILE__, __LINE__, true);
    3931                 :           0 :         return _r;
    3932                 :             :       }
    3933                 :           0 : next_after_fail1104:;
    3934                 :             :     }
    3935                 :             :   return NULL_TREE;
    3936                 :             : }
    3937                 :             : 
    3938                 :             : tree
    3939                 :           0 : generic_simplify_563 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3940                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3941                 :             :  const combined_fn ARG_UNUSED (fmas))
    3942                 :             : {
    3943                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3944                 :           0 :   if (canonicalize_math_after_vectorization_p ()
    3945                 :             : )
    3946                 :             :     {
    3947                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1112;
    3948                 :             :       {
    3949                 :             :         tree res_op0;
    3950                 :             :         res_op0 = captures[0];
    3951                 :             :         tree res_op1;
    3952                 :             :         res_op1 = captures[1];
    3953                 :             :         tree res_op2;
    3954                 :             :         res_op2 = captures[2];
    3955                 :             :         tree _r;
    3956                 :             :         _r = maybe_build_call_expr_loc (loc, CFN_FNMS, type, 3, res_op0, res_op1, res_op2);
    3957                 :             :         if (!_r)
    3958                 :             :           goto next_after_fail1112;
    3959                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 814, __FILE__, __LINE__, true);
    3960                 :             :         return _r;
    3961                 :             :       }
    3962                 :           0 : next_after_fail1112:;
    3963                 :             :     }
    3964                 :           0 :   return NULL_TREE;
    3965                 :             : }
    3966                 :             : 
    3967                 :             : tree
    3968                 :           0 : generic_simplify_573 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3969                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3970                 :             :  const combined_fn ARG_UNUSED (ctz))
    3971                 :             : {
    3972                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3973                 :           0 :   {
    3974                 :           0 :  tree t = TREE_TYPE (captures[0]);
    3975                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1122;
    3976                 :           0 :       {
    3977                 :           0 :         tree res_op0;
    3978                 :           0 :         {
    3979                 :           0 :           tree _o1[1], _r1;
    3980                 :           0 :           _o1[0] = captures[1];
    3981                 :           0 :           if (TREE_TYPE (_o1[0]) != t)
    3982                 :             :             {
    3983                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, t, _o1[0]);
    3984                 :             :             }
    3985                 :             :           else
    3986                 :             :             _r1 = _o1[0];
    3987                 :           0 :           res_op0 = _r1;
    3988                 :             :         }
    3989                 :           0 :         tree _r;
    3990                 :           0 :         _r = maybe_build_call_expr_loc (loc, ctz, type, 1, res_op0);
    3991                 :           0 :         if (!_r)
    3992                 :           0 :           goto next_after_fail1122;
    3993                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 822, __FILE__, __LINE__, true);
    3994                 :             :         return _r;
    3995                 :             :       }
    3996                 :             : next_after_fail1122:;
    3997                 :             :   }
    3998                 :             :   return NULL_TREE;
    3999                 :             : }
    4000                 :             : 
    4001                 :             : tree
    4002                 :           0 : generic_simplify_583 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4003                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4004                 :             :  const combined_fn ARG_UNUSED (bswap),
    4005                 :             :  const combined_fn ARG_UNUSED (parity))
    4006                 :             : {
    4007                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4008                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    4009                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    4010                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[0]))
    4011                 :           0 :  >= TYPE_PRECISION (TREE_TYPE (captures[1]))
    4012                 :             : )
    4013                 :             :     {
    4014                 :           0 :       {
    4015                 :           0 :  tree type0 = TREE_TYPE (captures[0]);
    4016                 :           0 :  tree type1 = TREE_TYPE (captures[1]);
    4017                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1133;
    4018                 :           0 :           {
    4019                 :           0 :             tree res_op0;
    4020                 :           0 :             {
    4021                 :           0 :               tree _o1[1], _r1;
    4022                 :           0 :               {
    4023                 :           0 :                 tree _o2[1], _r2;
    4024                 :           0 :                 _o2[0] = captures[2];
    4025                 :           0 :                 if (TREE_TYPE (_o2[0]) != type1)
    4026                 :             :                   {
    4027                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, type1, _o2[0]);
    4028                 :             :                   }
    4029                 :             :                 else
    4030                 :             :                   _r2 = _o2[0];
    4031                 :           0 :                 _o1[0] = _r2;
    4032                 :             :               }
    4033                 :           0 :               if (TREE_TYPE (_o1[0]) != type0)
    4034                 :             :                 {
    4035                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
    4036                 :             :                 }
    4037                 :             :               else
    4038                 :             :                 _r1 = _o1[0];
    4039                 :           0 :               res_op0 = _r1;
    4040                 :             :             }
    4041                 :           0 :             tree _r;
    4042                 :           0 :             _r = maybe_build_call_expr_loc (loc, parity, type, 1, res_op0);
    4043                 :           0 :             if (!_r)
    4044                 :           0 :               goto next_after_fail1133;
    4045                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 828, __FILE__, __LINE__, true);
    4046                 :           0 :             return _r;
    4047                 :             :           }
    4048                 :             : next_after_fail1133:;
    4049                 :             :       }
    4050                 :             :     }
    4051                 :             :   return NULL_TREE;
    4052                 :             : }
    4053                 :             : 
    4054                 :             : tree
    4055                 :     3695366 : generic_simplify_NEGATE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    4056                 :             : {
    4057                 :     3695366 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4058                 :     3695366 :   switch (TREE_CODE (_p0))
    4059                 :             :     {
    4060                 :       39173 :     case PLUS_EXPR:
    4061                 :       39173 :       {
    4062                 :       39173 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4063                 :       39173 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4064                 :       39173 :         if (tree_negate_expr_p (_q21))
    4065                 :             :           {
    4066                 :       38117 :             {
    4067                 :       38117 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4068                 :       38117 :               tree res = generic_simplify_462 (loc, type, _p0, captures);
    4069                 :       38117 :               if (res) return res;
    4070                 :             :             }
    4071                 :             :           }
    4072                 :        1056 :         if (tree_negate_expr_p (_q20))
    4073                 :             :           {
    4074                 :           9 :             {
    4075                 :           9 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    4076                 :           9 :               tree res = generic_simplify_462 (loc, type, _p0, captures);
    4077                 :           9 :               if (res) return res;
    4078                 :             :             }
    4079                 :             :           }
    4080                 :             :         break;
    4081                 :             :       }
    4082                 :      108866 :     case MINUS_EXPR:
    4083                 :      108866 :       {
    4084                 :      108866 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4085                 :      108866 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4086                 :      108866 :         {
    4087                 :      108866 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4088                 :      108866 :           if ((ANY_INTEGRAL_TYPE_P (type) && !TYPE_OVERFLOW_SANITIZED (type))
    4089                 :      188031 :  || (FLOAT_TYPE_P (type)
    4090                 :       79165 :  && !HONOR_SIGN_DEPENDENT_ROUNDING (type)
    4091                 :       79165 :  && !HONOR_SIGNED_ZEROS (type))
    4092                 :             : )
    4093                 :             :             {
    4094                 :       29758 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1179;
    4095                 :       29758 :               {
    4096                 :       29758 :                 tree res_op0;
    4097                 :       29758 :                 res_op0 = captures[1];
    4098                 :       29758 :                 tree res_op1;
    4099                 :       29758 :                 res_op1 = captures[0];
    4100                 :       29758 :                 tree _r;
    4101                 :       29758 :                 _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    4102                 :       29758 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 865, __FILE__, __LINE__, true);
    4103                 :       29758 :                 return _r;
    4104                 :             :               }
    4105                 :           0 : next_after_fail1179:;
    4106                 :             :             }
    4107                 :             :         }
    4108                 :       79108 :         break;
    4109                 :             :       }
    4110                 :          16 :     case POINTER_DIFF_EXPR:
    4111                 :          16 :       {
    4112                 :          16 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4113                 :          16 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4114                 :          16 :         {
    4115                 :          16 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4116                 :          16 :           if (TYPE_OVERFLOW_UNDEFINED (type)
    4117                 :             : )
    4118                 :             :             {
    4119                 :          16 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1180;
    4120                 :          16 :               {
    4121                 :          16 :                 tree res_op0;
    4122                 :          16 :                 res_op0 = captures[1];
    4123                 :          16 :                 tree res_op1;
    4124                 :          16 :                 res_op1 = captures[0];
    4125                 :          16 :                 tree _r;
    4126                 :          16 :                 _r = fold_build2_loc (loc, POINTER_DIFF_EXPR, type, res_op0, res_op1);
    4127                 :          16 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 866, __FILE__, __LINE__, true);
    4128                 :          16 :                 return _r;
    4129                 :             :               }
    4130                 :           0 : next_after_fail1180:;
    4131                 :             :             }
    4132                 :             :         }
    4133                 :           0 :         break;
    4134                 :             :       }
    4135                 :        4459 :     case MULT_EXPR:
    4136                 :        4459 :       {
    4137                 :        4459 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4138                 :        4459 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4139                 :        4459 :         if (tree_negate_expr_p (_q21))
    4140                 :             :           {
    4141                 :        1763 :             {
    4142                 :        1763 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4143                 :        1763 :               tree res = generic_simplify_463 (loc, type, _p0, captures);
    4144                 :        1763 :               if (res) return res;
    4145                 :             :             }
    4146                 :             :           }
    4147                 :        3141 :         if (tree_negate_expr_p (_q20))
    4148                 :             :           {
    4149                 :          27 :             {
    4150                 :          27 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    4151                 :          27 :               tree res = generic_simplify_463 (loc, type, _p0, captures);
    4152                 :          27 :               if (res) return res;
    4153                 :             :             }
    4154                 :             :           }
    4155                 :             :         break;
    4156                 :             :       }
    4157                 :         188 :     case RDIV_EXPR:
    4158                 :         188 :       {
    4159                 :         188 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4160                 :         188 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4161                 :         188 :         if (tree_negate_expr_p (_q21))
    4162                 :             :           {
    4163                 :          60 :             {
    4164                 :          60 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4165                 :          60 :               if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    4166                 :          60 :  && single_use (captures[0])
    4167                 :             : )
    4168                 :             :                 {
    4169                 :          60 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1181;
    4170                 :          60 :                   {
    4171                 :          60 :                     tree res_op0;
    4172                 :          60 :                     res_op0 = captures[1];
    4173                 :          60 :                     tree res_op1;
    4174                 :          60 :                     {
    4175                 :          60 :                       tree _o1[1], _r1;
    4176                 :          60 :                       _o1[0] = captures[2];
    4177                 :          60 :                       _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4178                 :          60 :                       res_op1 = _r1;
    4179                 :             :                     }
    4180                 :          60 :                     tree _r;
    4181                 :          60 :                     _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
    4182                 :          60 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 867, __FILE__, __LINE__, true);
    4183                 :          60 :                     return _r;
    4184                 :             :                   }
    4185                 :           0 : next_after_fail1181:;
    4186                 :             :                 }
    4187                 :             :             }
    4188                 :             :           }
    4189                 :         128 :         if (tree_negate_expr_p (_q20))
    4190                 :             :           {
    4191                 :           0 :             {
    4192                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4193                 :           0 :               if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    4194                 :           0 :  && single_use (captures[0])
    4195                 :             : )
    4196                 :             :                 {
    4197                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1182;
    4198                 :           0 :                   {
    4199                 :           0 :                     tree res_op0;
    4200                 :           0 :                     {
    4201                 :           0 :                       tree _o1[1], _r1;
    4202                 :           0 :                       _o1[0] = captures[1];
    4203                 :           0 :                       _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4204                 :           0 :                       res_op0 = _r1;
    4205                 :             :                     }
    4206                 :           0 :                     tree res_op1;
    4207                 :           0 :                     res_op1 = captures[2];
    4208                 :           0 :                     tree _r;
    4209                 :           0 :                     _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
    4210                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 868, __FILE__, __LINE__, true);
    4211                 :           0 :                     return _r;
    4212                 :             :                   }
    4213                 :           0 : next_after_fail1182:;
    4214                 :             :                 }
    4215                 :             :             }
    4216                 :             :           }
    4217                 :             :         break;
    4218                 :             :       }
    4219                 :      735456 :     CASE_CONVERT:
    4220                 :      735456 :       {
    4221                 :      735456 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4222                 :      735456 :         switch (TREE_CODE (_q20))
    4223                 :             :           {
    4224                 :          58 :           case RSHIFT_EXPR:
    4225                 :          58 :             {
    4226                 :          58 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4227                 :          58 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4228                 :          58 :               switch (TREE_CODE (_q31))
    4229                 :             :                 {
    4230                 :          43 :                 case INTEGER_CST:
    4231                 :          43 :                   {
    4232                 :          43 :                     {
    4233                 :          43 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    4234                 :          43 :                       tree res = generic_simplify_464 (loc, type, _p0, captures);
    4235                 :          43 :                       if (res) return res;
    4236                 :             :                     }
    4237                 :          36 :                     break;
    4238                 :             :                   }
    4239                 :             :                 default:;
    4240                 :             :                 }
    4241                 :             :               break;
    4242                 :             :             }
    4243                 :         138 :           case NEGATE_EXPR:
    4244                 :         138 :             {
    4245                 :         138 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4246                 :         138 :               {
    4247                 :         138 :                 tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4248                 :         138 :                 if (!TYPE_SATURATING (type)
    4249                 :             : )
    4250                 :             :                   {
    4251                 :         138 :                     if (INTEGRAL_TYPE_P (type)
    4252                 :         138 :  && (TYPE_PRECISION (type) <= TYPE_PRECISION (TREE_TYPE (captures[0]))
    4253                 :          17 :  || (!TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    4254                 :          32 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))))
    4255                 :         137 :  && !TYPE_OVERFLOW_SANITIZED (type)
    4256                 :         291 :  && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
    4257                 :             : )
    4258                 :             :                       {
    4259                 :         137 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1183;
    4260                 :         137 :                         {
    4261                 :         137 :                           tree res_op0;
    4262                 :         137 :                           res_op0 = captures[0];
    4263                 :         137 :                           tree _r;
    4264                 :         137 :                           _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4265                 :         137 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 869, __FILE__, __LINE__, true);
    4266                 :         137 :                           return _r;
    4267                 :             :                         }
    4268                 :           0 : next_after_fail1183:;
    4269                 :             :                       }
    4270                 :             :                   }
    4271                 :             :               }
    4272                 :             :               break;
    4273                 :             :             }
    4274                 :      735312 :           default:;
    4275                 :             :           }
    4276                 :      735312 :       {
    4277                 :      735312 :         tree _q20_pops[1];
    4278                 :      735312 :         if (tree_logical_inverted_value (_q20, _q20_pops))
    4279                 :             :           {
    4280                 :           1 :             tree _q30 = _q20_pops[0];
    4281                 :           1 :             {
    4282                 :           1 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4283                 :           1 :               if (INTEGRAL_TYPE_P (type)
    4284                 :           1 :  && TREE_CODE (type) != BOOLEAN_TYPE
    4285                 :           1 :  && TYPE_PRECISION (type) > 1
    4286                 :           1 :  && TREE_CODE (captures[2]) == SSA_NAME
    4287                 :           1 :  && ssa_name_has_boolean_range (captures[2])
    4288                 :             : )
    4289                 :             :                 {
    4290                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1184;
    4291                 :           0 :                   {
    4292                 :           0 :                     tree res_op0;
    4293                 :           0 :                     {
    4294                 :           0 :                       tree _o1[1], _r1;
    4295                 :           0 :                       _o1[0] = captures[2];
    4296                 :           0 :                       if (TREE_TYPE (_o1[0]) != type)
    4297                 :             :                         {
    4298                 :           0 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    4299                 :             :                         }
    4300                 :             :                       else
    4301                 :             :                         _r1 = _o1[0];
    4302                 :           0 :                       res_op0 = _r1;
    4303                 :             :                     }
    4304                 :           0 :                     tree res_op1;
    4305                 :           0 :                     res_op1 =  build_all_ones_cst (type);
    4306                 :           0 :                     tree _r;
    4307                 :           0 :                     _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    4308                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 870, __FILE__, __LINE__, true);
    4309                 :           0 :                     return _r;
    4310                 :             :                   }
    4311                 :           0 : next_after_fail1184:;
    4312                 :             :                 }
    4313                 :             :             }
    4314                 :             :           }
    4315                 :             :       }
    4316                 :      735312 :       if (tree_negate_expr_p (_q20))
    4317                 :             :         {
    4318                 :        1363 :           {
    4319                 :        1363 :             tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4320                 :        1363 :             if (!TYPE_SATURATING (type)
    4321                 :             : )
    4322                 :             :               {
    4323                 :        1363 :                 if (SCALAR_FLOAT_TYPE_P (type)
    4324                 :        1363 :  && ((DECIMAL_FLOAT_TYPE_P (type)
    4325                 :           0 :  == DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    4326                 :           0 :  && TYPE_PRECISION (type) >= TYPE_PRECISION (TREE_TYPE (captures[0])))
    4327                 :           0 :  || !HONOR_SIGN_DEPENDENT_ROUNDING (type))
    4328                 :             : )
    4329                 :             :                   {
    4330                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1185;
    4331                 :           0 :                     {
    4332                 :           0 :                       tree res_op0;
    4333                 :           0 :                       {
    4334                 :           0 :                         tree _o1[1], _r1;
    4335                 :           0 :                         _o1[0] = captures[0];
    4336                 :           0 :                         _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4337                 :           0 :                         res_op0 = _r1;
    4338                 :             :                       }
    4339                 :           0 :                       tree _r;
    4340                 :           0 :                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4341                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 871, __FILE__, __LINE__, true);
    4342                 :           0 :                       return _r;
    4343                 :             :                     }
    4344                 :           0 : next_after_fail1185:;
    4345                 :             :                   }
    4346                 :             :               }
    4347                 :             :           }
    4348                 :             :         }
    4349                 :             :         break;
    4350                 :             :       }
    4351                 :         319 :     case RSHIFT_EXPR:
    4352                 :         319 :       {
    4353                 :         319 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4354                 :         319 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4355                 :         319 :         switch (TREE_CODE (_q21))
    4356                 :             :           {
    4357                 :         301 :           case INTEGER_CST:
    4358                 :         301 :             {
    4359                 :         301 :               {
    4360                 :         301 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4361                 :         301 :                 tree res = generic_simplify_464 (loc, type, _p0, captures);
    4362                 :         301 :                 if (res) return res;
    4363                 :             :               }
    4364                 :         264 :               break;
    4365                 :             :             }
    4366                 :             :           default:;
    4367                 :             :           }
    4368                 :             :         break;
    4369                 :             :       }
    4370                 :         147 :     case BIT_NOT_EXPR:
    4371                 :         147 :       {
    4372                 :         147 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4373                 :         147 :         {
    4374                 :         147 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4375                 :         147 :           tree res = generic_simplify_465 (loc, type, _p0, captures);
    4376                 :         147 :           if (res) return res;
    4377                 :             :         }
    4378                 :           0 :         break;
    4379                 :             :       }
    4380                 :        3825 :     case NEGATE_EXPR:
    4381                 :        3825 :       {
    4382                 :        3825 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4383                 :        3825 :         {
    4384                 :        3825 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4385                 :        3825 :           tree res = generic_simplify_466 (loc, type, _p0, captures);
    4386                 :        3825 :           if (res) return res;
    4387                 :             :         }
    4388                 :          13 :         break;
    4389                 :             :       }
    4390                 :          72 :     case VEC_COND_EXPR:
    4391                 :          72 :       {
    4392                 :          72 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4393                 :          72 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4394                 :          72 :         tree _q22 = TREE_OPERAND (_p0, 2);
    4395                 :          72 :         {
    4396                 :          72 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4397                 :          72 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1186;
    4398                 :          72 :           {
    4399                 :          72 :             tree res_op0;
    4400                 :          72 :             res_op0 = captures[1];
    4401                 :          72 :             tree res_op1;
    4402                 :          72 :             {
    4403                 :          72 :               tree _o1[1], _r1;
    4404                 :          72 :               _o1[0] = captures[2];
    4405                 :          72 :               _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4406                 :          72 :               if (EXPR_P (_r1))
    4407                 :           0 :                 goto next_after_fail1186;
    4408                 :          72 :               res_op1 = _r1;
    4409                 :             :             }
    4410                 :          72 :             tree res_op2;
    4411                 :          72 :             {
    4412                 :          72 :               tree _o1[1], _r1;
    4413                 :          72 :               _o1[0] = captures[3];
    4414                 :          72 :               _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4415                 :          72 :               if (EXPR_P (_r1))
    4416                 :           0 :                 goto next_after_fail1186;
    4417                 :          72 :               res_op2 = _r1;
    4418                 :             :             }
    4419                 :          72 :             tree _r;
    4420                 :          72 :             _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4421                 :          72 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 837, __FILE__, __LINE__, true);
    4422                 :          72 :             return _r;
    4423                 :             :           }
    4424                 :           0 : next_after_fail1186:;
    4425                 :             :         }
    4426                 :           0 :         break;
    4427                 :             :       }
    4428                 :      279377 :     case CALL_EXPR:
    4429                 :      279377 :       switch (get_call_combined_fn (_p0))
    4430                 :             :         {
    4431                 :          12 :         case CFN_BUILT_IN_FMA:
    4432                 :          12 :           if (call_expr_nargs (_p0) == 3)
    4433                 :             :     {
    4434                 :          12 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4435                 :          12 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4436                 :          12 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4437                 :          12 :               {
    4438                 :          12 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4439                 :          12 :                 tree res = generic_simplify_467 (loc, type, _p0, captures, CFN_BUILT_IN_FMA);
    4440                 :          12 :                 if (res) return res;
    4441                 :             :               }
    4442                 :             :             }
    4443                 :             :           break;
    4444                 :           4 :         case CFN_BUILT_IN_FMAF:
    4445                 :           4 :           if (call_expr_nargs (_p0) == 3)
    4446                 :             :     {
    4447                 :           4 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4448                 :           4 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4449                 :           4 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4450                 :           4 :               {
    4451                 :           4 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4452                 :           4 :                 tree res = generic_simplify_467 (loc, type, _p0, captures, CFN_BUILT_IN_FMAF);
    4453                 :           4 :                 if (res) return res;
    4454                 :             :               }
    4455                 :             :             }
    4456                 :             :           break;
    4457                 :           0 :         case CFN_BUILT_IN_FMAL:
    4458                 :           0 :           if (call_expr_nargs (_p0) == 3)
    4459                 :             :     {
    4460                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4461                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4462                 :           0 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4463                 :           0 :               {
    4464                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4465                 :           0 :                 tree res = generic_simplify_467 (loc, type, _p0, captures, CFN_BUILT_IN_FMAL);
    4466                 :           0 :                 if (res) return res;
    4467                 :             :               }
    4468                 :             :             }
    4469                 :             :           break;
    4470                 :           0 :         case CFN_FMA:
    4471                 :           0 :           if (call_expr_nargs (_p0) == 3)
    4472                 :             :     {
    4473                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4474                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4475                 :           0 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4476                 :           0 :               {
    4477                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4478                 :           0 :                 tree res = generic_simplify_467 (loc, type, _p0, captures, CFN_FMA);
    4479                 :           0 :                 if (res) return res;
    4480                 :             :               }
    4481                 :             :             }
    4482                 :             :           break;
    4483                 :           0 :         case CFN_FMS:
    4484                 :           0 :           if (call_expr_nargs (_p0) == 3)
    4485                 :             :     {
    4486                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4487                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4488                 :           0 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4489                 :           0 :               {
    4490                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4491                 :           0 :                 if (canonicalize_math_after_vectorization_p ()
    4492                 :             : )
    4493                 :             :                   {
    4494                 :             :                     if (!HONOR_SIGN_DEPENDENT_ROUNDING (type) && single_use (captures[0])
    4495                 :             : )
    4496                 :             :                       {
    4497                 :             :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1187;
    4498                 :             :                         {
    4499                 :             :                           tree res_op0;
    4500                 :             :                           res_op0 = captures[1];
    4501                 :             :                           tree res_op1;
    4502                 :             :                           res_op1 = captures[2];
    4503                 :             :                           tree res_op2;
    4504                 :             :                           res_op2 = captures[3];
    4505                 :             :                           tree _r;
    4506                 :             :                           _r = maybe_build_call_expr_loc (loc, CFN_FNMA, type, 3, res_op0, res_op1, res_op2);
    4507                 :             :                           if (!_r)
    4508                 :             :                             goto next_after_fail1187;
    4509                 :             :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 872, __FILE__, __LINE__, true);
    4510                 :             :                           return _r;
    4511                 :             :                         }
    4512                 :           0 : next_after_fail1187:;
    4513                 :             :                       }
    4514                 :             :                   }
    4515                 :             :               }
    4516                 :             :             }
    4517                 :             :           break;
    4518                 :           0 :         case CFN_FNMA:
    4519                 :           0 :           if (call_expr_nargs (_p0) == 3)
    4520                 :             :     {
    4521                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4522                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4523                 :           0 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4524                 :           0 :               {
    4525                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4526                 :           0 :                 if (canonicalize_math_after_vectorization_p ()
    4527                 :             : )
    4528                 :             :                   {
    4529                 :             :                     if (!HONOR_SIGN_DEPENDENT_ROUNDING (type) && single_use (captures[0])
    4530                 :             : )
    4531                 :             :                       {
    4532                 :             :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1188;
    4533                 :             :                         {
    4534                 :             :                           tree res_op0;
    4535                 :             :                           res_op0 = captures[1];
    4536                 :             :                           tree res_op1;
    4537                 :             :                           res_op1 = captures[2];
    4538                 :             :                           tree res_op2;
    4539                 :             :                           res_op2 = captures[3];
    4540                 :             :                           tree _r;
    4541                 :             :                           _r = maybe_build_call_expr_loc (loc, CFN_FMS, type, 3, res_op0, res_op1, res_op2);
    4542                 :             :                           if (!_r)
    4543                 :             :                             goto next_after_fail1188;
    4544                 :             :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 873, __FILE__, __LINE__, true);
    4545                 :             :                           return _r;
    4546                 :             :                         }
    4547                 :           0 : next_after_fail1188:;
    4548                 :             :                       }
    4549                 :             :                   }
    4550                 :             :               }
    4551                 :             :             }
    4552                 :             :           break;
    4553                 :           0 :         case CFN_FNMS:
    4554                 :           0 :           if (call_expr_nargs (_p0) == 3)
    4555                 :             :     {
    4556                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4557                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4558                 :           0 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4559                 :           0 :               {
    4560                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4561                 :           0 :                 if (canonicalize_math_after_vectorization_p ()
    4562                 :             : )
    4563                 :             :                   {
    4564                 :             :                     if (!HONOR_SIGN_DEPENDENT_ROUNDING (type) && single_use (captures[0])
    4565                 :             : )
    4566                 :             :                       {
    4567                 :             :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1189;
    4568                 :             :                         {
    4569                 :             :                           tree res_op0;
    4570                 :             :                           res_op0 = captures[1];
    4571                 :             :                           tree res_op1;
    4572                 :             :                           res_op1 = captures[2];
    4573                 :             :                           tree res_op2;
    4574                 :             :                           res_op2 = captures[3];
    4575                 :             :                           tree _r;
    4576                 :             :                           _r = maybe_build_call_expr_loc (loc, CFN_FMA, type, 3, res_op0, res_op1, res_op2);
    4577                 :             :                           if (!_r)
    4578                 :             :                             goto next_after_fail1189;
    4579                 :             :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 874, __FILE__, __LINE__, true);
    4580                 :             :                           return _r;
    4581                 :             :                         }
    4582                 :           0 : next_after_fail1189:;
    4583                 :             :                       }
    4584                 :             :                   }
    4585                 :             :               }
    4586                 :             :             }
    4587                 :             :           break;
    4588                 :             :         default:;
    4589                 :             :         }
    4590                 :             :       break;
    4591                 :     3621849 :     default:;
    4592                 :             :     }
    4593                 :     3621849 : {
    4594                 :     3621849 :   tree _p0_pops[1];
    4595                 :     3621849 :   if (tree_nop_convert (_p0, _p0_pops))
    4596                 :             :     {
    4597                 :     1016000 :       tree _q20 = _p0_pops[0];
    4598                 :     1016000 :       switch (TREE_CODE (_q20))
    4599                 :             :         {
    4600                 :           0 :         case BIT_NOT_EXPR:
    4601                 :           0 :           {
    4602                 :           0 :             tree _q30 = TREE_OPERAND (_q20, 0);
    4603                 :           0 :             {
    4604                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4605                 :           0 :               tree res = generic_simplify_465 (loc, type, _p0, captures);
    4606                 :           0 :               if (res) return res;
    4607                 :             :             }
    4608                 :           0 :             break;
    4609                 :             :           }
    4610                 :           0 :         case NEGATE_EXPR:
    4611                 :           0 :           {
    4612                 :           0 :             tree _q30 = TREE_OPERAND (_q20, 0);
    4613                 :           0 :             {
    4614                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4615                 :           0 :               tree res = generic_simplify_466 (loc, type, _p0, captures);
    4616                 :           0 :               if (res) return res;
    4617                 :             :             }
    4618                 :           0 :             break;
    4619                 :             :           }
    4620                 :             :         default:;
    4621                 :             :         }
    4622                 :             :     }
    4623                 :             : }
    4624                 :     3621849 : {
    4625                 :     3621849 :   tree _p0_pops[1];
    4626                 :     3621849 :   if (tree_logical_inverted_value (_p0, _p0_pops))
    4627                 :             :     {
    4628                 :          70 :       tree _q20 = _p0_pops[0];
    4629                 :          70 :       {
    4630                 :          70 :         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    4631                 :          70 :         if (INTEGRAL_TYPE_P (type)
    4632                 :          70 :  && TREE_CODE (type) != BOOLEAN_TYPE
    4633                 :          70 :  && TYPE_PRECISION (type) > 1
    4634                 :          70 :  && TREE_CODE (captures[2]) == SSA_NAME
    4635                 :          70 :  && ssa_name_has_boolean_range (captures[2])
    4636                 :             : )
    4637                 :             :           {
    4638                 :           0 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1190;
    4639                 :           0 :             {
    4640                 :           0 :               tree res_op0;
    4641                 :           0 :               {
    4642                 :           0 :                 tree _o1[1], _r1;
    4643                 :           0 :                 _o1[0] = captures[2];
    4644                 :           0 :                 if (TREE_TYPE (_o1[0]) != type)
    4645                 :             :                   {
    4646                 :           0 :                     _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    4647                 :             :                   }
    4648                 :             :                 else
    4649                 :             :                   _r1 = _o1[0];
    4650                 :           0 :                 res_op0 = _r1;
    4651                 :             :               }
    4652                 :           0 :               tree res_op1;
    4653                 :           0 :               res_op1 =  build_all_ones_cst (type);
    4654                 :           0 :               tree _r;
    4655                 :           0 :               _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    4656                 :           0 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 870, __FILE__, __LINE__, true);
    4657                 :           0 :               return _r;
    4658                 :             :             }
    4659                 :           0 : next_after_fail1190:;
    4660                 :             :           }
    4661                 :             :       }
    4662                 :             :     }
    4663                 :             : }
    4664                 :     3621849 :   {
    4665                 :     3621849 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4666                 :     3621849 :     tree res = generic_simplify_388 (loc, type, _p0, captures);
    4667                 :     3621849 :     if (res) return res;
    4668                 :             :   }
    4669                 :     3607480 :   return NULL_TREE;
    4670                 :             : }
    4671                 :             : 
    4672                 :             : tree
    4673                 :    24647512 : generic_simplify_EQ_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    4674                 :             : {
    4675                 :    24647512 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4676                 :    24647512 :   switch (TREE_CODE (_p1))
    4677                 :             :     {
    4678                 :          20 :     case NEGATE_EXPR:
    4679                 :          20 :       {
    4680                 :          20 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4681                 :          20 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    4682                 :             :           {
    4683                 :           0 :             {
    4684                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4685                 :           0 :               tree res = generic_simplify_198 (loc, type, _p0, _p1, captures, EQ_EXPR);
    4686                 :           0 :               if (res) return res;
    4687                 :             :             }
    4688                 :             :           }
    4689                 :             :         break;
    4690                 :             :       }
    4691                 :    24647512 :     default:;
    4692                 :             :     }
    4693                 :    24647512 :   switch (TREE_CODE (_p0))
    4694                 :             :     {
    4695                 :         449 :     case NEGATE_EXPR:
    4696                 :         449 :       {
    4697                 :         449 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4698                 :         449 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    4699                 :             :           {
    4700                 :          83 :             {
    4701                 :          83 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4702                 :          83 :               tree res = generic_simplify_198 (loc, type, _p0, _p1, captures, EQ_EXPR);
    4703                 :          83 :               if (res) return res;
    4704                 :             :             }
    4705                 :             :           }
    4706                 :             :         break;
    4707                 :             :       }
    4708                 :           0 :     case CEIL_MOD_EXPR:
    4709                 :           0 :       {
    4710                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4711                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4712                 :           0 :         if (integer_pow2p (_q21))
    4713                 :             :           {
    4714                 :           0 :             if (integer_zerop (_p1))
    4715                 :             :               {
    4716                 :           0 :                 {
    4717                 :           0 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4718                 :           0 :                   tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, EQ_EXPR, CEIL_MOD_EXPR);
    4719                 :           0 :                   if (res) return res;
    4720                 :             :                 }
    4721                 :             :               }
    4722                 :             :           }
    4723                 :             :         break;
    4724                 :             :       }
    4725                 :         876 :     case FLOOR_MOD_EXPR:
    4726                 :         876 :       {
    4727                 :         876 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4728                 :         876 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4729                 :         876 :         if (integer_pow2p (_q21))
    4730                 :             :           {
    4731                 :          26 :             if (integer_zerop (_p1))
    4732                 :             :               {
    4733                 :          26 :                 {
    4734                 :          26 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4735                 :          26 :                   tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, EQ_EXPR, FLOOR_MOD_EXPR);
    4736                 :          26 :                   if (res) return res;
    4737                 :             :                 }
    4738                 :             :               }
    4739                 :             :           }
    4740                 :             :         break;
    4741                 :             :       }
    4742                 :           0 :     case ROUND_MOD_EXPR:
    4743                 :           0 :       {
    4744                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4745                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4746                 :           0 :         if (integer_pow2p (_q21))
    4747                 :             :           {
    4748                 :           0 :             if (integer_zerop (_p1))
    4749                 :             :               {
    4750                 :           0 :                 {
    4751                 :           0 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4752                 :           0 :                   tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, EQ_EXPR, ROUND_MOD_EXPR);
    4753                 :           0 :                   if (res) return res;
    4754                 :             :                 }
    4755                 :             :               }
    4756                 :             :           }
    4757                 :             :         break;
    4758                 :             :       }
    4759                 :       65492 :     case TRUNC_MOD_EXPR:
    4760                 :       65492 :       {
    4761                 :       65492 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4762                 :       65492 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4763                 :       65492 :         if (integer_pow2p (_q21))
    4764                 :             :           {
    4765                 :       40708 :             if (integer_zerop (_p1))
    4766                 :             :               {
    4767                 :         592 :                 {
    4768                 :         592 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4769                 :         592 :                   tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, EQ_EXPR, TRUNC_MOD_EXPR);
    4770                 :         592 :                   if (res) return res;
    4771                 :             :                 }
    4772                 :             :               }
    4773                 :             :           }
    4774                 :             :         break;
    4775                 :             :       }
    4776                 :        1763 :     case LSHIFT_EXPR:
    4777                 :        1763 :       {
    4778                 :        1763 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4779                 :        1763 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4780                 :        1763 :         if (tree_zero_one_valued_p (_q20))
    4781                 :             :           {
    4782                 :         267 :             switch (TREE_CODE (_q21))
    4783                 :             :               {
    4784                 :          10 :               case INTEGER_CST:
    4785                 :          10 :                 {
    4786                 :          10 :                   if (integer_zerop (_p1))
    4787                 :             :                     {
    4788                 :           2 :                       {
    4789                 :           2 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4790                 :           2 :                         if (tree_fits_shwi_p (captures[1])
    4791                 :           2 :  && tree_to_shwi (captures[1]) > 0
    4792                 :           4 :  && tree_to_shwi (captures[1]) < TYPE_PRECISION (TREE_TYPE (captures[0]))
    4793                 :             : )
    4794                 :             :                           {
    4795                 :           2 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1515;
    4796                 :           2 :                             {
    4797                 :           2 :                               tree res_op0;
    4798                 :           2 :                               res_op0 = captures[0];
    4799                 :           2 :                               tree res_op1;
    4800                 :           2 :                               res_op1 = captures[2];
    4801                 :           2 :                               tree _r;
    4802                 :           2 :                               _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    4803                 :           2 :                               if (TREE_SIDE_EFFECTS (captures[1]))
    4804                 :           0 :                                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    4805                 :           2 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 984, __FILE__, __LINE__, true);
    4806                 :           2 :                               return _r;
    4807                 :             :                             }
    4808                 :           0 : next_after_fail1515:;
    4809                 :             :                           }
    4810                 :             :                       }
    4811                 :             :                     }
    4812                 :             :                   break;
    4813                 :             :                 }
    4814                 :             :               default:;
    4815                 :             :               }
    4816                 :             :           }
    4817                 :             :         break;
    4818                 :             :       }
    4819                 :      908146 :     case BIT_AND_EXPR:
    4820                 :      908146 :       {
    4821                 :      908146 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4822                 :      908146 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4823                 :      908146 :         if (tree_truth_valued_p (_q20))
    4824                 :             :           {
    4825                 :          19 :             if (tree_truth_valued_p (_q21))
    4826                 :             :               {
    4827                 :          18 :                 switch (TREE_CODE (_p1))
    4828                 :             :                   {
    4829                 :           0 :                   case BIT_XOR_EXPR:
    4830                 :           0 :                     {
    4831                 :           0 :                       tree _q50 = TREE_OPERAND (_p1, 0);
    4832                 :           0 :                       tree _q51 = TREE_OPERAND (_p1, 1);
    4833                 :           0 :                       if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4834                 :             :                         {
    4835                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4836                 :             :                             {
    4837                 :           0 :                               {
    4838                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4839                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1516;
    4840                 :           0 :                                 {
    4841                 :           0 :                                   tree res_op0;
    4842                 :           0 :                                   {
    4843                 :           0 :                                     tree _o1[2], _r1;
    4844                 :           0 :                                     _o1[0] = captures[0];
    4845                 :           0 :                                     _o1[1] = captures[1];
    4846                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4847                 :           0 :                                     res_op0 = _r1;
    4848                 :             :                                   }
    4849                 :           0 :                                   tree _r;
    4850                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    4851                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 947, __FILE__, __LINE__, true);
    4852                 :           0 :                                   return _r;
    4853                 :             :                                 }
    4854                 :           0 : next_after_fail1516:;
    4855                 :             :                               }
    4856                 :             :                             }
    4857                 :             :                         }
    4858                 :           0 :                       if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    4859                 :             :                         {
    4860                 :           0 :                           if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    4861                 :             :                             {
    4862                 :           0 :                               {
    4863                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    4864                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1517;
    4865                 :           0 :                                 {
    4866                 :           0 :                                   tree res_op0;
    4867                 :           0 :                                   {
    4868                 :           0 :                                     tree _o1[2], _r1;
    4869                 :           0 :                                     _o1[0] = captures[0];
    4870                 :           0 :                                     _o1[1] = captures[1];
    4871                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4872                 :           0 :                                     res_op0 = _r1;
    4873                 :             :                                   }
    4874                 :           0 :                                   tree _r;
    4875                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    4876                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 947, __FILE__, __LINE__, true);
    4877                 :           0 :                                   return _r;
    4878                 :             :                                 }
    4879                 :           0 : next_after_fail1517:;
    4880                 :             :                               }
    4881                 :             :                             }
    4882                 :             :                         }
    4883                 :             :                       break;
    4884                 :             :                     }
    4885                 :             :                   default:;
    4886                 :             :                   }
    4887                 :             :               }
    4888                 :             :           }
    4889                 :             :         break;
    4890                 :             :       }
    4891                 :         560 :     case BIT_XOR_EXPR:
    4892                 :         560 :       {
    4893                 :         560 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4894                 :         560 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4895                 :         560 :         switch (TREE_CODE (_p1))
    4896                 :             :           {
    4897                 :           0 :           case BIT_AND_EXPR:
    4898                 :           0 :             {
    4899                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4900                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4901                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4902                 :             :                 {
    4903                 :           0 :                   if (tree_truth_valued_p (_q50))
    4904                 :             :                     {
    4905                 :           0 :                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4906                 :             :                         {
    4907                 :           0 :                           if (tree_truth_valued_p (_q51))
    4908                 :             :                             {
    4909                 :           0 :                               {
    4910                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4911                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1518;
    4912                 :           0 :                                 {
    4913                 :           0 :                                   tree res_op0;
    4914                 :           0 :                                   {
    4915                 :           0 :                                     tree _o1[2], _r1;
    4916                 :           0 :                                     _o1[0] = captures[0];
    4917                 :           0 :                                     _o1[1] = captures[1];
    4918                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4919                 :           0 :                                     res_op0 = _r1;
    4920                 :             :                                   }
    4921                 :           0 :                                   tree _r;
    4922                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    4923                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 947, __FILE__, __LINE__, true);
    4924                 :           0 :                                   return _r;
    4925                 :             :                                 }
    4926                 :           0 : next_after_fail1518:;
    4927                 :             :                               }
    4928                 :             :                             }
    4929                 :             :                         }
    4930                 :             :                     }
    4931                 :             :                 }
    4932                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    4933                 :             :                 {
    4934                 :           0 :                   if (tree_truth_valued_p (_q50))
    4935                 :             :                     {
    4936                 :           0 :                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    4937                 :             :                         {
    4938                 :           0 :                           if (tree_truth_valued_p (_q51))
    4939                 :             :                             {
    4940                 :           0 :                               {
    4941                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4942                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1519;
    4943                 :           0 :                                 {
    4944                 :           0 :                                   tree res_op0;
    4945                 :           0 :                                   {
    4946                 :           0 :                                     tree _o1[2], _r1;
    4947                 :           0 :                                     _o1[0] = captures[0];
    4948                 :           0 :                                     _o1[1] = captures[1];
    4949                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4950                 :           0 :                                     res_op0 = _r1;
    4951                 :             :                                   }
    4952                 :           0 :                                   tree _r;
    4953                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    4954                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 947, __FILE__, __LINE__, true);
    4955                 :           0 :                                   return _r;
    4956                 :             :                                 }
    4957                 :           0 : next_after_fail1519:;
    4958                 :             :                               }
    4959                 :             :                             }
    4960                 :             :                         }
    4961                 :             :                     }
    4962                 :             :                 }
    4963                 :             :               break;
    4964                 :             :             }
    4965                 :             :           default:;
    4966                 :             :           }
    4967                 :             :         break;
    4968                 :             :       }
    4969                 :         402 :     case BIT_NOT_EXPR:
    4970                 :         402 :       {
    4971                 :         402 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4972                 :         402 :         if (tree_truth_valued_p (_q20))
    4973                 :             :           {
    4974                 :           0 :             if (tree_truth_valued_p (_p1))
    4975                 :             :               {
    4976                 :           0 :                 {
    4977                 :           0 :                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    4978                 :           0 :                   tree res = generic_simplify_201 (loc, type, _p0, _p1, captures);
    4979                 :           0 :                   if (res) return res;
    4980                 :             :                 }
    4981                 :             :               }
    4982                 :             :           }
    4983                 :             :         break;
    4984                 :             :       }
    4985                 :       36738 :     case MULT_EXPR:
    4986                 :       36738 :       {
    4987                 :       36738 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4988                 :       36738 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4989                 :       36738 :         switch (TREE_CODE (_p1))
    4990                 :             :           {
    4991                 :         653 :           case MULT_EXPR:
    4992                 :         653 :             {
    4993                 :         653 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4994                 :         653 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4995                 :         653 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4996                 :             :                 {
    4997                 :         489 :                   {
    4998                 :         489 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    4999                 :         489 :                     tree res = generic_simplify_202 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5000                 :         489 :                     if (res) return res;
    5001                 :             :                   }
    5002                 :             :                 }
    5003                 :         645 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5004                 :             :                 {
    5005                 :           0 :                   {
    5006                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    5007                 :           0 :                     tree res = generic_simplify_202 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5008                 :           0 :                     if (res) return res;
    5009                 :             :                   }
    5010                 :             :                 }
    5011                 :         645 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5012                 :             :                 {
    5013                 :           0 :                   {
    5014                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    5015                 :           0 :                     tree res = generic_simplify_202 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5016                 :           0 :                     if (res) return res;
    5017                 :             :                   }
    5018                 :             :                 }
    5019                 :         645 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5020                 :             :                 {
    5021                 :          15 :                   {
    5022                 :          15 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    5023                 :          15 :                     tree res = generic_simplify_202 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5024                 :          15 :                     if (res) return res;
    5025                 :             :                   }
    5026                 :             :                 }
    5027                 :             :               break;
    5028                 :             :             }
    5029                 :       36730 :           default:;
    5030                 :             :           }
    5031                 :       36730 :         switch (TREE_CODE (_q21))
    5032                 :             :           {
    5033                 :       29791 :           case INTEGER_CST:
    5034                 :       29791 :             {
    5035                 :       29791 :               switch (TREE_CODE (_p1))
    5036                 :             :                 {
    5037                 :         617 :                 case MULT_EXPR:
    5038                 :         617 :                   {
    5039                 :         617 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5040                 :         617 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    5041                 :         617 :                     if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5042                 :             :                       {
    5043                 :         456 :                         {
    5044                 :         456 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5045                 :         456 :                           tree res = generic_simplify_203 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5046                 :         456 :                           if (res) return res;
    5047                 :             :                         }
    5048                 :             :                       }
    5049                 :             :                     break;
    5050                 :             :                   }
    5051                 :             :                 default:;
    5052                 :             :                 }
    5053                 :             :               break;
    5054                 :             :             }
    5055                 :             :           default:;
    5056                 :             :           }
    5057                 :             :         break;
    5058                 :             :       }
    5059                 :     4265681 :     CASE_CONVERT:
    5060                 :     4265681 :       {
    5061                 :     4265681 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5062                 :     4265681 :         switch (TREE_CODE (_q20))
    5063                 :             :           {
    5064                 :          76 :           case EXACT_DIV_EXPR:
    5065                 :          76 :             {
    5066                 :          76 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5067                 :          76 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5068                 :          76 :               switch (TREE_CODE (_q31))
    5069                 :             :                 {
    5070                 :          76 :                 case INTEGER_CST:
    5071                 :          76 :                   {
    5072                 :          76 :                     switch (TREE_CODE (_p1))
    5073                 :             :                       {
    5074                 :           0 :                       CASE_CONVERT:
    5075                 :           0 :                         {
    5076                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    5077                 :           0 :                           switch (TREE_CODE (_q60))
    5078                 :             :                             {
    5079                 :           0 :                             case EXACT_DIV_EXPR:
    5080                 :           0 :                               {
    5081                 :           0 :                                 tree _q70 = TREE_OPERAND (_q60, 0);
    5082                 :           0 :                                 tree _q71 = TREE_OPERAND (_q60, 1);
    5083                 :           0 :                                 if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    5084                 :             :                                   {
    5085                 :           0 :                                     {
    5086                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q70 };
    5087                 :           0 :                                       tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5088                 :           0 :                                       if (res) return res;
    5089                 :             :                                     }
    5090                 :             :                                   }
    5091                 :             :                                 break;
    5092                 :             :                               }
    5093                 :             :                             default:;
    5094                 :             :                             }
    5095                 :             :                           break;
    5096                 :             :                         }
    5097                 :             :                       default:;
    5098                 :             :                       }
    5099                 :             :                     break;
    5100                 :             :                   }
    5101                 :             :                 default:;
    5102                 :             :                 }
    5103                 :             :               break;
    5104                 :             :             }
    5105                 :     4265681 :           default:;
    5106                 :             :           }
    5107                 :     4265681 :         switch (TREE_CODE (_p1))
    5108                 :             :           {
    5109                 :       28302 :           case PLUS_EXPR:
    5110                 :       28302 :             {
    5111                 :       28302 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5112                 :       28302 :               tree _q41 = TREE_OPERAND (_p1, 1);
    5113                 :       28302 :               switch (TREE_CODE (_q41))
    5114                 :             :                 {
    5115                 :          26 :                 CASE_CONVERT:
    5116                 :          26 :                   {
    5117                 :          26 :                     tree _q60 = TREE_OPERAND (_q41, 0);
    5118                 :          26 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5119                 :             :                       {
    5120                 :           0 :                         {
    5121                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q40, _q20 };
    5122                 :           0 :                           tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5123                 :           0 :                           if (res) return res;
    5124                 :             :                         }
    5125                 :             :                       }
    5126                 :             :                     break;
    5127                 :             :                   }
    5128                 :       28302 :                 default:;
    5129                 :             :                 }
    5130                 :       28302 :               switch (TREE_CODE (_q40))
    5131                 :             :                 {
    5132                 :        3999 :                 CASE_CONVERT:
    5133                 :        3999 :                   {
    5134                 :        3999 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    5135                 :        3999 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5136                 :             :                       {
    5137                 :           0 :                         {
    5138                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q41, _q20 };
    5139                 :           0 :                           tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5140                 :           0 :                           if (res) return res;
    5141                 :             :                         }
    5142                 :             :                       }
    5143                 :             :                     break;
    5144                 :             :                   }
    5145                 :       28302 :                 default:;
    5146                 :             :                 }
    5147                 :       28302 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    5148                 :             :                 {
    5149                 :           0 :                   {
    5150                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q40, _q20 };
    5151                 :           0 :                     tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5152                 :           0 :                     if (res) return res;
    5153                 :             :                   }
    5154                 :             :                 }
    5155                 :       28302 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
    5156                 :             :                 {
    5157                 :           0 :                   {
    5158                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q41, _q20 };
    5159                 :           0 :                     tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5160                 :           0 :                     if (res) return res;
    5161                 :             :                   }
    5162                 :             :                 }
    5163                 :             :               break;
    5164                 :             :             }
    5165                 :     4265681 :           default:;
    5166                 :             :           }
    5167                 :     4265681 :       {
    5168                 :     4265681 :         tree _p1_pops[1];
    5169                 :     4265681 :         if (tree_nop_convert (_p1, _p1_pops))
    5170                 :             :           {
    5171                 :      708730 :             tree _q40 = _p1_pops[0];
    5172                 :      708730 :             switch (TREE_CODE (_q40))
    5173                 :             :               {
    5174                 :         471 :               case PLUS_EXPR:
    5175                 :         471 :                 {
    5176                 :         471 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    5177                 :         471 :                   tree _q51 = TREE_OPERAND (_q40, 1);
    5178                 :         471 :                   switch (TREE_CODE (_q51))
    5179                 :             :                     {
    5180                 :           0 :                     CASE_CONVERT:
    5181                 :           0 :                       {
    5182                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    5183                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    5184                 :             :                           {
    5185                 :           0 :                             {
    5186                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q20 };
    5187                 :           0 :                               tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5188                 :           0 :                               if (res) return res;
    5189                 :             :                             }
    5190                 :             :                           }
    5191                 :             :                         break;
    5192                 :             :                       }
    5193                 :         471 :                     default:;
    5194                 :             :                     }
    5195                 :         471 :                   switch (TREE_CODE (_q50))
    5196                 :             :                     {
    5197                 :         402 :                     CASE_CONVERT:
    5198                 :         402 :                       {
    5199                 :         402 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    5200                 :         402 :                         if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5201                 :             :                           {
    5202                 :           0 :                             {
    5203                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q51, _q20 };
    5204                 :           0 :                               tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5205                 :           0 :                               if (res) return res;
    5206                 :             :                             }
    5207                 :             :                           }
    5208                 :             :                         break;
    5209                 :             :                       }
    5210                 :         471 :                     default:;
    5211                 :             :                     }
    5212                 :         471 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5213                 :             :                     {
    5214                 :           0 :                       {
    5215                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q20 };
    5216                 :           0 :                         tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5217                 :           0 :                         if (res) return res;
    5218                 :             :                       }
    5219                 :             :                     }
    5220                 :         471 :                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5221                 :             :                     {
    5222                 :           0 :                       {
    5223                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q51, _q20 };
    5224                 :           0 :                         tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5225                 :           0 :                         if (res) return res;
    5226                 :             :                       }
    5227                 :             :                     }
    5228                 :             :                   break;
    5229                 :             :                 }
    5230                 :             :               default:;
    5231                 :             :               }
    5232                 :             :           }
    5233                 :             :       }
    5234                 :     4265681 :         break;
    5235                 :             :       }
    5236                 :        9058 :     case EXACT_DIV_EXPR:
    5237                 :        9058 :       {
    5238                 :        9058 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5239                 :        9058 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5240                 :        9058 :         switch (TREE_CODE (_q21))
    5241                 :             :           {
    5242                 :        9058 :           case INTEGER_CST:
    5243                 :        9058 :             {
    5244                 :        9058 :               switch (TREE_CODE (_p1))
    5245                 :             :                 {
    5246                 :           0 :                 case EXACT_DIV_EXPR:
    5247                 :           0 :                   {
    5248                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5249                 :           0 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    5250                 :           0 :                     if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5251                 :             :                       {
    5252                 :           0 :                         {
    5253                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
    5254                 :           0 :                           tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5255                 :           0 :                           if (res) return res;
    5256                 :             :                         }
    5257                 :             :                       }
    5258                 :             :                     break;
    5259                 :             :                   }
    5260                 :             :                 default:;
    5261                 :             :                 }
    5262                 :             :               break;
    5263                 :             :             }
    5264                 :             :           default:;
    5265                 :             :           }
    5266                 :             :         break;
    5267                 :             :       }
    5268                 :        5180 :     case TRUNC_DIV_EXPR:
    5269                 :        5180 :       {
    5270                 :        5180 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5271                 :        5180 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5272                 :        5180 :         switch (TREE_CODE (_q21))
    5273                 :             :           {
    5274                 :        3697 :           case INTEGER_CST:
    5275                 :        3697 :             {
    5276                 :        3697 :               switch (TREE_CODE (_p1))
    5277                 :             :                 {
    5278                 :        1239 :                 case INTEGER_CST:
    5279                 :        1239 :                   {
    5280                 :        1239 :                     {
    5281                 :        1239 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    5282                 :        1239 :                       tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5283                 :        1239 :                       if (res) return res;
    5284                 :             :                     }
    5285                 :          19 :                     break;
    5286                 :             :                   }
    5287                 :             :                 default:;
    5288                 :             :                 }
    5289                 :             :               break;
    5290                 :             :             }
    5291                 :             :           default:;
    5292                 :             :           }
    5293                 :             :         break;
    5294                 :             :       }
    5295                 :      696641 :     case PLUS_EXPR:
    5296                 :      696641 :       {
    5297                 :      696641 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5298                 :      696641 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5299                 :      696641 :         switch (TREE_CODE (_p1))
    5300                 :             :           {
    5301                 :       47535 :           case PLUS_EXPR:
    5302                 :       47535 :             {
    5303                 :       47535 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5304                 :       47535 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5305                 :       47535 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5306                 :             :                 {
    5307                 :         353 :                   {
    5308                 :         353 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5309                 :         706 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    5310                 :         644 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    5311                 :         257 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    5312                 :             : )
    5313                 :             :                       {
    5314                 :         291 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1520;
    5315                 :         291 :                         {
    5316                 :         291 :                           tree res_op0;
    5317                 :         291 :                           res_op0 = captures[0];
    5318                 :         291 :                           tree res_op1;
    5319                 :         291 :                           res_op1 = captures[2];
    5320                 :         291 :                           tree _r;
    5321                 :         291 :                           _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5322                 :         291 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    5323                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5324                 :         291 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
    5325                 :         291 :                           return _r;
    5326                 :             :                         }
    5327                 :           0 : next_after_fail1520:;
    5328                 :             :                       }
    5329                 :             :                   }
    5330                 :             :                 }
    5331                 :       47244 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5332                 :             :                 {
    5333                 :           0 :                   {
    5334                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    5335                 :           0 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    5336                 :           0 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    5337                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    5338                 :             : )
    5339                 :             :                       {
    5340                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1521;
    5341                 :           0 :                         {
    5342                 :           0 :                           tree res_op0;
    5343                 :           0 :                           res_op0 = captures[0];
    5344                 :           0 :                           tree res_op1;
    5345                 :           0 :                           res_op1 = captures[2];
    5346                 :           0 :                           tree _r;
    5347                 :           0 :                           _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5348                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    5349                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5350                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
    5351                 :           0 :                           return _r;
    5352                 :             :                         }
    5353                 :           0 : next_after_fail1521:;
    5354                 :             :                       }
    5355                 :             :                   }
    5356                 :             :                 }
    5357                 :       47244 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5358                 :             :                 {
    5359                 :           0 :                   {
    5360                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    5361                 :           0 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    5362                 :           0 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    5363                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    5364                 :             : )
    5365                 :             :                       {
    5366                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1522;
    5367                 :           0 :                         {
    5368                 :           0 :                           tree res_op0;
    5369                 :           0 :                           res_op0 = captures[0];
    5370                 :           0 :                           tree res_op1;
    5371                 :           0 :                           res_op1 = captures[2];
    5372                 :           0 :                           tree _r;
    5373                 :           0 :                           _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5374                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    5375                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5376                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
    5377                 :           0 :                           return _r;
    5378                 :             :                         }
    5379                 :           0 : next_after_fail1522:;
    5380                 :             :                       }
    5381                 :             :                   }
    5382                 :             :                 }
    5383                 :       47244 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5384                 :             :                 {
    5385                 :          35 :                   {
    5386                 :          35 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    5387                 :          70 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    5388                 :          35 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    5389                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    5390                 :             : )
    5391                 :             :                       {
    5392                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1523;
    5393                 :           0 :                         {
    5394                 :           0 :                           tree res_op0;
    5395                 :           0 :                           res_op0 = captures[0];
    5396                 :           0 :                           tree res_op1;
    5397                 :           0 :                           res_op1 = captures[2];
    5398                 :           0 :                           tree _r;
    5399                 :           0 :                           _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5400                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    5401                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5402                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
    5403                 :           0 :                           return _r;
    5404                 :             :                         }
    5405                 :           0 : next_after_fail1523:;
    5406                 :             :                       }
    5407                 :             :                   }
    5408                 :             :                 }
    5409                 :             :               break;
    5410                 :             :             }
    5411                 :      696350 :           default:;
    5412                 :             :           }
    5413                 :      696350 :         switch (TREE_CODE (_q21))
    5414                 :             :           {
    5415                 :        2501 :           CASE_CONVERT:
    5416                 :        2501 :             {
    5417                 :        2501 :               tree _q40 = TREE_OPERAND (_q21, 0);
    5418                 :        2501 :               switch (TREE_CODE (_p1))
    5419                 :             :                 {
    5420                 :         158 :                 CASE_CONVERT:
    5421                 :         158 :                   {
    5422                 :         158 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5423                 :         158 :                     if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    5424                 :             :                       {
    5425                 :           0 :                         {
    5426                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40 };
    5427                 :           0 :                           tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5428                 :           0 :                           if (res) return res;
    5429                 :             :                         }
    5430                 :             :                       }
    5431                 :             :                     break;
    5432                 :             :                   }
    5433                 :             :                 default:;
    5434                 :             :                 }
    5435                 :             :               break;
    5436                 :             :             }
    5437                 :      696350 :           default:;
    5438                 :             :           }
    5439                 :      696350 :         switch (TREE_CODE (_q20))
    5440                 :             :           {
    5441                 :       46923 :           CASE_CONVERT:
    5442                 :       46923 :             {
    5443                 :       46923 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5444                 :       46923 :               switch (TREE_CODE (_p1))
    5445                 :             :                 {
    5446                 :       20688 :                 CASE_CONVERT:
    5447                 :       20688 :                   {
    5448                 :       20688 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5449                 :       20688 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    5450                 :             :                       {
    5451                 :           1 :                         {
    5452                 :           1 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q30 };
    5453                 :           1 :                           tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5454                 :           1 :                           if (res) return res;
    5455                 :             :                         }
    5456                 :             :                       }
    5457                 :             :                     break;
    5458                 :             :                   }
    5459                 :       46922 :                 default:;
    5460                 :             :                 }
    5461                 :       46922 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5462                 :             :                 {
    5463                 :           0 :                   {
    5464                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q30 };
    5465                 :           0 :                     tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5466                 :           0 :                     if (res) return res;
    5467                 :             :                   }
    5468                 :             :                 }
    5469                 :             :               break;
    5470                 :             :             }
    5471                 :      696349 :           default:;
    5472                 :             :           }
    5473                 :      696349 :         switch (TREE_CODE (_q21))
    5474                 :             :           {
    5475                 :        2501 :           CASE_CONVERT:
    5476                 :        2501 :             {
    5477                 :        2501 :               tree _q40 = TREE_OPERAND (_q21, 0);
    5478                 :        2501 :               if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    5479                 :             :                 {
    5480                 :           0 :                   {
    5481                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40 };
    5482                 :           0 :                     tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5483                 :           0 :                     if (res) return res;
    5484                 :             :                   }
    5485                 :             :                 }
    5486                 :             :               break;
    5487                 :             :             }
    5488                 :      696349 :           default:;
    5489                 :             :           }
    5490                 :      696349 :         switch (TREE_CODE (_p1))
    5491                 :             :           {
    5492                 :       39365 :           CASE_CONVERT:
    5493                 :       39365 :             {
    5494                 :       39365 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5495                 :       39365 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5496                 :             :                 {
    5497                 :           0 :                   {
    5498                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    5499                 :           0 :                     tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5500                 :           0 :                     if (res) return res;
    5501                 :             :                   }
    5502                 :             :                 }
    5503                 :       39365 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5504                 :             :                 {
    5505                 :           0 :                   {
    5506                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20 };
    5507                 :           0 :                     tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5508                 :           0 :                     if (res) return res;
    5509                 :             :                   }
    5510                 :             :                 }
    5511                 :             :               break;
    5512                 :             :             }
    5513                 :      696349 :           default:;
    5514                 :             :           }
    5515                 :      696349 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5516                 :             :           {
    5517                 :       18643 :             {
    5518                 :       18643 :               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    5519                 :       18643 :               tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5520                 :       18643 :               if (res) return res;
    5521                 :             :             }
    5522                 :             :           }
    5523                 :      677766 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5524                 :             :           {
    5525                 :          68 :             {
    5526                 :          68 :               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20 };
    5527                 :          68 :               tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5528                 :          68 :               if (res) return res;
    5529                 :             :             }
    5530                 :             :           }
    5531                 :             :         break;
    5532                 :             :       }
    5533                 :       67351 :     case POINTER_PLUS_EXPR:
    5534                 :       67351 :       {
    5535                 :       67351 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5536                 :       67351 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5537                 :       67351 :         switch (TREE_CODE (_p1))
    5538                 :             :           {
    5539                 :        2231 :           case POINTER_PLUS_EXPR:
    5540                 :        2231 :             {
    5541                 :        2231 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5542                 :        2231 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5543                 :        2231 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5544                 :             :                 {
    5545                 :          26 :                   {
    5546                 :          26 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    5547                 :          26 :                     tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5548                 :          26 :                     if (res) return res;
    5549                 :             :                   }
    5550                 :             :                 }
    5551                 :             :               break;
    5552                 :             :             }
    5553                 :       67325 :           default:;
    5554                 :             :           }
    5555                 :       67325 :         switch (TREE_CODE (_q20))
    5556                 :             :           {
    5557                 :         950 :           CASE_CONVERT:
    5558                 :         950 :             {
    5559                 :         950 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5560                 :         950 :               switch (TREE_CODE (_p1))
    5561                 :             :                 {
    5562                 :          96 :                 CASE_CONVERT:
    5563                 :          96 :                   {
    5564                 :          96 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5565                 :          96 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    5566                 :             :                       {
    5567                 :          60 :                         {
    5568                 :          60 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q30, _q21 };
    5569                 :          60 :                           tree res = generic_simplify_209 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5570                 :          60 :                           if (res) return res;
    5571                 :             :                         }
    5572                 :             :                       }
    5573                 :             :                     break;
    5574                 :             :                   }
    5575                 :         890 :                 default:;
    5576                 :             :                 }
    5577                 :         890 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5578                 :             :                 {
    5579                 :           0 :                   {
    5580                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q30, _q21 };
    5581                 :           0 :                     tree res = generic_simplify_209 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5582                 :           0 :                     if (res) return res;
    5583                 :             :                   }
    5584                 :             :                 }
    5585                 :             :               break;
    5586                 :             :             }
    5587                 :       67265 :           default:;
    5588                 :             :           }
    5589                 :       67265 :         switch (TREE_CODE (_p1))
    5590                 :             :           {
    5591                 :         447 :           CASE_CONVERT:
    5592                 :         447 :             {
    5593                 :         447 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5594                 :         447 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5595                 :             :                 {
    5596                 :           0 :                   {
    5597                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    5598                 :           0 :                     tree res = generic_simplify_209 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5599                 :           0 :                     if (res) return res;
    5600                 :             :                   }
    5601                 :             :                 }
    5602                 :             :               break;
    5603                 :             :             }
    5604                 :       67265 :           default:;
    5605                 :             :           }
    5606                 :       67265 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5607                 :             :           {
    5608                 :        1128 :             {
    5609                 :        1128 :               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    5610                 :        1128 :               tree res = generic_simplify_209 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5611                 :        1128 :               if (res) return res;
    5612                 :             :             }
    5613                 :             :           }
    5614                 :             :         break;
    5615                 :             :       }
    5616                 :      108865 :     case MINUS_EXPR:
    5617                 :      108865 :       {
    5618                 :      108865 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5619                 :      108865 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5620                 :      108865 :         switch (TREE_CODE (_p1))
    5621                 :             :           {
    5622                 :         168 :           case MINUS_EXPR:
    5623                 :         168 :             {
    5624                 :         168 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5625                 :         168 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5626                 :         168 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5627                 :             :                 {
    5628                 :          18 :                   {
    5629                 :          18 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5630                 :          36 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    5631                 :          18 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    5632                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    5633                 :             : )
    5634                 :             :                       {
    5635                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1524;
    5636                 :           0 :                         {
    5637                 :           0 :                           tree res_op0;
    5638                 :           0 :                           res_op0 = captures[0];
    5639                 :           0 :                           tree res_op1;
    5640                 :           0 :                           res_op1 = captures[2];
    5641                 :           0 :                           tree _r;
    5642                 :           0 :                           _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5643                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    5644                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5645                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 926, __FILE__, __LINE__, true);
    5646                 :           0 :                           return _r;
    5647                 :             :                         }
    5648                 :           0 : next_after_fail1524:;
    5649                 :             :                       }
    5650                 :             :                   }
    5651                 :             :                 }
    5652                 :         168 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5653                 :             :                 {
    5654                 :          18 :                   {
    5655                 :          18 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    5656                 :          36 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    5657                 :          18 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
    5658                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1])))
    5659                 :             : )
    5660                 :             :                       {
    5661                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1525;
    5662                 :           0 :                         {
    5663                 :           0 :                           tree res_op0;
    5664                 :           0 :                           res_op0 = captures[2];
    5665                 :           0 :                           tree res_op1;
    5666                 :           0 :                           res_op1 = captures[1];
    5667                 :           0 :                           tree _r;
    5668                 :           0 :                           _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5669                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[0]))
    5670                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    5671                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 927, __FILE__, __LINE__, true);
    5672                 :           0 :                           return _r;
    5673                 :             :                         }
    5674                 :           0 : next_after_fail1525:;
    5675                 :             :                       }
    5676                 :             :                   }
    5677                 :             :                 }
    5678                 :             :               break;
    5679                 :             :             }
    5680                 :      108865 :           default:;
    5681                 :             :           }
    5682                 :      108865 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5683                 :             :           {
    5684                 :          74 :             {
    5685                 :          74 :               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
    5686                 :          74 :               tree res = generic_simplify_210 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5687                 :          74 :               if (res) return res;
    5688                 :             :             }
    5689                 :             :           }
    5690                 :             :         break;
    5691                 :             :       }
    5692                 :       32871 :     case POINTER_DIFF_EXPR:
    5693                 :       32871 :       {
    5694                 :       32871 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5695                 :       32871 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5696                 :       32871 :         switch (TREE_CODE (_p1))
    5697                 :             :           {
    5698                 :         846 :           case POINTER_DIFF_EXPR:
    5699                 :         846 :             {
    5700                 :         846 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5701                 :         846 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5702                 :         846 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5703                 :             :                 {
    5704                 :           0 :                   {
    5705                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
    5706                 :           0 :                     tree res = generic_simplify_211 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5707                 :           0 :                     if (res) return res;
    5708                 :             :                   }
    5709                 :             :                 }
    5710                 :         846 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5711                 :             :                 {
    5712                 :           0 :                   {
    5713                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q51 };
    5714                 :           0 :                     tree res = generic_simplify_212 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5715                 :           0 :                     if (res) return res;
    5716                 :             :                   }
    5717                 :             :                 }
    5718                 :             :               break;
    5719                 :             :             }
    5720                 :             :           default:;
    5721                 :             :           }
    5722                 :             :         break;
    5723                 :             :       }
    5724                 :    24625441 :     default:;
    5725                 :             :     }
    5726                 :    24625441 : {
    5727                 :    24625441 :   tree _p0_pops[1];
    5728                 :    24625441 :   if (tree_logical_inverted_value (_p0, _p0_pops))
    5729                 :             :     {
    5730                 :        4926 :       tree _q20 = _p0_pops[0];
    5731                 :        4926 :       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5732                 :             :         {
    5733                 :           9 :           if (tree_truth_valued_p (_p1))
    5734                 :             :             {
    5735                 :           0 :               {
    5736                 :           0 :                 tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5737                 :           0 :                 tree res = generic_simplify_200 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5738                 :           0 :                 if (res) return res;
    5739                 :             :               }
    5740                 :             :             }
    5741                 :             :         }
    5742                 :             :     }
    5743                 :             : }
    5744                 :    24625441 : {
    5745                 :    24625441 :   tree _p0_pops[1];
    5746                 :    24625441 :   if (tree_nop_convert (_p0, _p0_pops))
    5747                 :             :     {
    5748                 :     2586445 :       tree _q20 = _p0_pops[0];
    5749                 :     2586445 :       switch (TREE_CODE (_q20))
    5750                 :             :         {
    5751                 :        2491 :         case PLUS_EXPR:
    5752                 :        2491 :           {
    5753                 :        2491 :             tree _q30 = TREE_OPERAND (_q20, 0);
    5754                 :        2491 :             tree _q31 = TREE_OPERAND (_q20, 1);
    5755                 :        2491 :             switch (TREE_CODE (_q31))
    5756                 :             :               {
    5757                 :           0 :               CASE_CONVERT:
    5758                 :           0 :                 {
    5759                 :           0 :                   tree _q50 = TREE_OPERAND (_q31, 0);
    5760                 :           0 :                   switch (TREE_CODE (_p1))
    5761                 :             :                     {
    5762                 :           0 :                     CASE_CONVERT:
    5763                 :           0 :                       {
    5764                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    5765                 :           0 :                         if ((_q70 == _q50 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q50, 0) && types_match (_q70, _q50)))
    5766                 :             :                           {
    5767                 :           0 :                             {
    5768                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50 };
    5769                 :           0 :                               tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5770                 :           0 :                               if (res) return res;
    5771                 :             :                             }
    5772                 :             :                           }
    5773                 :             :                         break;
    5774                 :             :                       }
    5775                 :             :                     default:;
    5776                 :             :                     }
    5777                 :             :                   break;
    5778                 :             :                 }
    5779                 :        2491 :               default:;
    5780                 :             :               }
    5781                 :        2491 :             switch (TREE_CODE (_q30))
    5782                 :             :               {
    5783                 :        1275 :               CASE_CONVERT:
    5784                 :        1275 :                 {
    5785                 :        1275 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    5786                 :        1275 :                   switch (TREE_CODE (_p1))
    5787                 :             :                     {
    5788                 :          36 :                     CASE_CONVERT:
    5789                 :          36 :                       {
    5790                 :          36 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    5791                 :          36 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    5792                 :             :                           {
    5793                 :           0 :                             {
    5794                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q40 };
    5795                 :           0 :                               tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5796                 :           0 :                               if (res) return res;
    5797                 :             :                             }
    5798                 :             :                           }
    5799                 :             :                         break;
    5800                 :             :                       }
    5801                 :        1275 :                     default:;
    5802                 :             :                     }
    5803                 :        1275 :                   if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    5804                 :             :                     {
    5805                 :           0 :                       {
    5806                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q40 };
    5807                 :           0 :                         tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5808                 :           0 :                         if (res) return res;
    5809                 :             :                       }
    5810                 :             :                     }
    5811                 :             :                   break;
    5812                 :             :                 }
    5813                 :        2491 :               default:;
    5814                 :             :               }
    5815                 :        2491 :             switch (TREE_CODE (_q31))
    5816                 :             :               {
    5817                 :           0 :               CASE_CONVERT:
    5818                 :           0 :                 {
    5819                 :           0 :                   tree _q50 = TREE_OPERAND (_q31, 0);
    5820                 :           0 :                   if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    5821                 :             :                     {
    5822                 :           0 :                       {
    5823                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50 };
    5824                 :           0 :                         tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5825                 :           0 :                         if (res) return res;
    5826                 :             :                       }
    5827                 :             :                     }
    5828                 :             :                   break;
    5829                 :             :                 }
    5830                 :        2491 :               default:;
    5831                 :             :               }
    5832                 :        2491 :             switch (TREE_CODE (_p1))
    5833                 :             :               {
    5834                 :         105 :               CASE_CONVERT:
    5835                 :         105 :                 {
    5836                 :         105 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    5837                 :         105 :                   if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
    5838                 :             :                     {
    5839                 :           0 :                       {
    5840                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    5841                 :           0 :                         tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5842                 :           0 :                         if (res) return res;
    5843                 :             :                       }
    5844                 :             :                     }
    5845                 :         105 :                   if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    5846                 :             :                     {
    5847                 :           0 :                       {
    5848                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30 };
    5849                 :           0 :                         tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5850                 :           0 :                         if (res) return res;
    5851                 :             :                       }
    5852                 :             :                     }
    5853                 :             :                   break;
    5854                 :             :                 }
    5855                 :        2491 :               default:;
    5856                 :             :               }
    5857                 :        2491 :             if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    5858                 :             :               {
    5859                 :           0 :                 {
    5860                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    5861                 :           0 :                   tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5862                 :           0 :                   if (res) return res;
    5863                 :             :                 }
    5864                 :             :               }
    5865                 :        2491 :             if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5866                 :             :               {
    5867                 :           0 :                 {
    5868                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30 };
    5869                 :           0 :                   tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5870                 :           0 :                   if (res) return res;
    5871                 :             :                 }
    5872                 :             :               }
    5873                 :             :             break;
    5874                 :             :           }
    5875                 :          96 :         case POINTER_PLUS_EXPR:
    5876                 :          96 :           {
    5877                 :          96 :             tree _q30 = TREE_OPERAND (_q20, 0);
    5878                 :          96 :             tree _q31 = TREE_OPERAND (_q20, 1);
    5879                 :          96 :             switch (TREE_CODE (_q30))
    5880                 :             :               {
    5881                 :          21 :               CASE_CONVERT:
    5882                 :          21 :                 {
    5883                 :          21 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    5884                 :          21 :                   switch (TREE_CODE (_p1))
    5885                 :             :                     {
    5886                 :           0 :                     CASE_CONVERT:
    5887                 :           0 :                       {
    5888                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    5889                 :           0 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    5890                 :             :                           {
    5891                 :           0 :                             {
    5892                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31 };
    5893                 :           0 :                               tree res = generic_simplify_213 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5894                 :           0 :                               if (res) return res;
    5895                 :             :                             }
    5896                 :             :                           }
    5897                 :             :                         break;
    5898                 :             :                       }
    5899                 :          21 :                     default:;
    5900                 :             :                     }
    5901                 :          21 :                   if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    5902                 :             :                     {
    5903                 :           0 :                       {
    5904                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31 };
    5905                 :           0 :                         tree res = generic_simplify_213 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5906                 :           0 :                         if (res) return res;
    5907                 :             :                       }
    5908                 :             :                     }
    5909                 :             :                   break;
    5910                 :             :                 }
    5911                 :          96 :               default:;
    5912                 :             :               }
    5913                 :          96 :             switch (TREE_CODE (_p1))
    5914                 :             :               {
    5915                 :          27 :               CASE_CONVERT:
    5916                 :          27 :                 {
    5917                 :          27 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    5918                 :          27 :                   if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    5919                 :             :                     {
    5920                 :           0 :                       {
    5921                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    5922                 :           0 :                         tree res = generic_simplify_213 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5923                 :           0 :                         if (res) return res;
    5924                 :             :                       }
    5925                 :             :                     }
    5926                 :             :                   break;
    5927                 :             :                 }
    5928                 :          96 :               default:;
    5929                 :             :               }
    5930                 :          96 :             if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5931                 :             :               {
    5932                 :           0 :                 {
    5933                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    5934                 :           0 :                   tree res = generic_simplify_213 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5935                 :           0 :                   if (res) return res;
    5936                 :             :                 }
    5937                 :             :               }
    5938                 :             :             break;
    5939                 :             :           }
    5940                 :             :         default:;
    5941                 :             :         }
    5942                 :             :     }
    5943                 :             : }
    5944                 :    24625441 : if (tree_truth_valued_p (_p0))
    5945                 :             :   {
    5946                 :      473297 :     switch (TREE_CODE (_p1))
    5947                 :             :       {
    5948                 :          24 :       case BIT_NOT_EXPR:
    5949                 :          24 :         {
    5950                 :          24 :           tree _q30 = TREE_OPERAND (_p1, 0);
    5951                 :          24 :           if (tree_truth_valued_p (_q30))
    5952                 :             :             {
    5953                 :           4 :               {
    5954                 :           4 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
    5955                 :           4 :                 tree res = generic_simplify_201 (loc, type, _p0, _p1, captures);
    5956                 :           4 :                 if (res) return res;
    5957                 :             :               }
    5958                 :             :             }
    5959                 :             :           break;
    5960                 :             :         }
    5961                 :      473297 :       default:;
    5962                 :             :       }
    5963                 :      473297 :   {
    5964                 :      473297 :     tree _p1_pops[1];
    5965                 :      473297 :     if (tree_logical_inverted_value (_p1, _p1_pops))
    5966                 :             :       {
    5967                 :          65 :         tree _q30 = _p1_pops[0];
    5968                 :          65 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    5969                 :             :           {
    5970                 :           0 :             {
    5971                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5972                 :           0 :               tree res = generic_simplify_200 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5973                 :           0 :               if (res) return res;
    5974                 :             :             }
    5975                 :             :           }
    5976                 :             :       }
    5977                 :             :   }
    5978                 :             :   }
    5979                 :    24625441 :   switch (TREE_CODE (_p1))
    5980                 :             :     {
    5981                 :       79412 :     case PLUS_EXPR:
    5982                 :       79412 :       {
    5983                 :       79412 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5984                 :       79412 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5985                 :       79412 :         switch (TREE_CODE (_q31))
    5986                 :             :           {
    5987                 :          26 :           CASE_CONVERT:
    5988                 :          26 :             {
    5989                 :          26 :               tree _q50 = TREE_OPERAND (_q31, 0);
    5990                 :          26 :               if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    5991                 :             :                 {
    5992                 :           0 :                   {
    5993                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0 };
    5994                 :           0 :                     tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5995                 :           0 :                     if (res) return res;
    5996                 :             :                   }
    5997                 :             :                 }
    5998                 :             :               break;
    5999                 :             :             }
    6000                 :       79412 :           default:;
    6001                 :             :           }
    6002                 :       79412 :         switch (TREE_CODE (_q30))
    6003                 :             :           {
    6004                 :       20102 :           CASE_CONVERT:
    6005                 :       20102 :             {
    6006                 :       20102 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6007                 :       20102 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6008                 :             :                 {
    6009                 :           0 :                   {
    6010                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _p0 };
    6011                 :           0 :                     tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6012                 :           0 :                     if (res) return res;
    6013                 :             :                   }
    6014                 :             :                 }
    6015                 :             :               break;
    6016                 :             :             }
    6017                 :       79412 :           default:;
    6018                 :             :           }
    6019                 :       79412 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6020                 :             :           {
    6021                 :           0 :             {
    6022                 :           0 :               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0 };
    6023                 :           0 :               tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6024                 :           0 :               if (res) return res;
    6025                 :             :             }
    6026                 :             :           }
    6027                 :       79412 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6028                 :             :           {
    6029                 :           0 :             {
    6030                 :           0 :               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _p0 };
    6031                 :           0 :               tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6032                 :           0 :               if (res) return res;
    6033                 :             :             }
    6034                 :             :           }
    6035                 :             :         break;
    6036                 :             :       }
    6037                 :    24625441 :     default:;
    6038                 :             :     }
    6039                 :    24625441 : {
    6040                 :    24625441 :   tree _p1_pops[1];
    6041                 :    24625441 :   if (tree_nop_convert (_p1, _p1_pops))
    6042                 :             :     {
    6043                 :      928295 :       tree _q30 = _p1_pops[0];
    6044                 :      928295 :       switch (TREE_CODE (_q30))
    6045                 :             :         {
    6046                 :        1608 :         case PLUS_EXPR:
    6047                 :        1608 :           {
    6048                 :        1608 :             tree _q40 = TREE_OPERAND (_q30, 0);
    6049                 :        1608 :             tree _q41 = TREE_OPERAND (_q30, 1);
    6050                 :        1608 :             switch (TREE_CODE (_q41))
    6051                 :             :               {
    6052                 :           2 :               CASE_CONVERT:
    6053                 :           2 :                 {
    6054                 :           2 :                   tree _q60 = TREE_OPERAND (_q41, 0);
    6055                 :           2 :                   if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    6056                 :             :                     {
    6057                 :           0 :                       {
    6058                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0 };
    6059                 :           0 :                         tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6060                 :           0 :                         if (res) return res;
    6061                 :             :                       }
    6062                 :             :                     }
    6063                 :             :                   break;
    6064                 :             :                 }
    6065                 :        1608 :               default:;
    6066                 :             :               }
    6067                 :        1608 :             switch (TREE_CODE (_q40))
    6068                 :             :               {
    6069                 :        1518 :               CASE_CONVERT:
    6070                 :        1518 :                 {
    6071                 :        1518 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    6072                 :        1518 :                   if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6073                 :             :                     {
    6074                 :           0 :                       {
    6075                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _p0 };
    6076                 :           0 :                         tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6077                 :           0 :                         if (res) return res;
    6078                 :             :                       }
    6079                 :             :                     }
    6080                 :             :                   break;
    6081                 :             :                 }
    6082                 :        1608 :               default:;
    6083                 :             :               }
    6084                 :        1608 :             if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    6085                 :             :               {
    6086                 :           0 :                 {
    6087                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0 };
    6088                 :           0 :                   tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6089                 :           0 :                   if (res) return res;
    6090                 :             :                 }
    6091                 :             :               }
    6092                 :        1608 :             if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6093                 :             :               {
    6094                 :           0 :                 {
    6095                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _p0 };
    6096                 :           0 :                   tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6097                 :           0 :                   if (res) return res;
    6098                 :             :                 }
    6099                 :             :               }
    6100                 :             :             break;
    6101                 :             :           }
    6102                 :             :         default:;
    6103                 :             :         }
    6104                 :             :     }
    6105                 :             : }
    6106                 :    24625441 :   switch (TREE_CODE (_p0))
    6107                 :             :     {
    6108                 :     4265681 :     CASE_CONVERT:
    6109                 :     4265681 :       {
    6110                 :     4265681 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6111                 :     4265681 :         switch (TREE_CODE (_p1))
    6112                 :             :           {
    6113                 :         120 :           case POINTER_PLUS_EXPR:
    6114                 :         120 :             {
    6115                 :         120 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6116                 :         120 :               tree _q41 = TREE_OPERAND (_p1, 1);
    6117                 :         120 :               switch (TREE_CODE (_q40))
    6118                 :             :                 {
    6119                 :          75 :                 CASE_CONVERT:
    6120                 :          75 :                   {
    6121                 :          75 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    6122                 :          75 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6123                 :             :                       {
    6124                 :           6 :                         {
    6125                 :           6 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q20, _q41 };
    6126                 :           6 :                           tree res = generic_simplify_209 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6127                 :           6 :                           if (res) return res;
    6128                 :             :                         }
    6129                 :             :                       }
    6130                 :             :                     break;
    6131                 :             :                   }
    6132                 :         114 :                 default:;
    6133                 :             :                 }
    6134                 :         114 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
    6135                 :             :                 {
    6136                 :           0 :                   {
    6137                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q20, _q41 };
    6138                 :           0 :                     tree res = generic_simplify_209 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6139                 :           0 :                     if (res) return res;
    6140                 :             :                   }
    6141                 :             :                 }
    6142                 :             :               break;
    6143                 :             :             }
    6144                 :     4265675 :           default:;
    6145                 :             :           }
    6146                 :     4265675 :       {
    6147                 :     4265675 :         tree _p1_pops[1];
    6148                 :     4265675 :         if (tree_nop_convert (_p1, _p1_pops))
    6149                 :             :           {
    6150                 :      708730 :             tree _q40 = _p1_pops[0];
    6151                 :      708730 :             switch (TREE_CODE (_q40))
    6152                 :             :               {
    6153                 :           6 :               case POINTER_PLUS_EXPR:
    6154                 :           6 :                 {
    6155                 :           6 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    6156                 :           6 :                   tree _q51 = TREE_OPERAND (_q40, 1);
    6157                 :           6 :                   switch (TREE_CODE (_q50))
    6158                 :             :                     {
    6159                 :           0 :                     CASE_CONVERT:
    6160                 :           0 :                       {
    6161                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    6162                 :           0 :                         if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    6163                 :             :                           {
    6164                 :           0 :                             {
    6165                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q20, _q51 };
    6166                 :           0 :                               tree res = generic_simplify_213 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6167                 :           0 :                               if (res) return res;
    6168                 :             :                             }
    6169                 :             :                           }
    6170                 :             :                         break;
    6171                 :             :                       }
    6172                 :           6 :                     default:;
    6173                 :             :                     }
    6174                 :           6 :                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6175                 :             :                     {
    6176                 :           0 :                       {
    6177                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q20, _q51 };
    6178                 :           0 :                         tree res = generic_simplify_213 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6179                 :           0 :                         if (res) return res;
    6180                 :             :                       }
    6181                 :             :                     }
    6182                 :             :                   break;
    6183                 :             :                 }
    6184                 :             :               default:;
    6185                 :             :               }
    6186                 :             :           }
    6187                 :             :       }
    6188                 :     4265675 :         break;
    6189                 :             :       }
    6190                 :    24625435 :     default:;
    6191                 :             :     }
    6192                 :    24625435 :   switch (TREE_CODE (_p1))
    6193                 :             :     {
    6194                 :        3844 :     case POINTER_PLUS_EXPR:
    6195                 :        3844 :       {
    6196                 :        3844 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6197                 :        3844 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6198                 :        3844 :         switch (TREE_CODE (_q30))
    6199                 :             :           {
    6200                 :        1410 :           CASE_CONVERT:
    6201                 :        1410 :             {
    6202                 :        1410 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6203                 :        1410 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6204                 :             :                 {
    6205                 :           0 :                   {
    6206                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _p0, _q31 };
    6207                 :           0 :                     tree res = generic_simplify_209 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6208                 :           0 :                     if (res) return res;
    6209                 :             :                   }
    6210                 :             :                 }
    6211                 :             :               break;
    6212                 :             :             }
    6213                 :        3844 :           default:;
    6214                 :             :           }
    6215                 :        3844 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6216                 :             :           {
    6217                 :           0 :             {
    6218                 :           0 :               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _p0, _q31 };
    6219                 :           0 :               tree res = generic_simplify_209 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6220                 :           0 :               if (res) return res;
    6221                 :             :             }
    6222                 :             :           }
    6223                 :             :         break;
    6224                 :             :       }
    6225                 :    24625435 :     default:;
    6226                 :             :     }
    6227                 :    24625435 : {
    6228                 :    24625435 :   tree _p1_pops[1];
    6229                 :    24625435 :   if (tree_nop_convert (_p1, _p1_pops))
    6230                 :             :     {
    6231                 :      928295 :       tree _q30 = _p1_pops[0];
    6232                 :      928295 :       switch (TREE_CODE (_q30))
    6233                 :             :         {
    6234                 :          18 :         case POINTER_PLUS_EXPR:
    6235                 :          18 :           {
    6236                 :          18 :             tree _q40 = TREE_OPERAND (_q30, 0);
    6237                 :          18 :             tree _q41 = TREE_OPERAND (_q30, 1);
    6238                 :          18 :             switch (TREE_CODE (_q40))
    6239                 :             :               {
    6240                 :           0 :               CASE_CONVERT:
    6241                 :           0 :                 {
    6242                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    6243                 :           0 :                   if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6244                 :             :                     {
    6245                 :           0 :                       {
    6246                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _p0, _q41 };
    6247                 :           0 :                         tree res = generic_simplify_213 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6248                 :           0 :                         if (res) return res;
    6249                 :             :                       }
    6250                 :             :                     }
    6251                 :             :                   break;
    6252                 :             :                 }
    6253                 :          18 :               default:;
    6254                 :             :               }
    6255                 :          18 :             if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6256                 :             :               {
    6257                 :           0 :                 {
    6258                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _p0, _q41 };
    6259                 :           0 :                   tree res = generic_simplify_213 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6260                 :           0 :                   if (res) return res;
    6261                 :             :                 }
    6262                 :             :               }
    6263                 :             :             break;
    6264                 :             :           }
    6265                 :             :         default:;
    6266                 :             :         }
    6267                 :             :     }
    6268                 :             : }
    6269                 :    24625435 :   switch (TREE_CODE (_p0))
    6270                 :             :     {
    6271                 :       66137 :     case POINTER_PLUS_EXPR:
    6272                 :       66137 :       {
    6273                 :       66137 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6274                 :       66137 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6275                 :       66137 :         switch (TREE_CODE (_p1))
    6276                 :             :           {
    6277                 :       11788 :           case ADDR_EXPR:
    6278                 :       11788 :             {
    6279                 :       11788 :               {
    6280                 :       11788 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6281                 :       11788 :                 tree res = generic_simplify_214 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6282                 :       11788 :                 if (res) return res;
    6283                 :             :               }
    6284                 :       11787 :               break;
    6285                 :             :             }
    6286                 :       66136 :           default:;
    6287                 :             :           }
    6288                 :       66136 :         switch (TREE_CODE (_q20))
    6289                 :             :           {
    6290                 :         253 :           case ADDR_EXPR:
    6291                 :         253 :             {
    6292                 :         253 :               switch (TREE_CODE (_p1))
    6293                 :             :                 {
    6294                 :           6 :                 case POINTER_PLUS_EXPR:
    6295                 :           6 :                   {
    6296                 :           6 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    6297                 :           6 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    6298                 :           6 :                     switch (TREE_CODE (_q50))
    6299                 :             :                       {
    6300                 :           0 :                       case ADDR_EXPR:
    6301                 :           0 :                         {
    6302                 :           0 :                           {
    6303                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
    6304                 :           0 :                             tree res = generic_simplify_215 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6305                 :           0 :                             if (res) return res;
    6306                 :             :                           }
    6307                 :           0 :                           break;
    6308                 :             :                         }
    6309                 :             :                       default:;
    6310                 :             :                       }
    6311                 :             :                     break;
    6312                 :             :                   }
    6313                 :             :                 default:;
    6314                 :             :                 }
    6315                 :             :               break;
    6316                 :             :             }
    6317                 :             :           default:;
    6318                 :             :           }
    6319                 :             :         break;
    6320                 :             :       }
    6321                 :       77820 :     case ADDR_EXPR:
    6322                 :       77820 :       {
    6323                 :       77820 :         switch (TREE_CODE (_p1))
    6324                 :             :           {
    6325                 :           0 :           case POINTER_PLUS_EXPR:
    6326                 :           0 :             {
    6327                 :           0 :               tree _q30 = TREE_OPERAND (_p1, 0);
    6328                 :           0 :               tree _q31 = TREE_OPERAND (_p1, 1);
    6329                 :           0 :               {
    6330                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
    6331                 :           0 :                 tree res = generic_simplify_214 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6332                 :           0 :                 if (res) return res;
    6333                 :             :               }
    6334                 :           0 :               break;
    6335                 :             :             }
    6336                 :             :           default:;
    6337                 :             :           }
    6338                 :             :         break;
    6339                 :             :       }
    6340                 :    24625434 :     default:;
    6341                 :             :     }
    6342                 :    24625434 :   switch (TREE_CODE (_p1))
    6343                 :             :     {
    6344                 :        2036 :     case MINUS_EXPR:
    6345                 :        2036 :       {
    6346                 :        2036 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6347                 :        2036 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6348                 :        2036 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6349                 :             :           {
    6350                 :           0 :             {
    6351                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    6352                 :           0 :               tree res = generic_simplify_210 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6353                 :           0 :               if (res) return res;
    6354                 :             :             }
    6355                 :             :           }
    6356                 :             :         break;
    6357                 :             :       }
    6358                 :    24625434 :     default:;
    6359                 :             :     }
    6360                 :    24625434 :   switch (TREE_CODE (_p0))
    6361                 :             :     {
    6362                 :        3960 :     case TRUNC_DIV_EXPR:
    6363                 :        3960 :       {
    6364                 :        3960 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6365                 :        3960 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6366                 :        3960 :         if (integer_zerop (_p1))
    6367                 :             :           {
    6368                 :         317 :             {
    6369                 :         317 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6370                 :         317 :               tree res = generic_simplify_216 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR);
    6371                 :         317 :               if (res) return res;
    6372                 :             :             }
    6373                 :             :           }
    6374                 :             :         break;
    6375                 :             :       }
    6376                 :     4265675 :     CASE_CONVERT:
    6377                 :     4265675 :       {
    6378                 :     4265675 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6379                 :     4265675 :         switch (TREE_CODE (_p1))
    6380                 :             :           {
    6381                 :      993500 :           CASE_CONVERT:
    6382                 :      993500 :             {
    6383                 :      993500 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6384                 :      993500 :               switch (TREE_CODE (_q40))
    6385                 :             :                 {
    6386                 :           0 :                 case MINUS_EXPR:
    6387                 :           0 :                   {
    6388                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    6389                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    6390                 :           0 :                     switch (TREE_CODE (_q50))
    6391                 :             :                       {
    6392                 :           0 :                       case INTEGER_CST:
    6393                 :           0 :                         {
    6394                 :           0 :                           switch (TREE_CODE (_q51))
    6395                 :             :                             {
    6396                 :           0 :                             CASE_CONVERT:
    6397                 :           0 :                               {
    6398                 :           0 :                                 tree _q70 = TREE_OPERAND (_q51, 0);
    6399                 :           0 :                                 if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    6400                 :             :                                   {
    6401                 :           0 :                                     {
    6402                 :           0 :                                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
    6403                 :           0 :                                       tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6404                 :           0 :                                       if (res) return res;
    6405                 :             :                                     }
    6406                 :             :                                   }
    6407                 :             :                                 break;
    6408                 :             :                               }
    6409                 :             :                             default:;
    6410                 :             :                             }
    6411                 :             :                           break;
    6412                 :             :                         }
    6413                 :             :                       default:;
    6414                 :             :                       }
    6415                 :             :                     break;
    6416                 :             :                   }
    6417                 :             :                 default:;
    6418                 :             :                 }
    6419                 :             :               break;
    6420                 :             :             }
    6421                 :     4265675 :           default:;
    6422                 :             :           }
    6423                 :     4265675 :         switch (TREE_CODE (_q20))
    6424                 :             :           {
    6425                 :         246 :           case MINUS_EXPR:
    6426                 :         246 :             {
    6427                 :         246 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6428                 :         246 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6429                 :         246 :               switch (TREE_CODE (_q30))
    6430                 :             :                 {
    6431                 :          56 :                 case INTEGER_CST:
    6432                 :          56 :                   {
    6433                 :          56 :                     switch (TREE_CODE (_q31))
    6434                 :             :                       {
    6435                 :           0 :                       CASE_CONVERT:
    6436                 :           0 :                         {
    6437                 :           0 :                           tree _q50 = TREE_OPERAND (_q31, 0);
    6438                 :           0 :                           switch (TREE_CODE (_p1))
    6439                 :             :                             {
    6440                 :           0 :                             CASE_CONVERT:
    6441                 :           0 :                               {
    6442                 :           0 :                                 tree _q70 = TREE_OPERAND (_p1, 0);
    6443                 :           0 :                                 if ((_q70 == _q50 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q50, 0) && types_match (_q70, _q50)))
    6444                 :             :                                   {
    6445                 :           0 :                                     {
    6446                 :           0 :                                       tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
    6447                 :           0 :                                       tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6448                 :           0 :                                       if (res) return res;
    6449                 :             :                                     }
    6450                 :             :                                   }
    6451                 :             :                                 break;
    6452                 :             :                               }
    6453                 :           0 :                             default:;
    6454                 :             :                             }
    6455                 :           0 :                           if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    6456                 :             :                             {
    6457                 :           0 :                               {
    6458                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
    6459                 :           0 :                                 tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6460                 :           0 :                                 if (res) return res;
    6461                 :             :                               }
    6462                 :             :                             }
    6463                 :             :                           break;
    6464                 :             :                         }
    6465                 :          56 :                       default:;
    6466                 :             :                       }
    6467                 :          56 :                     switch (TREE_CODE (_p1))
    6468                 :             :                       {
    6469                 :           0 :                       CASE_CONVERT:
    6470                 :           0 :                         {
    6471                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    6472                 :           0 :                           if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
    6473                 :             :                             {
    6474                 :           0 :                               {
    6475                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q30 };
    6476                 :           0 :                                 tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6477                 :           0 :                                 if (res) return res;
    6478                 :             :                               }
    6479                 :             :                             }
    6480                 :             :                           break;
    6481                 :             :                         }
    6482                 :          56 :                       default:;
    6483                 :             :                       }
    6484                 :          56 :                     if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    6485                 :             :                       {
    6486                 :           0 :                         {
    6487                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q30 };
    6488                 :           0 :                           tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6489                 :           0 :                           if (res) return res;
    6490                 :             :                         }
    6491                 :             :                       }
    6492                 :             :                     break;
    6493                 :             :                   }
    6494                 :             :                 default:;
    6495                 :             :                 }
    6496                 :             :               break;
    6497                 :             :             }
    6498                 :     4265675 :           default:;
    6499                 :             :           }
    6500                 :     4265675 :         switch (TREE_CODE (_p1))
    6501                 :             :           {
    6502                 :      993500 :           CASE_CONVERT:
    6503                 :      993500 :             {
    6504                 :      993500 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6505                 :      993500 :               switch (TREE_CODE (_q40))
    6506                 :             :                 {
    6507                 :           0 :                 case MINUS_EXPR:
    6508                 :           0 :                   {
    6509                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    6510                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    6511                 :           0 :                     switch (TREE_CODE (_q50))
    6512                 :             :                       {
    6513                 :           0 :                       case INTEGER_CST:
    6514                 :           0 :                         {
    6515                 :           0 :                           if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6516                 :             :                             {
    6517                 :           0 :                               {
    6518                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
    6519                 :           0 :                                 tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6520                 :           0 :                                 if (res) return res;
    6521                 :             :                               }
    6522                 :             :                             }
    6523                 :             :                           break;
    6524                 :             :                         }
    6525                 :             :                       default:;
    6526                 :             :                       }
    6527                 :             :                     break;
    6528                 :             :                   }
    6529                 :             :                 default:;
    6530                 :             :                 }
    6531                 :             :               break;
    6532                 :             :             }
    6533                 :         254 :           case MINUS_EXPR:
    6534                 :         254 :             {
    6535                 :         254 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6536                 :         254 :               tree _q41 = TREE_OPERAND (_p1, 1);
    6537                 :         254 :               switch (TREE_CODE (_q40))
    6538                 :             :                 {
    6539                 :          55 :                 case INTEGER_CST:
    6540                 :          55 :                   {
    6541                 :          55 :                     switch (TREE_CODE (_q41))
    6542                 :             :                       {
    6543                 :          12 :                       CASE_CONVERT:
    6544                 :          12 :                         {
    6545                 :          12 :                           tree _q60 = TREE_OPERAND (_q41, 0);
    6546                 :          12 :                           if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    6547                 :             :                             {
    6548                 :           0 :                               {
    6549                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6550                 :           0 :                                 tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6551                 :           0 :                                 if (res) return res;
    6552                 :             :                               }
    6553                 :             :                             }
    6554                 :             :                           break;
    6555                 :             :                         }
    6556                 :          55 :                       default:;
    6557                 :             :                       }
    6558                 :          55 :                     if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    6559                 :             :                       {
    6560                 :           0 :                         {
    6561                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6562                 :           0 :                           tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6563                 :           0 :                           if (res) return res;
    6564                 :             :                         }
    6565                 :             :                       }
    6566                 :             :                     break;
    6567                 :             :                   }
    6568                 :             :                 default:;
    6569                 :             :                 }
    6570                 :             :               break;
    6571                 :             :             }
    6572                 :             :           default:;
    6573                 :             :           }
    6574                 :             :         break;
    6575                 :             :       }
    6576                 :      108791 :     case MINUS_EXPR:
    6577                 :      108791 :       {
    6578                 :      108791 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6579                 :      108791 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6580                 :      108791 :         switch (TREE_CODE (_q20))
    6581                 :             :           {
    6582                 :       35415 :           case INTEGER_CST:
    6583                 :       35415 :             {
    6584                 :       35415 :               switch (TREE_CODE (_q21))
    6585                 :             :                 {
    6586                 :       16663 :                 CASE_CONVERT:
    6587                 :       16663 :                   {
    6588                 :       16663 :                     tree _q40 = TREE_OPERAND (_q21, 0);
    6589                 :       16663 :                     switch (TREE_CODE (_p1))
    6590                 :             :                       {
    6591                 :           0 :                       CASE_CONVERT:
    6592                 :           0 :                         {
    6593                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    6594                 :           0 :                           if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    6595                 :             :                             {
    6596                 :           0 :                               {
    6597                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    6598                 :           0 :                                 tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6599                 :           0 :                                 if (res) return res;
    6600                 :             :                               }
    6601                 :             :                             }
    6602                 :             :                           break;
    6603                 :             :                         }
    6604                 :       16663 :                       default:;
    6605                 :             :                       }
    6606                 :       16663 :                     if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6607                 :             :                       {
    6608                 :           0 :                         {
    6609                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    6610                 :           0 :                           tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6611                 :           0 :                           if (res) return res;
    6612                 :             :                         }
    6613                 :             :                       }
    6614                 :             :                     break;
    6615                 :             :                   }
    6616                 :       35415 :                 default:;
    6617                 :             :                 }
    6618                 :       35415 :               switch (TREE_CODE (_p1))
    6619                 :             :                 {
    6620                 :           2 :                 CASE_CONVERT:
    6621                 :           2 :                   {
    6622                 :           2 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    6623                 :           2 :                     if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6624                 :             :                       {
    6625                 :           0 :                         {
    6626                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6627                 :           0 :                           tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6628                 :           0 :                           if (res) return res;
    6629                 :             :                         }
    6630                 :             :                       }
    6631                 :             :                     break;
    6632                 :             :                   }
    6633                 :       35415 :                 default:;
    6634                 :             :                 }
    6635                 :       35415 :               if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6636                 :             :                 {
    6637                 :           8 :                   {
    6638                 :           8 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6639                 :           8 :                     tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6640                 :           8 :                     if (res) return res;
    6641                 :             :                   }
    6642                 :             :                 }
    6643                 :             :               break;
    6644                 :             :             }
    6645                 :             :           default:;
    6646                 :             :           }
    6647                 :             :         break;
    6648                 :             :       }
    6649                 :    24625198 :     default:;
    6650                 :             :     }
    6651                 :    24625198 :   switch (TREE_CODE (_p1))
    6652                 :             :     {
    6653                 :     1306672 :     CASE_CONVERT:
    6654                 :     1306672 :       {
    6655                 :     1306672 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6656                 :     1306672 :         switch (TREE_CODE (_q30))
    6657                 :             :           {
    6658                 :          12 :           case MINUS_EXPR:
    6659                 :          12 :             {
    6660                 :          12 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6661                 :          12 :               tree _q41 = TREE_OPERAND (_q30, 1);
    6662                 :          12 :               switch (TREE_CODE (_q40))
    6663                 :             :                 {
    6664                 :          12 :                 case INTEGER_CST:
    6665                 :          12 :                   {
    6666                 :          12 :                     switch (TREE_CODE (_q41))
    6667                 :             :                       {
    6668                 :          12 :                       CASE_CONVERT:
    6669                 :          12 :                         {
    6670                 :          12 :                           tree _q60 = TREE_OPERAND (_q41, 0);
    6671                 :          12 :                           if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    6672                 :             :                             {
    6673                 :           0 :                               {
    6674                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
    6675                 :           0 :                                 tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6676                 :           0 :                                 if (res) return res;
    6677                 :             :                               }
    6678                 :             :                             }
    6679                 :             :                           break;
    6680                 :             :                         }
    6681                 :          12 :                       default:;
    6682                 :             :                       }
    6683                 :          12 :                     if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    6684                 :             :                       {
    6685                 :           0 :                         {
    6686                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
    6687                 :           0 :                           tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6688                 :           0 :                           if (res) return res;
    6689                 :             :                         }
    6690                 :             :                       }
    6691                 :             :                     break;
    6692                 :             :                   }
    6693                 :             :                 default:;
    6694                 :             :                 }
    6695                 :             :               break;
    6696                 :             :             }
    6697                 :             :           default:;
    6698                 :             :           }
    6699                 :             :         break;
    6700                 :             :       }
    6701                 :        2036 :     case MINUS_EXPR:
    6702                 :        2036 :       {
    6703                 :        2036 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6704                 :        2036 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6705                 :        2036 :         switch (TREE_CODE (_q30))
    6706                 :             :           {
    6707                 :         130 :           case INTEGER_CST:
    6708                 :         130 :             {
    6709                 :         130 :               switch (TREE_CODE (_q31))
    6710                 :             :                 {
    6711                 :          12 :                 CASE_CONVERT:
    6712                 :          12 :                   {
    6713                 :          12 :                     tree _q50 = TREE_OPERAND (_q31, 0);
    6714                 :          12 :                     if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6715                 :             :                       {
    6716                 :           0 :                         {
    6717                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    6718                 :           0 :                           tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6719                 :           0 :                           if (res) return res;
    6720                 :             :                         }
    6721                 :             :                       }
    6722                 :             :                     break;
    6723                 :             :                   }
    6724                 :         130 :                 default:;
    6725                 :             :                 }
    6726                 :         130 :               if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6727                 :             :                 {
    6728                 :           0 :                   {
    6729                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    6730                 :           0 :                     tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6731                 :           0 :                     if (res) return res;
    6732                 :             :                   }
    6733                 :             :                 }
    6734                 :             :               break;
    6735                 :             :             }
    6736                 :             :           default:;
    6737                 :             :           }
    6738                 :             :         break;
    6739                 :             :       }
    6740                 :    24625198 :     default:;
    6741                 :             :     }
    6742                 :    24625198 :   switch (TREE_CODE (_p0))
    6743                 :             :     {
    6744                 :        1186 :     case LT_EXPR:
    6745                 :        1186 :       {
    6746                 :        1186 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6747                 :        1186 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6748                 :        1186 :         switch (TREE_CODE (_p1))
    6749                 :             :           {
    6750                 :          22 :           case GT_EXPR:
    6751                 :          22 :             {
    6752                 :          22 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6753                 :          22 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6754                 :          22 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6755                 :             :                 {
    6756                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6757                 :             :                     {
    6758                 :           0 :                       {
    6759                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6760                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR, EQ_EXPR);
    6761                 :           0 :                         if (res) return res;
    6762                 :             :                       }
    6763                 :             :                     }
    6764                 :             :                 }
    6765                 :             :               break;
    6766                 :             :             }
    6767                 :           0 :           case EQ_EXPR:
    6768                 :           0 :             {
    6769                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6770                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6771                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6772                 :             :                 {
    6773                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6774                 :             :                     {
    6775                 :           0 :                       {
    6776                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6777                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR, GT_EXPR);
    6778                 :           0 :                         if (res) return res;
    6779                 :             :                       }
    6780                 :             :                     }
    6781                 :             :                 }
    6782                 :             :               break;
    6783                 :             :             }
    6784                 :           3 :           case NE_EXPR:
    6785                 :           3 :             {
    6786                 :           3 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6787                 :           3 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6788                 :           3 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6789                 :             :                 {
    6790                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6791                 :             :                     {
    6792                 :           0 :                       {
    6793                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6794                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, LE_EXPR);
    6795                 :           0 :                         if (res) return res;
    6796                 :             :                       }
    6797                 :             :                     }
    6798                 :             :                 }
    6799                 :             :               break;
    6800                 :             :             }
    6801                 :             :           default:;
    6802                 :             :           }
    6803                 :             :         break;
    6804                 :             :       }
    6805                 :        1672 :     case LE_EXPR:
    6806                 :        1672 :       {
    6807                 :        1672 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6808                 :        1672 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6809                 :        1672 :         switch (TREE_CODE (_p1))
    6810                 :             :           {
    6811                 :          14 :           case GE_EXPR:
    6812                 :          14 :             {
    6813                 :          14 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6814                 :          14 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6815                 :          14 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6816                 :             :                 {
    6817                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6818                 :             :                     {
    6819                 :           0 :                       {
    6820                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6821                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR, EQ_EXPR);
    6822                 :           0 :                         if (res) return res;
    6823                 :             :                       }
    6824                 :             :                     }
    6825                 :             :                 }
    6826                 :             :               break;
    6827                 :             :             }
    6828                 :           0 :           case EQ_EXPR:
    6829                 :           0 :             {
    6830                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6831                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6832                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6833                 :             :                 {
    6834                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6835                 :             :                     {
    6836                 :           0 :                       {
    6837                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6838                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, GE_EXPR);
    6839                 :           0 :                         if (res) return res;
    6840                 :             :                       }
    6841                 :             :                     }
    6842                 :             :                 }
    6843                 :             :               break;
    6844                 :             :             }
    6845                 :           8 :           case NE_EXPR:
    6846                 :           8 :             {
    6847                 :           8 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6848                 :           8 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6849                 :           8 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6850                 :             :                 {
    6851                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6852                 :             :                     {
    6853                 :           0 :                       {
    6854                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6855                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, LT_EXPR);
    6856                 :           0 :                         if (res) return res;
    6857                 :             :                       }
    6858                 :             :                     }
    6859                 :             :                 }
    6860                 :             :               break;
    6861                 :             :             }
    6862                 :             :           default:;
    6863                 :             :           }
    6864                 :             :         break;
    6865                 :             :       }
    6866                 :       29403 :     case GT_EXPR:
    6867                 :       29403 :       {
    6868                 :       29403 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6869                 :       29403 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6870                 :       29403 :         switch (TREE_CODE (_p1))
    6871                 :             :           {
    6872                 :       27598 :           case GT_EXPR:
    6873                 :       27598 :             {
    6874                 :       27598 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6875                 :       27598 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6876                 :       27598 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6877                 :             :                 {
    6878                 :          12 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6879                 :             :                     {
    6880                 :           0 :                       {
    6881                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6882                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR, EQ_EXPR);
    6883                 :           0 :                         if (res) return res;
    6884                 :             :                       }
    6885                 :           0 :                       {
    6886                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6887                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR, EQ_EXPR);
    6888                 :           0 :                         if (res) return res;
    6889                 :             :                       }
    6890                 :             :                     }
    6891                 :             :                 }
    6892                 :             :               break;
    6893                 :             :             }
    6894                 :          59 :           case EQ_EXPR:
    6895                 :          59 :             {
    6896                 :          59 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6897                 :          59 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6898                 :          59 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6899                 :             :                 {
    6900                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6901                 :             :                     {
    6902                 :           0 :                       {
    6903                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6904                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR, GT_EXPR);
    6905                 :           0 :                         if (res) return res;
    6906                 :             :                       }
    6907                 :             :                     }
    6908                 :             :                 }
    6909                 :             :               break;
    6910                 :             :             }
    6911                 :          37 :           case NE_EXPR:
    6912                 :          37 :             {
    6913                 :          37 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6914                 :          37 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6915                 :          37 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6916                 :             :                 {
    6917                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6918                 :             :                     {
    6919                 :           0 :                       {
    6920                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6921                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, LE_EXPR);
    6922                 :           0 :                         if (res) return res;
    6923                 :             :                       }
    6924                 :             :                     }
    6925                 :             :                 }
    6926                 :             :               break;
    6927                 :             :             }
    6928                 :          55 :           case LT_EXPR:
    6929                 :          55 :             {
    6930                 :          55 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6931                 :          55 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6932                 :          55 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6933                 :             :                 {
    6934                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6935                 :             :                     {
    6936                 :           0 :                       {
    6937                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6938                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR, EQ_EXPR);
    6939                 :           0 :                         if (res) return res;
    6940                 :             :                       }
    6941                 :             :                     }
    6942                 :             :                 }
    6943                 :             :               break;
    6944                 :             :             }
    6945                 :             :           default:;
    6946                 :             :           }
    6947                 :             :         break;
    6948                 :             :       }
    6949                 :        6468 :     case GE_EXPR:
    6950                 :        6468 :       {
    6951                 :        6468 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6952                 :        6468 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6953                 :        6468 :         switch (TREE_CODE (_p1))
    6954                 :             :           {
    6955                 :          34 :           case GE_EXPR:
    6956                 :          34 :             {
    6957                 :          34 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6958                 :          34 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6959                 :          34 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6960                 :             :                 {
    6961                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6962                 :             :                     {
    6963                 :           0 :                       {
    6964                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6965                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR, EQ_EXPR);
    6966                 :           0 :                         if (res) return res;
    6967                 :             :                       }
    6968                 :           0 :                       {
    6969                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6970                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR, EQ_EXPR);
    6971                 :           0 :                         if (res) return res;
    6972                 :             :                       }
    6973                 :             :                     }
    6974                 :             :                 }
    6975                 :             :               break;
    6976                 :             :             }
    6977                 :          84 :           case EQ_EXPR:
    6978                 :          84 :             {
    6979                 :          84 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6980                 :          84 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6981                 :          84 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6982                 :             :                 {
    6983                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6984                 :             :                     {
    6985                 :           0 :                       {
    6986                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6987                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, GE_EXPR);
    6988                 :           0 :                         if (res) return res;
    6989                 :             :                       }
    6990                 :             :                     }
    6991                 :             :                 }
    6992                 :             :               break;
    6993                 :             :             }
    6994                 :          56 :           case NE_EXPR:
    6995                 :          56 :             {
    6996                 :          56 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6997                 :          56 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6998                 :          56 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6999                 :             :                 {
    7000                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7001                 :             :                     {
    7002                 :           0 :                       {
    7003                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7004                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, LT_EXPR);
    7005                 :           0 :                         if (res) return res;
    7006                 :             :                       }
    7007                 :             :                     }
    7008                 :             :                 }
    7009                 :             :               break;
    7010                 :             :             }
    7011                 :          10 :           case LE_EXPR:
    7012                 :          10 :             {
    7013                 :          10 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7014                 :          10 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7015                 :          10 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7016                 :             :                 {
    7017                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7018                 :             :                     {
    7019                 :           0 :                       {
    7020                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7021                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR, EQ_EXPR);
    7022                 :           0 :                         if (res) return res;
    7023                 :             :                       }
    7024                 :             :                     }
    7025                 :             :                 }
    7026                 :             :               break;
    7027                 :             :             }
    7028                 :             :           default:;
    7029                 :             :           }
    7030                 :             :         break;
    7031                 :             :       }
    7032                 :       30664 :     case EQ_EXPR:
    7033                 :       30664 :       {
    7034                 :       30664 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7035                 :       30664 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7036                 :       30664 :         switch (TREE_CODE (_p1))
    7037                 :             :           {
    7038                 :           4 :           case LT_EXPR:
    7039                 :           4 :             {
    7040                 :           4 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7041                 :           4 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7042                 :           4 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7043                 :             :                 {
    7044                 :           4 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7045                 :             :                     {
    7046                 :           0 :                       {
    7047                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7048                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR, GT_EXPR);
    7049                 :           0 :                         if (res) return res;
    7050                 :             :                       }
    7051                 :             :                     }
    7052                 :             :                 }
    7053                 :             :               break;
    7054                 :             :             }
    7055                 :           4 :           case LE_EXPR:
    7056                 :           4 :             {
    7057                 :           4 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7058                 :           4 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7059                 :           4 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7060                 :             :                 {
    7061                 :           4 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7062                 :             :                     {
    7063                 :           0 :                       {
    7064                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7065                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, GE_EXPR);
    7066                 :           0 :                         if (res) return res;
    7067                 :             :                       }
    7068                 :             :                     }
    7069                 :             :                 }
    7070                 :             :               break;
    7071                 :             :             }
    7072                 :          73 :           case GT_EXPR:
    7073                 :          73 :             {
    7074                 :          73 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7075                 :          73 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7076                 :          73 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7077                 :             :                 {
    7078                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7079                 :             :                     {
    7080                 :           0 :                       {
    7081                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7082                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR, GT_EXPR);
    7083                 :           0 :                         if (res) return res;
    7084                 :             :                       }
    7085                 :             :                     }
    7086                 :             :                 }
    7087                 :             :               break;
    7088                 :             :             }
    7089                 :         118 :           case GE_EXPR:
    7090                 :         118 :             {
    7091                 :         118 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7092                 :         118 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7093                 :         118 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7094                 :             :                 {
    7095                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7096                 :             :                     {
    7097                 :           0 :                       {
    7098                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7099                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, GE_EXPR);
    7100                 :           0 :                         if (res) return res;
    7101                 :             :                       }
    7102                 :             :                     }
    7103                 :             :                 }
    7104                 :             :               break;
    7105                 :             :             }
    7106                 :             :           default:;
    7107                 :             :           }
    7108                 :             :         break;
    7109                 :             :       }
    7110                 :       11038 :     case NE_EXPR:
    7111                 :       11038 :       {
    7112                 :       11038 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7113                 :       11038 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7114                 :       11038 :         switch (TREE_CODE (_p1))
    7115                 :             :           {
    7116                 :           3 :           case LT_EXPR:
    7117                 :           3 :             {
    7118                 :           3 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7119                 :           3 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7120                 :           3 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7121                 :             :                 {
    7122                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7123                 :             :                     {
    7124                 :           0 :                       {
    7125                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7126                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, LE_EXPR);
    7127                 :           0 :                         if (res) return res;
    7128                 :             :                       }
    7129                 :             :                     }
    7130                 :             :                 }
    7131                 :             :               break;
    7132                 :             :             }
    7133                 :           0 :           case LE_EXPR:
    7134                 :           0 :             {
    7135                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7136                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7137                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7138                 :             :                 {
    7139                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7140                 :             :                     {
    7141                 :           0 :                       {
    7142                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7143                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, LT_EXPR);
    7144                 :           0 :                         if (res) return res;
    7145                 :             :                       }
    7146                 :             :                     }
    7147                 :             :                 }
    7148                 :             :               break;
    7149                 :             :             }
    7150                 :          21 :           case GT_EXPR:
    7151                 :          21 :             {
    7152                 :          21 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7153                 :          21 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7154                 :          21 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7155                 :             :                 {
    7156                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7157                 :             :                     {
    7158                 :           0 :                       {
    7159                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7160                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, LE_EXPR);
    7161                 :           0 :                         if (res) return res;
    7162                 :             :                       }
    7163                 :             :                     }
    7164                 :             :                 }
    7165                 :             :               break;
    7166                 :             :             }
    7167                 :           2 :           case GE_EXPR:
    7168                 :           2 :             {
    7169                 :           2 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7170                 :           2 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7171                 :           2 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7172                 :             :                 {
    7173                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7174                 :             :                     {
    7175                 :           0 :                       {
    7176                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7177                 :           0 :                         tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, LT_EXPR);
    7178                 :           0 :                         if (res) return res;
    7179                 :             :                       }
    7180                 :             :                     }
    7181                 :             :                 }
    7182                 :             :               break;
    7183                 :             :             }
    7184                 :             :           default:;
    7185                 :             :           }
    7186                 :             :         break;
    7187                 :             :       }
    7188                 :       13349 :     case MIN_EXPR:
    7189                 :       13349 :       {
    7190                 :       13349 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7191                 :       13349 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7192                 :       13349 :         switch (TREE_CODE (_p1))
    7193                 :             :           {
    7194                 :           0 :           case MAX_EXPR:
    7195                 :           0 :             {
    7196                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7197                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7198                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7199                 :             :                 {
    7200                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7201                 :             :                     {
    7202                 :           0 :                       {
    7203                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7204                 :           0 :                         if (!HONOR_NANS (captures[0])
    7205                 :             : )
    7206                 :             :                           {
    7207                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1526;
    7208                 :           0 :                             {
    7209                 :           0 :                               tree res_op0;
    7210                 :           0 :                               res_op0 = captures[0];
    7211                 :           0 :                               tree res_op1;
    7212                 :           0 :                               res_op1 = captures[1];
    7213                 :           0 :                               tree _r;
    7214                 :           0 :                               _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    7215                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
    7216                 :           0 :                               return _r;
    7217                 :             :                             }
    7218                 :           0 : next_after_fail1526:;
    7219                 :             :                           }
    7220                 :             :                       }
    7221                 :             :                     }
    7222                 :             :                 }
    7223                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7224                 :             :                 {
    7225                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7226                 :             :                     {
    7227                 :           0 :                       {
    7228                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7229                 :           0 :                         if (!HONOR_NANS (captures[0])
    7230                 :             : )
    7231                 :             :                           {
    7232                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1527;
    7233                 :           0 :                             {
    7234                 :           0 :                               tree res_op0;
    7235                 :           0 :                               res_op0 = captures[0];
    7236                 :           0 :                               tree res_op1;
    7237                 :           0 :                               res_op1 = captures[1];
    7238                 :           0 :                               tree _r;
    7239                 :           0 :                               _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    7240                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
    7241                 :           0 :                               return _r;
    7242                 :             :                             }
    7243                 :           0 : next_after_fail1527:;
    7244                 :             :                           }
    7245                 :             :                       }
    7246                 :             :                     }
    7247                 :             :                 }
    7248                 :             :               break;
    7249                 :             :             }
    7250                 :       13349 :           default:;
    7251                 :             :           }
    7252                 :       13349 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7253                 :             :           {
    7254                 :           0 :             {
    7255                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7256                 :           0 :               tree res = generic_simplify_220 (loc, type, _p0, _p1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR);
    7257                 :           0 :               if (res) return res;
    7258                 :             :             }
    7259                 :             :           }
    7260                 :       13349 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    7261                 :             :           {
    7262                 :           0 :             {
    7263                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7264                 :           0 :               tree res = generic_simplify_220 (loc, type, _p0, _p1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR);
    7265                 :           0 :               if (res) return res;
    7266                 :             :             }
    7267                 :             :           }
    7268                 :             :         break;
    7269                 :             :       }
    7270                 :         618 :     case MAX_EXPR:
    7271                 :         618 :       {
    7272                 :         618 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7273                 :         618 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7274                 :         618 :         switch (TREE_CODE (_p1))
    7275                 :             :           {
    7276                 :           0 :           case MIN_EXPR:
    7277                 :           0 :             {
    7278                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7279                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7280                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7281                 :             :                 {
    7282                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7283                 :             :                     {
    7284                 :           0 :                       {
    7285                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7286                 :           0 :                         if (!HONOR_NANS (captures[0])
    7287                 :             : )
    7288                 :             :                           {
    7289                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1528;
    7290                 :           0 :                             {
    7291                 :           0 :                               tree res_op0;
    7292                 :           0 :                               res_op0 = captures[0];
    7293                 :           0 :                               tree res_op1;
    7294                 :           0 :                               res_op1 = captures[1];
    7295                 :           0 :                               tree _r;
    7296                 :           0 :                               _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    7297                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
    7298                 :           0 :                               return _r;
    7299                 :             :                             }
    7300                 :           0 : next_after_fail1528:;
    7301                 :             :                           }
    7302                 :             :                       }
    7303                 :             :                     }
    7304                 :             :                 }
    7305                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7306                 :             :                 {
    7307                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7308                 :             :                     {
    7309                 :           0 :                       {
    7310                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7311                 :           0 :                         if (!HONOR_NANS (captures[0])
    7312                 :             : )
    7313                 :             :                           {
    7314                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1529;
    7315                 :           0 :                             {
    7316                 :           0 :                               tree res_op0;
    7317                 :           0 :                               res_op0 = captures[0];
    7318                 :           0 :                               tree res_op1;
    7319                 :           0 :                               res_op1 = captures[1];
    7320                 :           0 :                               tree _r;
    7321                 :           0 :                               _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    7322                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
    7323                 :           0 :                               return _r;
    7324                 :             :                             }
    7325                 :           0 : next_after_fail1529:;
    7326                 :             :                           }
    7327                 :             :                       }
    7328                 :             :                     }
    7329                 :             :                 }
    7330                 :             :               break;
    7331                 :             :             }
    7332                 :         618 :           default:;
    7333                 :             :           }
    7334                 :         618 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7335                 :             :           {
    7336                 :           0 :             {
    7337                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7338                 :           0 :               tree res = generic_simplify_220 (loc, type, _p0, _p1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR);
    7339                 :           0 :               if (res) return res;
    7340                 :             :             }
    7341                 :             :           }
    7342                 :         618 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    7343                 :             :           {
    7344                 :          40 :             {
    7345                 :          40 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7346                 :          40 :               tree res = generic_simplify_220 (loc, type, _p0, _p1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR);
    7347                 :          40 :               if (res) return res;
    7348                 :             :             }
    7349                 :             :           }
    7350                 :             :         break;
    7351                 :             :       }
    7352                 :    24625159 :     default:;
    7353                 :             :     }
    7354                 :    24625159 : if (tree_with_possible_nonzero_bits (_p0))
    7355                 :             :   {
    7356                 :     9408749 :     if (tree_with_known_nonzero_bits (_p1))
    7357                 :             :       {
    7358                 :     8170967 :         {
    7359                 :     8170967 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    7360                 :     8170967 :           tree res = generic_simplify_218 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7361                 :     8170967 :           if (res) return res;
    7362                 :             :         }
    7363                 :             :       }
    7364                 :             :   }
    7365                 :    24611364 : if (tree_with_known_nonzero_bits (_p0))
    7366                 :             :   {
    7367                 :     6173436 :     if (tree_with_possible_nonzero_bits (_p1))
    7368                 :             :       {
    7369                 :     6135243 :         {
    7370                 :     6135243 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
    7371                 :     6135243 :           tree res = generic_simplify_218 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7372                 :     6135243 :           if (res) return res;
    7373                 :             :         }
    7374                 :             :       }
    7375                 :             :   }
    7376                 :    24611055 :   switch (TREE_CODE (_p1))
    7377                 :             :     {
    7378                 :          38 :     case MIN_EXPR:
    7379                 :          38 :       {
    7380                 :          38 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7381                 :          38 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7382                 :          38 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7383                 :             :           {
    7384                 :           0 :             {
    7385                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    7386                 :           0 :               tree res = generic_simplify_220 (loc, type, _p0, _p1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR);
    7387                 :           0 :               if (res) return res;
    7388                 :             :             }
    7389                 :             :           }
    7390                 :          38 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    7391                 :             :           {
    7392                 :           0 :             {
    7393                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    7394                 :           0 :               tree res = generic_simplify_220 (loc, type, _p0, _p1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR);
    7395                 :           0 :               if (res) return res;
    7396                 :             :             }
    7397                 :             :           }
    7398                 :             :         break;
    7399                 :             :       }
    7400                 :          40 :     case MAX_EXPR:
    7401                 :          40 :       {
    7402                 :          40 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7403                 :          40 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7404                 :          40 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7405                 :             :           {
    7406                 :           0 :             {
    7407                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    7408                 :           0 :               tree res = generic_simplify_220 (loc, type, _p0, _p1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR);
    7409                 :           0 :               if (res) return res;
    7410                 :             :             }
    7411                 :             :           }
    7412                 :          40 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    7413                 :             :           {
    7414                 :           0 :             {
    7415                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    7416                 :           0 :               tree res = generic_simplify_220 (loc, type, _p0, _p1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR);
    7417                 :           0 :               if (res) return res;
    7418                 :             :             }
    7419                 :             :           }
    7420                 :             :         break;
    7421                 :             :       }
    7422                 :    24611055 :     default:;
    7423                 :             :     }
    7424                 :    24611055 :   switch (TREE_CODE (_p0))
    7425                 :             :     {
    7426                 :       13349 :     case MIN_EXPR:
    7427                 :       13349 :       {
    7428                 :       13349 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7429                 :       13349 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7430                 :       13349 :         switch (TREE_CODE (_q21))
    7431                 :             :           {
    7432                 :          84 :           case INTEGER_CST:
    7433                 :          84 :             {
    7434                 :          84 :               switch (TREE_CODE (_p1))
    7435                 :             :                 {
    7436                 :           0 :                 case INTEGER_CST:
    7437                 :           0 :                   {
    7438                 :           0 :                     {
    7439                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7440                 :           0 :                       tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7441                 :           0 :                       if (res) return res;
    7442                 :             :                     }
    7443                 :           0 :                     break;
    7444                 :             :                   }
    7445                 :             :                 default:;
    7446                 :             :                 }
    7447                 :             :               break;
    7448                 :             :             }
    7449                 :             :           default:;
    7450                 :             :           }
    7451                 :             :         break;
    7452                 :             :       }
    7453                 :         579 :     case MAX_EXPR:
    7454                 :         579 :       {
    7455                 :         579 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7456                 :         579 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7457                 :         579 :         switch (TREE_CODE (_q21))
    7458                 :             :           {
    7459                 :         381 :           case INTEGER_CST:
    7460                 :         381 :             {
    7461                 :         381 :               switch (TREE_CODE (_p1))
    7462                 :             :                 {
    7463                 :          42 :                 case INTEGER_CST:
    7464                 :          42 :                   {
    7465                 :          42 :                     {
    7466                 :          42 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7467                 :          42 :                       tree res = generic_simplify_222 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7468                 :          42 :                       if (res) return res;
    7469                 :             :                     }
    7470                 :           0 :                     break;
    7471                 :             :                   }
    7472                 :             :                 default:;
    7473                 :             :                 }
    7474                 :             :               break;
    7475                 :             :             }
    7476                 :         537 :           default:;
    7477                 :             :           }
    7478                 :         537 :         if (integer_zerop (_p1))
    7479                 :             :           {
    7480                 :          11 :             {
    7481                 :          11 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7482                 :          11 :               tree res = generic_simplify_223 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7483                 :          11 :               if (res) return res;
    7484                 :             :             }
    7485                 :             :           }
    7486                 :             :         break;
    7487                 :             :       }
    7488                 :      907867 :     case BIT_AND_EXPR:
    7489                 :      907867 :       {
    7490                 :      907867 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7491                 :      907867 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7492                 :      907867 :         switch (TREE_CODE (_q20))
    7493                 :             :           {
    7494                 :         885 :           case LSHIFT_EXPR:
    7495                 :         885 :             {
    7496                 :         885 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7497                 :         885 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7498                 :         885 :               if (integer_pow2p (_q30))
    7499                 :             :                 {
    7500                 :         877 :                   if (integer_pow2p (_q21))
    7501                 :             :                     {
    7502                 :           1 :                       if (integer_zerop (_p1))
    7503                 :             :                         {
    7504                 :           1 :                           {
    7505                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q21 };
    7506                 :           1 :                             tree res = generic_simplify_224 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
    7507                 :           1 :                             if (res) return res;
    7508                 :             :                           }
    7509                 :             :                         }
    7510                 :             :                     }
    7511                 :             :                 }
    7512                 :         884 :               switch (TREE_CODE (_q31))
    7513                 :             :                 {
    7514                 :           0 :                 case INTEGER_CST:
    7515                 :           0 :                   {
    7516                 :           0 :                     switch (TREE_CODE (_q21))
    7517                 :             :                       {
    7518                 :           0 :                       case INTEGER_CST:
    7519                 :           0 :                         {
    7520                 :           0 :                           switch (TREE_CODE (_p1))
    7521                 :             :                             {
    7522                 :           0 :                             case INTEGER_CST:
    7523                 :           0 :                               {
    7524                 :           0 :                                 {
    7525                 :           0 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1 };
    7526                 :           0 :                                   tree res = generic_simplify_225 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7527                 :           0 :                                   if (res) return res;
    7528                 :             :                                 }
    7529                 :           0 :                                 break;
    7530                 :             :                               }
    7531                 :             :                             default:;
    7532                 :             :                             }
    7533                 :             :                           break;
    7534                 :             :                         }
    7535                 :             :                       default:;
    7536                 :             :                       }
    7537                 :             :                     break;
    7538                 :             :                   }
    7539                 :         884 :                 default:;
    7540                 :             :                 }
    7541                 :         884 :               if (integer_onep (_q30))
    7542                 :             :                 {
    7543                 :         876 :                   if (integer_pow2p (_q21))
    7544                 :             :                     {
    7545                 :           0 :                       if (integer_zerop (_p1))
    7546                 :             :                         {
    7547                 :           0 :                           {
    7548                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q21 };
    7549                 :           0 :                             tree res = generic_simplify_226 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
    7550                 :           0 :                             if (res) return res;
    7551                 :             :                           }
    7552                 :             :                         }
    7553                 :             :                     }
    7554                 :             :                 }
    7555                 :             :               break;
    7556                 :             :             }
    7557                 :        1770 :           case RSHIFT_EXPR:
    7558                 :        1770 :             {
    7559                 :        1770 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7560                 :        1770 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7561                 :        1770 :               if (integer_pow2p (_q30))
    7562                 :             :                 {
    7563                 :           1 :                   if (integer_pow2p (_q21))
    7564                 :             :                     {
    7565                 :           1 :                       if (integer_zerop (_p1))
    7566                 :             :                         {
    7567                 :           1 :                           {
    7568                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q21 };
    7569                 :           1 :                             tree res = generic_simplify_227 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
    7570                 :           1 :                             if (res) return res;
    7571                 :             :                           }
    7572                 :             :                         }
    7573                 :             :                     }
    7574                 :             :                 }
    7575                 :        1769 :               switch (TREE_CODE (_q31))
    7576                 :             :                 {
    7577                 :          17 :                 case INTEGER_CST:
    7578                 :          17 :                   {
    7579                 :          17 :                     switch (TREE_CODE (_q21))
    7580                 :             :                       {
    7581                 :          17 :                       case INTEGER_CST:
    7582                 :          17 :                         {
    7583                 :          17 :                           switch (TREE_CODE (_p1))
    7584                 :             :                             {
    7585                 :          17 :                             case INTEGER_CST:
    7586                 :          17 :                               {
    7587                 :          17 :                                 {
    7588                 :          17 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1 };
    7589                 :          17 :                                   tree res = generic_simplify_228 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7590                 :          17 :                                   if (res) return res;
    7591                 :             :                                 }
    7592                 :           0 :                                 break;
    7593                 :             :                               }
    7594                 :             :                             default:;
    7595                 :             :                             }
    7596                 :             :                           break;
    7597                 :             :                         }
    7598                 :             :                       default:;
    7599                 :             :                       }
    7600                 :             :                     break;
    7601                 :             :                   }
    7602                 :             :                 default:;
    7603                 :             :                 }
    7604                 :             :               break;
    7605                 :             :             }
    7606                 :      907848 :           default:;
    7607                 :             :           }
    7608                 :      907848 :       {
    7609                 :      907848 :         tree _q20_pops[1];
    7610                 :      907848 :         if (tree_nop_convert (_q20, _q20_pops))
    7611                 :             :           {
    7612                 :       26365 :             tree _q30 = _q20_pops[0];
    7613                 :       26365 :             switch (TREE_CODE (_q30))
    7614                 :             :               {
    7615                 :           0 :               case LSHIFT_EXPR:
    7616                 :           0 :                 {
    7617                 :           0 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    7618                 :           0 :                   tree _q41 = TREE_OPERAND (_q30, 1);
    7619                 :           0 :                   if (integer_onep (_q40))
    7620                 :             :                     {
    7621                 :           0 :                       if (integer_pow2p (_q21))
    7622                 :             :                         {
    7623                 :           0 :                           if (integer_zerop (_p1))
    7624                 :             :                             {
    7625                 :           0 :                               {
    7626                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q41, _q21 };
    7627                 :           0 :                                 tree res = generic_simplify_226 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
    7628                 :           0 :                                 if (res) return res;
    7629                 :             :                               }
    7630                 :             :                             }
    7631                 :             :                         }
    7632                 :             :                     }
    7633                 :             :                   break;
    7634                 :             :                 }
    7635                 :             :               default:;
    7636                 :             :               }
    7637                 :             :           }
    7638                 :             :       }
    7639                 :      907848 :         break;
    7640                 :             :       }
    7641                 :        1761 :     case LSHIFT_EXPR:
    7642                 :        1761 :       {
    7643                 :        1761 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7644                 :        1761 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7645                 :        1761 :         switch (TREE_CODE (_q20))
    7646                 :             :           {
    7647                 :         325 :           case INTEGER_CST:
    7648                 :         325 :             {
    7649                 :         325 :               switch (TREE_CODE (_p1))
    7650                 :             :                 {
    7651                 :          20 :                 case INTEGER_CST:
    7652                 :          20 :                   {
    7653                 :          20 :                     {
    7654                 :          20 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7655                 :          20 :                       tree res = generic_simplify_229 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7656                 :          20 :                       if (res) return res;
    7657                 :             :                     }
    7658                 :           3 :                     break;
    7659                 :             :                   }
    7660                 :             :                 default:;
    7661                 :             :                 }
    7662                 :             :               break;
    7663                 :             :             }
    7664                 :             :           default:;
    7665                 :             :           }
    7666                 :             :         break;
    7667                 :             :       }
    7668                 :           0 :     case LROTATE_EXPR:
    7669                 :           0 :       {
    7670                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7671                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7672                 :           0 :         switch (TREE_CODE (_p1))
    7673                 :             :           {
    7674                 :           0 :           case LROTATE_EXPR:
    7675                 :           0 :             {
    7676                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7677                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7678                 :           0 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7679                 :             :                 {
    7680                 :           0 :                   {
    7681                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    7682                 :           0 :                     tree res = generic_simplify_230 (loc, type, _p0, _p1, captures, LROTATE_EXPR, RROTATE_EXPR, EQ_EXPR);
    7683                 :           0 :                     if (res) return res;
    7684                 :             :                   }
    7685                 :             :                 }
    7686                 :             :               break;
    7687                 :             :             }
    7688                 :           0 :           default:;
    7689                 :             :           }
    7690                 :           0 :         switch (TREE_CODE (_q21))
    7691                 :             :           {
    7692                 :           0 :           case INTEGER_CST:
    7693                 :           0 :             {
    7694                 :           0 :               switch (TREE_CODE (_p1))
    7695                 :             :                 {
    7696                 :           0 :                 case INTEGER_CST:
    7697                 :           0 :                   {
    7698                 :           0 :                     {
    7699                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7700                 :           0 :                       tree res = generic_simplify_231 (loc, type, _p0, _p1, captures, LROTATE_EXPR, RROTATE_EXPR, EQ_EXPR);
    7701                 :           0 :                       if (res) return res;
    7702                 :             :                     }
    7703                 :           0 :                     break;
    7704                 :             :                   }
    7705                 :             :                 default:;
    7706                 :             :                 }
    7707                 :             :               break;
    7708                 :             :             }
    7709                 :           0 :           default:;
    7710                 :             :           }
    7711                 :           0 :         switch (TREE_CODE (_p1))
    7712                 :             :           {
    7713                 :           0 :           case INTEGER_CST:
    7714                 :           0 :             {
    7715                 :           0 :               {
    7716                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7717                 :           0 :                 tree res = generic_simplify_232 (loc, type, _p0, _p1, captures, LROTATE_EXPR, RROTATE_EXPR, EQ_EXPR);
    7718                 :           0 :                 if (res) return res;
    7719                 :             :               }
    7720                 :           0 :               break;
    7721                 :             :             }
    7722                 :             :           default:;
    7723                 :             :           }
    7724                 :             :         break;
    7725                 :             :       }
    7726                 :           6 :     case RROTATE_EXPR:
    7727                 :           6 :       {
    7728                 :           6 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7729                 :           6 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7730                 :           6 :         switch (TREE_CODE (_p1))
    7731                 :             :           {
    7732                 :           0 :           case RROTATE_EXPR:
    7733                 :           0 :             {
    7734                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7735                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7736                 :           0 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7737                 :             :                 {
    7738                 :           0 :                   {
    7739                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    7740                 :           0 :                     tree res = generic_simplify_230 (loc, type, _p0, _p1, captures, RROTATE_EXPR, LROTATE_EXPR, EQ_EXPR);
    7741                 :           0 :                     if (res) return res;
    7742                 :             :                   }
    7743                 :             :                 }
    7744                 :             :               break;
    7745                 :             :             }
    7746                 :           6 :           default:;
    7747                 :             :           }
    7748                 :           6 :         switch (TREE_CODE (_q21))
    7749                 :             :           {
    7750                 :           6 :           case INTEGER_CST:
    7751                 :           6 :             {
    7752                 :           6 :               switch (TREE_CODE (_p1))
    7753                 :             :                 {
    7754                 :           0 :                 case INTEGER_CST:
    7755                 :           0 :                   {
    7756                 :           0 :                     {
    7757                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7758                 :           0 :                       tree res = generic_simplify_231 (loc, type, _p0, _p1, captures, RROTATE_EXPR, LROTATE_EXPR, EQ_EXPR);
    7759                 :           0 :                       if (res) return res;
    7760                 :             :                     }
    7761                 :           0 :                     break;
    7762                 :             :                   }
    7763                 :             :                 default:;
    7764                 :             :                 }
    7765                 :             :               break;
    7766                 :             :             }
    7767                 :           6 :           default:;
    7768                 :             :           }
    7769                 :           6 :         switch (TREE_CODE (_p1))
    7770                 :             :           {
    7771                 :           0 :           case INTEGER_CST:
    7772                 :           0 :             {
    7773                 :           0 :               {
    7774                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7775                 :           0 :                 tree res = generic_simplify_232 (loc, type, _p0, _p1, captures, RROTATE_EXPR, LROTATE_EXPR, EQ_EXPR);
    7776                 :           0 :                 if (res) return res;
    7777                 :             :               }
    7778                 :           0 :               break;
    7779                 :             :             }
    7780                 :             :           default:;
    7781                 :             :           }
    7782                 :             :         break;
    7783                 :             :       }
    7784                 :       36730 :     case MULT_EXPR:
    7785                 :       36730 :       {
    7786                 :       36730 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7787                 :       36730 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7788                 :       36730 :         switch (TREE_CODE (_q20))
    7789                 :             :           {
    7790                 :          66 :           case TRUNC_DIV_EXPR:
    7791                 :          66 :             {
    7792                 :          66 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7793                 :          66 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7794                 :          66 :               if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    7795                 :             :                 {
    7796                 :          47 :                   if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    7797                 :             :                     {
    7798                 :          47 :                       {
    7799                 :          47 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    7800                 :          47 :                         tree res = generic_simplify_233 (loc, type, _p0, _p1, captures);
    7801                 :          47 :                         if (res) return res;
    7802                 :             :                       }
    7803                 :             :                     }
    7804                 :             :                 }
    7805                 :             :               break;
    7806                 :             :             }
    7807                 :       36683 :           default:;
    7808                 :             :           }
    7809                 :       36683 :         switch (TREE_CODE (_q21))
    7810                 :             :           {
    7811                 :           0 :           case TRUNC_DIV_EXPR:
    7812                 :           0 :             {
    7813                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
    7814                 :           0 :               tree _q41 = TREE_OPERAND (_q21, 1);
    7815                 :           0 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    7816                 :             :                 {
    7817                 :           0 :                   if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    7818                 :             :                     {
    7819                 :           0 :                       {
    7820                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q40, _q20 };
    7821                 :           0 :                         tree res = generic_simplify_233 (loc, type, _p0, _p1, captures);
    7822                 :           0 :                         if (res) return res;
    7823                 :             :                       }
    7824                 :             :                     }
    7825                 :             :                 }
    7826                 :             :               break;
    7827                 :             :             }
    7828                 :             :           default:;
    7829                 :             :           }
    7830                 :             :         break;
    7831                 :             :       }
    7832                 :    24610930 :     default:;
    7833                 :             :     }
    7834                 :    24610930 :   switch (TREE_CODE (_p1))
    7835                 :             :     {
    7836                 :        4134 :     case MULT_EXPR:
    7837                 :        4134 :       {
    7838                 :        4134 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7839                 :        4134 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7840                 :        4134 :         switch (TREE_CODE (_q30))
    7841                 :             :           {
    7842                 :           0 :           case TRUNC_DIV_EXPR:
    7843                 :           0 :             {
    7844                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7845                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7846                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    7847                 :             :                 {
    7848                 :           0 :                   if ((_q31 == _q41 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q41, 0) && types_match (_q31, _q41)))
    7849                 :             :                     {
    7850                 :           0 :                       {
    7851                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q41 };
    7852                 :           0 :                         tree res = generic_simplify_233 (loc, type, _p0, _p1, captures);
    7853                 :           0 :                         if (res) return res;
    7854                 :             :                       }
    7855                 :             :                     }
    7856                 :             :                 }
    7857                 :             :               break;
    7858                 :             :             }
    7859                 :        4134 :           default:;
    7860                 :             :           }
    7861                 :        4134 :         switch (TREE_CODE (_q31))
    7862                 :             :           {
    7863                 :           0 :           case TRUNC_DIV_EXPR:
    7864                 :           0 :             {
    7865                 :           0 :               tree _q50 = TREE_OPERAND (_q31, 0);
    7866                 :           0 :               tree _q51 = TREE_OPERAND (_q31, 1);
    7867                 :           0 :               if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    7868                 :             :                 {
    7869                 :           0 :                   if ((_q51 == _q30 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q30, 0) && types_match (_q51, _q30)))
    7870                 :             :                     {
    7871                 :           0 :                       {
    7872                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q31, _p0, _q30 };
    7873                 :           0 :                         tree res = generic_simplify_233 (loc, type, _p0, _p1, captures);
    7874                 :           0 :                         if (res) return res;
    7875                 :             :                       }
    7876                 :             :                     }
    7877                 :             :                 }
    7878                 :             :               break;
    7879                 :             :             }
    7880                 :             :           default:;
    7881                 :             :           }
    7882                 :             :         break;
    7883                 :             :       }
    7884                 :    24610930 :     default:;
    7885                 :             :     }
    7886                 :    24610930 :   switch (TREE_CODE (_p0))
    7887                 :             :     {
    7888                 :         130 :     case VEC_COND_EXPR:
    7889                 :         130 :       {
    7890                 :         130 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7891                 :         130 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7892                 :         130 :         tree _q22 = TREE_OPERAND (_p0, 2);
    7893                 :         130 :         switch (TREE_CODE (_p1))
    7894                 :             :           {
    7895                 :          27 :           case VEC_COND_EXPR:
    7896                 :          27 :             {
    7897                 :          27 :               tree _q60 = TREE_OPERAND (_p1, 0);
    7898                 :          27 :               tree _q61 = TREE_OPERAND (_p1, 1);
    7899                 :          27 :               tree _q62 = TREE_OPERAND (_p1, 2);
    7900                 :          27 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7901                 :             :                 {
    7902                 :           0 :                   {
    7903                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    7904                 :           0 :                     if (VECTOR_TYPE_P (type)
    7905                 :           0 :  && (TREE_CODE_CLASS (EQ_EXPR) != tcc_comparison
    7906                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
    7907                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    7908                 :             :  || (optimize_vectors_before_lowering_p ()
    7909                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    7910                 :             : )
    7911                 :             :                       {
    7912                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1530;
    7913                 :           0 :                         {
    7914                 :           0 :                           tree res_op0;
    7915                 :           0 :                           res_op0 = captures[1];
    7916                 :           0 :                           tree res_op1;
    7917                 :           0 :                           {
    7918                 :           0 :                             tree _o1[2], _r1;
    7919                 :           0 :                             _o1[0] = captures[2];
    7920                 :           0 :                             _o1[1] = captures[5];
    7921                 :           0 :                             _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    7922                 :           0 :                             if (EXPR_P (_r1))
    7923                 :           0 :                               goto next_after_fail1530;
    7924                 :           0 :                             res_op1 = _r1;
    7925                 :             :                           }
    7926                 :           0 :                           tree res_op2;
    7927                 :           0 :                           {
    7928                 :           0 :                             tree _o1[2], _r1;
    7929                 :           0 :                             _o1[0] = captures[3];
    7930                 :           0 :                             _o1[1] = captures[6];
    7931                 :           0 :                             _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    7932                 :           0 :                             if (EXPR_P (_r1))
    7933                 :           0 :                               goto next_after_fail1530;
    7934                 :           0 :                             res_op2 = _r1;
    7935                 :             :                           }
    7936                 :           0 :                           tree _r;
    7937                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7938                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
    7939                 :           0 :                           return _r;
    7940                 :             :                         }
    7941                 :           0 : next_after_fail1530:;
    7942                 :             :                       }
    7943                 :             :                   }
    7944                 :             :                 }
    7945                 :             :               break;
    7946                 :             :             }
    7947                 :         130 :           default:;
    7948                 :             :           }
    7949                 :         130 :         {
    7950                 :         130 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    7951                 :         130 :           if (VECTOR_TYPE_P (type)
    7952                 :         130 :  && (TREE_CODE_CLASS (EQ_EXPR) != tcc_comparison
    7953                 :         130 :  || types_match (type, TREE_TYPE (captures[2]))
    7954                 :         130 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    7955                 :             :  || (optimize_vectors_before_lowering_p ()
    7956                 :          79 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    7957                 :             : )
    7958                 :             :             {
    7959                 :         130 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1531;
    7960                 :         130 :               {
    7961                 :         130 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1531;
    7962                 :          22 :                 tree res_op0;
    7963                 :          22 :                 res_op0 = captures[1];
    7964                 :          22 :                 tree res_op1;
    7965                 :          22 :                 {
    7966                 :          22 :                   tree _o1[2], _r1;
    7967                 :          22 :                   _o1[0] = captures[2];
    7968                 :          22 :                   _o1[1] = unshare_expr (captures[4]);
    7969                 :          22 :                   _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    7970                 :          22 :                   if (EXPR_P (_r1))
    7971                 :           0 :                     goto next_after_fail1531;
    7972                 :          22 :                   res_op1 = _r1;
    7973                 :             :                 }
    7974                 :          22 :                 tree res_op2;
    7975                 :          22 :                 {
    7976                 :          22 :                   tree _o1[2], _r1;
    7977                 :          22 :                   _o1[0] = captures[3];
    7978                 :          22 :                   _o1[1] = captures[4];
    7979                 :          22 :                   _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    7980                 :          22 :                   if (EXPR_P (_r1))
    7981                 :           1 :                     goto next_after_fail1531;
    7982                 :          21 :                   res_op2 = _r1;
    7983                 :             :                 }
    7984                 :          21 :                 tree _r;
    7985                 :          21 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7986                 :          21 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
    7987                 :          21 :                 return _r;
    7988                 :             :               }
    7989                 :         109 : next_after_fail1531:;
    7990                 :             :             }
    7991                 :             :         }
    7992                 :         109 :         break;
    7993                 :             :       }
    7994                 :     1705503 :     case CALL_EXPR:
    7995                 :     1705503 :       switch (get_call_combined_fn (_p0))
    7996                 :             :         {
    7997                 :           0 :         case CFN_BUILT_IN_BSWAP128:
    7998                 :           0 :           if (call_expr_nargs (_p0) == 1)
    7999                 :             :     {
    8000                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8001                 :           0 :               switch (TREE_CODE (_p1))
    8002                 :             :                 {
    8003                 :           0 :                 case INTEGER_CST:
    8004                 :           0 :                   {
    8005                 :           0 :                     {
    8006                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8007                 :           0 :                       tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP128);
    8008                 :           0 :                       if (res) return res;
    8009                 :             :                     }
    8010                 :           0 :                     break;
    8011                 :             :                   }
    8012                 :           0 :                 case CALL_EXPR:
    8013                 :           0 :                   switch (get_call_combined_fn (_p1))
    8014                 :             :                     {
    8015                 :           0 :                     case CFN_BUILT_IN_BSWAP128:
    8016                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8017                 :             :     {
    8018                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8019                 :           0 :                           {
    8020                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    8021                 :           0 :                             tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP128);
    8022                 :           0 :                             if (res) return res;
    8023                 :             :                           }
    8024                 :             :                         }
    8025                 :             :                       break;
    8026                 :             :                     default:;
    8027                 :             :                     }
    8028                 :             :                   break;
    8029                 :             :                 default:;
    8030                 :             :                 }
    8031                 :             :             }
    8032                 :             :           break;
    8033                 :           2 :         case CFN_BUILT_IN_BSWAP16:
    8034                 :           2 :           if (call_expr_nargs (_p0) == 1)
    8035                 :             :     {
    8036                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8037                 :           2 :               switch (TREE_CODE (_p1))
    8038                 :             :                 {
    8039                 :           1 :                 case INTEGER_CST:
    8040                 :           1 :                   {
    8041                 :           1 :                     {
    8042                 :           1 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8043                 :           1 :                       tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP16);
    8044                 :           1 :                       if (res) return res;
    8045                 :             :                     }
    8046                 :           1 :                     break;
    8047                 :             :                   }
    8048                 :           1 :                 case CALL_EXPR:
    8049                 :           1 :                   switch (get_call_combined_fn (_p1))
    8050                 :             :                     {
    8051                 :           1 :                     case CFN_BUILT_IN_BSWAP16:
    8052                 :           1 :                       if (call_expr_nargs (_p1) == 1)
    8053                 :             :     {
    8054                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8055                 :           1 :                           {
    8056                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    8057                 :           1 :                             tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP16);
    8058                 :           1 :                             if (res) return res;
    8059                 :             :                           }
    8060                 :             :                         }
    8061                 :             :                       break;
    8062                 :             :                     default:;
    8063                 :             :                     }
    8064                 :             :                   break;
    8065                 :             :                 default:;
    8066                 :             :                 }
    8067                 :             :             }
    8068                 :             :           break;
    8069                 :           6 :         case CFN_BUILT_IN_BSWAP32:
    8070                 :           6 :           if (call_expr_nargs (_p0) == 1)
    8071                 :             :     {
    8072                 :           6 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8073                 :           6 :               switch (TREE_CODE (_p1))
    8074                 :             :                 {
    8075                 :           3 :                 case INTEGER_CST:
    8076                 :           3 :                   {
    8077                 :           3 :                     {
    8078                 :           3 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8079                 :           3 :                       tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP32);
    8080                 :           3 :                       if (res) return res;
    8081                 :             :                     }
    8082                 :           3 :                     break;
    8083                 :             :                   }
    8084                 :           3 :                 case CALL_EXPR:
    8085                 :           3 :                   switch (get_call_combined_fn (_p1))
    8086                 :             :                     {
    8087                 :           3 :                     case CFN_BUILT_IN_BSWAP32:
    8088                 :           3 :                       if (call_expr_nargs (_p1) == 1)
    8089                 :             :     {
    8090                 :           3 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8091                 :           3 :                           {
    8092                 :           3 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    8093                 :           3 :                             tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP32);
    8094                 :           3 :                             if (res) return res;
    8095                 :             :                           }
    8096                 :             :                         }
    8097                 :             :                       break;
    8098                 :             :                     default:;
    8099                 :             :                     }
    8100                 :             :                   break;
    8101                 :             :                 default:;
    8102                 :             :                 }
    8103                 :             :             }
    8104                 :             :           break;
    8105                 :           6 :         case CFN_BUILT_IN_BSWAP64:
    8106                 :           6 :           if (call_expr_nargs (_p0) == 1)
    8107                 :             :     {
    8108                 :           6 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8109                 :           6 :               switch (TREE_CODE (_p1))
    8110                 :             :                 {
    8111                 :           3 :                 case INTEGER_CST:
    8112                 :           3 :                   {
    8113                 :           3 :                     {
    8114                 :           3 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8115                 :           3 :                       tree res = generic_simplify_235 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP64);
    8116                 :           3 :                       if (res) return res;
    8117                 :             :                     }
    8118                 :           3 :                     break;
    8119                 :             :                   }
    8120                 :           3 :                 case CALL_EXPR:
    8121                 :           3 :                   switch (get_call_combined_fn (_p1))
    8122                 :             :                     {
    8123                 :           3 :                     case CFN_BUILT_IN_BSWAP64:
    8124                 :           3 :                       if (call_expr_nargs (_p1) == 1)
    8125                 :             :     {
    8126                 :           3 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8127                 :           3 :                           {
    8128                 :           3 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    8129                 :           3 :                             tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP64);
    8130                 :           3 :                             if (res) return res;
    8131                 :             :                           }
    8132                 :             :                         }
    8133                 :             :                       break;
    8134                 :             :                     default:;
    8135                 :             :                     }
    8136                 :             :                   break;
    8137                 :             :                 default:;
    8138                 :             :                 }
    8139                 :             :             }
    8140                 :             :           break;
    8141                 :             :         default:;
    8142                 :             :         }
    8143                 :             :       break;
    8144                 :    24610902 :     default:;
    8145                 :             :     }
    8146                 :    24610902 :   switch (TREE_CODE (_p1))
    8147                 :             :     {
    8148                 :          29 :     case VEC_COND_EXPR:
    8149                 :          29 :       {
    8150                 :          29 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8151                 :          29 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8152                 :          29 :         tree _q32 = TREE_OPERAND (_p1, 2);
    8153                 :          29 :         {
    8154                 :          29 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    8155                 :          29 :           if (VECTOR_TYPE_P (type)
    8156                 :          29 :  && (TREE_CODE_CLASS (EQ_EXPR) != tcc_comparison
    8157                 :          29 :  || types_match (type, TREE_TYPE (captures[3]))
    8158                 :          29 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
    8159                 :             :  || (optimize_vectors_before_lowering_p ()
    8160                 :          21 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
    8161                 :             : )
    8162                 :             :             {
    8163                 :          29 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1532;
    8164                 :          29 :               {
    8165                 :          29 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1532;
    8166                 :           0 :                 tree res_op0;
    8167                 :           0 :                 res_op0 = captures[2];
    8168                 :           0 :                 tree res_op1;
    8169                 :           0 :                 {
    8170                 :           0 :                   tree _o1[2], _r1;
    8171                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    8172                 :           0 :                   _o1[1] = captures[3];
    8173                 :           0 :                   _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    8174                 :           0 :                   if (EXPR_P (_r1))
    8175                 :           0 :                     goto next_after_fail1532;
    8176                 :           0 :                   res_op1 = _r1;
    8177                 :             :                 }
    8178                 :           0 :                 tree res_op2;
    8179                 :           0 :                 {
    8180                 :           0 :                   tree _o1[2], _r1;
    8181                 :           0 :                   _o1[0] = captures[0];
    8182                 :           0 :                   _o1[1] = captures[4];
    8183                 :           0 :                   _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    8184                 :           0 :                   if (EXPR_P (_r1))
    8185                 :           0 :                     goto next_after_fail1532;
    8186                 :           0 :                   res_op2 = _r1;
    8187                 :             :                 }
    8188                 :           0 :                 tree _r;
    8189                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8190                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
    8191                 :           0 :                 return _r;
    8192                 :             :               }
    8193                 :          29 : next_after_fail1532:;
    8194                 :             :             }
    8195                 :             :         }
    8196                 :          29 :         break;
    8197                 :             :       }
    8198                 :    24610902 :     default:;
    8199                 :             :     }
    8200                 :    24610902 :   switch (TREE_CODE (_p0))
    8201                 :             :     {
    8202                 :       37475 :     case COND_EXPR:
    8203                 :       37475 :       {
    8204                 :       37475 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8205                 :       37475 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8206                 :       37475 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8207                 :       37475 :         switch (TREE_CODE (_p1))
    8208                 :             :           {
    8209                 :          37 :           case COND_EXPR:
    8210                 :          37 :             {
    8211                 :          37 :               tree _q60 = TREE_OPERAND (_p1, 0);
    8212                 :          37 :               tree _q61 = TREE_OPERAND (_p1, 1);
    8213                 :          37 :               tree _q62 = TREE_OPERAND (_p1, 2);
    8214                 :          37 :               if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    8215                 :             :                 {
    8216                 :           3 :                   if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    8217                 :             :                     {
    8218                 :           3 :                       {
    8219                 :           3 :                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
    8220                 :           3 :                         const enum tree_code eqne = EQ_EXPR;
    8221                 :           3 :                         if (!HONOR_NANS (captures[1])
    8222                 :           3 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[3]))
    8223                 :           6 :  && types_match (type, TREE_TYPE (captures[0]))
    8224                 :             : )
    8225                 :             :                           {
    8226                 :           3 :                             if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1533;
    8227                 :           3 :                             if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1533;
    8228                 :           3 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1533;
    8229                 :           3 :                             {
    8230                 :           3 :                               tree res_op0;
    8231                 :           3 :                               {
    8232                 :           3 :                                 tree _o1[2], _r1;
    8233                 :           3 :                                 {
    8234                 :           3 :                                   tree _o2[2], _r2;
    8235                 :           3 :                                   _o2[0] = captures[0];
    8236                 :           3 :                                   _o2[1] = captures[3];
    8237                 :           3 :                                   _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    8238                 :           3 :                                   _o1[0] = _r2;
    8239                 :             :                                 }
    8240                 :           3 :                                 {
    8241                 :           3 :                                   tree _o2[2], _r2;
    8242                 :           3 :                                   _o2[0] = captures[1];
    8243                 :           3 :                                   _o2[1] = captures[2];
    8244                 :           3 :                                   _r2 = fold_build2_loc (loc, NE_EXPR, type, _o2[0], _o2[1]);
    8245                 :           3 :                                   _o1[1] = _r2;
    8246                 :             :                                 }
    8247                 :           3 :                                 _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8248                 :           3 :                                 res_op0 = _r1;
    8249                 :             :                               }
    8250                 :           3 :                               tree res_op1;
    8251                 :           3 :                               res_op1 =  constant_boolean_node (eqne == NE_EXPR, type);
    8252                 :           3 :                               tree res_op2;
    8253                 :           3 :                               res_op2 =  constant_boolean_node (eqne != NE_EXPR, type);
    8254                 :           3 :                               tree _r;
    8255                 :           3 :                               _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    8256                 :           3 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 985, __FILE__, __LINE__, true);
    8257                 :           3 :                               return _r;
    8258                 :             :                             }
    8259                 :           0 : next_after_fail1533:;
    8260                 :             :                           }
    8261                 :             :                       }
    8262                 :             :                     }
    8263                 :             :                 }
    8264                 :          34 :               if ((_q61 == _q22 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q22, 0) && types_match (_q61, _q22)))
    8265                 :             :                 {
    8266                 :           7 :                   if ((_q62 == _q21 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q21, 0) && types_match (_q62, _q21)))
    8267                 :             :                     {
    8268                 :           7 :                       {
    8269                 :           7 :                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
    8270                 :           7 :                         const enum tree_code eqne = EQ_EXPR;
    8271                 :           7 :                         if (!HONOR_NANS (captures[1])
    8272                 :           0 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[3]))
    8273                 :           7 :  && types_match (type, TREE_TYPE (captures[0]))
    8274                 :             : )
    8275                 :             :                           {
    8276                 :           0 :                             if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1534;
    8277                 :           0 :                             if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1534;
    8278                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1534;
    8279                 :           0 :                             {
    8280                 :           0 :                               tree res_op0;
    8281                 :           0 :                               {
    8282                 :           0 :                                 tree _o1[2], _r1;
    8283                 :           0 :                                 {
    8284                 :           0 :                                   tree _o2[2], _r2;
    8285                 :           0 :                                   _o2[0] = captures[0];
    8286                 :           0 :                                   _o2[1] = captures[3];
    8287                 :           0 :                                   _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    8288                 :           0 :                                   _o1[0] = _r2;
    8289                 :             :                                 }
    8290                 :           0 :                                 {
    8291                 :           0 :                                   tree _o2[2], _r2;
    8292                 :           0 :                                   _o2[0] = captures[1];
    8293                 :           0 :                                   _o2[1] = captures[2];
    8294                 :           0 :                                   _r2 = fold_build2_loc (loc, EQ_EXPR, type, _o2[0], _o2[1]);
    8295                 :           0 :                                   _o1[1] = _r2;
    8296                 :             :                                 }
    8297                 :           0 :                                 _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8298                 :           0 :                                 res_op0 = _r1;
    8299                 :             :                               }
    8300                 :           0 :                               tree res_op1;
    8301                 :           0 :                               res_op1 =  constant_boolean_node (eqne != NE_EXPR, type);
    8302                 :           0 :                               tree res_op2;
    8303                 :           0 :                               res_op2 =  constant_boolean_node (eqne == NE_EXPR, type);
    8304                 :           0 :                               tree _r;
    8305                 :           0 :                               _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    8306                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 986, __FILE__, __LINE__, true);
    8307                 :           0 :                               return _r;
    8308                 :             :                             }
    8309                 :           7 : next_after_fail1534:;
    8310                 :             :                           }
    8311                 :             :                       }
    8312                 :             :                     }
    8313                 :             :                 }
    8314                 :             :               break;
    8315                 :             :             }
    8316                 :             :           default:;
    8317                 :             :           }
    8318                 :             :         break;
    8319                 :             :       }
    8320                 :         109 :     case VEC_COND_EXPR:
    8321                 :         109 :       {
    8322                 :         109 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8323                 :         109 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8324                 :         109 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8325                 :         109 :         switch (TREE_CODE (_p1))
    8326                 :             :           {
    8327                 :          27 :           case VEC_COND_EXPR:
    8328                 :          27 :             {
    8329                 :          27 :               tree _q60 = TREE_OPERAND (_p1, 0);
    8330                 :          27 :               tree _q61 = TREE_OPERAND (_p1, 1);
    8331                 :          27 :               tree _q62 = TREE_OPERAND (_p1, 2);
    8332                 :          27 :               if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    8333                 :             :                 {
    8334                 :           6 :                   if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    8335                 :             :                     {
    8336                 :           6 :                       {
    8337                 :           6 :                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
    8338                 :           6 :                         const enum tree_code eqne = EQ_EXPR;
    8339                 :           6 :                         if (!HONOR_NANS (captures[1])
    8340                 :           6 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[3]))
    8341                 :          12 :  && types_match (type, TREE_TYPE (captures[0]))
    8342                 :             : )
    8343                 :             :                           {
    8344                 :           6 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1535;
    8345                 :           6 :                             {
    8346                 :           6 :                               tree res_op0;
    8347                 :           6 :                               {
    8348                 :           6 :                                 tree _o1[2], _r1;
    8349                 :           6 :                                 {
    8350                 :           6 :                                   tree _o2[2], _r2;
    8351                 :           6 :                                   _o2[0] = captures[0];
    8352                 :           6 :                                   _o2[1] = captures[3];
    8353                 :           6 :                                   _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    8354                 :           6 :                                   _o1[0] = _r2;
    8355                 :             :                                 }
    8356                 :           6 :                                 {
    8357                 :           6 :                                   tree _o2[2], _r2;
    8358                 :           6 :                                   _o2[0] = captures[1];
    8359                 :           6 :                                   _o2[1] = captures[2];
    8360                 :           6 :                                   _r2 = fold_build2_loc (loc, NE_EXPR, type, _o2[0], _o2[1]);
    8361                 :           6 :                                   _o1[1] = _r2;
    8362                 :             :                                 }
    8363                 :           6 :                                 _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8364                 :           6 :                                 res_op0 = _r1;
    8365                 :             :                               }
    8366                 :           6 :                               tree res_op1;
    8367                 :           6 :                               res_op1 =  constant_boolean_node (eqne == NE_EXPR, type);
    8368                 :           6 :                               tree res_op2;
    8369                 :           6 :                               res_op2 =  constant_boolean_node (eqne != NE_EXPR, type);
    8370                 :           6 :                               tree _r;
    8371                 :           6 :                               _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8372                 :           6 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 985, __FILE__, __LINE__, true);
    8373                 :           6 :                               return _r;
    8374                 :             :                             }
    8375                 :           0 : next_after_fail1535:;
    8376                 :             :                           }
    8377                 :             :                       }
    8378                 :             :                     }
    8379                 :             :                 }
    8380                 :          21 :               if ((_q61 == _q22 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q22, 0) && types_match (_q61, _q22)))
    8381                 :             :                 {
    8382                 :          21 :                   if ((_q62 == _q21 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q21, 0) && types_match (_q62, _q21)))
    8383                 :             :                     {
    8384                 :          21 :                       {
    8385                 :          21 :                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
    8386                 :          21 :                         const enum tree_code eqne = EQ_EXPR;
    8387                 :          21 :                         if (!HONOR_NANS (captures[1])
    8388                 :           0 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[3]))
    8389                 :          21 :  && types_match (type, TREE_TYPE (captures[0]))
    8390                 :             : )
    8391                 :             :                           {
    8392                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1536;
    8393                 :           0 :                             {
    8394                 :           0 :                               tree res_op0;
    8395                 :           0 :                               {
    8396                 :           0 :                                 tree _o1[2], _r1;
    8397                 :           0 :                                 {
    8398                 :           0 :                                   tree _o2[2], _r2;
    8399                 :           0 :                                   _o2[0] = captures[0];
    8400                 :           0 :                                   _o2[1] = captures[3];
    8401                 :           0 :                                   _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    8402                 :           0 :                                   _o1[0] = _r2;
    8403                 :             :                                 }
    8404                 :           0 :                                 {
    8405                 :           0 :                                   tree _o2[2], _r2;
    8406                 :           0 :                                   _o2[0] = captures[1];
    8407                 :           0 :                                   _o2[1] = captures[2];
    8408                 :           0 :                                   _r2 = fold_build2_loc (loc, EQ_EXPR, type, _o2[0], _o2[1]);
    8409                 :           0 :                                   _o1[1] = _r2;
    8410                 :             :                                 }
    8411                 :           0 :                                 _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8412                 :           0 :                                 res_op0 = _r1;
    8413                 :             :                               }
    8414                 :           0 :                               tree res_op1;
    8415                 :           0 :                               res_op1 =  constant_boolean_node (eqne != NE_EXPR, type);
    8416                 :           0 :                               tree res_op2;
    8417                 :           0 :                               res_op2 =  constant_boolean_node (eqne == NE_EXPR, type);
    8418                 :           0 :                               tree _r;
    8419                 :           0 :                               _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8420                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 986, __FILE__, __LINE__, true);
    8421                 :           0 :                               return _r;
    8422                 :             :                             }
    8423                 :           0 : next_after_fail1536:;
    8424                 :             :                           }
    8425                 :             :                       }
    8426                 :             :                     }
    8427                 :             :                 }
    8428                 :             :               break;
    8429                 :             :             }
    8430                 :             :           default:;
    8431                 :             :           }
    8432                 :             :         break;
    8433                 :             :       }
    8434                 :        1186 :     case LT_EXPR:
    8435                 :        1186 :       {
    8436                 :        1186 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8437                 :        1186 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8438                 :        1186 :         if (integer_truep (_p1))
    8439                 :             :           {
    8440                 :           4 :             {
    8441                 :           4 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8442                 :           4 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
    8443                 :           4 :               if (res) return res;
    8444                 :             :             }
    8445                 :             :           }
    8446                 :        1186 :         if (integer_zerop (_p1))
    8447                 :             :           {
    8448                 :         424 :             {
    8449                 :         424 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8450                 :         424 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
    8451                 :         424 :               if (res) return res;
    8452                 :             :             }
    8453                 :             :           }
    8454                 :             :         break;
    8455                 :             :       }
    8456                 :        1672 :     case LE_EXPR:
    8457                 :        1672 :       {
    8458                 :        1672 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8459                 :        1672 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8460                 :        1672 :         if (integer_truep (_p1))
    8461                 :             :           {
    8462                 :           0 :             {
    8463                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8464                 :           0 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
    8465                 :           0 :               if (res) return res;
    8466                 :             :             }
    8467                 :             :           }
    8468                 :        1672 :         if (integer_zerop (_p1))
    8469                 :             :           {
    8470                 :         754 :             {
    8471                 :         754 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8472                 :         754 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
    8473                 :         754 :               if (res) return res;
    8474                 :             :             }
    8475                 :             :           }
    8476                 :             :         break;
    8477                 :             :       }
    8478                 :       30664 :     case EQ_EXPR:
    8479                 :       30664 :       {
    8480                 :       30664 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8481                 :       30664 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8482                 :       30664 :         if (integer_truep (_p1))
    8483                 :             :           {
    8484                 :          46 :             {
    8485                 :          46 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8486                 :          46 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
    8487                 :          46 :               if (res) return res;
    8488                 :             :             }
    8489                 :             :           }
    8490                 :       30659 :         if (integer_zerop (_p1))
    8491                 :             :           {
    8492                 :        6927 :             {
    8493                 :        6927 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8494                 :        6927 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
    8495                 :        6927 :               if (res) return res;
    8496                 :             :             }
    8497                 :             :           }
    8498                 :             :         break;
    8499                 :             :       }
    8500                 :       11038 :     case NE_EXPR:
    8501                 :       11038 :       {
    8502                 :       11038 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8503                 :       11038 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8504                 :       11038 :         if (integer_truep (_p1))
    8505                 :             :           {
    8506                 :         126 :             {
    8507                 :         126 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8508                 :         126 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
    8509                 :         126 :               if (res) return res;
    8510                 :             :             }
    8511                 :             :           }
    8512                 :       10918 :         if (integer_zerop (_p1))
    8513                 :             :           {
    8514                 :        9584 :             {
    8515                 :        9584 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8516                 :        9584 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
    8517                 :        9584 :               if (res) return res;
    8518                 :             :             }
    8519                 :             :           }
    8520                 :             :         break;
    8521                 :             :       }
    8522                 :        6468 :     case GE_EXPR:
    8523                 :        6468 :       {
    8524                 :        6468 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8525                 :        6468 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8526                 :        6468 :         if (integer_truep (_p1))
    8527                 :             :           {
    8528                 :           0 :             {
    8529                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8530                 :           0 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
    8531                 :           0 :               if (res) return res;
    8532                 :             :             }
    8533                 :             :           }
    8534                 :        6468 :         if (integer_zerop (_p1))
    8535                 :             :           {
    8536                 :        5309 :             {
    8537                 :        5309 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8538                 :        5309 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
    8539                 :        5309 :               if (res) return res;
    8540                 :             :             }
    8541                 :             :           }
    8542                 :             :         break;
    8543                 :             :       }
    8544                 :       29403 :     case GT_EXPR:
    8545                 :       29403 :       {
    8546                 :       29403 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8547                 :       29403 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8548                 :       29403 :         if (integer_truep (_p1))
    8549                 :             :           {
    8550                 :           0 :             {
    8551                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8552                 :           0 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
    8553                 :           0 :               if (res) return res;
    8554                 :             :             }
    8555                 :             :           }
    8556                 :       29403 :         if (integer_zerop (_p1))
    8557                 :             :           {
    8558                 :         445 :             {
    8559                 :         445 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8560                 :         445 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
    8561                 :         445 :               if (res) return res;
    8562                 :             :             }
    8563                 :             :           }
    8564                 :             :         break;
    8565                 :             :       }
    8566                 :        1029 :     case UNORDERED_EXPR:
    8567                 :        1029 :       {
    8568                 :        1029 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8569                 :        1029 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8570                 :        1029 :         if (integer_truep (_p1))
    8571                 :             :           {
    8572                 :           0 :             {
    8573                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8574                 :           0 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
    8575                 :           0 :               if (res) return res;
    8576                 :             :             }
    8577                 :             :           }
    8578                 :        1029 :         if (integer_zerop (_p1))
    8579                 :             :           {
    8580                 :        1023 :             {
    8581                 :        1023 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8582                 :        1023 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
    8583                 :        1023 :               if (res) return res;
    8584                 :             :             }
    8585                 :             :           }
    8586                 :             :         break;
    8587                 :             :       }
    8588                 :           0 :     case ORDERED_EXPR:
    8589                 :           0 :       {
    8590                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8591                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8592                 :           0 :         if (integer_truep (_p1))
    8593                 :             :           {
    8594                 :           0 :             {
    8595                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8596                 :           0 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
    8597                 :           0 :               if (res) return res;
    8598                 :             :             }
    8599                 :             :           }
    8600                 :           0 :         if (integer_zerop (_p1))
    8601                 :             :           {
    8602                 :           0 :             {
    8603                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8604                 :           0 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
    8605                 :           0 :               if (res) return res;
    8606                 :             :             }
    8607                 :             :           }
    8608                 :             :         break;
    8609                 :             :       }
    8610                 :           0 :     case UNLT_EXPR:
    8611                 :           0 :       {
    8612                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8613                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8614                 :           0 :         if (integer_truep (_p1))
    8615                 :             :           {
    8616                 :           0 :             {
    8617                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8618                 :           0 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
    8619                 :           0 :               if (res) return res;
    8620                 :             :             }
    8621                 :             :           }
    8622                 :           0 :         if (integer_zerop (_p1))
    8623                 :             :           {
    8624                 :           0 :             {
    8625                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8626                 :           0 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
    8627                 :           0 :               if (res) return res;
    8628                 :             :             }
    8629                 :             :           }
    8630                 :             :         break;
    8631                 :             :       }
    8632                 :           0 :     case UNLE_EXPR:
    8633                 :           0 :       {
    8634                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8635                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8636                 :           0 :         if (integer_truep (_p1))
    8637                 :             :           {
    8638                 :           0 :             {
    8639                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8640                 :           0 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
    8641                 :           0 :               if (res) return res;
    8642                 :             :             }
    8643                 :             :           }
    8644                 :           0 :         if (integer_zerop (_p1))
    8645                 :             :           {
    8646                 :           0 :             {
    8647                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8648                 :           0 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
    8649                 :           0 :               if (res) return res;
    8650                 :             :             }
    8651                 :             :           }
    8652                 :             :         break;
    8653                 :             :       }
    8654                 :           0 :     case UNGT_EXPR:
    8655                 :           0 :       {
    8656                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8657                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8658                 :           0 :         if (integer_truep (_p1))
    8659                 :             :           {
    8660                 :           0 :             {
    8661                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8662                 :           0 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
    8663                 :           0 :               if (res) return res;
    8664                 :             :             }
    8665                 :             :           }
    8666                 :           0 :         if (integer_zerop (_p1))
    8667                 :             :           {
    8668                 :           0 :             {
    8669                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8670                 :           0 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
    8671                 :           0 :               if (res) return res;
    8672                 :             :             }
    8673                 :             :           }
    8674                 :             :         break;
    8675                 :             :       }
    8676                 :           0 :     case UNGE_EXPR:
    8677                 :           0 :       {
    8678                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8679                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8680                 :           0 :         if (integer_truep (_p1))
    8681                 :             :           {
    8682                 :           0 :             {
    8683                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8684                 :           0 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
    8685                 :           0 :               if (res) return res;
    8686                 :             :             }
    8687                 :             :           }
    8688                 :           0 :         if (integer_zerop (_p1))
    8689                 :             :           {
    8690                 :           0 :             {
    8691                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8692                 :           0 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
    8693                 :           0 :               if (res) return res;
    8694                 :             :             }
    8695                 :             :           }
    8696                 :             :         break;
    8697                 :             :       }
    8698                 :           0 :     case UNEQ_EXPR:
    8699                 :           0 :       {
    8700                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8701                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8702                 :           0 :         if (integer_truep (_p1))
    8703                 :             :           {
    8704                 :           0 :             {
    8705                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8706                 :           0 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
    8707                 :           0 :               if (res) return res;
    8708                 :             :             }
    8709                 :             :           }
    8710                 :           0 :         if (integer_zerop (_p1))
    8711                 :             :           {
    8712                 :           0 :             {
    8713                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8714                 :           0 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
    8715                 :           0 :               if (res) return res;
    8716                 :             :             }
    8717                 :             :           }
    8718                 :             :         break;
    8719                 :             :       }
    8720                 :           0 :     case LTGT_EXPR:
    8721                 :           0 :       {
    8722                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8723                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8724                 :           0 :         if (integer_truep (_p1))
    8725                 :             :           {
    8726                 :           0 :             {
    8727                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8728                 :           0 :               tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
    8729                 :           0 :               if (res) return res;
    8730                 :             :             }
    8731                 :             :           }
    8732                 :           0 :         if (integer_zerop (_p1))
    8733                 :             :           {
    8734                 :           0 :             {
    8735                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8736                 :           0 :               tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
    8737                 :           0 :               if (res) return res;
    8738                 :             :             }
    8739                 :             :           }
    8740                 :             :         break;
    8741                 :             :       }
    8742                 :      108790 :     case MINUS_EXPR:
    8743                 :      108790 :       {
    8744                 :      108790 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8745                 :      108790 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8746                 :      108790 :         if (integer_zerop (_p1))
    8747                 :             :           {
    8748                 :       36228 :             {
    8749                 :       36228 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8750                 :       36228 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8751                 :       36228 :               if (res) return res;
    8752                 :             :             }
    8753                 :             :           }
    8754                 :             :         break;
    8755                 :             :       }
    8756                 :       32871 :     case POINTER_DIFF_EXPR:
    8757                 :       32871 :       {
    8758                 :       32871 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8759                 :       32871 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8760                 :       32871 :         if (integer_zerop (_p1))
    8761                 :             :           {
    8762                 :        1085 :             {
    8763                 :        1085 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8764                 :        1085 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8765                 :        1085 :               if (res) return res;
    8766                 :             :             }
    8767                 :             :           }
    8768                 :             :         break;
    8769                 :             :       }
    8770                 :       36683 :     case MULT_EXPR:
    8771                 :       36683 :       {
    8772                 :       36683 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8773                 :       36683 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8774                 :       36683 :         switch (TREE_CODE (_q21))
    8775                 :             :           {
    8776                 :       29791 :           case INTEGER_CST:
    8777                 :       29791 :             {
    8778                 :       29791 :               switch (TREE_CODE (_p1))
    8779                 :             :                 {
    8780                 :       11224 :                 case INTEGER_CST:
    8781                 :       11224 :                   {
    8782                 :       11224 :                     {
    8783                 :       11224 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    8784                 :       11224 :                       tree res = generic_simplify_241 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8785                 :       11224 :                       if (res) return res;
    8786                 :             :                     }
    8787                 :       10176 :                     break;
    8788                 :             :                   }
    8789                 :       28743 :                 default:;
    8790                 :             :                 }
    8791                 :       28743 :             if (integer_zerop (_p1))
    8792                 :             :               {
    8793                 :        4897 :                 {
    8794                 :        4897 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    8795                 :        4897 :                   tree res = generic_simplify_240 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    8796                 :        4897 :                   if (res) return res;
    8797                 :             :                 }
    8798                 :             :               }
    8799                 :             :               break;
    8800                 :             :             }
    8801                 :             :           default:;
    8802                 :             :           }
    8803                 :             :         break;
    8804                 :             :       }
    8805                 :    24548797 :     default:;
    8806                 :             :     }
    8807                 :    24548797 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    8808                 :             :     {
    8809                 :       60338 :       {
    8810                 :       60338 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8811                 :       60338 :         tree res = generic_simplify_242 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8812                 :       60338 :         if (res) return res;
    8813                 :             :       }
    8814                 :             :     }
    8815                 :    24490898 :   switch (TREE_CODE (_p0))
    8816                 :             :     {
    8817                 :     4234087 :     CASE_CONVERT:
    8818                 :     4234087 :       {
    8819                 :     4234087 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8820                 :     4234087 :         switch (TREE_CODE (_p1))
    8821                 :             :           {
    8822                 :      961991 :           CASE_CONVERT:
    8823                 :      961991 :             {
    8824                 :      961991 :               tree _q40 = TREE_OPERAND (_p1, 0);
    8825                 :      961991 :               {
    8826                 :      961991 :                 tree _q40_pops[1];
    8827                 :      961991 :                 if (tree_maybe_bit_not (_q40, _q40_pops))
    8828                 :             :                   {
    8829                 :           0 :                     tree _q50 = _q40_pops[0];
    8830                 :           0 :                     {
    8831                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
    8832                 :           0 :                       tree res = generic_simplify_243 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8833                 :           0 :                       if (res) return res;
    8834                 :             :                     }
    8835                 :             :                   }
    8836                 :             :               }
    8837                 :      961991 :               break;
    8838                 :             :             }
    8839                 :     4234087 :           default:;
    8840                 :             :           }
    8841                 :     4234087 :         {
    8842                 :     4234087 :           tree _q20_pops[1];
    8843                 :     4234087 :           if (tree_maybe_bit_not (_q20, _q20_pops))
    8844                 :             :             {
    8845                 :         232 :               tree _q30 = _q20_pops[0];
    8846                 :         232 :               switch (TREE_CODE (_p1))
    8847                 :             :                 {
    8848                 :          74 :                 CASE_CONVERT:
    8849                 :          74 :                   {
    8850                 :          74 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    8851                 :          74 :                     {
    8852                 :          74 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
    8853                 :          74 :                       tree res = generic_simplify_243 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8854                 :          74 :                       if (res) return res;
    8855                 :             :                     }
    8856                 :          74 :                     break;
    8857                 :             :                   }
    8858                 :             :                 default:;
    8859                 :             :                 }
    8860                 :             :             }
    8861                 :             :         }
    8862                 :     4234087 :         break;
    8863                 :             :       }
    8864                 :    24490898 :     default:;
    8865                 :             :     }
    8866                 :    24490898 :   {
    8867                 :    24490898 :     tree _p1_pops[1];
    8868                 :    24490898 :     if (tree_maybe_bit_not (_p1, _p1_pops))
    8869                 :             :       {
    8870                 :    18012484 :         tree _q30 = _p1_pops[0];
    8871                 :    18012484 :         {
    8872                 :    18012484 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    8873                 :    18012484 :           tree res = generic_simplify_243 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8874                 :    18012484 :           if (res) return res;
    8875                 :             :         }
    8876                 :             :       }
    8877                 :             :   }
    8878                 :    24490896 :   switch (TREE_CODE (_p0))
    8879                 :             :     {
    8880                 :         402 :     case BIT_NOT_EXPR:
    8881                 :         402 :       {
    8882                 :         402 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8883                 :         402 :         switch (TREE_CODE (_p1))
    8884                 :             :           {
    8885                 :           1 :           case BIT_NOT_EXPR:
    8886                 :           1 :             {
    8887                 :           1 :               tree _q40 = TREE_OPERAND (_p1, 0);
    8888                 :           1 :               {
    8889                 :           1 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _p1, _q40 };
    8890                 :           1 :                 tree res = generic_simplify_246 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8891                 :           1 :                 if (res) return res;
    8892                 :             :               }
    8893                 :           0 :               break;
    8894                 :             :             }
    8895                 :         401 :           default:;
    8896                 :             :           }
    8897                 :         401 :       {
    8898                 :         401 :         tree _p1_pops[1];
    8899                 :         401 :         if (tree_nop_convert (_p1, _p1_pops))
    8900                 :             :           {
    8901                 :           6 :             tree _q40 = _p1_pops[0];
    8902                 :           6 :             switch (TREE_CODE (_q40))
    8903                 :             :               {
    8904                 :           0 :               case BIT_NOT_EXPR:
    8905                 :           0 :                 {
    8906                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    8907                 :           0 :                   {
    8908                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40, _q50 };
    8909                 :           0 :                     tree res = generic_simplify_246 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8910                 :           0 :                     if (res) return res;
    8911                 :             :                   }
    8912                 :           0 :                   break;
    8913                 :             :                 }
    8914                 :             :               default:;
    8915                 :             :               }
    8916                 :             :           }
    8917                 :             :       }
    8918                 :         401 :       if (CONSTANT_CLASS_P (_p1))
    8919                 :             :         {
    8920                 :         188 :           {
    8921                 :         188 :             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8922                 :         188 :             tree res = generic_simplify_245 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    8923                 :         188 :             if (res) return res;
    8924                 :             :           }
    8925                 :             :         }
    8926                 :             :         break;
    8927                 :             :       }
    8928                 :    24490707 :     default:;
    8929                 :             :     }
    8930                 :    24490707 : {
    8931                 :    24490707 :   tree _p0_pops[1];
    8932                 :    24490707 :   if (tree_maybe_bit_not (_p0, _p0_pops))
    8933                 :             :     {
    8934                 :       57587 :       tree _q20 = _p0_pops[0];
    8935                 :       57587 :       {
    8936                 :       57587 :         tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q20 };
    8937                 :       57587 :         tree res = generic_simplify_243 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8938                 :       57587 :         if (res) return res;
    8939                 :             :       }
    8940                 :             :     }
    8941                 :             : }
    8942                 :    24490706 : {
    8943                 :    24490706 :   tree _p0_pops[1];
    8944                 :    24490706 :   if (tree_nop_convert (_p0, _p0_pops))
    8945                 :             :     {
    8946                 :     2554865 :       tree _q20 = _p0_pops[0];
    8947                 :     2554865 :       switch (TREE_CODE (_q20))
    8948                 :             :         {
    8949                 :          41 :         case BIT_NOT_EXPR:
    8950                 :          41 :           {
    8951                 :          41 :             tree _q30 = TREE_OPERAND (_q20, 0);
    8952                 :          41 :             switch (TREE_CODE (_p1))
    8953                 :             :               {
    8954                 :           0 :               case BIT_NOT_EXPR:
    8955                 :           0 :                 {
    8956                 :           0 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    8957                 :           0 :                   {
    8958                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _p1, _q50 };
    8959                 :           0 :                     tree res = generic_simplify_244 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8960                 :           0 :                     if (res) return res;
    8961                 :             :                   }
    8962                 :           0 :                   break;
    8963                 :             :                 }
    8964                 :          41 :               default:;
    8965                 :             :               }
    8966                 :          41 :           {
    8967                 :          41 :             tree _p1_pops[1];
    8968                 :          41 :             if (tree_nop_convert (_p1, _p1_pops))
    8969                 :             :               {
    8970                 :           0 :                 tree _q50 = _p1_pops[0];
    8971                 :           0 :                 switch (TREE_CODE (_q50))
    8972                 :             :                   {
    8973                 :           0 :                   case BIT_NOT_EXPR:
    8974                 :           0 :                     {
    8975                 :           0 :                       tree _q60 = TREE_OPERAND (_q50, 0);
    8976                 :           0 :                       {
    8977                 :           0 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50, _q60 };
    8978                 :           0 :                         tree res = generic_simplify_244 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8979                 :           0 :                         if (res) return res;
    8980                 :             :                       }
    8981                 :           0 :                       break;
    8982                 :             :                     }
    8983                 :             :                   default:;
    8984                 :             :                   }
    8985                 :             :               }
    8986                 :             :           }
    8987                 :          41 :           if (CONSTANT_CLASS_P (_p1))
    8988                 :             :             {
    8989                 :          41 :               {
    8990                 :          41 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
    8991                 :          41 :                 tree res = generic_simplify_245 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    8992                 :          41 :                 if (res) return res;
    8993                 :             :               }
    8994                 :             :             }
    8995                 :             :             break;
    8996                 :             :           }
    8997                 :             :         default:;
    8998                 :             :         }
    8999                 :             :     }
    9000                 :             : }
    9001                 :    24490665 :   switch (TREE_CODE (_p1))
    9002                 :             :     {
    9003                 :      959569 :     case REAL_CST:
    9004                 :      959569 :       {
    9005                 :      959569 :         {
    9006                 :      959569 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9007                 :      959569 :           tree res = generic_simplify_247 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9008                 :      959569 :           if (res) return res;
    9009                 :             :         }
    9010                 :      959473 :         break;
    9011                 :             :       }
    9012                 :    24490569 :     default:;
    9013                 :             :     }
    9014                 :    24490569 :   switch (TREE_CODE (_p0))
    9015                 :             :     {
    9016                 :      677709 :     case PLUS_EXPR:
    9017                 :      677709 :       {
    9018                 :      677709 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9019                 :      677709 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9020                 :      677709 :         switch (TREE_CODE (_q21))
    9021                 :             :           {
    9022                 :         292 :           case REAL_CST:
    9023                 :         292 :             {
    9024                 :         292 :               switch (TREE_CODE (_p1))
    9025                 :             :                 {
    9026                 :         116 :                 case REAL_CST:
    9027                 :         116 :                   {
    9028                 :         116 :                     {
    9029                 :         116 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9030                 :         116 :                       tree res = generic_simplify_248 (loc, type, _p0, _p1, captures, PLUS_EXPR, EQ_EXPR);
    9031                 :         116 :                       if (res) return res;
    9032                 :             :                     }
    9033                 :         116 :                     break;
    9034                 :             :                   }
    9035                 :             :                 default:;
    9036                 :             :                 }
    9037                 :             :               break;
    9038                 :             :             }
    9039                 :             :           default:;
    9040                 :             :           }
    9041                 :             :         break;
    9042                 :             :       }
    9043                 :       72562 :     case MINUS_EXPR:
    9044                 :       72562 :       {
    9045                 :       72562 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9046                 :       72562 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9047                 :       72562 :         switch (TREE_CODE (_q21))
    9048                 :             :           {
    9049                 :          60 :           case REAL_CST:
    9050                 :          60 :             {
    9051                 :          60 :               switch (TREE_CODE (_p1))
    9052                 :             :                 {
    9053                 :          60 :                 case REAL_CST:
    9054                 :          60 :                   {
    9055                 :          60 :                     {
    9056                 :          60 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9057                 :          60 :                       tree res = generic_simplify_248 (loc, type, _p0, _p1, captures, MINUS_EXPR, EQ_EXPR);
    9058                 :          60 :                       if (res) return res;
    9059                 :             :                     }
    9060                 :          60 :                     break;
    9061                 :             :                   }
    9062                 :             :                 default:;
    9063                 :             :                 }
    9064                 :             :               break;
    9065                 :             :             }
    9066                 :       72562 :           default:;
    9067                 :             :           }
    9068                 :       72562 :         switch (TREE_CODE (_q20))
    9069                 :             :           {
    9070                 :          59 :           case REAL_CST:
    9071                 :          59 :             {
    9072                 :          59 :               switch (TREE_CODE (_p1))
    9073                 :             :                 {
    9074                 :          29 :                 case REAL_CST:
    9075                 :          29 :                   {
    9076                 :          29 :                     {
    9077                 :          29 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9078                 :          29 :                       tree res = generic_simplify_249 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9079                 :          29 :                       if (res) return res;
    9080                 :             :                     }
    9081                 :          28 :                     break;
    9082                 :             :                   }
    9083                 :             :                 default:;
    9084                 :             :                 }
    9085                 :             :               break;
    9086                 :             :             }
    9087                 :             :           default:;
    9088                 :             :           }
    9089                 :             :         break;
    9090                 :             :       }
    9091                 :        2379 :     case FLOAT_EXPR:
    9092                 :        2379 :       {
    9093                 :        2379 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9094                 :        2379 :         switch (TREE_CODE (_p1))
    9095                 :             :           {
    9096                 :           1 :           case FLOAT_EXPR:
    9097                 :           1 :             {
    9098                 :           1 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9099                 :           1 :               {
    9100                 :           1 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    9101                 :           1 :                 tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    9102                 :           1 :                 if (res) return res;
    9103                 :             :               }
    9104                 :           0 :               break;
    9105                 :             :             }
    9106                 :         234 :           case REAL_CST:
    9107                 :         234 :             {
    9108                 :         234 :               {
    9109                 :         234 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9110                 :         234 :                 tree res = generic_simplify_253 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    9111                 :         234 :                 if (res) return res;
    9112                 :             :               }
    9113                 :         203 :               break;
    9114                 :             :             }
    9115                 :             :           default:;
    9116                 :             :           }
    9117                 :             :         break;
    9118                 :             :       }
    9119                 :        9058 :     case EXACT_DIV_EXPR:
    9120                 :        9058 :       {
    9121                 :        9058 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9122                 :        9058 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9123                 :        9058 :         switch (TREE_CODE (_p1))
    9124                 :             :           {
    9125                 :          17 :           case INTEGER_CST:
    9126                 :          17 :             {
    9127                 :          17 :               {
    9128                 :          17 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9129                 :          17 :                 tree res = generic_simplify_254 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9130                 :          17 :                 if (res) return res;
    9131                 :             :               }
    9132                 :           0 :               break;
    9133                 :             :             }
    9134                 :             :           default:;
    9135                 :             :           }
    9136                 :             :         break;
    9137                 :             :       }
    9138                 :         446 :     case NEGATE_EXPR:
    9139                 :         446 :       {
    9140                 :         446 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9141                 :         446 :         switch (TREE_CODE (_p1))
    9142                 :             :           {
    9143                 :           1 :           case NEGATE_EXPR:
    9144                 :           1 :             {
    9145                 :           1 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9146                 :           1 :               {
    9147                 :           1 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9148                 :           1 :                 tree res = generic_simplify_255 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    9149                 :           1 :                 if (res) return res;
    9150                 :             :               }
    9151                 :           0 :               break;
    9152                 :             :             }
    9153                 :         445 :           default:;
    9154                 :             :           }
    9155                 :         445 :       if (CONSTANT_CLASS_P (_p1))
    9156                 :             :         {
    9157                 :         167 :           {
    9158                 :         167 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9159                 :         167 :             tree res = generic_simplify_256 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    9160                 :         167 :             if (res) return res;
    9161                 :             :           }
    9162                 :             :         }
    9163                 :             :         break;
    9164                 :             :       }
    9165                 :        1166 :     case ABS_EXPR:
    9166                 :        1166 :       {
    9167                 :        1166 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9168                 :        1166 :         if (zerop (_p1))
    9169                 :             :           {
    9170                 :          72 :             {
    9171                 :          72 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9172                 :          72 :               const enum tree_code eqne = EQ_EXPR;
    9173                 :          72 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1537;
    9174                 :          72 :               {
    9175                 :          72 :                 tree res_op0;
    9176                 :          72 :                 res_op0 = captures[0];
    9177                 :          72 :                 tree res_op1;
    9178                 :          72 :                 res_op1 =  build_zero_cst (TREE_TYPE (captures[0]));
    9179                 :          72 :                 tree _r;
    9180                 :          72 :                 _r = fold_build2_loc (loc, eqne, type, res_op0, res_op1);
    9181                 :          72 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    9182                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    9183                 :          72 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 987, __FILE__, __LINE__, true);
    9184                 :          72 :                 return _r;
    9185                 :             :               }
    9186                 :           0 : next_after_fail1537:;
    9187                 :             :             }
    9188                 :             :           }
    9189                 :             :         break;
    9190                 :             :       }
    9191                 :           1 :     case ABSU_EXPR:
    9192                 :           1 :       {
    9193                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9194                 :           1 :         if (zerop (_p1))
    9195                 :             :           {
    9196                 :           0 :             {
    9197                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9198                 :           0 :               const enum tree_code eqne = EQ_EXPR;
    9199                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1538;
    9200                 :           0 :               {
    9201                 :           0 :                 tree res_op0;
    9202                 :           0 :                 res_op0 = captures[0];
    9203                 :           0 :                 tree res_op1;
    9204                 :           0 :                 res_op1 =  build_zero_cst (TREE_TYPE (captures[0]));
    9205                 :           0 :                 tree _r;
    9206                 :           0 :                 _r = fold_build2_loc (loc, eqne, type, res_op0, res_op1);
    9207                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    9208                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    9209                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 987, __FILE__, __LINE__, true);
    9210                 :           0 :                 return _r;
    9211                 :             :               }
    9212                 :           0 : next_after_fail1538:;
    9213                 :             :             }
    9214                 :             :           }
    9215                 :             :         break;
    9216                 :             :       }
    9217                 :     4234008 :     CASE_CONVERT:
    9218                 :     4234008 :       {
    9219                 :     4234008 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9220                 :     4234008 :         switch (TREE_CODE (_p1))
    9221                 :             :           {
    9222                 :      961991 :           CASE_CONVERT:
    9223                 :      961991 :             {
    9224                 :      961991 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9225                 :      961991 :               {
    9226                 :      961991 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9227                 :      961991 :                 tree res = generic_simplify_257 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9228                 :      961991 :                 if (res) return res;
    9229                 :             :               }
    9230                 :      465408 :               break;
    9231                 :             :             }
    9232                 :     3737425 :           default:;
    9233                 :             :           }
    9234                 :     3737425 :         {
    9235                 :     3737425 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
    9236                 :     3737425 :           tree res = generic_simplify_258 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9237                 :     3737425 :           if (res) return res;
    9238                 :             :         }
    9239                 :     1812110 :         switch (TREE_CODE (_q20))
    9240                 :             :           {
    9241                 :           3 :           case BIT_IOR_EXPR:
    9242                 :           3 :             {
    9243                 :           3 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9244                 :           3 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9245                 :           3 :               switch (TREE_CODE (_q31))
    9246                 :             :                 {
    9247                 :           0 :                 case INTEGER_CST:
    9248                 :           0 :                   {
    9249                 :           0 :                     switch (TREE_CODE (_p1))
    9250                 :             :                       {
    9251                 :           0 :                       case INTEGER_CST:
    9252                 :           0 :                         {
    9253                 :           0 :                           {
    9254                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _p1 };
    9255                 :           0 :                             tree res = generic_simplify_259 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9256                 :           0 :                             if (res) return res;
    9257                 :             :                           }
    9258                 :           0 :                           break;
    9259                 :             :                         }
    9260                 :             :                       default:;
    9261                 :             :                       }
    9262                 :             :                     break;
    9263                 :             :                   }
    9264                 :             :                 default:;
    9265                 :             :                 }
    9266                 :             :               break;
    9267                 :             :             }
    9268                 :             :           default:;
    9269                 :             :           }
    9270                 :             :         break;
    9271                 :             :       }
    9272                 :     8572493 :     case SSA_NAME:
    9273                 :     8572493 :       {
    9274                 :     8572493 :         switch (TREE_CODE (_p1))
    9275                 :             :           {
    9276                 :      647601 :           case ADDR_EXPR:
    9277                 :      647601 :             {
    9278                 :      647601 :               {
    9279                 :      647601 :                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9280                 :      647601 :                 tree res = generic_simplify_260 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9281                 :      647601 :                 if (res) return res;
    9282                 :             :               }
    9283                 :      647599 :               break;
    9284                 :             :             }
    9285                 :             :           default:;
    9286                 :             :           }
    9287                 :             :         break;
    9288                 :             :       }
    9289                 :       33104 :     case BIT_IOR_EXPR:
    9290                 :       33104 :       {
    9291                 :       33104 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9292                 :       33104 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9293                 :       33104 :         switch (TREE_CODE (_q21))
    9294                 :             :           {
    9295                 :        1662 :           case INTEGER_CST:
    9296                 :        1662 :             {
    9297                 :        1662 :               switch (TREE_CODE (_p1))
    9298                 :             :                 {
    9299                 :         464 :                 case INTEGER_CST:
    9300                 :         464 :                   {
    9301                 :         464 :                     {
    9302                 :         464 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    9303                 :         464 :                       tree res = generic_simplify_259 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9304                 :         464 :                       if (res) return res;
    9305                 :             :                     }
    9306                 :         464 :                     break;
    9307                 :             :                   }
    9308                 :             :                 default:;
    9309                 :             :                 }
    9310                 :             :               break;
    9311                 :             :             }
    9312                 :             :           default:;
    9313                 :             :           }
    9314                 :             :         break;
    9315                 :             :       }
    9316                 :         554 :     case BIT_XOR_EXPR:
    9317                 :         554 :       {
    9318                 :         554 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9319                 :         554 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9320                 :         554 :         if (integer_zerop (_p1))
    9321                 :             :           {
    9322                 :         162 :             {
    9323                 :         162 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9324                 :         162 :               tree res = generic_simplify_261 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9325                 :         162 :               if (res) return res;
    9326                 :             :             }
    9327                 :             :           }
    9328                 :         392 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9329                 :             :           {
    9330                 :          29 :             {
    9331                 :          29 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9332                 :          29 :               tree res = generic_simplify_262 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9333                 :          29 :               if (res) return res;
    9334                 :             :             }
    9335                 :             :           }
    9336                 :         363 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9337                 :             :           {
    9338                 :          30 :             {
    9339                 :          30 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9340                 :          30 :               tree res = generic_simplify_262 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9341                 :          30 :               if (res) return res;
    9342                 :             :             }
    9343                 :             :           }
    9344                 :             :         break;
    9345                 :             :       }
    9346                 :     1705493 :     case CALL_EXPR:
    9347                 :     1705493 :       switch (get_call_combined_fn (_p0))
    9348                 :             :         {
    9349                 :           1 :         case CFN_BUILT_IN_SQRTF:
    9350                 :           1 :           if (call_expr_nargs (_p0) == 1)
    9351                 :             :     {
    9352                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9353                 :           1 :               switch (TREE_CODE (_p1))
    9354                 :             :                 {
    9355                 :           0 :                 case REAL_CST:
    9356                 :           0 :                   {
    9357                 :           0 :                     {
    9358                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9359                 :           0 :                       tree res = generic_simplify_250 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF, EQ_EXPR);
    9360                 :           0 :                       if (res) return res;
    9361                 :             :                     }
    9362                 :           0 :                     break;
    9363                 :             :                   }
    9364                 :           1 :                 case CALL_EXPR:
    9365                 :           1 :                   switch (get_call_combined_fn (_p1))
    9366                 :             :                     {
    9367                 :           1 :                     case CFN_BUILT_IN_SQRTF:
    9368                 :           1 :                       if (call_expr_nargs (_p1) == 1)
    9369                 :             :     {
    9370                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9371                 :           1 :                           {
    9372                 :           1 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9373                 :           1 :                             tree res = generic_simplify_251 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF, EQ_EXPR);
    9374                 :           1 :                             if (res) return res;
    9375                 :             :                           }
    9376                 :             :                         }
    9377                 :             :                       break;
    9378                 :             :                     default:;
    9379                 :             :                     }
    9380                 :             :                   break;
    9381                 :             :                 default:;
    9382                 :             :                 }
    9383                 :             :             }
    9384                 :             :           break;
    9385                 :           1 :         case CFN_BUILT_IN_SQRTL:
    9386                 :           1 :           if (call_expr_nargs (_p0) == 1)
    9387                 :             :     {
    9388                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9389                 :           1 :               switch (TREE_CODE (_p1))
    9390                 :             :                 {
    9391                 :           0 :                 case REAL_CST:
    9392                 :           0 :                   {
    9393                 :           0 :                     {
    9394                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9395                 :           0 :                       tree res = generic_simplify_250 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL, EQ_EXPR);
    9396                 :           0 :                       if (res) return res;
    9397                 :             :                     }
    9398                 :           0 :                     break;
    9399                 :             :                   }
    9400                 :           1 :                 case CALL_EXPR:
    9401                 :           1 :                   switch (get_call_combined_fn (_p1))
    9402                 :             :                     {
    9403                 :           1 :                     case CFN_BUILT_IN_SQRTL:
    9404                 :           1 :                       if (call_expr_nargs (_p1) == 1)
    9405                 :             :     {
    9406                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9407                 :           1 :                           {
    9408                 :           1 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9409                 :           1 :                             tree res = generic_simplify_251 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL, EQ_EXPR);
    9410                 :           1 :                             if (res) return res;
    9411                 :             :                           }
    9412                 :             :                         }
    9413                 :             :                       break;
    9414                 :             :                     default:;
    9415                 :             :                     }
    9416                 :             :                   break;
    9417                 :             :                 default:;
    9418                 :             :                 }
    9419                 :             :             }
    9420                 :             :           break;
    9421                 :           0 :         case CFN_BUILT_IN_SQRT:
    9422                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9423                 :             :     {
    9424                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9425                 :           0 :               switch (TREE_CODE (_p1))
    9426                 :             :                 {
    9427                 :           0 :                 case REAL_CST:
    9428                 :           0 :                   {
    9429                 :           0 :                     {
    9430                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9431                 :           0 :                       tree res = generic_simplify_250 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT, EQ_EXPR);
    9432                 :           0 :                       if (res) return res;
    9433                 :             :                     }
    9434                 :           0 :                     break;
    9435                 :             :                   }
    9436                 :           0 :                 case CALL_EXPR:
    9437                 :           0 :                   switch (get_call_combined_fn (_p1))
    9438                 :             :                     {
    9439                 :           0 :                     case CFN_BUILT_IN_SQRT:
    9440                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9441                 :             :     {
    9442                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9443                 :           0 :                           {
    9444                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9445                 :           0 :                             tree res = generic_simplify_251 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT, EQ_EXPR);
    9446                 :           0 :                             if (res) return res;
    9447                 :             :                           }
    9448                 :             :                         }
    9449                 :             :                       break;
    9450                 :             :                     default:;
    9451                 :             :                     }
    9452                 :             :                   break;
    9453                 :             :                 default:;
    9454                 :             :                 }
    9455                 :             :             }
    9456                 :             :           break;
    9457                 :           0 :         case CFN_SQRT:
    9458                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9459                 :             :     {
    9460                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9461                 :           0 :               switch (TREE_CODE (_p1))
    9462                 :             :                 {
    9463                 :           0 :                 case REAL_CST:
    9464                 :           0 :                   {
    9465                 :           0 :                     {
    9466                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9467                 :           0 :                       tree res = generic_simplify_250 (loc, type, _p0, _p1, captures, CFN_SQRT, EQ_EXPR);
    9468                 :           0 :                       if (res) return res;
    9469                 :             :                     }
    9470                 :           0 :                     break;
    9471                 :             :                   }
    9472                 :           0 :                 case CALL_EXPR:
    9473                 :           0 :                   switch (get_call_combined_fn (_p1))
    9474                 :             :                     {
    9475                 :           0 :                     case CFN_SQRT:
    9476                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9477                 :             :     {
    9478                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9479                 :           0 :                           {
    9480                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9481                 :           0 :                             tree res = generic_simplify_251 (loc, type, _p0, _p1, captures, CFN_SQRT, EQ_EXPR);
    9482                 :           0 :                             if (res) return res;
    9483                 :             :                           }
    9484                 :             :                         }
    9485                 :             :                       break;
    9486                 :             :                     default:;
    9487                 :             :                     }
    9488                 :             :                   break;
    9489                 :             :                 default:;
    9490                 :             :                 }
    9491                 :             :             }
    9492                 :             :           break;
    9493                 :             :         default:;
    9494                 :             :         }
    9495                 :             :       break;
    9496                 :    22068158 :     default:;
    9497                 :             :     }
    9498                 :    22068158 :   switch (TREE_CODE (_p1))
    9499                 :             :     {
    9500                 :          14 :     case BIT_XOR_EXPR:
    9501                 :          14 :       {
    9502                 :          14 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9503                 :          14 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9504                 :          14 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9505                 :             :           {
    9506                 :           0 :             {
    9507                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    9508                 :           0 :               tree res = generic_simplify_262 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9509                 :           0 :               if (res) return res;
    9510                 :             :             }
    9511                 :             :           }
    9512                 :          14 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    9513                 :             :           {
    9514                 :           0 :             {
    9515                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    9516                 :           0 :               tree res = generic_simplify_262 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9517                 :           0 :               if (res) return res;
    9518                 :             :             }
    9519                 :             :           }
    9520                 :             :         break;
    9521                 :             :       }
    9522                 :    22068158 :     default:;
    9523                 :             :     }
    9524                 :    22068158 :   switch (TREE_CODE (_p0))
    9525                 :             :     {
    9526                 :      907848 :     case BIT_AND_EXPR:
    9527                 :      907848 :       {
    9528                 :      907848 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9529                 :      907848 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9530                 :      907848 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9531                 :             :           {
    9532                 :       14890 :             {
    9533                 :       14890 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9534                 :       14890 :               tree res = generic_simplify_263 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9535                 :       14890 :               if (res) return res;
    9536                 :             :             }
    9537                 :             :           }
    9538                 :      893199 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9539                 :             :           {
    9540                 :      146689 :             {
    9541                 :      146689 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9542                 :      146689 :               tree res = generic_simplify_263 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9543                 :      146689 :               if (res) return res;
    9544                 :             :             }
    9545                 :             :           }
    9546                 :             :         break;
    9547                 :             :       }
    9548                 :    22053509 :     default:;
    9549                 :             :     }
    9550                 :    22053509 :   switch (TREE_CODE (_p1))
    9551                 :             :     {
    9552                 :        7901 :     case BIT_AND_EXPR:
    9553                 :        7901 :       {
    9554                 :        7901 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9555                 :        7901 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9556                 :        7901 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9557                 :             :           {
    9558                 :           0 :             {
    9559                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    9560                 :           0 :               tree res = generic_simplify_263 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9561                 :           0 :               if (res) return res;
    9562                 :             :             }
    9563                 :             :           }
    9564                 :        7901 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    9565                 :             :           {
    9566                 :          48 :             {
    9567                 :          48 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    9568                 :          48 :               tree res = generic_simplify_263 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9569                 :          48 :               if (res) return res;
    9570                 :             :             }
    9571                 :             :           }
    9572                 :             :         break;
    9573                 :             :       }
    9574                 :    22053509 :     default:;
    9575                 :             :     }
    9576                 :    22053509 :   switch (TREE_CODE (_p0))
    9577                 :             :     {
    9578                 :     1812110 :     CASE_CONVERT:
    9579                 :     1812110 :       {
    9580                 :     1812110 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9581                 :     1812110 :         switch (TREE_CODE (_q20))
    9582                 :             :           {
    9583                 :           2 :           case BIT_AND_EXPR:
    9584                 :           2 :             {
    9585                 :           2 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9586                 :           2 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9587                 :           2 :               switch (TREE_CODE (_q30))
    9588                 :             :                 {
    9589                 :           0 :                 CASE_CONVERT:
    9590                 :           0 :                   {
    9591                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9592                 :           0 :                     switch (TREE_CODE (_q31))
    9593                 :             :                       {
    9594                 :           0 :                       case INTEGER_CST:
    9595                 :           0 :                         {
    9596                 :           0 :                           switch (TREE_CODE (_p1))
    9597                 :             :                             {
    9598                 :           0 :                             CASE_CONVERT:
    9599                 :           0 :                               {
    9600                 :           0 :                                 tree _q70 = TREE_OPERAND (_p1, 0);
    9601                 :           0 :                                 if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    9602                 :             :                                   {
    9603                 :           0 :                                     {
    9604                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q31 };
    9605                 :           0 :                                       tree res = generic_simplify_264 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9606                 :           0 :                                       if (res) return res;
    9607                 :             :                                     }
    9608                 :             :                                   }
    9609                 :             :                                 break;
    9610                 :             :                               }
    9611                 :             :                             default:;
    9612                 :             :                             }
    9613                 :             :                           break;
    9614                 :             :                         }
    9615                 :             :                       default:;
    9616                 :             :                       }
    9617                 :             :                     break;
    9618                 :             :                   }
    9619                 :             :                 default:;
    9620                 :             :                 }
    9621                 :             :               break;
    9622                 :             :             }
    9623                 :     1812110 :           default:;
    9624                 :             :           }
    9625                 :     1812110 :         switch (TREE_CODE (_p1))
    9626                 :             :           {
    9627                 :      465408 :           CASE_CONVERT:
    9628                 :      465408 :             {
    9629                 :      465408 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9630                 :      465408 :               switch (TREE_CODE (_q40))
    9631                 :             :                 {
    9632                 :           7 :                 case BIT_AND_EXPR:
    9633                 :           7 :                   {
    9634                 :           7 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    9635                 :           7 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    9636                 :           7 :                     switch (TREE_CODE (_q50))
    9637                 :             :                       {
    9638                 :           7 :                       CASE_CONVERT:
    9639                 :           7 :                         {
    9640                 :           7 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    9641                 :           7 :                           if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    9642                 :             :                             {
    9643                 :           0 :                               switch (TREE_CODE (_q51))
    9644                 :             :                                 {
    9645                 :           0 :                                 case INTEGER_CST:
    9646                 :           0 :                                   {
    9647                 :           0 :                                     {
    9648                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q50, _q20, _q51 };
    9649                 :           0 :                                       tree res = generic_simplify_264 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9650                 :           0 :                                       if (res) return res;
    9651                 :             :                                     }
    9652                 :           0 :                                     break;
    9653                 :             :                                   }
    9654                 :             :                                 default:;
    9655                 :             :                                 }
    9656                 :             :                             }
    9657                 :             :                           break;
    9658                 :             :                         }
    9659                 :             :                       default:;
    9660                 :             :                       }
    9661                 :             :                     break;
    9662                 :             :                   }
    9663                 :             :                 default:;
    9664                 :             :                 }
    9665                 :             :               break;
    9666                 :             :             }
    9667                 :             :           default:;
    9668                 :             :           }
    9669                 :             :         break;
    9670                 :             :       }
    9671                 :       33104 :     case BIT_IOR_EXPR:
    9672                 :       33104 :       {
    9673                 :       33104 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9674                 :       33104 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9675                 :       33104 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9676                 :             :           {
    9677                 :          24 :             {
    9678                 :          24 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9679                 :          24 :               tree res = generic_simplify_265 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9680                 :          24 :               if (res) return res;
    9681                 :             :             }
    9682                 :             :           }
    9683                 :       33104 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9684                 :             :           {
    9685                 :          46 :             {
    9686                 :          46 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9687                 :          46 :               tree res = generic_simplify_265 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9688                 :          46 :               if (res) return res;
    9689                 :             :             }
    9690                 :             :           }
    9691                 :             :         break;
    9692                 :             :       }
    9693                 :    22053509 :     default:;
    9694                 :             :     }
    9695                 :    22053509 :   switch (TREE_CODE (_p1))
    9696                 :             :     {
    9697                 :         677 :     case BIT_IOR_EXPR:
    9698                 :         677 :       {
    9699                 :         677 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9700                 :         677 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9701                 :         677 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    9702                 :             :           {
    9703                 :           0 :             {
    9704                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    9705                 :           0 :               tree res = generic_simplify_265 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9706                 :           0 :               if (res) return res;
    9707                 :             :             }
    9708                 :             :           }
    9709                 :         677 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9710                 :             :           {
    9711                 :           0 :             {
    9712                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q31, _p0 };
    9713                 :           0 :               tree res = generic_simplify_265 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9714                 :           0 :               if (res) return res;
    9715                 :             :             }
    9716                 :             :           }
    9717                 :             :         break;
    9718                 :             :       }
    9719                 :    22053509 :     default:;
    9720                 :             :     }
    9721                 :    22053509 :   switch (TREE_CODE (_p0))
    9722                 :             :     {
    9723                 :     1812110 :     CASE_CONVERT:
    9724                 :     1812110 :       {
    9725                 :     1812110 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9726                 :     1812110 :         switch (TREE_CODE (_q20))
    9727                 :             :           {
    9728                 :           9 :           case BIT_XOR_EXPR:
    9729                 :           9 :             {
    9730                 :           9 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9731                 :           9 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9732                 :           9 :               switch (TREE_CODE (_q31))
    9733                 :             :                 {
    9734                 :           7 :                 case INTEGER_CST:
    9735                 :           7 :                   {
    9736                 :           7 :                     switch (TREE_CODE (_p1))
    9737                 :             :                       {
    9738                 :           0 :                       case INTEGER_CST:
    9739                 :           0 :                         {
    9740                 :           0 :                           {
    9741                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _p1 };
    9742                 :           0 :                             tree res = generic_simplify_266 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9743                 :           0 :                             if (res) return res;
    9744                 :             :                           }
    9745                 :           0 :                           break;
    9746                 :             :                         }
    9747                 :             :                       default:;
    9748                 :             :                       }
    9749                 :             :                     break;
    9750                 :             :                   }
    9751                 :             :                 default:;
    9752                 :             :                 }
    9753                 :             :               break;
    9754                 :             :             }
    9755                 :             :           default:;
    9756                 :             :           }
    9757                 :             :         break;
    9758                 :             :       }
    9759                 :         333 :     case BIT_XOR_EXPR:
    9760                 :         333 :       {
    9761                 :         333 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9762                 :         333 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9763                 :         333 :         switch (TREE_CODE (_q21))
    9764                 :             :           {
    9765                 :         106 :           case INTEGER_CST:
    9766                 :         106 :             {
    9767                 :         106 :               switch (TREE_CODE (_p1))
    9768                 :             :                 {
    9769                 :          16 :                 case INTEGER_CST:
    9770                 :          16 :                   {
    9771                 :          16 :                     {
    9772                 :          16 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    9773                 :          16 :                       tree res = generic_simplify_266 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9774                 :          16 :                       if (res) return res;
    9775                 :             :                     }
    9776                 :           0 :                     break;
    9777                 :             :                   }
    9778                 :             :                 default:;
    9779                 :             :                 }
    9780                 :             :               break;
    9781                 :             :             }
    9782                 :             :           default:;
    9783                 :             :           }
    9784                 :             :         break;
    9785                 :             :       }
    9786                 :    22053493 :     default:;
    9787                 :             :     }
    9788                 :    22053493 : {
    9789                 :    22053493 :   tree _p0_pops[1];
    9790                 :    22053493 :   if (tree_nop_convert (_p0, _p0_pops))
    9791                 :             :     {
    9792                 :     1502356 :       tree _q20 = _p0_pops[0];
    9793                 :     1502356 :       if (integer_zerop (_p1))
    9794                 :             :         {
    9795                 :      475188 :           {
    9796                 :      475188 :             tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    9797                 :      475188 :             tree res = generic_simplify_267 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9798                 :      475188 :             if (res) return res;
    9799                 :             :           }
    9800                 :             :         }
    9801                 :             :     }
    9802                 :             : }
    9803                 :    21707557 :   if (integer_zerop (_p1))
    9804                 :             :     {
    9805                 :     9109972 :       {
    9806                 :     9109972 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    9807                 :     9109972 :         tree res = generic_simplify_267 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9808                 :     9109972 :         if (res) return res;
    9809                 :             :       }
    9810                 :             :     }
    9811                 :    21637344 :   switch (TREE_CODE (_p0))
    9812                 :             :     {
    9813                 :      893199 :     case BIT_AND_EXPR:
    9814                 :      893199 :       {
    9815                 :      893199 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9816                 :      893199 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9817                 :      893199 :         switch (TREE_CODE (_p1))
    9818                 :             :           {
    9819                 :        7465 :           case BIT_AND_EXPR:
    9820                 :        7465 :             {
    9821                 :        7465 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9822                 :        7465 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9823                 :        7465 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9824                 :             :                 {
    9825                 :        6936 :                   {
    9826                 :        6936 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    9827                 :        6936 :                     tree res = generic_simplify_268 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9828                 :        6936 :                     if (res) return res;
    9829                 :             :                   }
    9830                 :             :                 }
    9831                 :         529 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9832                 :             :                 {
    9833                 :          28 :                   {
    9834                 :          28 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
    9835                 :          28 :                     tree res = generic_simplify_268 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9836                 :          28 :                     if (res) return res;
    9837                 :             :                   }
    9838                 :             :                 }
    9839                 :         501 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9840                 :             :                 {
    9841                 :          28 :                   {
    9842                 :          28 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
    9843                 :          28 :                     tree res = generic_simplify_268 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9844                 :          28 :                     if (res) return res;
    9845                 :             :                   }
    9846                 :             :                 }
    9847                 :         473 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9848                 :             :                 {
    9849                 :          32 :                   {
    9850                 :          32 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
    9851                 :          32 :                     tree res = generic_simplify_268 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9852                 :          32 :                     if (res) return res;
    9853                 :             :                   }
    9854                 :             :                 }
    9855                 :             :               break;
    9856                 :             :             }
    9857                 :      886175 :           default:;
    9858                 :             :           }
    9859                 :      886175 :         if (integer_pow2p (_q21))
    9860                 :             :           {
    9861                 :      301800 :             if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9862                 :             :               {
    9863                 :      113127 :                 {
    9864                 :      113127 :                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    9865                 :      113127 :                   tree res = generic_simplify_269 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
    9866                 :      113127 :                   if (res) return res;
    9867                 :             :                 }
    9868                 :             :               }
    9869                 :             :           }
    9870                 :      773066 :         switch (TREE_CODE (_q20))
    9871                 :             :           {
    9872                 :       57882 :           CASE_CONVERT:
    9873                 :       57882 :             {
    9874                 :       57882 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9875                 :       57882 :               if (integer_pow2p (_q21))
    9876                 :             :                 {
    9877                 :       19954 :                   if (integer_zerop (_p1))
    9878                 :             :                     {
    9879                 :       19952 :                       {
    9880                 :       19952 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q21 };
    9881                 :       19952 :                         tree res = generic_simplify_270 (loc, type, _p0, _p1, captures, EQ_EXPR, GE_EXPR);
    9882                 :       19952 :                         if (res) return res;
    9883                 :             :                       }
    9884                 :             :                     }
    9885                 :             :                 }
    9886                 :             :               break;
    9887                 :             :             }
    9888                 :      772093 :           default:;
    9889                 :             :           }
    9890                 :      772093 :         if (integer_pow2p (_q21))
    9891                 :             :           {
    9892                 :      187718 :             if (integer_zerop (_p1))
    9893                 :             :               {
    9894                 :      187588 :                 {
    9895                 :      187588 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q20, _q21 };
    9896                 :      187588 :                   tree res = generic_simplify_271 (loc, type, _p0, _p1, captures, EQ_EXPR, GE_EXPR);
    9897                 :      187588 :                   if (res) return res;
    9898                 :             :                 }
    9899                 :             :               }
    9900                 :             :           }
    9901                 :             :         break;
    9902                 :             :       }
    9903                 :        1251 :     case GE_EXPR:
    9904                 :        1251 :       {
    9905                 :        1251 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9906                 :        1251 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9907                 :        1251 :         if (integer_zerop (_q21))
    9908                 :             :           {
    9909                 :         108 :             switch (TREE_CODE (_p1))
    9910                 :             :               {
    9911                 :           5 :               case GE_EXPR:
    9912                 :           5 :                 {
    9913                 :           5 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    9914                 :           5 :                   tree _q51 = TREE_OPERAND (_p1, 1);
    9915                 :           5 :                   if (integer_zerop (_q51))
    9916                 :             :                     {
    9917                 :           5 :                       {
    9918                 :           5 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    9919                 :           5 :                         tree res = generic_simplify_272 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR, GE_EXPR);
    9920                 :           5 :                         if (res) return res;
    9921                 :             :                       }
    9922                 :             :                     }
    9923                 :             :                   break;
    9924                 :             :                 }
    9925                 :           1 :               case LT_EXPR:
    9926                 :           1 :                 {
    9927                 :           1 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    9928                 :           1 :                   tree _q51 = TREE_OPERAND (_p1, 1);
    9929                 :           1 :                   if (integer_zerop (_q51))
    9930                 :             :                     {
    9931                 :           1 :                       {
    9932                 :           1 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
    9933                 :           1 :                         tree res = generic_simplify_273 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR);
    9934                 :           1 :                         if (res) return res;
    9935                 :             :                       }
    9936                 :             :                     }
    9937                 :             :                   break;
    9938                 :             :                 }
    9939                 :             :               default:;
    9940                 :             :               }
    9941                 :             :           }
    9942                 :             :         break;
    9943                 :             :       }
    9944                 :         882 :     case LT_EXPR:
    9945                 :         882 :       {
    9946                 :         882 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9947                 :         882 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9948                 :         882 :         if (integer_zerop (_q21))
    9949                 :             :           {
    9950                 :         151 :             switch (TREE_CODE (_p1))
    9951                 :             :               {
    9952                 :          10 :               case LT_EXPR:
    9953                 :          10 :                 {
    9954                 :          10 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    9955                 :          10 :                   tree _q51 = TREE_OPERAND (_p1, 1);
    9956                 :          10 :                   if (integer_zerop (_q51))
    9957                 :             :                     {
    9958                 :           9 :                       {
    9959                 :           9 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    9960                 :           9 :                         tree res = generic_simplify_272 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR, GE_EXPR);
    9961                 :           9 :                         if (res) return res;
    9962                 :             :                       }
    9963                 :             :                     }
    9964                 :             :                   break;
    9965                 :             :                 }
    9966                 :           1 :               case GE_EXPR:
    9967                 :           1 :                 {
    9968                 :           1 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    9969                 :           1 :                   tree _q51 = TREE_OPERAND (_p1, 1);
    9970                 :           1 :                   if (integer_zerop (_q51))
    9971                 :             :                     {
    9972                 :           1 :                       {
    9973                 :           1 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    9974                 :           1 :                         tree res = generic_simplify_274 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR);
    9975                 :           1 :                         if (res) return res;
    9976                 :             :                       }
    9977                 :             :                     }
    9978                 :             :                   break;
    9979                 :             :                 }
    9980                 :             :               default:;
    9981                 :             :               }
    9982                 :             :           }
    9983                 :             :         break;
    9984                 :             :       }
    9985                 :     1466135 :     CASE_CONVERT:
    9986                 :     1466135 :       {
    9987                 :     1466135 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9988                 :     1466135 :         switch (TREE_CODE (_q20))
    9989                 :             :           {
    9990                 :      143653 :           case ADDR_EXPR:
    9991                 :      143653 :             {
    9992                 :      143653 :               switch (TREE_CODE (_p1))
    9993                 :             :                 {
    9994                 :      116090 :                 CASE_CONVERT:
    9995                 :      116090 :                   {
    9996                 :      116090 :                     tree _q40 = TREE_OPERAND (_p1, 0);
    9997                 :      116090 :                     switch (TREE_CODE (_q40))
    9998                 :             :                       {
    9999                 :      116090 :                       case ADDR_EXPR:
   10000                 :      116090 :                         {
   10001                 :      116090 :                           {
   10002                 :      116090 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   10003                 :      116090 :                             tree res = generic_simplify_275 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10004                 :      116090 :                             if (res) return res;
   10005                 :             :                           }
   10006                 :          30 :                           break;
   10007                 :             :                         }
   10008                 :             :                       default:;
   10009                 :             :                       }
   10010                 :             :                     break;
   10011                 :             :                   }
   10012                 :       20800 :                 case ADDR_EXPR:
   10013                 :       20800 :                   {
   10014                 :       20800 :                     {
   10015                 :       20800 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10016                 :       20800 :                       tree res = generic_simplify_275 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10017                 :       20800 :                       if (res) return res;
   10018                 :             :                     }
   10019                 :        8247 :                     break;
   10020                 :             :                   }
   10021                 :             :                 default:;
   10022                 :             :                 }
   10023                 :             :               break;
   10024                 :             :             }
   10025                 :             :           default:;
   10026                 :             :           }
   10027                 :             :         break;
   10028                 :             :       }
   10029                 :       14109 :     case ADDR_EXPR:
   10030                 :       14109 :       {
   10031                 :       14109 :         switch (TREE_CODE (_p1))
   10032                 :             :           {
   10033                 :          51 :           CASE_CONVERT:
   10034                 :          51 :             {
   10035                 :          51 :               tree _q30 = TREE_OPERAND (_p1, 0);
   10036                 :          51 :               switch (TREE_CODE (_q30))
   10037                 :             :                 {
   10038                 :          51 :                 case ADDR_EXPR:
   10039                 :          51 :                   {
   10040                 :          51 :                     {
   10041                 :          51 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q30 };
   10042                 :          51 :                       tree res = generic_simplify_276 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10043                 :          51 :                       if (res) return res;
   10044                 :             :                     }
   10045                 :           0 :                     break;
   10046                 :             :                   }
   10047                 :             :                 default:;
   10048                 :             :                 }
   10049                 :             :               break;
   10050                 :             :             }
   10051                 :       11652 :           case ADDR_EXPR:
   10052                 :       11652 :             {
   10053                 :       11652 :               {
   10054                 :       11652 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
   10055                 :       11652 :                 tree res = generic_simplify_276 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10056                 :       11652 :                 if (res) return res;
   10057                 :             :               }
   10058                 :        5445 :               break;
   10059                 :             :             }
   10060                 :             :           default:;
   10061                 :             :           }
   10062                 :             :         break;
   10063                 :             :       }
   10064                 :    21381051 :     default:;
   10065                 :             :     }
   10066                 :    21381051 :   {
   10067                 :    21381051 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   10068                 :    21381051 :     tree res = generic_simplify_277 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10069                 :    21381051 :     if (res) return res;
   10070                 :             :   }
   10071                 :    21379062 :   switch (TREE_CODE (_p0))
   10072                 :             :     {
   10073                 :     1337522 :     CASE_CONVERT:
   10074                 :     1337522 :       {
   10075                 :     1337522 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10076                 :     1337522 :         switch (TREE_CODE (_p1))
   10077                 :             :           {
   10078                 :      226387 :           case INTEGER_CST:
   10079                 :      226387 :             {
   10080                 :      226387 :               {
   10081                 :      226387 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   10082                 :      226387 :                 tree res = generic_simplify_278 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10083                 :      226387 :                 if (res) return res;
   10084                 :             :               }
   10085                 :      224891 :               break;
   10086                 :             :             }
   10087                 :     1336026 :           default:;
   10088                 :             :           }
   10089                 :     1336026 :         switch (TREE_CODE (_q20))
   10090                 :             :           {
   10091                 :           0 :           case NE_EXPR:
   10092                 :           0 :             {
   10093                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
   10094                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
   10095                 :           0 :               switch (TREE_CODE (_q31))
   10096                 :             :                 {
   10097                 :           0 :                 case INTEGER_CST:
   10098                 :           0 :                   {
   10099                 :           0 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   10100                 :             :                       {
   10101                 :           0 :                         {
   10102                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
   10103                 :           0 :                           tree res = generic_simplify_279 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
   10104                 :           0 :                           if (res) return res;
   10105                 :             :                         }
   10106                 :             :                       }
   10107                 :             :                     break;
   10108                 :             :                   }
   10109                 :             :                 default:;
   10110                 :             :                 }
   10111                 :             :               break;
   10112                 :             :             }
   10113                 :           0 :           case EQ_EXPR:
   10114                 :           0 :             {
   10115                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
   10116                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
   10117                 :           0 :               switch (TREE_CODE (_q31))
   10118                 :             :                 {
   10119                 :           0 :                 case INTEGER_CST:
   10120                 :           0 :                   {
   10121                 :           0 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   10122                 :             :                       {
   10123                 :           0 :                         {
   10124                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
   10125                 :           0 :                           tree res = generic_simplify_279 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
   10126                 :           0 :                           if (res) return res;
   10127                 :             :                         }
   10128                 :             :                       }
   10129                 :             :                     break;
   10130                 :             :                   }
   10131                 :             :                 default:;
   10132                 :             :                 }
   10133                 :             :               break;
   10134                 :             :             }
   10135                 :             :           default:;
   10136                 :             :           }
   10137                 :             :         break;
   10138                 :             :       }
   10139                 :    21377566 :     default:;
   10140                 :             :     }
   10141                 :    21377566 :   switch (TREE_CODE (_p1))
   10142                 :             :     {
   10143                 :      647818 :     CASE_CONVERT:
   10144                 :      647818 :       {
   10145                 :      647818 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10146                 :      647818 :         switch (TREE_CODE (_q30))
   10147                 :             :           {
   10148                 :           0 :           case NE_EXPR:
   10149                 :           0 :             {
   10150                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
   10151                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
   10152                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   10153                 :             :                 {
   10154                 :           0 :                   switch (TREE_CODE (_q41))
   10155                 :             :                     {
   10156                 :           0 :                     case INTEGER_CST:
   10157                 :           0 :                       {
   10158                 :           0 :                         {
   10159                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
   10160                 :           0 :                           tree res = generic_simplify_279 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
   10161                 :           0 :                           if (res) return res;
   10162                 :             :                         }
   10163                 :           0 :                         break;
   10164                 :             :                       }
   10165                 :             :                     default:;
   10166                 :             :                     }
   10167                 :             :                 }
   10168                 :             :               break;
   10169                 :             :             }
   10170                 :           0 :           case EQ_EXPR:
   10171                 :           0 :             {
   10172                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
   10173                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
   10174                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   10175                 :             :                 {
   10176                 :           0 :                   switch (TREE_CODE (_q41))
   10177                 :             :                     {
   10178                 :           0 :                     case INTEGER_CST:
   10179                 :           0 :                       {
   10180                 :           0 :                         {
   10181                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
   10182                 :           0 :                           tree res = generic_simplify_279 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
   10183                 :           0 :                           if (res) return res;
   10184                 :             :                         }
   10185                 :           0 :                         break;
   10186                 :             :                       }
   10187                 :             :                     default:;
   10188                 :             :                     }
   10189                 :             :                 }
   10190                 :             :               break;
   10191                 :             :             }
   10192                 :             :           default:;
   10193                 :             :           }
   10194                 :             :         break;
   10195                 :             :       }
   10196                 :    21377566 :     default:;
   10197                 :             :     }
   10198                 :    21377566 : if (integer_onep (_p1))
   10199                 :             :   {
   10200                 :     1642411 :     {
   10201                 :     1642411 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   10202                 :     1642411 :       if (TREE_CODE (TREE_TYPE (captures[0])) == BOOLEAN_TYPE
   10203                 :     1642411 :  && types_match (type, TREE_TYPE (captures[0]))
   10204                 :             : )
   10205                 :             :         {
   10206                 :       83378 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1539;
   10207                 :       83378 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1539;
   10208                 :       83378 :           {
   10209                 :       83378 :             tree res_op0;
   10210                 :       83378 :             res_op0 = captures[0];
   10211                 :       83378 :             tree _r;
   10212                 :       83378 :             _r = non_lvalue_loc (loc, res_op0);
   10213                 :       83378 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 988, __FILE__, __LINE__, true);
   10214                 :       83378 :             return _r;
   10215                 :             :           }
   10216                 :             : next_after_fail1539:;
   10217                 :             :         }
   10218                 :             :     }
   10219                 :             :   }
   10220                 :    21294188 :   switch (TREE_CODE (_p0))
   10221                 :             :     {
   10222                 :      771793 :     case BIT_AND_EXPR:
   10223                 :      771793 :       {
   10224                 :      771793 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10225                 :      771793 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10226                 :      771793 :         switch (TREE_CODE (_q21))
   10227                 :             :           {
   10228                 :         408 :           case VECTOR_CST:
   10229                 :         408 :             {
   10230                 :         408 :               if (integer_zerop (_p1))
   10231                 :             :                 {
   10232                 :         406 :                   {
   10233                 :         406 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   10234                 :         406 :                     const enum tree_code cmp = EQ_EXPR;
   10235                 :         406 :                     const enum tree_code icmp = LE_EXPR;
   10236                 :         406 :                     {
   10237                 :         406 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   10238                 :         406 :                         if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   10239                 :             : )
   10240                 :             :                           {
   10241                 :           2 :                             {
   10242                 :           2 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   10243                 :           2 :  ? optab_vector : optab_default;
   10244                 :           2 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   10245                 :           2 :                                 if (target_supports_op_p (utype, icmp, optab)
   10246                 :           2 :  || (optimize_vectors_before_lowering_p ()
   10247                 :           2 :  && (!target_supports_op_p (type, cmp, optab)
   10248                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   10249                 :             : )
   10250                 :             :                                   {
   10251                 :           2 :                                     if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   10252                 :             : )
   10253                 :             :                                       {
   10254                 :           2 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1540;
   10255                 :           2 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1540;
   10256                 :           2 :                                         {
   10257                 :           2 :                                           tree res_op0;
   10258                 :           2 :                                           res_op0 = captures[1];
   10259                 :           2 :                                           tree res_op1;
   10260                 :           2 :                                           res_op1 =  csts;
   10261                 :           2 :                                           tree _r;
   10262                 :           2 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10263                 :           2 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10264                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10265                 :           2 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 989, __FILE__, __LINE__, true);
   10266                 :           2 :                                           return _r;
   10267                 :             :                                         }
   10268                 :         404 : next_after_fail1540:;
   10269                 :             :                                       }
   10270                 :             :                                     else
   10271                 :             :                                       {
   10272                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1541;
   10273                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1541;
   10274                 :           0 :                                         {
   10275                 :           0 :                                           tree res_op0;
   10276                 :           0 :                                           {
   10277                 :           0 :                                             tree _o1[1], _r1;
   10278                 :           0 :                                             _o1[0] = captures[1];
   10279                 :           0 :                                             if (TREE_TYPE (_o1[0]) != utype)
   10280                 :             :                                               {
   10281                 :           0 :                                                 _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, utype, _o1[0]);
   10282                 :             :                                               }
   10283                 :             :                                             else
   10284                 :             :                                               _r1 = _o1[0];
   10285                 :           0 :                                             res_op0 = _r1;
   10286                 :             :                                           }
   10287                 :           0 :                                           tree res_op1;
   10288                 :           0 :                                           res_op1 =  csts;
   10289                 :           0 :                                           tree _r;
   10290                 :           0 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10291                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10292                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10293                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
   10294                 :           0 :                                           return _r;
   10295                 :             :                                         }
   10296                 :         404 : next_after_fail1541:;
   10297                 :             :                                       }
   10298                 :             :                                   }
   10299                 :             :                             }
   10300                 :             :                           }
   10301                 :             :                     }
   10302                 :             :                   }
   10303                 :             :                 }
   10304                 :             :               break;
   10305                 :             :             }
   10306                 :      723876 :           case INTEGER_CST:
   10307                 :      723876 :             {
   10308                 :      723876 :               if (integer_zerop (_p1))
   10309                 :             :                 {
   10310                 :      583845 :                   {
   10311                 :      583845 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   10312                 :      583845 :                     const enum tree_code cmp = EQ_EXPR;
   10313                 :      583845 :                     const enum tree_code icmp = LE_EXPR;
   10314                 :      583845 :                     {
   10315                 :      583845 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   10316                 :      583845 :                         if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   10317                 :             : )
   10318                 :             :                           {
   10319                 :       15645 :                             {
   10320                 :       15645 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   10321                 :       15645 :  ? optab_vector : optab_default;
   10322                 :       15645 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   10323                 :       15645 :                                 if (target_supports_op_p (utype, icmp, optab)
   10324                 :       15645 :  || (optimize_vectors_before_lowering_p ()
   10325                 :       15527 :  && (!target_supports_op_p (type, cmp, optab)
   10326                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   10327                 :             : )
   10328                 :             :                                   {
   10329                 :       15527 :                                     if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   10330                 :             : )
   10331                 :             :                                       {
   10332                 :         586 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1542;
   10333                 :         586 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1542;
   10334                 :         586 :                                         {
   10335                 :         586 :                                           tree res_op0;
   10336                 :         586 :                                           res_op0 = captures[1];
   10337                 :         586 :                                           tree res_op1;
   10338                 :         586 :                                           res_op1 =  csts;
   10339                 :         586 :                                           tree _r;
   10340                 :         586 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10341                 :         586 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10342                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10343                 :         586 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 989, __FILE__, __LINE__, true);
   10344                 :         586 :                                           return _r;
   10345                 :             :                                         }
   10346                 :      568318 : next_after_fail1542:;
   10347                 :             :                                       }
   10348                 :             :                                     else
   10349                 :             :                                       {
   10350                 :       14941 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1543;
   10351                 :       14941 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1543;
   10352                 :       14941 :                                         {
   10353                 :       14941 :                                           tree res_op0;
   10354                 :       14941 :                                           {
   10355                 :       14941 :                                             tree _o1[1], _r1;
   10356                 :       14941 :                                             _o1[0] = captures[1];
   10357                 :       14941 :                                             if (TREE_TYPE (_o1[0]) != utype)
   10358                 :             :                                               {
   10359                 :       14941 :                                                 _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, utype, _o1[0]);
   10360                 :             :                                               }
   10361                 :             :                                             else
   10362                 :             :                                               _r1 = _o1[0];
   10363                 :       14941 :                                             res_op0 = _r1;
   10364                 :             :                                           }
   10365                 :       14941 :                                           tree res_op1;
   10366                 :       14941 :                                           res_op1 =  csts;
   10367                 :       14941 :                                           tree _r;
   10368                 :       14941 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10369                 :       14941 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10370                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10371                 :       14941 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
   10372                 :       14941 :                                           return _r;
   10373                 :             :                                         }
   10374                 :      568318 : next_after_fail1543:;
   10375                 :             :                                       }
   10376                 :             :                                   }
   10377                 :             :                             }
   10378                 :             :                           }
   10379                 :             :                     }
   10380                 :             :                   }
   10381                 :             :                 }
   10382                 :             :               break;
   10383                 :             :             }
   10384                 :      756264 :           default:;
   10385                 :             :           }
   10386                 :      756264 :         switch (TREE_CODE (_q20))
   10387                 :             :           {
   10388                 :           0 :           case VECTOR_CST:
   10389                 :           0 :             {
   10390                 :           0 :               if (integer_zerop (_p1))
   10391                 :             :                 {
   10392                 :           0 :                   {
   10393                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
   10394                 :           0 :                     const enum tree_code cmp = EQ_EXPR;
   10395                 :           0 :                     const enum tree_code icmp = LE_EXPR;
   10396                 :           0 :                     {
   10397                 :           0 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   10398                 :           0 :                         if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   10399                 :             : )
   10400                 :             :                           {
   10401                 :           0 :                             {
   10402                 :           0 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   10403                 :           0 :  ? optab_vector : optab_default;
   10404                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   10405                 :           0 :                                 if (target_supports_op_p (utype, icmp, optab)
   10406                 :           0 :  || (optimize_vectors_before_lowering_p ()
   10407                 :           0 :  && (!target_supports_op_p (type, cmp, optab)
   10408                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   10409                 :             : )
   10410                 :             :                                   {
   10411                 :           0 :                                     if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   10412                 :             : )
   10413                 :             :                                       {
   10414                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1544;
   10415                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1544;
   10416                 :           0 :                                         {
   10417                 :           0 :                                           tree res_op0;
   10418                 :           0 :                                           res_op0 = captures[1];
   10419                 :           0 :                                           tree res_op1;
   10420                 :           0 :                                           res_op1 =  csts;
   10421                 :           0 :                                           tree _r;
   10422                 :           0 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10423                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10424                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10425                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 989, __FILE__, __LINE__, true);
   10426                 :           0 :                                           return _r;
   10427                 :             :                                         }
   10428                 :           0 : next_after_fail1544:;
   10429                 :             :                                       }
   10430                 :             :                                     else
   10431                 :             :                                       {
   10432                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1545;
   10433                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1545;
   10434                 :           0 :                                         {
   10435                 :           0 :                                           tree res_op0;
   10436                 :           0 :                                           {
   10437                 :           0 :                                             tree _o1[1], _r1;
   10438                 :           0 :                                             _o1[0] = captures[1];
   10439                 :           0 :                                             if (TREE_TYPE (_o1[0]) != utype)
   10440                 :             :                                               {
   10441                 :           0 :                                                 _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, utype, _o1[0]);
   10442                 :             :                                               }
   10443                 :             :                                             else
   10444                 :             :                                               _r1 = _o1[0];
   10445                 :           0 :                                             res_op0 = _r1;
   10446                 :             :                                           }
   10447                 :           0 :                                           tree res_op1;
   10448                 :           0 :                                           res_op1 =  csts;
   10449                 :           0 :                                           tree _r;
   10450                 :           0 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10451                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10452                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10453                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
   10454                 :           0 :                                           return _r;
   10455                 :             :                                         }
   10456                 :           0 : next_after_fail1545:;
   10457                 :             :                                       }
   10458                 :             :                                   }
   10459                 :             :                             }
   10460                 :             :                           }
   10461                 :             :                     }
   10462                 :             :                   }
   10463                 :             :                 }
   10464                 :             :               break;
   10465                 :             :             }
   10466                 :           0 :           case INTEGER_CST:
   10467                 :           0 :             {
   10468                 :           0 :               if (integer_zerop (_p1))
   10469                 :             :                 {
   10470                 :           0 :                   {
   10471                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
   10472                 :           0 :                     const enum tree_code cmp = EQ_EXPR;
   10473                 :           0 :                     const enum tree_code icmp = LE_EXPR;
   10474                 :           0 :                     {
   10475                 :           0 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   10476                 :           0 :                         if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   10477                 :             : )
   10478                 :             :                           {
   10479                 :           0 :                             {
   10480                 :           0 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   10481                 :           0 :  ? optab_vector : optab_default;
   10482                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   10483                 :           0 :                                 if (target_supports_op_p (utype, icmp, optab)
   10484                 :           0 :  || (optimize_vectors_before_lowering_p ()
   10485                 :           0 :  && (!target_supports_op_p (type, cmp, optab)
   10486                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   10487                 :             : )
   10488                 :             :                                   {
   10489                 :           0 :                                     if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   10490                 :             : )
   10491                 :             :                                       {
   10492                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1546;
   10493                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1546;
   10494                 :           0 :                                         {
   10495                 :           0 :                                           tree res_op0;
   10496                 :           0 :                                           res_op0 = captures[1];
   10497                 :           0 :                                           tree res_op1;
   10498                 :           0 :                                           res_op1 =  csts;
   10499                 :           0 :                                           tree _r;
   10500                 :           0 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10501                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10502                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10503                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 989, __FILE__, __LINE__, true);
   10504                 :           0 :                                           return _r;
   10505                 :             :                                         }
   10506                 :           0 : next_after_fail1546:;
   10507                 :             :                                       }
   10508                 :             :                                     else
   10509                 :             :                                       {
   10510                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1547;
   10511                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1547;
   10512                 :           0 :                                         {
   10513                 :           0 :                                           tree res_op0;
   10514                 :           0 :                                           {
   10515                 :           0 :                                             tree _o1[1], _r1;
   10516                 :           0 :                                             _o1[0] = captures[1];
   10517                 :           0 :                                             if (TREE_TYPE (_o1[0]) != utype)
   10518                 :             :                                               {
   10519                 :           0 :                                                 _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, utype, _o1[0]);
   10520                 :             :                                               }
   10521                 :             :                                             else
   10522                 :             :                                               _r1 = _o1[0];
   10523                 :           0 :                                             res_op0 = _r1;
   10524                 :             :                                           }
   10525                 :           0 :                                           tree res_op1;
   10526                 :           0 :                                           res_op1 =  csts;
   10527                 :           0 :                                           tree _r;
   10528                 :           0 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10529                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10530                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10531                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
   10532                 :           0 :                                           return _r;
   10533                 :             :                                         }
   10534                 :           0 : next_after_fail1547:;
   10535                 :             :                                       }
   10536                 :             :                                   }
   10537                 :             :                             }
   10538                 :             :                           }
   10539                 :             :                     }
   10540                 :             :                   }
   10541                 :             :                 }
   10542                 :             :               break;
   10543                 :             :             }
   10544                 :             :           default:;
   10545                 :             :           }
   10546                 :             :         break;
   10547                 :             :       }
   10548                 :       16738 :     case RSHIFT_EXPR:
   10549                 :       16738 :       {
   10550                 :       16738 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10551                 :       16738 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10552                 :       16738 :         switch (TREE_CODE (_q20))
   10553                 :             :           {
   10554                 :           1 :           case MULT_EXPR:
   10555                 :           1 :             {
   10556                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
   10557                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
   10558                 :           1 :               switch (TREE_CODE (_q30))
   10559                 :             :                 {
   10560                 :           1 :                 CASE_CONVERT:
   10561                 :           1 :                   {
   10562                 :           1 :                     tree _q40 = TREE_OPERAND (_q30, 0);
   10563                 :           1 :                     switch (TREE_CODE (_q31))
   10564                 :             :                       {
   10565                 :           1 :                       CASE_CONVERT:
   10566                 :           1 :                         {
   10567                 :           1 :                           tree _q60 = TREE_OPERAND (_q31, 0);
   10568                 :           1 :                           switch (TREE_CODE (_q21))
   10569                 :             :                             {
   10570                 :           1 :                             case INTEGER_CST:
   10571                 :           1 :                               {
   10572                 :           1 :                                 if (integer_zerop (_p1))
   10573                 :             :                                   {
   10574                 :           1 :                                     {
   10575                 :           1 :                                       tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q60, _q21 };
   10576                 :           1 :                                       tree res = generic_simplify_280 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10577                 :           1 :                                       if (res) return res;
   10578                 :             :                                     }
   10579                 :             :                                   }
   10580                 :             :                                 break;
   10581                 :             :                               }
   10582                 :             :                             default:;
   10583                 :             :                             }
   10584                 :             :                           break;
   10585                 :             :                         }
   10586                 :             :                       default:;
   10587                 :             :                       }
   10588                 :             :                     break;
   10589                 :             :                   }
   10590                 :             :                 default:;
   10591                 :             :                 }
   10592                 :             :               break;
   10593                 :             :             }
   10594                 :             :           default:;
   10595                 :             :           }
   10596                 :             :         break;
   10597                 :             :       }
   10598                 :      677697 :     case PLUS_EXPR:
   10599                 :      677697 :       {
   10600                 :      677697 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10601                 :      677697 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10602                 :      677697 :         switch (TREE_CODE (_q21))
   10603                 :             :           {
   10604                 :      633981 :           case INTEGER_CST:
   10605                 :      633981 :             {
   10606                 :      633981 :               switch (TREE_CODE (_p1))
   10607                 :             :                 {
   10608                 :      346267 :                 case INTEGER_CST:
   10609                 :      346267 :                   {
   10610                 :      346267 :                     {
   10611                 :      346267 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   10612                 :      346267 :                       tree res = generic_simplify_281 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR, EQ_EXPR);
   10613                 :      346267 :                       if (res) return res;
   10614                 :             :                     }
   10615                 :          14 :                     break;
   10616                 :             :                   }
   10617                 :             :                 default:;
   10618                 :             :                 }
   10619                 :             :               break;
   10620                 :             :             }
   10621                 :             :           default:;
   10622                 :             :           }
   10623                 :             :         break;
   10624                 :             :       }
   10625                 :       72561 :     case MINUS_EXPR:
   10626                 :       72561 :       {
   10627                 :       72561 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10628                 :       72561 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10629                 :       72561 :         switch (TREE_CODE (_q21))
   10630                 :             :           {
   10631                 :          16 :           case INTEGER_CST:
   10632                 :          16 :             {
   10633                 :          16 :               switch (TREE_CODE (_p1))
   10634                 :             :                 {
   10635                 :          16 :                 case INTEGER_CST:
   10636                 :          16 :                   {
   10637                 :          16 :                     {
   10638                 :          16 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   10639                 :          16 :                       tree res = generic_simplify_281 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR, EQ_EXPR);
   10640                 :          16 :                       if (res) return res;
   10641                 :             :                     }
   10642                 :          16 :                     break;
   10643                 :             :                   }
   10644                 :             :                 default:;
   10645                 :             :                 }
   10646                 :             :               break;
   10647                 :             :             }
   10648                 :       72561 :           default:;
   10649                 :             :           }
   10650                 :       72561 :         switch (TREE_CODE (_q20))
   10651                 :             :           {
   10652                 :       32953 :           case INTEGER_CST:
   10653                 :       32953 :             {
   10654                 :       32953 :               switch (TREE_CODE (_p1))
   10655                 :             :                 {
   10656                 :       32271 :                 case INTEGER_CST:
   10657                 :       32271 :                   {
   10658                 :       32271 :                     {
   10659                 :       32271 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   10660                 :       32271 :                       tree res = generic_simplify_282 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
   10661                 :       32271 :                       if (res) return res;
   10662                 :             :                     }
   10663                 :           0 :                     break;
   10664                 :             :                   }
   10665                 :             :                 default:;
   10666                 :             :                 }
   10667                 :             :               break;
   10668                 :             :             }
   10669                 :             :           default:;
   10670                 :             :           }
   10671                 :             :         break;
   10672                 :             :       }
   10673                 :     1701576 :     case CALL_EXPR:
   10674                 :     1701576 :       switch (get_call_combined_fn (_p0))
   10675                 :             :         {
   10676                 :          19 :         case CFN_BUILT_IN_CLZ:
   10677                 :          19 :           if (call_expr_nargs (_p0) == 1)
   10678                 :             :     {
   10679                 :          19 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10680                 :          19 :               switch (TREE_CODE (_p1))
   10681                 :             :                 {
   10682                 :          19 :                 case INTEGER_CST:
   10683                 :          19 :                   {
   10684                 :          19 :                     {
   10685                 :          19 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10686                 :          19 :                       tree res = generic_simplify_283 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZ);
   10687                 :          19 :                       if (res) return res;
   10688                 :             :                     }
   10689                 :          16 :                     break;
   10690                 :             :                   }
   10691                 :             :                 default:;
   10692                 :             :                 }
   10693                 :             :             }
   10694                 :             :           break;
   10695                 :          17 :         case CFN_BUILT_IN_CTZ:
   10696                 :          17 :           if (call_expr_nargs (_p0) == 1)
   10697                 :             :     {
   10698                 :          17 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10699                 :          17 :               switch (TREE_CODE (_p1))
   10700                 :             :                 {
   10701                 :          17 :                 case INTEGER_CST:
   10702                 :          17 :                   {
   10703                 :          17 :                     {
   10704                 :          17 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10705                 :          17 :                       tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_CTZ);
   10706                 :          17 :                       if (res) return res;
   10707                 :             :                     }
   10708                 :          16 :                     break;
   10709                 :             :                   }
   10710                 :             :                 default:;
   10711                 :             :                 }
   10712                 :             :             }
   10713                 :             :           break;
   10714                 :           4 :         case CFN_BUILT_IN_FFS:
   10715                 :           4 :           if (call_expr_nargs (_p0) == 1)
   10716                 :             :     {
   10717                 :           4 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10718                 :           4 :               switch (TREE_CODE (_p1))
   10719                 :             :                 {
   10720                 :           4 :                 case INTEGER_CST:
   10721                 :           4 :                   {
   10722                 :           4 :                     {
   10723                 :           4 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10724                 :           4 :                       tree res = generic_simplify_288 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_FFS);
   10725                 :           4 :                       if (res) return res;
   10726                 :             :                     }
   10727                 :           0 :                     break;
   10728                 :             :                   }
   10729                 :             :                 default:;
   10730                 :             :                 }
   10731                 :             :             }
   10732                 :             :           break;
   10733                 :           0 :         case CFN_REDUC_IOR:
   10734                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10735                 :             :     {
   10736                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10737                 :           0 :               if (integer_zerop (_p1))
   10738                 :             :                 {
   10739                 :           0 :                   {
   10740                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   10741                 :           0 :                     tree res = generic_simplify_289 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10742                 :           0 :                     if (res) return res;
   10743                 :             :                   }
   10744                 :             :                 }
   10745                 :             :             }
   10746                 :             :           break;
   10747                 :           0 :         case CFN_BUILT_IN_FFSIMAX:
   10748                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10749                 :             :     {
   10750                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10751                 :           0 :               switch (TREE_CODE (_p1))
   10752                 :             :                 {
   10753                 :           0 :                 case INTEGER_CST:
   10754                 :           0 :                   {
   10755                 :           0 :                     {
   10756                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10757                 :           0 :                       tree res = generic_simplify_288 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_FFSIMAX);
   10758                 :           0 :                       if (res) return res;
   10759                 :             :                     }
   10760                 :           0 :                     break;
   10761                 :             :                   }
   10762                 :             :                 default:;
   10763                 :             :                 }
   10764                 :             :             }
   10765                 :             :           break;
   10766                 :          15 :         case CFN_BUILT_IN_POPCOUNT:
   10767                 :          15 :           if (call_expr_nargs (_p0) == 1)
   10768                 :             :     {
   10769                 :          15 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10770                 :          15 :               if (integer_zerop (_p1))
   10771                 :             :                 {
   10772                 :           1 :                   {
   10773                 :           1 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   10774                 :           1 :                     tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNT);
   10775                 :           1 :                     if (res) return res;
   10776                 :             :                   }
   10777                 :             :                 }
   10778                 :             :             }
   10779                 :             :           break;
   10780                 :           0 :         case CFN_BUILT_IN_CLZL:
   10781                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10782                 :             :     {
   10783                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10784                 :           0 :               switch (TREE_CODE (_p1))
   10785                 :             :                 {
   10786                 :           0 :                 case INTEGER_CST:
   10787                 :           0 :                   {
   10788                 :           0 :                     {
   10789                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10790                 :           0 :                       tree res = generic_simplify_283 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZL);
   10791                 :           0 :                       if (res) return res;
   10792                 :             :                     }
   10793                 :           0 :                     break;
   10794                 :             :                   }
   10795                 :             :                 default:;
   10796                 :             :                 }
   10797                 :             :             }
   10798                 :             :           break;
   10799                 :          16 :         case CFN_BUILT_IN_CTZL:
   10800                 :          16 :           if (call_expr_nargs (_p0) == 1)
   10801                 :             :     {
   10802                 :          16 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10803                 :          16 :               switch (TREE_CODE (_p1))
   10804                 :             :                 {
   10805                 :          16 :                 case INTEGER_CST:
   10806                 :          16 :                   {
   10807                 :          16 :                     {
   10808                 :          16 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10809                 :          16 :                       tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_CTZL);
   10810                 :          16 :                       if (res) return res;
   10811                 :             :                     }
   10812                 :          16 :                     break;
   10813                 :             :                   }
   10814                 :             :                 default:;
   10815                 :             :                 }
   10816                 :             :             }
   10817                 :             :           break;
   10818                 :           1 :         case CFN_BUILT_IN_FFSL:
   10819                 :           1 :           if (call_expr_nargs (_p0) == 1)
   10820                 :             :     {
   10821                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10822                 :           1 :               switch (TREE_CODE (_p1))
   10823                 :             :                 {
   10824                 :           1 :                 case INTEGER_CST:
   10825                 :           1 :                   {
   10826                 :           1 :                     {
   10827                 :           1 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10828                 :           1 :                       tree res = generic_simplify_288 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_FFSL);
   10829                 :           1 :                       if (res) return res;
   10830                 :             :                     }
   10831                 :           0 :                     break;
   10832                 :             :                   }
   10833                 :             :                 default:;
   10834                 :             :                 }
   10835                 :             :             }
   10836                 :             :           break;
   10837                 :           7 :         case CFN_BUILT_IN_POPCOUNTLL:
   10838                 :           7 :           if (call_expr_nargs (_p0) == 1)
   10839                 :             :     {
   10840                 :           7 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10841                 :           7 :               if (integer_zerop (_p1))
   10842                 :             :                 {
   10843                 :           1 :                   {
   10844                 :           1 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   10845                 :           1 :                     tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTLL);
   10846                 :           1 :                     if (res) return res;
   10847                 :             :                   }
   10848                 :             :                 }
   10849                 :             :             }
   10850                 :             :           break;
   10851                 :           0 :         case CFN_BUILT_IN_CTZIMAX:
   10852                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10853                 :             :     {
   10854                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10855                 :           0 :               switch (TREE_CODE (_p1))
   10856                 :             :                 {
   10857                 :           0 :                 case INTEGER_CST:
   10858                 :           0 :                   {
   10859                 :           0 :                     {
   10860                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10861                 :           0 :                       tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_CTZIMAX);
   10862                 :           0 :                       if (res) return res;
   10863                 :             :                     }
   10864                 :           0 :                     break;
   10865                 :             :                   }
   10866                 :             :                 default:;
   10867                 :             :                 }
   10868                 :             :             }
   10869                 :             :           break;
   10870                 :           0 :         case CFN_POPCOUNT:
   10871                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10872                 :             :     {
   10873                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10874                 :           0 :               if (integer_zerop (_p1))
   10875                 :             :                 {
   10876                 :           0 :                   {
   10877                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   10878                 :           0 :                     tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR, CFN_POPCOUNT);
   10879                 :           0 :                     if (res) return res;
   10880                 :             :                   }
   10881                 :             :                 }
   10882                 :             :             }
   10883                 :             :           break;
   10884                 :           0 :         case CFN_CLZ:
   10885                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10886                 :             :     {
   10887                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10888                 :           0 :               switch (TREE_CODE (_p1))
   10889                 :             :                 {
   10890                 :           0 :                 case INTEGER_CST:
   10891                 :           0 :                   {
   10892                 :           0 :                     {
   10893                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10894                 :           0 :                       tree res = generic_simplify_283 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR, CFN_CLZ);
   10895                 :           0 :                       if (res) return res;
   10896                 :             :                     }
   10897                 :           0 :                     break;
   10898                 :             :                   }
   10899                 :             :                 default:;
   10900                 :             :                 }
   10901                 :             :             }
   10902                 :           0 :           if (call_expr_nargs (_p0) == 2)
   10903                 :             :     {
   10904                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10905                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   10906                 :           0 :               switch (TREE_CODE (_p1))
   10907                 :             :                 {
   10908                 :           0 :                 case INTEGER_CST:
   10909                 :           0 :                   {
   10910                 :           0 :                     {
   10911                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   10912                 :           0 :                       tree res = generic_simplify_284 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR);
   10913                 :           0 :                       if (res) return res;
   10914                 :             :                     }
   10915                 :           0 :                     break;
   10916                 :             :                   }
   10917                 :             :                 default:;
   10918                 :             :                 }
   10919                 :             :             }
   10920                 :             :           break;
   10921                 :           0 :         case CFN_CTZ:
   10922                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10923                 :             :     {
   10924                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10925                 :           0 :               switch (TREE_CODE (_p1))
   10926                 :             :                 {
   10927                 :           0 :                 case INTEGER_CST:
   10928                 :           0 :                   {
   10929                 :           0 :                     {
   10930                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10931                 :           0 :                       tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_CTZ);
   10932                 :           0 :                       if (res) return res;
   10933                 :             :                     }
   10934                 :           0 :                     break;
   10935                 :             :                   }
   10936                 :             :                 default:;
   10937                 :             :                 }
   10938                 :             :             }
   10939                 :           0 :           if (call_expr_nargs (_p0) == 2)
   10940                 :             :     {
   10941                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10942                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   10943                 :           0 :               switch (TREE_CODE (_p1))
   10944                 :             :                 {
   10945                 :           0 :                 case INTEGER_CST:
   10946                 :           0 :                   {
   10947                 :           0 :                     {
   10948                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   10949                 :           0 :                       tree res = generic_simplify_286 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10950                 :           0 :                       if (res) return res;
   10951                 :             :                     }
   10952                 :           0 :                     break;
   10953                 :             :                   }
   10954                 :             :                 default:;
   10955                 :             :                 }
   10956                 :             :             }
   10957                 :             :           break;
   10958                 :           0 :         case CFN_FFS:
   10959                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10960                 :             :     {
   10961                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10962                 :           0 :               switch (TREE_CODE (_p1))
   10963                 :             :                 {
   10964                 :           0 :                 case INTEGER_CST:
   10965                 :           0 :                   {
   10966                 :           0 :                     {
   10967                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10968                 :           0 :                       tree res = generic_simplify_288 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_FFS);
   10969                 :           0 :                       if (res) return res;
   10970                 :             :                     }
   10971                 :           0 :                     break;
   10972                 :             :                   }
   10973                 :             :                 default:;
   10974                 :             :                 }
   10975                 :             :             }
   10976                 :             :           break;
   10977                 :           0 :         case CFN_BUILT_IN_POPCOUNTIMAX:
   10978                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10979                 :             :     {
   10980                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10981                 :           0 :               if (integer_zerop (_p1))
   10982                 :             :                 {
   10983                 :           0 :                   {
   10984                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   10985                 :           0 :                     tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
   10986                 :           0 :                     if (res) return res;
   10987                 :             :                   }
   10988                 :             :                 }
   10989                 :             :             }
   10990                 :             :           break;
   10991                 :           0 :         case CFN_BUILT_IN_CLZIMAX:
   10992                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10993                 :             :     {
   10994                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10995                 :           0 :               switch (TREE_CODE (_p1))
   10996                 :             :                 {
   10997                 :           0 :                 case INTEGER_CST:
   10998                 :           0 :                   {
   10999                 :           0 :                     {
   11000                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11001                 :           0 :                       tree res = generic_simplify_283 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZIMAX);
   11002                 :           0 :                       if (res) return res;
   11003                 :             :                     }
   11004                 :           0 :                     break;
   11005                 :             :                   }
   11006                 :             :                 default:;
   11007                 :             :                 }
   11008                 :             :             }
   11009                 :             :           break;
   11010                 :           7 :         case CFN_BUILT_IN_POPCOUNTL:
   11011                 :           7 :           if (call_expr_nargs (_p0) == 1)
   11012                 :             :     {
   11013                 :           7 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11014                 :           7 :               if (integer_zerop (_p1))
   11015                 :             :                 {
   11016                 :           1 :                   {
   11017                 :           1 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   11018                 :           1 :                     tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTL);
   11019                 :           1 :                     if (res) return res;
   11020                 :             :                   }
   11021                 :             :                 }
   11022                 :             :             }
   11023                 :             :           break;
   11024                 :          16 :         case CFN_BUILT_IN_CLZLL:
   11025                 :          16 :           if (call_expr_nargs (_p0) == 1)
   11026                 :             :     {
   11027                 :          16 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11028                 :          16 :               switch (TREE_CODE (_p1))
   11029                 :             :                 {
   11030                 :          16 :                 case INTEGER_CST:
   11031                 :          16 :                   {
   11032                 :          16 :                     {
   11033                 :          16 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11034                 :          16 :                       tree res = generic_simplify_283 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZLL);
   11035                 :          16 :                       if (res) return res;
   11036                 :             :                     }
   11037                 :          16 :                     break;
   11038                 :             :                   }
   11039                 :             :                 default:;
   11040                 :             :                 }
   11041                 :             :             }
   11042                 :             :           break;
   11043                 :           0 :         case CFN_BUILT_IN_CTZLL:
   11044                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11045                 :             :     {
   11046                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11047                 :           0 :               switch (TREE_CODE (_p1))
   11048                 :             :                 {
   11049                 :           0 :                 case INTEGER_CST:
   11050                 :           0 :                   {
   11051                 :           0 :                     {
   11052                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11053                 :           0 :                       tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_CTZLL);
   11054                 :           0 :                       if (res) return res;
   11055                 :             :                     }
   11056                 :           0 :                     break;
   11057                 :             :                   }
   11058                 :             :                 default:;
   11059                 :             :                 }
   11060                 :             :             }
   11061                 :             :           break;
   11062                 :           0 :         case CFN_BUILT_IN_FFSLL:
   11063                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11064                 :             :     {
   11065                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11066                 :           0 :               switch (TREE_CODE (_p1))
   11067                 :             :                 {
   11068                 :           0 :                 case INTEGER_CST:
   11069                 :           0 :                   {
   11070                 :           0 :                     {
   11071                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11072                 :           0 :                       tree res = generic_simplify_288 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_FFSLL);
   11073                 :           0 :                       if (res) return res;
   11074                 :             :                     }
   11075                 :           0 :                     break;
   11076                 :             :                   }
   11077                 :             :                 default:;
   11078                 :             :                 }
   11079                 :             :             }
   11080                 :             :           break;
   11081                 :             :         default:;
   11082                 :             :         }
   11083                 :             :       break;
   11084                 :             :     default:;
   11085                 :             :     }
   11086                 :             :   return NULL_TREE;
   11087                 :             : }
   11088                 :             : 
   11089                 :             : tree
   11090                 :      217907 : generic_simplify_ORDERED_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   11091                 :             : {
   11092                 :      217907 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11093                 :      217907 :   switch (TREE_CODE (_p0))
   11094                 :             :     {
   11095                 :           0 :     case VEC_COND_EXPR:
   11096                 :           0 :       {
   11097                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11098                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11099                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   11100                 :           0 :         switch (TREE_CODE (_p1))
   11101                 :             :           {
   11102                 :           0 :           case VEC_COND_EXPR:
   11103                 :           0 :             {
   11104                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
   11105                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
   11106                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
   11107                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   11108                 :             :                 {
   11109                 :           0 :                   {
   11110                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   11111                 :           0 :                     if (VECTOR_TYPE_P (type)
   11112                 :           0 :  && (TREE_CODE_CLASS (ORDERED_EXPR) != tcc_comparison
   11113                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   11114                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   11115                 :             :  || (optimize_vectors_before_lowering_p ()
   11116                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   11117                 :             : )
   11118                 :             :                       {
   11119                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1755;
   11120                 :           0 :                         {
   11121                 :           0 :                           tree res_op0;
   11122                 :           0 :                           res_op0 = captures[1];
   11123                 :           0 :                           tree res_op1;
   11124                 :           0 :                           {
   11125                 :           0 :                             tree _o1[2], _r1;
   11126                 :           0 :                             _o1[0] = captures[2];
   11127                 :           0 :                             _o1[1] = captures[5];
   11128                 :           0 :                             _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
   11129                 :           0 :                             if (EXPR_P (_r1))
   11130                 :           0 :                               goto next_after_fail1755;
   11131                 :           0 :                             res_op1 = _r1;
   11132                 :             :                           }
   11133                 :           0 :                           tree res_op2;
   11134                 :           0 :                           {
   11135                 :           0 :                             tree _o1[2], _r1;
   11136                 :           0 :                             _o1[0] = captures[3];
   11137                 :           0 :                             _o1[1] = captures[6];
   11138                 :           0 :                             _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
   11139                 :           0 :                             if (EXPR_P (_r1))
   11140                 :           0 :                               goto next_after_fail1755;
   11141                 :           0 :                             res_op2 = _r1;
   11142                 :             :                           }
   11143                 :           0 :                           tree _r;
   11144                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11145                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
   11146                 :           0 :                           return _r;
   11147                 :             :                         }
   11148                 :           0 : next_after_fail1755:;
   11149                 :             :                       }
   11150                 :             :                   }
   11151                 :             :                 }
   11152                 :             :               break;
   11153                 :             :             }
   11154                 :           0 :           default:;
   11155                 :             :           }
   11156                 :           0 :         {
   11157                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   11158                 :           0 :           if (VECTOR_TYPE_P (type)
   11159                 :           0 :  && (TREE_CODE_CLASS (ORDERED_EXPR) != tcc_comparison
   11160                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   11161                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   11162                 :             :  || (optimize_vectors_before_lowering_p ()
   11163                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   11164                 :             : )
   11165                 :             :             {
   11166                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1756;
   11167                 :           0 :               {
   11168                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1756;
   11169                 :           0 :                 tree res_op0;
   11170                 :           0 :                 res_op0 = captures[1];
   11171                 :           0 :                 tree res_op1;
   11172                 :           0 :                 {
   11173                 :           0 :                   tree _o1[2], _r1;
   11174                 :           0 :                   _o1[0] = captures[2];
   11175                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
   11176                 :           0 :                   _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
   11177                 :           0 :                   if (EXPR_P (_r1))
   11178                 :           0 :                     goto next_after_fail1756;
   11179                 :           0 :                   res_op1 = _r1;
   11180                 :             :                 }
   11181                 :           0 :                 tree res_op2;
   11182                 :           0 :                 {
   11183                 :           0 :                   tree _o1[2], _r1;
   11184                 :           0 :                   _o1[0] = captures[3];
   11185                 :           0 :                   _o1[1] = captures[4];
   11186                 :           0 :                   _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
   11187                 :           0 :                   if (EXPR_P (_r1))
   11188                 :           0 :                     goto next_after_fail1756;
   11189                 :           0 :                   res_op2 = _r1;
   11190                 :             :                 }
   11191                 :           0 :                 tree _r;
   11192                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11193                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
   11194                 :           0 :                 return _r;
   11195                 :             :               }
   11196                 :           0 : next_after_fail1756:;
   11197                 :             :             }
   11198                 :             :         }
   11199                 :           0 :         break;
   11200                 :             :       }
   11201                 :      217907 :     default:;
   11202                 :             :     }
   11203                 :      217907 :   switch (TREE_CODE (_p1))
   11204                 :             :     {
   11205                 :           0 :     case VEC_COND_EXPR:
   11206                 :           0 :       {
   11207                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   11208                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   11209                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   11210                 :           0 :         {
   11211                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   11212                 :           0 :           if (VECTOR_TYPE_P (type)
   11213                 :           0 :  && (TREE_CODE_CLASS (ORDERED_EXPR) != tcc_comparison
   11214                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
   11215                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   11216                 :             :  || (optimize_vectors_before_lowering_p ()
   11217                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   11218                 :             : )
   11219                 :             :             {
   11220                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1757;
   11221                 :           0 :               {
   11222                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1757;
   11223                 :           0 :                 tree res_op0;
   11224                 :           0 :                 res_op0 = captures[2];
   11225                 :           0 :                 tree res_op1;
   11226                 :           0 :                 {
   11227                 :           0 :                   tree _o1[2], _r1;
   11228                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   11229                 :           0 :                   _o1[1] = captures[3];
   11230                 :           0 :                   _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
   11231                 :           0 :                   if (EXPR_P (_r1))
   11232                 :           0 :                     goto next_after_fail1757;
   11233                 :           0 :                   res_op1 = _r1;
   11234                 :             :                 }
   11235                 :           0 :                 tree res_op2;
   11236                 :           0 :                 {
   11237                 :           0 :                   tree _o1[2], _r1;
   11238                 :           0 :                   _o1[0] = captures[0];
   11239                 :           0 :                   _o1[1] = captures[4];
   11240                 :           0 :                   _r1 = fold_build2_loc (loc, ORDERED_EXPR, type, _o1[0], _o1[1]);
   11241                 :           0 :                   if (EXPR_P (_r1))
   11242                 :           0 :                     goto next_after_fail1757;
   11243                 :           0 :                   res_op2 = _r1;
   11244                 :             :                 }
   11245                 :           0 :                 tree _r;
   11246                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11247                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
   11248                 :           0 :                 return _r;
   11249                 :             :               }
   11250                 :           0 : next_after_fail1757:;
   11251                 :             :             }
   11252                 :             :         }
   11253                 :           0 :         break;
   11254                 :             :       }
   11255                 :      217907 :     default:;
   11256                 :             :     }
   11257                 :      217907 :   switch (TREE_CODE (_p0))
   11258                 :             :     {
   11259                 :           0 :     case FLOAT_EXPR:
   11260                 :           0 :       {
   11261                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11262                 :           0 :         switch (TREE_CODE (_p1))
   11263                 :             :           {
   11264                 :           0 :           case FLOAT_EXPR:
   11265                 :           0 :             {
   11266                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11267                 :           0 :               {
   11268                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   11269                 :           0 :                 tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, ORDERED_EXPR, ORDERED_EXPR);
   11270                 :           0 :                 if (res) return res;
   11271                 :             :               }
   11272                 :           0 :               break;
   11273                 :             :             }
   11274                 :             :           default:;
   11275                 :             :           }
   11276                 :             :         break;
   11277                 :             :       }
   11278                 :           0 :     case NEGATE_EXPR:
   11279                 :           0 :       {
   11280                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11281                 :           0 :         switch (TREE_CODE (_p1))
   11282                 :             :           {
   11283                 :           0 :           case NEGATE_EXPR:
   11284                 :           0 :             {
   11285                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11286                 :           0 :               {
   11287                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   11288                 :           0 :                 tree res = generic_simplify_255 (loc, type, _p0, _p1, captures, ORDERED_EXPR, ORDERED_EXPR);
   11289                 :           0 :                 if (res) return res;
   11290                 :             :               }
   11291                 :           0 :               break;
   11292                 :             :             }
   11293                 :           0 :           default:;
   11294                 :             :           }
   11295                 :           0 :       if (CONSTANT_CLASS_P (_p1))
   11296                 :             :         {
   11297                 :           0 :           {
   11298                 :           0 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   11299                 :           0 :             tree res = generic_simplify_256 (loc, type, _p0, _p1, captures, ORDERED_EXPR, ORDERED_EXPR);
   11300                 :           0 :             if (res) return res;
   11301                 :             :           }
   11302                 :             :         }
   11303                 :             :         break;
   11304                 :             :       }
   11305                 :      217907 :     default:;
   11306                 :             :     }
   11307                 :      217907 :   switch (TREE_CODE (_p1))
   11308                 :             :     {
   11309                 :         102 :     case REAL_CST:
   11310                 :         102 :       {
   11311                 :         102 :         {
   11312                 :         102 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   11313                 :         102 :           tree res = generic_simplify_535 (loc, type, _p0, _p1, captures, ORDERED_EXPR);
   11314                 :         102 :           if (res) return res;
   11315                 :             :         }
   11316                 :         102 :         break;
   11317                 :             :       }
   11318                 :      217907 :     default:;
   11319                 :             :     }
   11320                 :      217907 :   {
   11321                 :      217907 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   11322                 :      217907 :     if (tree_expr_nan_p (captures[0]) || tree_expr_nan_p (captures[1])
   11323                 :             : )
   11324                 :             :       {
   11325                 :           0 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1758;
   11326                 :           0 :         {
   11327                 :           0 :           tree _r;
   11328                 :           0 :           _r =  constant_boolean_node (false, type);
   11329                 :           0 :           if (TREE_SIDE_EFFECTS (captures[0]))
   11330                 :           0 :             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   11331                 :           0 :           if (TREE_SIDE_EFFECTS (captures[1]))
   11332                 :           0 :             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   11333                 :           0 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1039, __FILE__, __LINE__, true);
   11334                 :           0 :           return _r;
   11335                 :             :         }
   11336                 :           0 : next_after_fail1758:;
   11337                 :             :       }
   11338                 :             :     else
   11339                 :             :       {
   11340                 :      217907 :         if (!tree_expr_maybe_nan_p (captures[0]) && !tree_expr_maybe_nan_p (captures[1])
   11341                 :             : )
   11342                 :             :           {
   11343                 :          10 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1759;
   11344                 :          10 :             {
   11345                 :          10 :               tree _r;
   11346                 :          10 :               _r =  constant_boolean_node (true, type);
   11347                 :          10 :               if (TREE_SIDE_EFFECTS (captures[0]))
   11348                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   11349                 :          10 :               if (TREE_SIDE_EFFECTS (captures[1]))
   11350                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   11351                 :          10 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1040, __FILE__, __LINE__, true);
   11352                 :          10 :               return _r;
   11353                 :             :             }
   11354                 :           0 : next_after_fail1759:;
   11355                 :             :           }
   11356                 :             :       }
   11357                 :             :   }
   11358                 :      217897 :   return NULL_TREE;
   11359                 :             : }
   11360                 :             : 
   11361                 :             : tree
   11362                 :     3065076 : generic_simplify_TRUTH_ORIF_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   11363                 :             : {
   11364                 :     3065076 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11365                 :     3065076 :   switch (TREE_CODE (_p0))
   11366                 :             :     {
   11367                 :      303586 :     case LE_EXPR:
   11368                 :      303586 :       {
   11369                 :      303586 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11370                 :      303586 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11371                 :      303586 :         switch (TREE_CODE (_q20))
   11372                 :             :           {
   11373                 :          91 :           case POINTER_PLUS_EXPR:
   11374                 :          91 :             {
   11375                 :          91 :               tree _q30 = TREE_OPERAND (_q20, 0);
   11376                 :          91 :               tree _q31 = TREE_OPERAND (_q20, 1);
   11377                 :          91 :               switch (TREE_CODE (_q31))
   11378                 :             :                 {
   11379                 :           3 :                 case INTEGER_CST:
   11380                 :           3 :                   {
   11381                 :           3 :                     switch (TREE_CODE (_p1))
   11382                 :             :                       {
   11383                 :           2 :                       case LE_EXPR:
   11384                 :           2 :                         {
   11385                 :           2 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   11386                 :           2 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   11387                 :           2 :                           switch (TREE_CODE (_q70))
   11388                 :             :                             {
   11389                 :           2 :                             case POINTER_PLUS_EXPR:
   11390                 :           2 :                               {
   11391                 :           2 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
   11392                 :           2 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
   11393                 :           2 :                                 if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   11394                 :             :                                   {
   11395                 :           2 :                                     if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
   11396                 :             :                                       {
   11397                 :           2 :                                         if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   11398                 :             :                                           {
   11399                 :           2 :                                             {
   11400                 :           2 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q70 };
   11401                 :           2 :                                               const enum tree_code cmp = LE_EXPR;
   11402                 :           2 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   11403                 :           1 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   11404                 :           3 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   11405                 :             : )
   11406                 :             :                                                 {
   11407                 :           1 :                                                   {
   11408                 :           1 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   11409                 :           1 :  offset_int rhs = off * 2;
   11410                 :           1 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   11411                 :             : )
   11412                 :             :                                                         {
   11413                 :           1 :                                                           {
   11414                 :           1 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   11415                 :           1 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   11416                 :           1 :                                                               if (cmp == LT_EXPR
   11417                 :             : )
   11418                 :             :                                                                 {
   11419                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1779;
   11420                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1779;
   11421                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1779;
   11422                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1779;
   11423                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1779;
   11424                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1779;
   11425                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1779;
   11426                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1779;
   11427                 :             :                                                                   {
   11428                 :             :                                                                     tree res_op0;
   11429                 :             :                                                                     {
   11430                 :             :                                                                       tree _o1[1], _r1;
   11431                 :             :                                                                       {
   11432                 :             :                                                                         tree _o2[2], _r2;
   11433                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   11434                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   11435                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   11436                 :             :                                                                         _o1[0] = _r2;
   11437                 :             :                                                                       }
   11438                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   11439                 :             :                                                                         {
   11440                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   11441                 :             :                                                                         }
   11442                 :             :                                                                       else
   11443                 :             :                                                                         _r1 = _o1[0];
   11444                 :             :                                                                       res_op0 = _r1;
   11445                 :             :                                                                     }
   11446                 :             :                                                                     tree res_op1;
   11447                 :             :                                                                     res_op1 =  rhs_tree;
   11448                 :             :                                                                     tree _r;
   11449                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   11450                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
   11451                 :           1 :                                                                     return _r;
   11452                 :             :                                                                   }
   11453                 :             : next_after_fail1779:;
   11454                 :             :                                                                 }
   11455                 :             :                                                               else
   11456                 :             :                                                                 {
   11457                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1780;
   11458                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1780;
   11459                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1780;
   11460                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1780;
   11461                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1780;
   11462                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1780;
   11463                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1780;
   11464                 :           1 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1780;
   11465                 :           1 :                                                                   {
   11466                 :           1 :                                                                     tree res_op0;
   11467                 :           1 :                                                                     {
   11468                 :           1 :                                                                       tree _o1[1], _r1;
   11469                 :           1 :                                                                       {
   11470                 :           1 :                                                                         tree _o2[2], _r2;
   11471                 :           1 :                                                                         {
   11472                 :           1 :                                                                           tree _o3[2], _r3;
   11473                 :           1 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   11474                 :           1 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   11475                 :           1 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   11476                 :           1 :                                                                           _o2[0] = _r3;
   11477                 :             :                                                                         }
   11478                 :           1 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   11479                 :           1 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   11480                 :           1 :                                                                         _o1[0] = _r2;
   11481                 :             :                                                                       }
   11482                 :           1 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   11483                 :             :                                                                         {
   11484                 :           1 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   11485                 :             :                                                                         }
   11486                 :             :                                                                       else
   11487                 :             :                                                                         _r1 = _o1[0];
   11488                 :           1 :                                                                       res_op0 = _r1;
   11489                 :             :                                                                     }
   11490                 :           1 :                                                                     tree res_op1;
   11491                 :           1 :                                                                     res_op1 =  rhs_tree;
   11492                 :           1 :                                                                     tree _r;
   11493                 :           1 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   11494                 :           1 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
   11495                 :           1 :                                                                     return _r;
   11496                 :             :                                                                   }
   11497                 :           0 : next_after_fail1780:;
   11498                 :             :                                                                 }
   11499                 :             :                                                           }
   11500                 :             :                                                         }
   11501                 :             :                                                   }
   11502                 :             :                                                 }
   11503                 :             :                                             }
   11504                 :             :                                           }
   11505                 :             :                                       }
   11506                 :             :                                   }
   11507                 :             :                                 break;
   11508                 :             :                               }
   11509                 :             :                             default:;
   11510                 :             :                             }
   11511                 :             :                           break;
   11512                 :             :                         }
   11513                 :           0 :                       case GE_EXPR:
   11514                 :           0 :                         {
   11515                 :           0 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   11516                 :           0 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   11517                 :           0 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   11518                 :             :                             {
   11519                 :           0 :                               switch (TREE_CODE (_q71))
   11520                 :             :                                 {
   11521                 :           0 :                                 case POINTER_PLUS_EXPR:
   11522                 :           0 :                                   {
   11523                 :           0 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
   11524                 :           0 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
   11525                 :           0 :                                     if ((_q90 == _q21 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q21, 0) && types_match (_q90, _q21)))
   11526                 :             :                                       {
   11527                 :           0 :                                         if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
   11528                 :             :                                           {
   11529                 :           0 :                                             {
   11530                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q71 };
   11531                 :           0 :                                               const enum tree_code cmp = LE_EXPR;
   11532                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   11533                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   11534                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   11535                 :             : )
   11536                 :             :                                                 {
   11537                 :           0 :                                                   {
   11538                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   11539                 :           0 :  offset_int rhs = off * 2;
   11540                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   11541                 :             : )
   11542                 :             :                                                         {
   11543                 :           0 :                                                           {
   11544                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   11545                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   11546                 :           0 :                                                               if (cmp == LT_EXPR
   11547                 :             : )
   11548                 :             :                                                                 {
   11549                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1781;
   11550                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1781;
   11551                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1781;
   11552                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1781;
   11553                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1781;
   11554                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1781;
   11555                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1781;
   11556                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1781;
   11557                 :             :                                                                   {
   11558                 :             :                                                                     tree res_op0;
   11559                 :             :                                                                     {
   11560                 :             :                                                                       tree _o1[1], _r1;
   11561                 :             :                                                                       {
   11562                 :             :                                                                         tree _o2[2], _r2;
   11563                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   11564                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   11565                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   11566                 :             :                                                                         _o1[0] = _r2;
   11567                 :             :                                                                       }
   11568                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   11569                 :             :                                                                         {
   11570                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   11571                 :             :                                                                         }
   11572                 :             :                                                                       else
   11573                 :             :                                                                         _r1 = _o1[0];
   11574                 :             :                                                                       res_op0 = _r1;
   11575                 :             :                                                                     }
   11576                 :             :                                                                     tree res_op1;
   11577                 :             :                                                                     res_op1 =  rhs_tree;
   11578                 :             :                                                                     tree _r;
   11579                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   11580                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
   11581                 :           0 :                                                                     return _r;
   11582                 :             :                                                                   }
   11583                 :             : next_after_fail1781:;
   11584                 :             :                                                                 }
   11585                 :             :                                                               else
   11586                 :             :                                                                 {
   11587                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1782;
   11588                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1782;
   11589                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1782;
   11590                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1782;
   11591                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1782;
   11592                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1782;
   11593                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1782;
   11594                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1782;
   11595                 :           0 :                                                                   {
   11596                 :           0 :                                                                     tree res_op0;
   11597                 :           0 :                                                                     {
   11598                 :           0 :                                                                       tree _o1[1], _r1;
   11599                 :           0 :                                                                       {
   11600                 :           0 :                                                                         tree _o2[2], _r2;
   11601                 :           0 :                                                                         {
   11602                 :           0 :                                                                           tree _o3[2], _r3;
   11603                 :           0 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   11604                 :           0 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   11605                 :           0 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   11606                 :           0 :                                                                           _o2[0] = _r3;
   11607                 :             :                                                                         }
   11608                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   11609                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   11610                 :           0 :                                                                         _o1[0] = _r2;
   11611                 :             :                                                                       }
   11612                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   11613                 :             :                                                                         {
   11614                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   11615                 :             :                                                                         }
   11616                 :             :                                                                       else
   11617                 :             :                                                                         _r1 = _o1[0];
   11618                 :           0 :                                                                       res_op0 = _r1;
   11619                 :             :                                                                     }
   11620                 :           0 :                                                                     tree res_op1;
   11621                 :           0 :                                                                     res_op1 =  rhs_tree;
   11622                 :           0 :                                                                     tree _r;
   11623                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   11624                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
   11625                 :           0 :                                                                     return _r;
   11626                 :             :                                                                   }
   11627                 :           0 : next_after_fail1782:;
   11628                 :             :                                                                 }
   11629                 :             :                                                           }
   11630                 :             :                                                         }
   11631                 :             :                                                   }
   11632                 :             :                                                 }
   11633                 :             :                                             }
   11634                 :             :                                           }
   11635                 :             :                                       }
   11636                 :             :                                     break;
   11637                 :             :                                   }
   11638                 :             :                                 default:;
   11639                 :             :                                 }
   11640                 :             :                             }
   11641                 :             :                           break;
   11642                 :             :                         }
   11643                 :             :                       default:;
   11644                 :             :                       }
   11645                 :             :                     break;
   11646                 :             :                   }
   11647                 :             :                 default:;
   11648                 :             :                 }
   11649                 :             :               break;
   11650                 :             :             }
   11651                 :             :           default:;
   11652                 :             :           }
   11653                 :             :         break;
   11654                 :             :       }
   11655                 :      743182 :     case LT_EXPR:
   11656                 :      743182 :       {
   11657                 :      743182 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11658                 :      743182 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11659                 :      743182 :         switch (TREE_CODE (_q20))
   11660                 :             :           {
   11661                 :          13 :           case POINTER_PLUS_EXPR:
   11662                 :          13 :             {
   11663                 :          13 :               tree _q30 = TREE_OPERAND (_q20, 0);
   11664                 :          13 :               tree _q31 = TREE_OPERAND (_q20, 1);
   11665                 :          13 :               switch (TREE_CODE (_q31))
   11666                 :             :                 {
   11667                 :           7 :                 case INTEGER_CST:
   11668                 :           7 :                   {
   11669                 :           7 :                     switch (TREE_CODE (_p1))
   11670                 :             :                       {
   11671                 :           2 :                       case LT_EXPR:
   11672                 :           2 :                         {
   11673                 :           2 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   11674                 :           2 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   11675                 :           2 :                           switch (TREE_CODE (_q70))
   11676                 :             :                             {
   11677                 :           2 :                             case POINTER_PLUS_EXPR:
   11678                 :           2 :                               {
   11679                 :           2 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
   11680                 :           2 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
   11681                 :           2 :                                 if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   11682                 :             :                                   {
   11683                 :           2 :                                     if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
   11684                 :             :                                       {
   11685                 :           2 :                                         if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   11686                 :             :                                           {
   11687                 :           2 :                                             {
   11688                 :           2 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q70 };
   11689                 :           2 :                                               const enum tree_code cmp = LT_EXPR;
   11690                 :           2 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   11691                 :           1 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   11692                 :           3 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   11693                 :             : )
   11694                 :             :                                                 {
   11695                 :           1 :                                                   {
   11696                 :           1 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   11697                 :           1 :  offset_int rhs = off * 2;
   11698                 :           1 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   11699                 :             : )
   11700                 :             :                                                         {
   11701                 :           1 :                                                           {
   11702                 :           1 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   11703                 :           1 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   11704                 :           1 :                                                               if (cmp == LT_EXPR
   11705                 :             : )
   11706                 :             :                                                                 {
   11707                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1783;
   11708                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1783;
   11709                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1783;
   11710                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1783;
   11711                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1783;
   11712                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1783;
   11713                 :           1 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1783;
   11714                 :           1 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1783;
   11715                 :           1 :                                                                   {
   11716                 :           1 :                                                                     tree res_op0;
   11717                 :           1 :                                                                     {
   11718                 :           1 :                                                                       tree _o1[1], _r1;
   11719                 :           1 :                                                                       {
   11720                 :           1 :                                                                         tree _o2[2], _r2;
   11721                 :           1 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   11722                 :           1 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   11723                 :           1 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   11724                 :           1 :                                                                         _o1[0] = _r2;
   11725                 :             :                                                                       }
   11726                 :           1 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   11727                 :             :                                                                         {
   11728                 :           1 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   11729                 :             :                                                                         }
   11730                 :             :                                                                       else
   11731                 :             :                                                                         _r1 = _o1[0];
   11732                 :           1 :                                                                       res_op0 = _r1;
   11733                 :             :                                                                     }
   11734                 :           1 :                                                                     tree res_op1;
   11735                 :           1 :                                                                     res_op1 =  rhs_tree;
   11736                 :           1 :                                                                     tree _r;
   11737                 :           1 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   11738                 :           1 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
   11739                 :           1 :                                                                     return _r;
   11740                 :             :                                                                   }
   11741                 :           0 : next_after_fail1783:;
   11742                 :             :                                                                 }
   11743                 :             :                                                               else
   11744                 :             :                                                                 {
   11745                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1784;
   11746                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1784;
   11747                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1784;
   11748                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1784;
   11749                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1784;
   11750                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1784;
   11751                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1784;
   11752                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1784;
   11753                 :             :                                                                   {
   11754                 :             :                                                                     tree res_op0;
   11755                 :             :                                                                     {
   11756                 :             :                                                                       tree _o1[1], _r1;
   11757                 :             :                                                                       {
   11758                 :             :                                                                         tree _o2[2], _r2;
   11759                 :             :                                                                         {
   11760                 :             :                                                                           tree _o3[2], _r3;
   11761                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   11762                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   11763                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   11764                 :             :                                                                           _o2[0] = _r3;
   11765                 :             :                                                                         }
   11766                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   11767                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   11768                 :             :                                                                         _o1[0] = _r2;
   11769                 :             :                                                                       }
   11770                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   11771                 :             :                                                                         {
   11772                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   11773                 :             :                                                                         }
   11774                 :             :                                                                       else
   11775                 :             :                                                                         _r1 = _o1[0];
   11776                 :             :                                                                       res_op0 = _r1;
   11777                 :             :                                                                     }
   11778                 :             :                                                                     tree res_op1;
   11779                 :             :                                                                     res_op1 =  rhs_tree;
   11780                 :             :                                                                     tree _r;
   11781                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   11782                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
   11783                 :             :                                                                     return _r;
   11784                 :             :                                                                   }
   11785                 :             : next_after_fail1784:;
   11786                 :             :                                                                 }
   11787                 :             :                                                           }
   11788                 :             :                                                         }
   11789                 :             :                                                   }
   11790                 :             :                                                 }
   11791                 :             :                                             }
   11792                 :             :                                           }
   11793                 :             :                                       }
   11794                 :             :                                   }
   11795                 :             :                                 break;
   11796                 :             :                               }
   11797                 :             :                             default:;
   11798                 :             :                             }
   11799                 :             :                           break;
   11800                 :             :                         }
   11801                 :           0 :                       case GT_EXPR:
   11802                 :           0 :                         {
   11803                 :           0 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   11804                 :           0 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   11805                 :           0 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   11806                 :             :                             {
   11807                 :           0 :                               switch (TREE_CODE (_q71))
   11808                 :             :                                 {
   11809                 :           0 :                                 case POINTER_PLUS_EXPR:
   11810                 :           0 :                                   {
   11811                 :           0 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
   11812                 :           0 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
   11813                 :           0 :                                     if ((_q90 == _q21 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q21, 0) && types_match (_q90, _q21)))
   11814                 :             :                                       {
   11815                 :           0 :                                         if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
   11816                 :             :                                           {
   11817                 :           0 :                                             {
   11818                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q71 };
   11819                 :           0 :                                               const enum tree_code cmp = LT_EXPR;
   11820                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   11821                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   11822                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   11823                 :             : )
   11824                 :             :                                                 {
   11825                 :           0 :                                                   {
   11826                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   11827                 :           0 :  offset_int rhs = off * 2;
   11828                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   11829                 :             : )
   11830                 :             :                                                         {
   11831                 :           0 :                                                           {
   11832                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   11833                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   11834                 :           0 :                                                               if (cmp == LT_EXPR
   11835                 :             : )
   11836                 :             :                                                                 {
   11837                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1785;
   11838                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1785;
   11839                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1785;
   11840                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1785;
   11841                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1785;
   11842                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1785;
   11843                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1785;
   11844                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1785;
   11845                 :           0 :                                                                   {
   11846                 :           0 :                                                                     tree res_op0;
   11847                 :           0 :                                                                     {
   11848                 :           0 :                                                                       tree _o1[1], _r1;
   11849                 :           0 :                                                                       {
   11850                 :           0 :                                                                         tree _o2[2], _r2;
   11851                 :           0 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   11852                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   11853                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   11854                 :           0 :                                                                         _o1[0] = _r2;
   11855                 :             :                                                                       }
   11856                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   11857                 :             :                                                                         {
   11858                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   11859                 :             :                                                                         }
   11860                 :             :                                                                       else
   11861                 :             :                                                                         _r1 = _o1[0];
   11862                 :           0 :                                                                       res_op0 = _r1;
   11863                 :             :                                                                     }
   11864                 :           0 :                                                                     tree res_op1;
   11865                 :           0 :                                                                     res_op1 =  rhs_tree;
   11866                 :           0 :                                                                     tree _r;
   11867                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   11868                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
   11869                 :           0 :                                                                     return _r;
   11870                 :             :                                                                   }
   11871                 :           0 : next_after_fail1785:;
   11872                 :             :                                                                 }
   11873                 :             :                                                               else
   11874                 :             :                                                                 {
   11875                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1786;
   11876                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1786;
   11877                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1786;
   11878                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1786;
   11879                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1786;
   11880                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1786;
   11881                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1786;
   11882                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1786;
   11883                 :             :                                                                   {
   11884                 :             :                                                                     tree res_op0;
   11885                 :             :                                                                     {
   11886                 :             :                                                                       tree _o1[1], _r1;
   11887                 :             :                                                                       {
   11888                 :             :                                                                         tree _o2[2], _r2;
   11889                 :             :                                                                         {
   11890                 :             :                                                                           tree _o3[2], _r3;
   11891                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   11892                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   11893                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   11894                 :             :                                                                           _o2[0] = _r3;
   11895                 :             :                                                                         }
   11896                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   11897                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   11898                 :             :                                                                         _o1[0] = _r2;
   11899                 :             :                                                                       }
   11900                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   11901                 :             :                                                                         {
   11902                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   11903                 :             :                                                                         }
   11904                 :             :                                                                       else
   11905                 :             :                                                                         _r1 = _o1[0];
   11906                 :             :                                                                       res_op0 = _r1;
   11907                 :             :                                                                     }
   11908                 :             :                                                                     tree res_op1;
   11909                 :             :                                                                     res_op1 =  rhs_tree;
   11910                 :             :                                                                     tree _r;
   11911                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   11912                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
   11913                 :             :                                                                     return _r;
   11914                 :             :                                                                   }
   11915                 :             : next_after_fail1786:;
   11916                 :             :                                                                 }
   11917                 :             :                                                           }
   11918                 :             :                                                         }
   11919                 :             :                                                   }
   11920                 :             :                                                 }
   11921                 :             :                                             }
   11922                 :             :                                           }
   11923                 :             :                                       }
   11924                 :             :                                     break;
   11925                 :             :                                   }
   11926                 :             :                                 default:;
   11927                 :             :                                 }
   11928                 :             :                             }
   11929                 :             :                           break;
   11930                 :             :                         }
   11931                 :             :                       default:;
   11932                 :             :                       }
   11933                 :             :                     break;
   11934                 :             :                   }
   11935                 :             :                 default:;
   11936                 :             :                 }
   11937                 :             :               break;
   11938                 :             :             }
   11939                 :             :           default:;
   11940                 :             :           }
   11941                 :             :         break;
   11942                 :             :       }
   11943                 :       29329 :     case GE_EXPR:
   11944                 :       29329 :       {
   11945                 :       29329 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11946                 :       29329 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11947                 :       29329 :         switch (TREE_CODE (_q21))
   11948                 :             :           {
   11949                 :           0 :           case POINTER_PLUS_EXPR:
   11950                 :           0 :             {
   11951                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
   11952                 :           0 :               tree _q41 = TREE_OPERAND (_q21, 1);
   11953                 :           0 :               switch (TREE_CODE (_q41))
   11954                 :             :                 {
   11955                 :           0 :                 case INTEGER_CST:
   11956                 :           0 :                   {
   11957                 :           0 :                     switch (TREE_CODE (_p1))
   11958                 :             :                       {
   11959                 :           0 :                       case LE_EXPR:
   11960                 :           0 :                         {
   11961                 :           0 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   11962                 :           0 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   11963                 :           0 :                           switch (TREE_CODE (_q70))
   11964                 :             :                             {
   11965                 :           0 :                             case POINTER_PLUS_EXPR:
   11966                 :           0 :                               {
   11967                 :           0 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
   11968                 :           0 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
   11969                 :           0 :                                 if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   11970                 :             :                                   {
   11971                 :           0 :                                     if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
   11972                 :             :                                       {
   11973                 :           0 :                                         if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
   11974                 :             :                                           {
   11975                 :           0 :                                             {
   11976                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q70 };
   11977                 :           0 :                                               const enum tree_code cmp = LE_EXPR;
   11978                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   11979                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   11980                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   11981                 :             : )
   11982                 :             :                                                 {
   11983                 :           0 :                                                   {
   11984                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   11985                 :           0 :  offset_int rhs = off * 2;
   11986                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   11987                 :             : )
   11988                 :             :                                                         {
   11989                 :           0 :                                                           {
   11990                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   11991                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   11992                 :           0 :                                                               if (cmp == LT_EXPR
   11993                 :             : )
   11994                 :             :                                                                 {
   11995                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1787;
   11996                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1787;
   11997                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1787;
   11998                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1787;
   11999                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1787;
   12000                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1787;
   12001                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1787;
   12002                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1787;
   12003                 :             :                                                                   {
   12004                 :             :                                                                     tree res_op0;
   12005                 :             :                                                                     {
   12006                 :             :                                                                       tree _o1[1], _r1;
   12007                 :             :                                                                       {
   12008                 :             :                                                                         tree _o2[2], _r2;
   12009                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   12010                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12011                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12012                 :             :                                                                         _o1[0] = _r2;
   12013                 :             :                                                                       }
   12014                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12015                 :             :                                                                         {
   12016                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12017                 :             :                                                                         }
   12018                 :             :                                                                       else
   12019                 :             :                                                                         _r1 = _o1[0];
   12020                 :             :                                                                       res_op0 = _r1;
   12021                 :             :                                                                     }
   12022                 :             :                                                                     tree res_op1;
   12023                 :             :                                                                     res_op1 =  rhs_tree;
   12024                 :             :                                                                     tree _r;
   12025                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12026                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
   12027                 :           0 :                                                                     return _r;
   12028                 :             :                                                                   }
   12029                 :             : next_after_fail1787:;
   12030                 :             :                                                                 }
   12031                 :             :                                                               else
   12032                 :             :                                                                 {
   12033                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1788;
   12034                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1788;
   12035                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1788;
   12036                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1788;
   12037                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1788;
   12038                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1788;
   12039                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1788;
   12040                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1788;
   12041                 :           0 :                                                                   {
   12042                 :           0 :                                                                     tree res_op0;
   12043                 :           0 :                                                                     {
   12044                 :           0 :                                                                       tree _o1[1], _r1;
   12045                 :           0 :                                                                       {
   12046                 :           0 :                                                                         tree _o2[2], _r2;
   12047                 :           0 :                                                                         {
   12048                 :           0 :                                                                           tree _o3[2], _r3;
   12049                 :           0 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   12050                 :           0 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   12051                 :           0 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   12052                 :           0 :                                                                           _o2[0] = _r3;
   12053                 :             :                                                                         }
   12054                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12055                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12056                 :           0 :                                                                         _o1[0] = _r2;
   12057                 :             :                                                                       }
   12058                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12059                 :             :                                                                         {
   12060                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12061                 :             :                                                                         }
   12062                 :             :                                                                       else
   12063                 :             :                                                                         _r1 = _o1[0];
   12064                 :           0 :                                                                       res_op0 = _r1;
   12065                 :             :                                                                     }
   12066                 :           0 :                                                                     tree res_op1;
   12067                 :           0 :                                                                     res_op1 =  rhs_tree;
   12068                 :           0 :                                                                     tree _r;
   12069                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12070                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
   12071                 :           0 :                                                                     return _r;
   12072                 :             :                                                                   }
   12073                 :           0 : next_after_fail1788:;
   12074                 :             :                                                                 }
   12075                 :             :                                                           }
   12076                 :             :                                                         }
   12077                 :             :                                                   }
   12078                 :             :                                                 }
   12079                 :             :                                             }
   12080                 :             :                                           }
   12081                 :             :                                       }
   12082                 :             :                                   }
   12083                 :             :                                 break;
   12084                 :             :                               }
   12085                 :             :                             default:;
   12086                 :             :                             }
   12087                 :             :                           break;
   12088                 :             :                         }
   12089                 :           0 :                       case GE_EXPR:
   12090                 :           0 :                         {
   12091                 :           0 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   12092                 :           0 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   12093                 :           0 :                           if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
   12094                 :             :                             {
   12095                 :           0 :                               switch (TREE_CODE (_q71))
   12096                 :             :                                 {
   12097                 :           0 :                                 case POINTER_PLUS_EXPR:
   12098                 :           0 :                                   {
   12099                 :           0 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
   12100                 :           0 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
   12101                 :           0 :                                     if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
   12102                 :             :                                       {
   12103                 :           0 :                                         if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
   12104                 :             :                                           {
   12105                 :           0 :                                             {
   12106                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q71 };
   12107                 :           0 :                                               const enum tree_code cmp = LE_EXPR;
   12108                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   12109                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   12110                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   12111                 :             : )
   12112                 :             :                                                 {
   12113                 :           0 :                                                   {
   12114                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   12115                 :           0 :  offset_int rhs = off * 2;
   12116                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   12117                 :             : )
   12118                 :             :                                                         {
   12119                 :           0 :                                                           {
   12120                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   12121                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   12122                 :           0 :                                                               if (cmp == LT_EXPR
   12123                 :             : )
   12124                 :             :                                                                 {
   12125                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1789;
   12126                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1789;
   12127                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1789;
   12128                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1789;
   12129                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1789;
   12130                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1789;
   12131                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1789;
   12132                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1789;
   12133                 :             :                                                                   {
   12134                 :             :                                                                     tree res_op0;
   12135                 :             :                                                                     {
   12136                 :             :                                                                       tree _o1[1], _r1;
   12137                 :             :                                                                       {
   12138                 :             :                                                                         tree _o2[2], _r2;
   12139                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   12140                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12141                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12142                 :             :                                                                         _o1[0] = _r2;
   12143                 :             :                                                                       }
   12144                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12145                 :             :                                                                         {
   12146                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12147                 :             :                                                                         }
   12148                 :             :                                                                       else
   12149                 :             :                                                                         _r1 = _o1[0];
   12150                 :             :                                                                       res_op0 = _r1;
   12151                 :             :                                                                     }
   12152                 :             :                                                                     tree res_op1;
   12153                 :             :                                                                     res_op1 =  rhs_tree;
   12154                 :             :                                                                     tree _r;
   12155                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12156                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
   12157                 :           0 :                                                                     return _r;
   12158                 :             :                                                                   }
   12159                 :             : next_after_fail1789:;
   12160                 :             :                                                                 }
   12161                 :             :                                                               else
   12162                 :             :                                                                 {
   12163                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1790;
   12164                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1790;
   12165                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1790;
   12166                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1790;
   12167                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1790;
   12168                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1790;
   12169                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1790;
   12170                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1790;
   12171                 :           0 :                                                                   {
   12172                 :           0 :                                                                     tree res_op0;
   12173                 :           0 :                                                                     {
   12174                 :           0 :                                                                       tree _o1[1], _r1;
   12175                 :           0 :                                                                       {
   12176                 :           0 :                                                                         tree _o2[2], _r2;
   12177                 :           0 :                                                                         {
   12178                 :           0 :                                                                           tree _o3[2], _r3;
   12179                 :           0 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   12180                 :           0 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   12181                 :           0 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   12182                 :           0 :                                                                           _o2[0] = _r3;
   12183                 :             :                                                                         }
   12184                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12185                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12186                 :           0 :                                                                         _o1[0] = _r2;
   12187                 :             :                                                                       }
   12188                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12189                 :             :                                                                         {
   12190                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12191                 :             :                                                                         }
   12192                 :             :                                                                       else
   12193                 :             :                                                                         _r1 = _o1[0];
   12194                 :           0 :                                                                       res_op0 = _r1;
   12195                 :             :                                                                     }
   12196                 :           0 :                                                                     tree res_op1;
   12197                 :           0 :                                                                     res_op1 =  rhs_tree;
   12198                 :           0 :                                                                     tree _r;
   12199                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12200                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
   12201                 :           0 :                                                                     return _r;
   12202                 :             :                                                                   }
   12203                 :           0 : next_after_fail1790:;
   12204                 :             :                                                                 }
   12205                 :             :                                                           }
   12206                 :             :                                                         }
   12207                 :             :                                                   }
   12208                 :             :                                                 }
   12209                 :             :                                             }
   12210                 :             :                                           }
   12211                 :             :                                       }
   12212                 :             :                                     break;
   12213                 :             :                                   }
   12214                 :             :                                 default:;
   12215                 :             :                                 }
   12216                 :             :                             }
   12217                 :             :                           break;
   12218                 :             :                         }
   12219                 :             :                       default:;
   12220                 :             :                       }
   12221                 :             :                     break;
   12222                 :             :                   }
   12223                 :             :                 default:;
   12224                 :             :                 }
   12225                 :             :               break;
   12226                 :             :             }
   12227                 :             :           default:;
   12228                 :             :           }
   12229                 :             :         break;
   12230                 :             :       }
   12231                 :       72732 :     case GT_EXPR:
   12232                 :       72732 :       {
   12233                 :       72732 :         tree _q20 = TREE_OPERAND (_p0, 0);
   12234                 :       72732 :         tree _q21 = TREE_OPERAND (_p0, 1);
   12235                 :       72732 :         switch (TREE_CODE (_q21))
   12236                 :             :           {
   12237                 :           0 :           case POINTER_PLUS_EXPR:
   12238                 :           0 :             {
   12239                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
   12240                 :           0 :               tree _q41 = TREE_OPERAND (_q21, 1);
   12241                 :           0 :               switch (TREE_CODE (_q41))
   12242                 :             :                 {
   12243                 :           0 :                 case INTEGER_CST:
   12244                 :           0 :                   {
   12245                 :           0 :                     switch (TREE_CODE (_p1))
   12246                 :             :                       {
   12247                 :           0 :                       case LT_EXPR:
   12248                 :           0 :                         {
   12249                 :           0 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   12250                 :           0 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   12251                 :           0 :                           switch (TREE_CODE (_q70))
   12252                 :             :                             {
   12253                 :           0 :                             case POINTER_PLUS_EXPR:
   12254                 :           0 :                               {
   12255                 :           0 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
   12256                 :           0 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
   12257                 :           0 :                                 if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   12258                 :             :                                   {
   12259                 :           0 :                                     if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
   12260                 :             :                                       {
   12261                 :           0 :                                         if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
   12262                 :             :                                           {
   12263                 :           0 :                                             {
   12264                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q70 };
   12265                 :           0 :                                               const enum tree_code cmp = LT_EXPR;
   12266                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   12267                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   12268                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   12269                 :             : )
   12270                 :             :                                                 {
   12271                 :           0 :                                                   {
   12272                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   12273                 :           0 :  offset_int rhs = off * 2;
   12274                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   12275                 :             : )
   12276                 :             :                                                         {
   12277                 :           0 :                                                           {
   12278                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   12279                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   12280                 :           0 :                                                               if (cmp == LT_EXPR
   12281                 :             : )
   12282                 :             :                                                                 {
   12283                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1791;
   12284                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1791;
   12285                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1791;
   12286                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1791;
   12287                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1791;
   12288                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1791;
   12289                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1791;
   12290                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1791;
   12291                 :           0 :                                                                   {
   12292                 :           0 :                                                                     tree res_op0;
   12293                 :           0 :                                                                     {
   12294                 :           0 :                                                                       tree _o1[1], _r1;
   12295                 :           0 :                                                                       {
   12296                 :           0 :                                                                         tree _o2[2], _r2;
   12297                 :           0 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   12298                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12299                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12300                 :           0 :                                                                         _o1[0] = _r2;
   12301                 :             :                                                                       }
   12302                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12303                 :             :                                                                         {
   12304                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12305                 :             :                                                                         }
   12306                 :             :                                                                       else
   12307                 :             :                                                                         _r1 = _o1[0];
   12308                 :           0 :                                                                       res_op0 = _r1;
   12309                 :             :                                                                     }
   12310                 :           0 :                                                                     tree res_op1;
   12311                 :           0 :                                                                     res_op1 =  rhs_tree;
   12312                 :           0 :                                                                     tree _r;
   12313                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12314                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
   12315                 :           0 :                                                                     return _r;
   12316                 :             :                                                                   }
   12317                 :           0 : next_after_fail1791:;
   12318                 :             :                                                                 }
   12319                 :             :                                                               else
   12320                 :             :                                                                 {
   12321                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1792;
   12322                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1792;
   12323                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1792;
   12324                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1792;
   12325                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1792;
   12326                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1792;
   12327                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1792;
   12328                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1792;
   12329                 :             :                                                                   {
   12330                 :             :                                                                     tree res_op0;
   12331                 :             :                                                                     {
   12332                 :             :                                                                       tree _o1[1], _r1;
   12333                 :             :                                                                       {
   12334                 :             :                                                                         tree _o2[2], _r2;
   12335                 :             :                                                                         {
   12336                 :             :                                                                           tree _o3[2], _r3;
   12337                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   12338                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   12339                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   12340                 :             :                                                                           _o2[0] = _r3;
   12341                 :             :                                                                         }
   12342                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12343                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12344                 :             :                                                                         _o1[0] = _r2;
   12345                 :             :                                                                       }
   12346                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12347                 :             :                                                                         {
   12348                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12349                 :             :                                                                         }
   12350                 :             :                                                                       else
   12351                 :             :                                                                         _r1 = _o1[0];
   12352                 :             :                                                                       res_op0 = _r1;
   12353                 :             :                                                                     }
   12354                 :             :                                                                     tree res_op1;
   12355                 :             :                                                                     res_op1 =  rhs_tree;
   12356                 :             :                                                                     tree _r;
   12357                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12358                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
   12359                 :             :                                                                     return _r;
   12360                 :             :                                                                   }
   12361                 :             : next_after_fail1792:;
   12362                 :             :                                                                 }
   12363                 :             :                                                           }
   12364                 :             :                                                         }
   12365                 :             :                                                   }
   12366                 :             :                                                 }
   12367                 :             :                                             }
   12368                 :             :                                           }
   12369                 :             :                                       }
   12370                 :             :                                   }
   12371                 :             :                                 break;
   12372                 :             :                               }
   12373                 :             :                             default:;
   12374                 :             :                             }
   12375                 :             :                           break;
   12376                 :             :                         }
   12377                 :           0 :                       case GT_EXPR:
   12378                 :           0 :                         {
   12379                 :           0 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   12380                 :           0 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   12381                 :           0 :                           if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
   12382                 :             :                             {
   12383                 :           0 :                               switch (TREE_CODE (_q71))
   12384                 :             :                                 {
   12385                 :           0 :                                 case POINTER_PLUS_EXPR:
   12386                 :           0 :                                   {
   12387                 :           0 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
   12388                 :           0 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
   12389                 :           0 :                                     if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
   12390                 :             :                                       {
   12391                 :           0 :                                         if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
   12392                 :             :                                           {
   12393                 :           0 :                                             {
   12394                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q71 };
   12395                 :           0 :                                               const enum tree_code cmp = LT_EXPR;
   12396                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   12397                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   12398                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   12399                 :             : )
   12400                 :             :                                                 {
   12401                 :           0 :                                                   {
   12402                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   12403                 :           0 :  offset_int rhs = off * 2;
   12404                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   12405                 :             : )
   12406                 :             :                                                         {
   12407                 :           0 :                                                           {
   12408                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   12409                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   12410                 :           0 :                                                               if (cmp == LT_EXPR
   12411                 :             : )
   12412                 :             :                                                                 {
   12413                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1793;
   12414                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1793;
   12415                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1793;
   12416                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1793;
   12417                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1793;
   12418                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1793;
   12419                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1793;
   12420                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1793;
   12421                 :           0 :                                                                   {
   12422                 :           0 :                                                                     tree res_op0;
   12423                 :           0 :                                                                     {
   12424                 :           0 :                                                                       tree _o1[1], _r1;
   12425                 :           0 :                                                                       {
   12426                 :           0 :                                                                         tree _o2[2], _r2;
   12427                 :           0 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   12428                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12429                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12430                 :           0 :                                                                         _o1[0] = _r2;
   12431                 :             :                                                                       }
   12432                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12433                 :             :                                                                         {
   12434                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12435                 :             :                                                                         }
   12436                 :             :                                                                       else
   12437                 :             :                                                                         _r1 = _o1[0];
   12438                 :           0 :                                                                       res_op0 = _r1;
   12439                 :             :                                                                     }
   12440                 :           0 :                                                                     tree res_op1;
   12441                 :           0 :                                                                     res_op1 =  rhs_tree;
   12442                 :           0 :                                                                     tree _r;
   12443                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12444                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
   12445                 :           0 :                                                                     return _r;
   12446                 :             :                                                                   }
   12447                 :           0 : next_after_fail1793:;
   12448                 :             :                                                                 }
   12449                 :             :                                                               else
   12450                 :             :                                                                 {
   12451                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1794;
   12452                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1794;
   12453                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1794;
   12454                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1794;
   12455                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1794;
   12456                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1794;
   12457                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1794;
   12458                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1794;
   12459                 :             :                                                                   {
   12460                 :             :                                                                     tree res_op0;
   12461                 :             :                                                                     {
   12462                 :             :                                                                       tree _o1[1], _r1;
   12463                 :             :                                                                       {
   12464                 :             :                                                                         tree _o2[2], _r2;
   12465                 :             :                                                                         {
   12466                 :             :                                                                           tree _o3[2], _r3;
   12467                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   12468                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   12469                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   12470                 :             :                                                                           _o2[0] = _r3;
   12471                 :             :                                                                         }
   12472                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12473                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12474                 :             :                                                                         _o1[0] = _r2;
   12475                 :             :                                                                       }
   12476                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12477                 :             :                                                                         {
   12478                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12479                 :             :                                                                         }
   12480                 :             :                                                                       else
   12481                 :             :                                                                         _r1 = _o1[0];
   12482                 :             :                                                                       res_op0 = _r1;
   12483                 :             :                                                                     }
   12484                 :             :                                                                     tree res_op1;
   12485                 :             :                                                                     res_op1 =  rhs_tree;
   12486                 :             :                                                                     tree _r;
   12487                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12488                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
   12489                 :             :                                                                     return _r;
   12490                 :             :                                                                   }
   12491                 :             : next_after_fail1794:;
   12492                 :             :                                                                 }
   12493                 :             :                                                           }
   12494                 :             :                                                         }
   12495                 :             :                                                   }
   12496                 :             :                                                 }
   12497                 :             :                                             }
   12498                 :             :                                           }
   12499                 :             :                                       }
   12500                 :             :                                     break;
   12501                 :             :                                   }
   12502                 :             :                                 default:;
   12503                 :             :                                 }
   12504                 :             :                             }
   12505                 :             :                           break;
   12506                 :             :                         }
   12507                 :             :                       default:;
   12508                 :             :                       }
   12509                 :             :                     break;
   12510                 :             :                   }
   12511                 :             :                 default:;
   12512                 :             :                 }
   12513                 :             :               break;
   12514                 :             :             }
   12515                 :             :           default:;
   12516                 :             :           }
   12517                 :             :         break;
   12518                 :             :       }
   12519                 :             :     default:;
   12520                 :             :     }
   12521                 :             :   return NULL_TREE;
   12522                 :             : }
   12523                 :             : #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.