LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - generic-match-8.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 52.0 % 7587 3947
Test Date: 2025-10-18 14:39:06 Functions: 69.6 % 79 55
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                 :    94964571 : tree_bit_xor_cst (tree t, tree *res_ops)
      11                 :             : {
      12                 :    94964571 :   const tree type = TREE_TYPE (t);
      13                 :    94964571 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :    94964571 :   if (TREE_SIDE_EFFECTS (t)) return false;
      15                 :    94964571 :   switch (TREE_CODE (t))
      16                 :             :     {
      17                 :       35537 :     case BIT_XOR_EXPR:
      18                 :       35537 :       {
      19                 :       35537 :         tree _p0 = TREE_OPERAND (t, 0);
      20                 :       35537 :         tree _p1 = TREE_OPERAND (t, 1);
      21                 :       35537 :         if (uniform_integer_cst_p (_p1))
      22                 :             :           {
      23                 :        1585 :             {
      24                 :        1585 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      25                 :        1585 :               {
      26                 :        1585 :                 res_ops[0] = captures[0];
      27                 :        1585 :                 res_ops[1] = captures[1];
      28                 :        1585 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 4, __FILE__, __LINE__, false);
      29                 :        1585 :                 return true;
      30                 :             :               }
      31                 :             :             }
      32                 :             :           }
      33                 :             :         break;
      34                 :             :       }
      35                 :             :     default:;
      36                 :             :     }
      37                 :             :   return false;
      38                 :             : }
      39                 :             : 
      40                 :             : bool
      41                 :    73305889 : tree_with_possible_nonzero_bits_1 (tree t)
      42                 :             : {
      43                 :    73305889 :   const tree type = TREE_TYPE (t);
      44                 :    73305889 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      45                 :    73305889 :   if (TREE_SIDE_EFFECTS (t)) return false;
      46                 :    73305889 :   switch (TREE_CODE (t))
      47                 :             :     {
      48                 :    17185673 :     case INTEGER_CST:
      49                 :    17185673 :       {
      50                 :    17185673 :         {
      51                 :    17185673 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      52                 :    17185673 :           {
      53                 :    17185673 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 32, __FILE__, __LINE__, false);
      54                 :    17185673 :             return true;
      55                 :             :           }
      56                 :             :         }
      57                 :           0 :         break;
      58                 :             :       }
      59                 :           0 :     case POLY_INT_CST:
      60                 :           0 :       {
      61                 :           0 :         {
      62                 :           0 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      63                 :           0 :           {
      64                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 33, __FILE__, __LINE__, false);
      65                 :           0 :             return true;
      66                 :             :           }
      67                 :             :         }
      68                 :    26861893 :         break;
      69                 :             :       }
      70                 :    26861893 :     case SSA_NAME:
      71                 :    26861893 :       {
      72                 :    26861893 :         {
      73                 :    26861893 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      74                 :    26861893 :           if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
      75                 :             : )
      76                 :             :             {
      77                 :    26357569 :               {
      78                 :    26357569 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 34, __FILE__, __LINE__, false);
      79                 :    26357569 :                 return true;
      80                 :             :               }
      81                 :             :             }
      82                 :             :         }
      83                 :             :         break;
      84                 :             :       }
      85                 :             :     default:;
      86                 :             :     }
      87                 :             :   return false;
      88                 :             : }
      89                 :             : 
      90                 :             : bool
      91                 :        1965 : tree_max_value (tree t)
      92                 :             : {
      93                 :        1965 :   const tree type = TREE_TYPE (t);
      94                 :        1965 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      95                 :        1965 :   if (TREE_SIDE_EFFECTS (t)) return false;
      96                 :        1957 :   if (uniform_integer_cst_p (t))
      97                 :             :     {
      98                 :        1709 :       {
      99                 :        1709 :         {
     100                 :        1709 :  tree int_cst = uniform_integer_cst_p (t);
     101                 :        1709 :  tree itype = TREE_TYPE (int_cst);
     102                 :        3418 :             if ((INTEGRAL_TYPE_P (itype)
     103                 :          17 :  || POINTER_TYPE_P (itype))
     104                 :        3435 :  && wi::eq_p (wi::to_wide (int_cst), wi::max_value (itype))
     105                 :             : )
     106                 :             :               {
     107                 :          24 :                 {
     108                 :          24 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 42, __FILE__, __LINE__, false);
     109                 :          24 :                   return true;
     110                 :             :                 }
     111                 :             :               }
     112                 :             :         }
     113                 :             :       }
     114                 :             :     }
     115                 :             :   return false;
     116                 :             : }
     117                 :             : 
     118                 :             : bool
     119                 :           0 : tree_signed_integer_sat_trunc (tree t, tree *res_ops)
     120                 :             : {
     121                 :           0 :   const tree type = TREE_TYPE (t);
     122                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     123                 :           0 :   if (TREE_SIDE_EFFECTS (t)) return false;
     124                 :           0 :   switch (TREE_CODE (t))
     125                 :             :     {
     126                 :           0 :     case COND_EXPR:
     127                 :           0 :       {
     128                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     129                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
     130                 :           0 :         tree _p2 = TREE_OPERAND (t, 2);
     131                 :           0 :         switch (TREE_CODE (_p0))
     132                 :             :           {
     133                 :           0 :           case GT_EXPR:
     134                 :           0 :             {
     135                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     136                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     137                 :           0 :               switch (TREE_CODE (_q20))
     138                 :             :                 {
     139                 :           0 :                 case PLUS_EXPR:
     140                 :           0 :                   {
     141                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     142                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
     143                 :           0 :                     switch (TREE_CODE (_q30))
     144                 :             :                       {
     145                 :           0 :                       CASE_CONVERT:
     146                 :           0 :                         {
     147                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     148                 :           0 :                           switch (TREE_CODE (_q31))
     149                 :             :                             {
     150                 :           0 :                             case INTEGER_CST:
     151                 :           0 :                               {
     152                 :           0 :                                 switch (TREE_CODE (_q21))
     153                 :             :                                   {
     154                 :           0 :                                   case INTEGER_CST:
     155                 :           0 :                                     {
     156                 :           0 :                                       switch (TREE_CODE (_p1))
     157                 :             :                                         {
     158                 :           0 :                                         case BIT_XOR_EXPR:
     159                 :           0 :                                           {
     160                 :           0 :                                             tree _q80 = TREE_OPERAND (_p1, 0);
     161                 :           0 :                                             tree _q81 = TREE_OPERAND (_p1, 1);
     162                 :           0 :                                             switch (TREE_CODE (_q80))
     163                 :             :                                               {
     164                 :           0 :                                               case INTEGER_CST:
     165                 :           0 :                                                 {
     166                 :           0 :                                                   switch (TREE_CODE (_q81))
     167                 :             :                                                     {
     168                 :           0 :                                                     case NEGATE_EXPR:
     169                 :           0 :                                                       {
     170                 :           0 :                                                         tree _q100 = TREE_OPERAND (_q81, 0);
     171                 :           0 :                                                         switch (TREE_CODE (_q100))
     172                 :             :                                                           {
     173                 :           0 :                                                           CASE_CONVERT:
     174                 :           0 :                                                             {
     175                 :           0 :                                                               tree _q110 = TREE_OPERAND (_q100, 0);
     176                 :           0 :                                                               switch (TREE_CODE (_q110))
     177                 :             :                                                                 {
     178                 :           0 :                                                                 case LT_EXPR:
     179                 :           0 :                                                                   {
     180                 :           0 :                                                                     tree _q120 = TREE_OPERAND (_q110, 0);
     181                 :           0 :                                                                     tree _q121 = TREE_OPERAND (_q110, 1);
     182                 :           0 :                                                                     if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
     183                 :             :                                                                       {
     184                 :           0 :                                                                         if (integer_zerop (_q121))
     185                 :             :                                                                           {
     186                 :           0 :                                                                             switch (TREE_CODE (_p2))
     187                 :             :                                                                               {
     188                 :           0 :                                                                               CASE_CONVERT:
     189                 :           0 :                                                                                 {
     190                 :           0 :                                                                                   tree _q150 = TREE_OPERAND (_p2, 0);
     191                 :           0 :                                                                                   if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
     192                 :             :                                                                                     {
     193                 :           0 :                                                                                       {
     194                 :           0 :                                                                                         tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q30, _q31, _q21, _q80 };
     195                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     196                 :             : )
     197                 :             :                                                                                           {
     198                 :           0 :                                                                                             if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     199                 :             : )
     200                 :             :                                                                                               {
     201                 :           0 :                                                                                                 {
     202                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     203                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     204                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     205                 :           0 :  itype_prec);
     206                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     207                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     208                 :           0 :  itype_prec);
     209                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     210                 :           0 :  itype_prec);
     211                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     212                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     213                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     214                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     215                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     216                 :           0 :                                                                                                     if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     217                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     218                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     219                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     220                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     221                 :             : )
     222                 :             :                                                                                                       {
     223                 :           0 :                                                                                                         {
     224                 :           0 :                                                                                                           res_ops[0] = captures[0];
     225                 :           0 :                                                                                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     226                 :           0 :                                                                                                           return true;
     227                 :             :                                                                                                         }
     228                 :             :                                                                                                       }
     229                 :           0 :                                                                                                 }
     230                 :             :                                                                                               }
     231                 :             :                                                                                           }
     232                 :             :                                                                                       }
     233                 :             :                                                                                     }
     234                 :             :                                                                                   break;
     235                 :             :                                                                                 }
     236                 :             :                                                                               default:;
     237                 :             :                                                                               }
     238                 :             :                                                                           }
     239                 :             :                                                                       }
     240                 :             :                                                                     break;
     241                 :             :                                                                   }
     242                 :             :                                                                 default:;
     243                 :             :                                                                 }
     244                 :             :                                                               break;
     245                 :             :                                                             }
     246                 :             :                                                           default:;
     247                 :             :                                                           }
     248                 :             :                                                         break;
     249                 :             :                                                       }
     250                 :           0 :                                                     default:;
     251                 :             :                                                     }
     252                 :           0 :                                                 {
     253                 :           0 :                                                   tree _q81_pops[1];
     254                 :           0 :                                                   if (tree_nop_convert (_q81, _q81_pops))
     255                 :             :                                                     {
     256                 :           0 :                                                       tree _q100 = _q81_pops[0];
     257                 :           0 :                                                       switch (TREE_CODE (_q100))
     258                 :             :                                                         {
     259                 :           0 :                                                         case NEGATE_EXPR:
     260                 :           0 :                                                           {
     261                 :           0 :                                                             tree _q110 = TREE_OPERAND (_q100, 0);
     262                 :           0 :                                                             {
     263                 :           0 :                                                               tree _q110_pops[1];
     264                 :           0 :                                                               if (tree_nop_convert (_q110, _q110_pops))
     265                 :             :                                                                 {
     266                 :           0 :                                                                   tree _q120 = _q110_pops[0];
     267                 :           0 :                                                                   switch (TREE_CODE (_q120))
     268                 :             :                                                                     {
     269                 :           0 :                                                                     CASE_CONVERT:
     270                 :           0 :                                                                       {
     271                 :           0 :                                                                         tree _q130 = TREE_OPERAND (_q120, 0);
     272                 :           0 :                                                                         switch (TREE_CODE (_q130))
     273                 :             :                                                                           {
     274                 :           0 :                                                                           case LT_EXPR:
     275                 :           0 :                                                                             {
     276                 :           0 :                                                                               tree _q140 = TREE_OPERAND (_q130, 0);
     277                 :           0 :                                                                               tree _q141 = TREE_OPERAND (_q130, 1);
     278                 :           0 :                                                                               if ((_q140 == _q40 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q40, 0) && types_match (_q140, _q40)))
     279                 :             :                                                                                 {
     280                 :           0 :                                                                                   if (integer_zerop (_q141))
     281                 :             :                                                                                     {
     282                 :           0 :                                                                                       switch (TREE_CODE (_p2))
     283                 :             :                                                                                         {
     284                 :           0 :                                                                                         CASE_CONVERT:
     285                 :           0 :                                                                                           {
     286                 :           0 :                                                                                             tree _q170 = TREE_OPERAND (_p2, 0);
     287                 :           0 :                                                                                             if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
     288                 :             :                                                                                               {
     289                 :           0 :                                                                                                 {
     290                 :           0 :                                                                                                   tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q30, _q31, _q21, _q80 };
     291                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     292                 :             : )
     293                 :             :                                                                                                     {
     294                 :           0 :                                                                                                       if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     295                 :             : )
     296                 :             :                                                                                                         {
     297                 :           0 :                                                                                                           {
     298                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     299                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     300                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     301                 :           0 :  itype_prec);
     302                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     303                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     304                 :           0 :  itype_prec);
     305                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     306                 :           0 :  itype_prec);
     307                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     308                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     309                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     310                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     311                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     312                 :           0 :                                                                                                               if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     313                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     314                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     315                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     316                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     317                 :             : )
     318                 :             :                                                                                                                 {
     319                 :           0 :                                                                                                                   {
     320                 :           0 :                                                                                                                     res_ops[0] = captures[0];
     321                 :           0 :                                                                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     322                 :           0 :                                                                                                                     return true;
     323                 :             :                                                                                                                   }
     324                 :             :                                                                                                                 }
     325                 :           0 :                                                                                                           }
     326                 :             :                                                                                                         }
     327                 :             :                                                                                                     }
     328                 :             :                                                                                                 }
     329                 :             :                                                                                               }
     330                 :             :                                                                                             break;
     331                 :             :                                                                                           }
     332                 :             :                                                                                         default:;
     333                 :             :                                                                                         }
     334                 :             :                                                                                     }
     335                 :             :                                                                                 }
     336                 :             :                                                                               break;
     337                 :             :                                                                             }
     338                 :             :                                                                           default:;
     339                 :             :                                                                           }
     340                 :             :                                                                         break;
     341                 :             :                                                                       }
     342                 :             :                                                                     default:;
     343                 :             :                                                                     }
     344                 :             :                                                                 }
     345                 :             :                                                             }
     346                 :           0 :                                                             break;
     347                 :             :                                                           }
     348                 :             :                                                         default:;
     349                 :             :                                                         }
     350                 :             :                                                     }
     351                 :             :                                                 }
     352                 :           0 :                                                   break;
     353                 :             :                                                 }
     354                 :           0 :                                               case NEGATE_EXPR:
     355                 :           0 :                                                 {
     356                 :           0 :                                                   tree _q90 = TREE_OPERAND (_q80, 0);
     357                 :           0 :                                                   switch (TREE_CODE (_q90))
     358                 :             :                                                     {
     359                 :           0 :                                                     CASE_CONVERT:
     360                 :           0 :                                                       {
     361                 :           0 :                                                         tree _q100 = TREE_OPERAND (_q90, 0);
     362                 :           0 :                                                         switch (TREE_CODE (_q100))
     363                 :             :                                                           {
     364                 :           0 :                                                           case LT_EXPR:
     365                 :           0 :                                                             {
     366                 :           0 :                                                               tree _q110 = TREE_OPERAND (_q100, 0);
     367                 :           0 :                                                               tree _q111 = TREE_OPERAND (_q100, 1);
     368                 :           0 :                                                               if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
     369                 :             :                                                                 {
     370                 :           0 :                                                                   if (integer_zerop (_q111))
     371                 :             :                                                                     {
     372                 :           0 :                                                                       switch (TREE_CODE (_q81))
     373                 :             :                                                                         {
     374                 :           0 :                                                                         case INTEGER_CST:
     375                 :           0 :                                                                           {
     376                 :           0 :                                                                             switch (TREE_CODE (_p2))
     377                 :             :                                                                               {
     378                 :           0 :                                                                               CASE_CONVERT:
     379                 :           0 :                                                                                 {
     380                 :           0 :                                                                                   tree _q150 = TREE_OPERAND (_p2, 0);
     381                 :           0 :                                                                                   if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
     382                 :             :                                                                                     {
     383                 :           0 :                                                                                       {
     384                 :           0 :                                                                                         tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q30, _q31, _q21, _q81 };
     385                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     386                 :             : )
     387                 :             :                                                                                           {
     388                 :           0 :                                                                                             if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     389                 :             : )
     390                 :             :                                                                                               {
     391                 :           0 :                                                                                                 {
     392                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     393                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     394                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     395                 :           0 :  itype_prec);
     396                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     397                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     398                 :           0 :  itype_prec);
     399                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     400                 :           0 :  itype_prec);
     401                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     402                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     403                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     404                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     405                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     406                 :           0 :                                                                                                     if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     407                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     408                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     409                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     410                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     411                 :             : )
     412                 :             :                                                                                                       {
     413                 :           0 :                                                                                                         {
     414                 :           0 :                                                                                                           res_ops[0] = captures[0];
     415                 :           0 :                                                                                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     416                 :           0 :                                                                                                           return true;
     417                 :             :                                                                                                         }
     418                 :             :                                                                                                       }
     419                 :           0 :                                                                                                 }
     420                 :             :                                                                                               }
     421                 :             :                                                                                           }
     422                 :             :                                                                                       }
     423                 :             :                                                                                     }
     424                 :             :                                                                                   break;
     425                 :             :                                                                                 }
     426                 :             :                                                                               default:;
     427                 :             :                                                                               }
     428                 :             :                                                                             break;
     429                 :             :                                                                           }
     430                 :             :                                                                         default:;
     431                 :             :                                                                         }
     432                 :             :                                                                     }
     433                 :             :                                                                 }
     434                 :             :                                                               break;
     435                 :             :                                                             }
     436                 :             :                                                           default:;
     437                 :             :                                                           }
     438                 :             :                                                         break;
     439                 :             :                                                       }
     440                 :             :                                                     default:;
     441                 :             :                                                     }
     442                 :             :                                                   break;
     443                 :             :                                                 }
     444                 :           0 :                                               default:;
     445                 :             :                                               }
     446                 :           0 :                                           {
     447                 :           0 :                                             tree _q80_pops[1];
     448                 :           0 :                                             if (tree_nop_convert (_q80, _q80_pops))
     449                 :             :                                               {
     450                 :           0 :                                                 tree _q90 = _q80_pops[0];
     451                 :           0 :                                                 switch (TREE_CODE (_q90))
     452                 :             :                                                   {
     453                 :           0 :                                                   case NEGATE_EXPR:
     454                 :           0 :                                                     {
     455                 :           0 :                                                       tree _q100 = TREE_OPERAND (_q90, 0);
     456                 :           0 :                                                       {
     457                 :           0 :                                                         tree _q100_pops[1];
     458                 :           0 :                                                         if (tree_nop_convert (_q100, _q100_pops))
     459                 :             :                                                           {
     460                 :           0 :                                                             tree _q110 = _q100_pops[0];
     461                 :           0 :                                                             switch (TREE_CODE (_q110))
     462                 :             :                                                               {
     463                 :           0 :                                                               CASE_CONVERT:
     464                 :           0 :                                                                 {
     465                 :           0 :                                                                   tree _q120 = TREE_OPERAND (_q110, 0);
     466                 :           0 :                                                                   switch (TREE_CODE (_q120))
     467                 :             :                                                                     {
     468                 :           0 :                                                                     case LT_EXPR:
     469                 :           0 :                                                                       {
     470                 :           0 :                                                                         tree _q130 = TREE_OPERAND (_q120, 0);
     471                 :           0 :                                                                         tree _q131 = TREE_OPERAND (_q120, 1);
     472                 :           0 :                                                                         if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
     473                 :             :                                                                           {
     474                 :           0 :                                                                             if (integer_zerop (_q131))
     475                 :             :                                                                               {
     476                 :           0 :                                                                                 switch (TREE_CODE (_q81))
     477                 :             :                                                                                   {
     478                 :           0 :                                                                                   case INTEGER_CST:
     479                 :           0 :                                                                                     {
     480                 :           0 :                                                                                       switch (TREE_CODE (_p2))
     481                 :             :                                                                                         {
     482                 :           0 :                                                                                         CASE_CONVERT:
     483                 :           0 :                                                                                           {
     484                 :           0 :                                                                                             tree _q170 = TREE_OPERAND (_p2, 0);
     485                 :           0 :                                                                                             if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
     486                 :             :                                                                                               {
     487                 :           0 :                                                                                                 {
     488                 :           0 :                                                                                                   tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q30, _q31, _q21, _q81 };
     489                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     490                 :             : )
     491                 :             :                                                                                                     {
     492                 :           0 :                                                                                                       if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     493                 :             : )
     494                 :             :                                                                                                         {
     495                 :           0 :                                                                                                           {
     496                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     497                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     498                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     499                 :           0 :  itype_prec);
     500                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     501                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     502                 :           0 :  itype_prec);
     503                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     504                 :           0 :  itype_prec);
     505                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     506                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     507                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     508                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     509                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     510                 :           0 :                                                                                                               if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     511                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     512                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     513                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     514                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     515                 :             : )
     516                 :             :                                                                                                                 {
     517                 :           0 :                                                                                                                   {
     518                 :           0 :                                                                                                                     res_ops[0] = captures[0];
     519                 :           0 :                                                                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     520                 :           0 :                                                                                                                     return true;
     521                 :             :                                                                                                                   }
     522                 :             :                                                                                                                 }
     523                 :           0 :                                                                                                           }
     524                 :             :                                                                                                         }
     525                 :             :                                                                                                     }
     526                 :             :                                                                                                 }
     527                 :             :                                                                                               }
     528                 :             :                                                                                             break;
     529                 :             :                                                                                           }
     530                 :             :                                                                                         default:;
     531                 :             :                                                                                         }
     532                 :             :                                                                                       break;
     533                 :             :                                                                                     }
     534                 :             :                                                                                   default:;
     535                 :             :                                                                                   }
     536                 :             :                                                                               }
     537                 :             :                                                                           }
     538                 :             :                                                                         break;
     539                 :             :                                                                       }
     540                 :             :                                                                     default:;
     541                 :             :                                                                     }
     542                 :             :                                                                   break;
     543                 :             :                                                                 }
     544                 :             :                                                               default:;
     545                 :             :                                                               }
     546                 :             :                                                           }
     547                 :             :                                                       }
     548                 :           0 :                                                       break;
     549                 :             :                                                     }
     550                 :             :                                                   default:;
     551                 :             :                                                   }
     552                 :             :                                               }
     553                 :             :                                           }
     554                 :           0 :                                             break;
     555                 :             :                                           }
     556                 :             :                                         default:;
     557                 :             :                                         }
     558                 :             :                                       break;
     559                 :             :                                     }
     560                 :             :                                   default:;
     561                 :             :                                   }
     562                 :             :                                 break;
     563                 :             :                               }
     564                 :             :                             default:;
     565                 :             :                             }
     566                 :             :                           break;
     567                 :             :                         }
     568                 :           0 :                       case INTEGER_CST:
     569                 :           0 :                         {
     570                 :           0 :                           switch (TREE_CODE (_q31))
     571                 :             :                             {
     572                 :           0 :                             CASE_CONVERT:
     573                 :           0 :                               {
     574                 :           0 :                                 tree _q50 = TREE_OPERAND (_q31, 0);
     575                 :           0 :                                 switch (TREE_CODE (_q21))
     576                 :             :                                   {
     577                 :           0 :                                   case INTEGER_CST:
     578                 :           0 :                                     {
     579                 :           0 :                                       switch (TREE_CODE (_p1))
     580                 :             :                                         {
     581                 :           0 :                                         case BIT_XOR_EXPR:
     582                 :           0 :                                           {
     583                 :           0 :                                             tree _q80 = TREE_OPERAND (_p1, 0);
     584                 :           0 :                                             tree _q81 = TREE_OPERAND (_p1, 1);
     585                 :           0 :                                             switch (TREE_CODE (_q80))
     586                 :             :                                               {
     587                 :           0 :                                               case INTEGER_CST:
     588                 :           0 :                                                 {
     589                 :           0 :                                                   switch (TREE_CODE (_q81))
     590                 :             :                                                     {
     591                 :           0 :                                                     case NEGATE_EXPR:
     592                 :           0 :                                                       {
     593                 :           0 :                                                         tree _q100 = TREE_OPERAND (_q81, 0);
     594                 :           0 :                                                         switch (TREE_CODE (_q100))
     595                 :             :                                                           {
     596                 :           0 :                                                           CASE_CONVERT:
     597                 :           0 :                                                             {
     598                 :           0 :                                                               tree _q110 = TREE_OPERAND (_q100, 0);
     599                 :           0 :                                                               switch (TREE_CODE (_q110))
     600                 :             :                                                                 {
     601                 :           0 :                                                                 case LT_EXPR:
     602                 :           0 :                                                                   {
     603                 :           0 :                                                                     tree _q120 = TREE_OPERAND (_q110, 0);
     604                 :           0 :                                                                     tree _q121 = TREE_OPERAND (_q110, 1);
     605                 :           0 :                                                                     if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
     606                 :             :                                                                       {
     607                 :           0 :                                                                         if (integer_zerop (_q121))
     608                 :             :                                                                           {
     609                 :           0 :                                                                             switch (TREE_CODE (_p2))
     610                 :             :                                                                               {
     611                 :           0 :                                                                               CASE_CONVERT:
     612                 :           0 :                                                                                 {
     613                 :           0 :                                                                                   tree _q150 = TREE_OPERAND (_p2, 0);
     614                 :           0 :                                                                                   if ((_q150 == _q50 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q50, 0) && types_match (_q150, _q50)))
     615                 :             :                                                                                     {
     616                 :           0 :                                                                                       {
     617                 :           0 :                                                                                         tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q31, _q30, _q21, _q80 };
     618                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     619                 :             : )
     620                 :             :                                                                                           {
     621                 :           0 :                                                                                             if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     622                 :             : )
     623                 :             :                                                                                               {
     624                 :           0 :                                                                                                 {
     625                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     626                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     627                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     628                 :           0 :  itype_prec);
     629                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     630                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     631                 :           0 :  itype_prec);
     632                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     633                 :           0 :  itype_prec);
     634                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     635                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     636                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     637                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     638                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     639                 :           0 :                                                                                                     if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     640                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     641                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     642                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     643                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     644                 :             : )
     645                 :             :                                                                                                       {
     646                 :           0 :                                                                                                         {
     647                 :           0 :                                                                                                           res_ops[0] = captures[0];
     648                 :           0 :                                                                                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     649                 :           0 :                                                                                                           return true;
     650                 :             :                                                                                                         }
     651                 :             :                                                                                                       }
     652                 :           0 :                                                                                                 }
     653                 :             :                                                                                               }
     654                 :             :                                                                                           }
     655                 :             :                                                                                       }
     656                 :             :                                                                                     }
     657                 :             :                                                                                   break;
     658                 :             :                                                                                 }
     659                 :             :                                                                               default:;
     660                 :             :                                                                               }
     661                 :             :                                                                           }
     662                 :             :                                                                       }
     663                 :             :                                                                     break;
     664                 :             :                                                                   }
     665                 :             :                                                                 default:;
     666                 :             :                                                                 }
     667                 :             :                                                               break;
     668                 :             :                                                             }
     669                 :             :                                                           default:;
     670                 :             :                                                           }
     671                 :             :                                                         break;
     672                 :             :                                                       }
     673                 :           0 :                                                     default:;
     674                 :             :                                                     }
     675                 :           0 :                                                 {
     676                 :           0 :                                                   tree _q81_pops[1];
     677                 :           0 :                                                   if (tree_nop_convert (_q81, _q81_pops))
     678                 :             :                                                     {
     679                 :           0 :                                                       tree _q100 = _q81_pops[0];
     680                 :           0 :                                                       switch (TREE_CODE (_q100))
     681                 :             :                                                         {
     682                 :           0 :                                                         case NEGATE_EXPR:
     683                 :           0 :                                                           {
     684                 :           0 :                                                             tree _q110 = TREE_OPERAND (_q100, 0);
     685                 :           0 :                                                             {
     686                 :           0 :                                                               tree _q110_pops[1];
     687                 :           0 :                                                               if (tree_nop_convert (_q110, _q110_pops))
     688                 :             :                                                                 {
     689                 :           0 :                                                                   tree _q120 = _q110_pops[0];
     690                 :           0 :                                                                   switch (TREE_CODE (_q120))
     691                 :             :                                                                     {
     692                 :           0 :                                                                     CASE_CONVERT:
     693                 :           0 :                                                                       {
     694                 :           0 :                                                                         tree _q130 = TREE_OPERAND (_q120, 0);
     695                 :           0 :                                                                         switch (TREE_CODE (_q130))
     696                 :             :                                                                           {
     697                 :           0 :                                                                           case LT_EXPR:
     698                 :           0 :                                                                             {
     699                 :           0 :                                                                               tree _q140 = TREE_OPERAND (_q130, 0);
     700                 :           0 :                                                                               tree _q141 = TREE_OPERAND (_q130, 1);
     701                 :           0 :                                                                               if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
     702                 :             :                                                                                 {
     703                 :           0 :                                                                                   if (integer_zerop (_q141))
     704                 :             :                                                                                     {
     705                 :           0 :                                                                                       switch (TREE_CODE (_p2))
     706                 :             :                                                                                         {
     707                 :           0 :                                                                                         CASE_CONVERT:
     708                 :           0 :                                                                                           {
     709                 :           0 :                                                                                             tree _q170 = TREE_OPERAND (_p2, 0);
     710                 :           0 :                                                                                             if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
     711                 :             :                                                                                               {
     712                 :           0 :                                                                                                 {
     713                 :           0 :                                                                                                   tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q31, _q30, _q21, _q80 };
     714                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     715                 :             : )
     716                 :             :                                                                                                     {
     717                 :           0 :                                                                                                       if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     718                 :             : )
     719                 :             :                                                                                                         {
     720                 :           0 :                                                                                                           {
     721                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     722                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     723                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     724                 :           0 :  itype_prec);
     725                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     726                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     727                 :           0 :  itype_prec);
     728                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     729                 :           0 :  itype_prec);
     730                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     731                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     732                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     733                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     734                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     735                 :           0 :                                                                                                               if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     736                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     737                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     738                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     739                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     740                 :             : )
     741                 :             :                                                                                                                 {
     742                 :           0 :                                                                                                                   {
     743                 :           0 :                                                                                                                     res_ops[0] = captures[0];
     744                 :           0 :                                                                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     745                 :           0 :                                                                                                                     return true;
     746                 :             :                                                                                                                   }
     747                 :             :                                                                                                                 }
     748                 :           0 :                                                                                                           }
     749                 :             :                                                                                                         }
     750                 :             :                                                                                                     }
     751                 :             :                                                                                                 }
     752                 :             :                                                                                               }
     753                 :             :                                                                                             break;
     754                 :             :                                                                                           }
     755                 :             :                                                                                         default:;
     756                 :             :                                                                                         }
     757                 :             :                                                                                     }
     758                 :             :                                                                                 }
     759                 :             :                                                                               break;
     760                 :             :                                                                             }
     761                 :             :                                                                           default:;
     762                 :             :                                                                           }
     763                 :             :                                                                         break;
     764                 :             :                                                                       }
     765                 :             :                                                                     default:;
     766                 :             :                                                                     }
     767                 :             :                                                                 }
     768                 :             :                                                             }
     769                 :           0 :                                                             break;
     770                 :             :                                                           }
     771                 :             :                                                         default:;
     772                 :             :                                                         }
     773                 :             :                                                     }
     774                 :             :                                                 }
     775                 :           0 :                                                   break;
     776                 :             :                                                 }
     777                 :           0 :                                               case NEGATE_EXPR:
     778                 :           0 :                                                 {
     779                 :           0 :                                                   tree _q90 = TREE_OPERAND (_q80, 0);
     780                 :           0 :                                                   switch (TREE_CODE (_q90))
     781                 :             :                                                     {
     782                 :           0 :                                                     CASE_CONVERT:
     783                 :           0 :                                                       {
     784                 :           0 :                                                         tree _q100 = TREE_OPERAND (_q90, 0);
     785                 :           0 :                                                         switch (TREE_CODE (_q100))
     786                 :             :                                                           {
     787                 :           0 :                                                           case LT_EXPR:
     788                 :           0 :                                                             {
     789                 :           0 :                                                               tree _q110 = TREE_OPERAND (_q100, 0);
     790                 :           0 :                                                               tree _q111 = TREE_OPERAND (_q100, 1);
     791                 :           0 :                                                               if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
     792                 :             :                                                                 {
     793                 :           0 :                                                                   if (integer_zerop (_q111))
     794                 :             :                                                                     {
     795                 :           0 :                                                                       switch (TREE_CODE (_q81))
     796                 :             :                                                                         {
     797                 :           0 :                                                                         case INTEGER_CST:
     798                 :           0 :                                                                           {
     799                 :           0 :                                                                             switch (TREE_CODE (_p2))
     800                 :             :                                                                               {
     801                 :           0 :                                                                               CASE_CONVERT:
     802                 :           0 :                                                                                 {
     803                 :           0 :                                                                                   tree _q150 = TREE_OPERAND (_p2, 0);
     804                 :           0 :                                                                                   if ((_q150 == _q50 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q50, 0) && types_match (_q150, _q50)))
     805                 :             :                                                                                     {
     806                 :           0 :                                                                                       {
     807                 :           0 :                                                                                         tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q31, _q30, _q21, _q81 };
     808                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     809                 :             : )
     810                 :             :                                                                                           {
     811                 :           0 :                                                                                             if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     812                 :             : )
     813                 :             :                                                                                               {
     814                 :           0 :                                                                                                 {
     815                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     816                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     817                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     818                 :           0 :  itype_prec);
     819                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     820                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     821                 :           0 :  itype_prec);
     822                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     823                 :           0 :  itype_prec);
     824                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     825                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     826                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     827                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     828                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     829                 :           0 :                                                                                                     if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     830                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     831                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     832                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     833                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     834                 :             : )
     835                 :             :                                                                                                       {
     836                 :           0 :                                                                                                         {
     837                 :           0 :                                                                                                           res_ops[0] = captures[0];
     838                 :           0 :                                                                                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     839                 :           0 :                                                                                                           return true;
     840                 :             :                                                                                                         }
     841                 :             :                                                                                                       }
     842                 :           0 :                                                                                                 }
     843                 :             :                                                                                               }
     844                 :             :                                                                                           }
     845                 :             :                                                                                       }
     846                 :             :                                                                                     }
     847                 :             :                                                                                   break;
     848                 :             :                                                                                 }
     849                 :             :                                                                               default:;
     850                 :             :                                                                               }
     851                 :             :                                                                             break;
     852                 :             :                                                                           }
     853                 :             :                                                                         default:;
     854                 :             :                                                                         }
     855                 :             :                                                                     }
     856                 :             :                                                                 }
     857                 :             :                                                               break;
     858                 :             :                                                             }
     859                 :             :                                                           default:;
     860                 :             :                                                           }
     861                 :             :                                                         break;
     862                 :             :                                                       }
     863                 :             :                                                     default:;
     864                 :             :                                                     }
     865                 :             :                                                   break;
     866                 :             :                                                 }
     867                 :           0 :                                               default:;
     868                 :             :                                               }
     869                 :           0 :                                           {
     870                 :           0 :                                             tree _q80_pops[1];
     871                 :           0 :                                             if (tree_nop_convert (_q80, _q80_pops))
     872                 :             :                                               {
     873                 :           0 :                                                 tree _q90 = _q80_pops[0];
     874                 :           0 :                                                 switch (TREE_CODE (_q90))
     875                 :             :                                                   {
     876                 :           0 :                                                   case NEGATE_EXPR:
     877                 :           0 :                                                     {
     878                 :           0 :                                                       tree _q100 = TREE_OPERAND (_q90, 0);
     879                 :           0 :                                                       {
     880                 :           0 :                                                         tree _q100_pops[1];
     881                 :           0 :                                                         if (tree_nop_convert (_q100, _q100_pops))
     882                 :             :                                                           {
     883                 :           0 :                                                             tree _q110 = _q100_pops[0];
     884                 :           0 :                                                             switch (TREE_CODE (_q110))
     885                 :             :                                                               {
     886                 :           0 :                                                               CASE_CONVERT:
     887                 :           0 :                                                                 {
     888                 :           0 :                                                                   tree _q120 = TREE_OPERAND (_q110, 0);
     889                 :           0 :                                                                   switch (TREE_CODE (_q120))
     890                 :             :                                                                     {
     891                 :           0 :                                                                     case LT_EXPR:
     892                 :           0 :                                                                       {
     893                 :           0 :                                                                         tree _q130 = TREE_OPERAND (_q120, 0);
     894                 :           0 :                                                                         tree _q131 = TREE_OPERAND (_q120, 1);
     895                 :           0 :                                                                         if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
     896                 :             :                                                                           {
     897                 :           0 :                                                                             if (integer_zerop (_q131))
     898                 :             :                                                                               {
     899                 :           0 :                                                                                 switch (TREE_CODE (_q81))
     900                 :             :                                                                                   {
     901                 :           0 :                                                                                   case INTEGER_CST:
     902                 :           0 :                                                                                     {
     903                 :           0 :                                                                                       switch (TREE_CODE (_p2))
     904                 :             :                                                                                         {
     905                 :           0 :                                                                                         CASE_CONVERT:
     906                 :           0 :                                                                                           {
     907                 :           0 :                                                                                             tree _q170 = TREE_OPERAND (_p2, 0);
     908                 :           0 :                                                                                             if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
     909                 :             :                                                                                               {
     910                 :           0 :                                                                                                 {
     911                 :           0 :                                                                                                   tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q31, _q30, _q21, _q81 };
     912                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     913                 :             : )
     914                 :             :                                                                                                     {
     915                 :           0 :                                                                                                       if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     916                 :             : )
     917                 :             :                                                                                                         {
     918                 :           0 :                                                                                                           {
     919                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     920                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     921                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     922                 :           0 :  itype_prec);
     923                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     924                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     925                 :           0 :  itype_prec);
     926                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     927                 :           0 :  itype_prec);
     928                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     929                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     930                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     931                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     932                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     933                 :           0 :                                                                                                               if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     934                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     935                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     936                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     937                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     938                 :             : )
     939                 :             :                                                                                                                 {
     940                 :           0 :                                                                                                                   {
     941                 :           0 :                                                                                                                     res_ops[0] = captures[0];
     942                 :           0 :                                                                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     943                 :           0 :                                                                                                                     return true;
     944                 :             :                                                                                                                   }
     945                 :             :                                                                                                                 }
     946                 :           0 :                                                                                                           }
     947                 :             :                                                                                                         }
     948                 :             :                                                                                                     }
     949                 :             :                                                                                                 }
     950                 :             :                                                                                               }
     951                 :             :                                                                                             break;
     952                 :             :                                                                                           }
     953                 :             :                                                                                         default:;
     954                 :             :                                                                                         }
     955                 :             :                                                                                       break;
     956                 :             :                                                                                     }
     957                 :             :                                                                                   default:;
     958                 :             :                                                                                   }
     959                 :             :                                                                               }
     960                 :             :                                                                           }
     961                 :             :                                                                         break;
     962                 :             :                                                                       }
     963                 :             :                                                                     default:;
     964                 :             :                                                                     }
     965                 :             :                                                                   break;
     966                 :             :                                                                 }
     967                 :             :                                                               default:;
     968                 :             :                                                               }
     969                 :             :                                                           }
     970                 :             :                                                       }
     971                 :           0 :                                                       break;
     972                 :             :                                                     }
     973                 :             :                                                   default:;
     974                 :             :                                                   }
     975                 :             :                                               }
     976                 :             :                                           }
     977                 :           0 :                                             break;
     978                 :             :                                           }
     979                 :             :                                         default:;
     980                 :             :                                         }
     981                 :             :                                       break;
     982                 :             :                                     }
     983                 :             :                                   default:;
     984                 :             :                                   }
     985                 :             :                                 break;
     986                 :             :                               }
     987                 :             :                             default:;
     988                 :             :                             }
     989                 :             :                           break;
     990                 :             :                         }
     991                 :             :                       default:;
     992                 :             :                       }
     993                 :             :                     break;
     994                 :             :                   }
     995                 :             :                 default:;
     996                 :             :                 }
     997                 :             :               break;
     998                 :             :             }
     999                 :             :           default:;
    1000                 :             :           }
    1001                 :             :         break;
    1002                 :             :       }
    1003                 :             :     default:;
    1004                 :             :     }
    1005                 :             :   return false;
    1006                 :             : }
    1007                 :             : 
    1008                 :             : tree
    1009                 :           1 : generic_simplify_45 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1010                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1011                 :             : {
    1012                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1013                 :           1 :   if (!TYPE_OVERFLOW_SANITIZED (type) && !TYPE_OVERFLOW_TRAPS (type)
    1014                 :           1 :  && !TYPE_SATURATING (type) && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
    1015                 :           1 :  && !TYPE_OVERFLOW_TRAPS (TREE_TYPE (captures[0]))
    1016                 :           2 :  && !TYPE_SATURATING (TREE_TYPE (captures[0]))
    1017                 :             : )
    1018                 :             :     {
    1019                 :           1 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail341;
    1020                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail341;
    1021                 :           1 :       {
    1022                 :           1 :         tree res_op0;
    1023                 :           1 :         {
    1024                 :           1 :           tree _o1[1], _r1;
    1025                 :           1 :           {
    1026                 :           1 :             tree _o2[2], _r2;
    1027                 :           1 :             _o2[0] = captures[1];
    1028                 :           1 :             _o2[1] = captures[2];
    1029                 :           1 :             _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    1030                 :           1 :             _o1[0] = _r2;
    1031                 :             :           }
    1032                 :           1 :           if (TREE_TYPE (_o1[0]) != type)
    1033                 :             :             {
    1034                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1035                 :             :             }
    1036                 :             :           else
    1037                 :             :             _r1 = _o1[0];
    1038                 :           1 :           res_op0 = _r1;
    1039                 :             :         }
    1040                 :           1 :         tree _r;
    1041                 :           1 :         _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    1042                 :           1 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 165, __FILE__, __LINE__, true);
    1043                 :           1 :         return _r;
    1044                 :             :       }
    1045                 :             : next_after_fail341:;
    1046                 :             :     }
    1047                 :             :   return NULL_TREE;
    1048                 :             : }
    1049                 :             : 
    1050                 :             : tree
    1051                 :         136 : generic_simplify_53 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1052                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1053                 :             : {
    1054                 :         136 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1055                 :         136 :   if (!TYPE_SATURATING (type)
    1056                 :             : )
    1057                 :             :     {
    1058                 :         136 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    1059                 :         272 :  && !FIXED_POINT_TYPE_P (type)
    1060                 :             : )
    1061                 :             :         {
    1062                 :         136 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail351;
    1063                 :         136 :           {
    1064                 :         136 :             tree res_op0;
    1065                 :         136 :             res_op0 = captures[1];
    1066                 :         136 :             tree _r;
    1067                 :         136 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    1068                 :         136 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1069                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1070                 :         136 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 174, __FILE__, __LINE__, true);
    1071                 :         136 :             return _r;
    1072                 :             :           }
    1073                 :           0 : next_after_fail351:;
    1074                 :             :         }
    1075                 :             :     }
    1076                 :             :   return NULL_TREE;
    1077                 :             : }
    1078                 :             : 
    1079                 :             : tree
    1080                 :      143009 : generic_simplify_59 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1081                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1082                 :             : {
    1083                 :      143009 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1084                 :      143009 :   if (!TYPE_SATURATING (type)
    1085                 :             : )
    1086                 :             :     {
    1087                 :      143009 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    1088                 :      286018 :  && !FIXED_POINT_TYPE_P (type)
    1089                 :             : )
    1090                 :             :         {
    1091                 :      143009 :           if (INTEGRAL_TYPE_P (type)
    1092                 :      143009 :  && TYPE_OVERFLOW_UNDEFINED (type)
    1093                 :          47 :  && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    1094                 :      143056 :  && element_precision (type) <= element_precision (TREE_TYPE (captures[2]))
    1095                 :             : )
    1096                 :             :             {
    1097                 :          47 :               {
    1098                 :          47 :  tree utype = unsigned_type_for (type);
    1099                 :          47 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail360;
    1100                 :          47 :                   {
    1101                 :          47 :                     tree res_op0;
    1102                 :          47 :                     {
    1103                 :          47 :                       tree _o1[2], _r1;
    1104                 :          47 :                       {
    1105                 :          47 :                         tree _o2[1], _r2;
    1106                 :          47 :                         _o2[0] = captures[1];
    1107                 :          47 :                         if (TREE_TYPE (_o2[0]) != utype)
    1108                 :             :                           {
    1109                 :          39 :                             _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    1110                 :             :                           }
    1111                 :             :                         else
    1112                 :             :                           _r2 = _o2[0];
    1113                 :          47 :                         _o1[0] = _r2;
    1114                 :             :                       }
    1115                 :          47 :                       {
    1116                 :          47 :                         tree _o2[1], _r2;
    1117                 :          47 :                         _o2[0] = captures[2];
    1118                 :          47 :                         if (TREE_TYPE (_o2[0]) != utype)
    1119                 :             :                           {
    1120                 :          38 :                             _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    1121                 :             :                           }
    1122                 :             :                         else
    1123                 :             :                           _r2 = _o2[0];
    1124                 :          47 :                         _o1[1] = _r2;
    1125                 :             :                       }
    1126                 :          47 :                       _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1127                 :          47 :                       res_op0 = _r1;
    1128                 :             :                     }
    1129                 :          47 :                     tree _r;
    1130                 :          47 :                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1131                 :          47 :                     if (TREE_SIDE_EFFECTS (captures[3]))
    1132                 :           2 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1133                 :          47 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 183, __FILE__, __LINE__, true);
    1134                 :          47 :                     return _r;
    1135                 :             :                   }
    1136                 :           0 : next_after_fail360:;
    1137                 :             :               }
    1138                 :             :             }
    1139                 :             :           else
    1140                 :             :             {
    1141                 :      142962 :               if (((element_precision (type) <= element_precision (TREE_TYPE (captures[1])))
    1142                 :      142962 :  == (element_precision (type) <= element_precision (TREE_TYPE (captures[2]))))
    1143                 :      142962 :  && (element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    1144                 :          48 :  || (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1145                 :          48 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    1146                 :          48 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
    1147                 :          48 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))))
    1148                 :             : )
    1149                 :             :                 {
    1150                 :      126297 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail361;
    1151                 :      126297 :                   {
    1152                 :      126297 :                     tree res_op0;
    1153                 :      126297 :                     {
    1154                 :      126297 :                       tree _o1[1], _r1;
    1155                 :      126297 :                       _o1[0] = captures[1];
    1156                 :      126297 :                       if (TREE_TYPE (_o1[0]) != type)
    1157                 :             :                         {
    1158                 :      126297 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1159                 :             :                         }
    1160                 :             :                       else
    1161                 :             :                         _r1 = _o1[0];
    1162                 :      126297 :                       res_op0 = _r1;
    1163                 :             :                     }
    1164                 :      126297 :                     tree res_op1;
    1165                 :      126297 :                     {
    1166                 :      126297 :                       tree _o1[1], _r1;
    1167                 :      126297 :                       _o1[0] = captures[2];
    1168                 :      126297 :                       if (TREE_TYPE (_o1[0]) != type)
    1169                 :             :                         {
    1170                 :      126297 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1171                 :             :                         }
    1172                 :             :                       else
    1173                 :             :                         _r1 = _o1[0];
    1174                 :      126297 :                       res_op1 = _r1;
    1175                 :             :                     }
    1176                 :      126297 :                     tree _r;
    1177                 :      126297 :                     _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    1178                 :      126297 :                     if (TREE_SIDE_EFFECTS (captures[3]))
    1179                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1180                 :      126297 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 184, __FILE__, __LINE__, true);
    1181                 :      126297 :                     return _r;
    1182                 :             :                   }
    1183                 :           0 : next_after_fail361:;
    1184                 :             :                 }
    1185                 :             :             }
    1186                 :             :         }
    1187                 :             :     }
    1188                 :             :   return NULL_TREE;
    1189                 :             : }
    1190                 :             : 
    1191                 :             : tree
    1192                 :           0 : generic_simplify_78 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1193                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1194                 :             :  const enum tree_code ARG_UNUSED (bit_op))
    1195                 :             : {
    1196                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1197                 :           0 :   if (bit_op == BIT_AND_EXPR
    1198                 :             : )
    1199                 :             :     {
    1200                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail383;
    1201                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail383;
    1202                 :           0 :       {
    1203                 :           0 :         tree _r;
    1204                 :           0 :         _r =  build_zero_cst (type);
    1205                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 201, __FILE__, __LINE__, true);
    1206                 :           0 :         return _r;
    1207                 :             :       }
    1208                 :             : next_after_fail383:;
    1209                 :             :     }
    1210                 :             :   else
    1211                 :             :     {
    1212                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail384;
    1213                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail384;
    1214                 :           0 :       {
    1215                 :           0 :         tree _r;
    1216                 :           0 :         _r =  build_minus_one_cst (type);
    1217                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 202, __FILE__, __LINE__, true);
    1218                 :           0 :         return _r;
    1219                 :             :       }
    1220                 :             : next_after_fail384:;
    1221                 :             :     }
    1222                 :             :   return NULL_TREE;
    1223                 :             : }
    1224                 :             : 
    1225                 :             : tree
    1226                 :          15 : generic_simplify_90 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1227                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1228                 :             :  const enum tree_code ARG_UNUSED (bitop))
    1229                 :             : {
    1230                 :          15 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1231                 :          15 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail396;
    1232                 :          15 :   {
    1233                 :          15 :     tree res_op0;
    1234                 :          15 :     res_op0 = captures[0];
    1235                 :          15 :     tree res_op1;
    1236                 :          15 :     {
    1237                 :          15 :       tree _o1[1], _r1;
    1238                 :          15 :       _o1[0] = captures[2];
    1239                 :          15 :       _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1240                 :          15 :       res_op1 = _r1;
    1241                 :             :     }
    1242                 :          15 :     tree _r;
    1243                 :          15 :     _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    1244                 :          15 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 210, __FILE__, __LINE__, true);
    1245                 :             :     return _r;
    1246                 :             :   }
    1247                 :           0 : next_after_fail396:;
    1248                 :           0 :   return NULL_TREE;
    1249                 :             : }
    1250                 :             : 
    1251                 :             : tree
    1252                 :           0 : generic_simplify_97 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1253                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1254                 :             :  const enum tree_code ARG_UNUSED (op))
    1255                 :             : {
    1256                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1257                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail403;
    1258                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail403;
    1259                 :           0 :   {
    1260                 :           0 :     tree _r;
    1261                 :           0 :     _r = captures[0];
    1262                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 204, __FILE__, __LINE__, true);
    1263                 :             :     return _r;
    1264                 :             :   }
    1265                 :             : next_after_fail403:;
    1266                 :             :   return NULL_TREE;
    1267                 :             : }
    1268                 :             : 
    1269                 :             : tree
    1270                 :     1806202 : generic_simplify_103 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1271                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1272                 :             :  const enum tree_code ARG_UNUSED (bitop))
    1273                 :             : {
    1274                 :     1806202 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1275                 :     1806202 :   if (((TREE_CODE (captures[3]) == INTEGER_CST
    1276                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1277                 :           0 :  && (int_fits_type_p (captures[3], TREE_TYPE (captures[1]))
    1278                 :           0 :  || tree_nop_conversion_p (TREE_TYPE (captures[1]), type)))
    1279                 :     1806202 :  || types_match (captures[1], captures[3]))
    1280                 :     1715196 :  && !POINTER_TYPE_P (TREE_TYPE (captures[1]))
    1281                 :     1714933 :  && !VECTOR_TYPE_P (TREE_TYPE (captures[1]))
    1282                 :     1714933 :  && TREE_CODE (TREE_TYPE (captures[1])) != OFFSET_TYPE
    1283                 :     1714933 :  && (bitop != BIT_AND_EXPR ||
    1284                 :             : 
    1285                 :             : )
    1286                 :     1806202 :  && (
    1287                 :      960307 :  TYPE_PRECISION (TREE_TYPE (captures[1])) < TYPE_PRECISION (type)
    1288                 :             :  || (
    1289                 :             : 
    1290                 :             :  && TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (type))
    1291                 :      934647 :  || GET_MODE_CLASS (TYPE_MODE (type)) != MODE_INT
    1292                 :      934647 :  || !type_has_mode_precision_p (type)
    1293                 :      934647 :  || (
    1294                 :             : 
    1295                 :             :  && TREE_CODE (captures[3]) != INTEGER_CST
    1296                 :             :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
    1297                 :             :  && single_use (captures[0])
    1298                 :             :  && single_use (captures[2])))
    1299                 :             : )
    1300                 :             :     {
    1301                 :       25660 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail413;
    1302                 :       25660 :       {
    1303                 :       25660 :         tree res_op0;
    1304                 :       25660 :         {
    1305                 :       25660 :           tree _o1[2], _r1;
    1306                 :       25660 :           _o1[0] = captures[1];
    1307                 :       25660 :           {
    1308                 :       25660 :             tree _o2[1], _r2;
    1309                 :       25660 :             _o2[0] = captures[3];
    1310                 :       25660 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
    1311                 :             :               {
    1312                 :       14787 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    1313                 :             :               }
    1314                 :             :             else
    1315                 :             :               _r2 = _o2[0];
    1316                 :       25660 :             _o1[1] = _r2;
    1317                 :             :           }
    1318                 :       25660 :           _r1 = fold_build2_loc (loc, bitop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1319                 :       25660 :           res_op0 = _r1;
    1320                 :             :         }
    1321                 :       25660 :         tree _r;
    1322                 :       25660 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1323                 :       25660 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 219, __FILE__, __LINE__, true);
    1324                 :       25660 :         return _r;
    1325                 :             :       }
    1326                 :           0 : next_after_fail413:;
    1327                 :             :     }
    1328                 :             :   return NULL_TREE;
    1329                 :             : }
    1330                 :             : 
    1331                 :             : tree
    1332                 :           2 : generic_simplify_113 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1333                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1334                 :             :  const enum tree_code ARG_UNUSED (bitop),
    1335                 :             :  const enum tree_code ARG_UNUSED (rbitop))
    1336                 :             : {
    1337                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1338                 :           2 :   if (bitop == BIT_AND_EXPR
    1339                 :             : )
    1340                 :             :     {
    1341                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail423;
    1342                 :           1 :       {
    1343                 :           1 :         tree _r;
    1344                 :           1 :         _r =  build_zero_cst (type);
    1345                 :           1 :         if (TREE_SIDE_EFFECTS (captures[0]))
    1346                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1347                 :           1 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1348                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1349                 :           1 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 225, __FILE__, __LINE__, true);
    1350                 :           1 :         return _r;
    1351                 :             :       }
    1352                 :           0 : next_after_fail423:;
    1353                 :             :     }
    1354                 :             :   else
    1355                 :             :     {
    1356                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail424;
    1357                 :           1 :       {
    1358                 :           1 :         tree _r;
    1359                 :           1 :         _r =  build_minus_one_cst (type);
    1360                 :           1 :         if (TREE_SIDE_EFFECTS (captures[0]))
    1361                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1362                 :           1 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1363                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1364                 :           1 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 226, __FILE__, __LINE__, true);
    1365                 :           1 :         return _r;
    1366                 :             :       }
    1367                 :           0 : next_after_fail424:;
    1368                 :             :     }
    1369                 :             :   return NULL_TREE;
    1370                 :             : }
    1371                 :             : 
    1372                 :             : tree
    1373                 :           0 : generic_simplify_121 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1374                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1375                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1376                 :             :  const enum tree_code ARG_UNUSED (icmp))
    1377                 :             : {
    1378                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1379                 :           0 :   if (INTEGRAL_TYPE_P (type)
    1380                 :           0 :  && invert_tree_comparison (cmp, HONOR_NANS (captures[1])) == icmp
    1381                 :           0 :  && canonicalize_math_after_vectorization_p ()
    1382                 :             : )
    1383                 :             :     {
    1384                 :             :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail434;
    1385                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail434;
    1386                 :             :       {
    1387                 :             :         tree res_op0;
    1388                 :             :         {
    1389                 :             :           tree _o1[3], _r1;
    1390                 :             :           _o1[0] = captures[0];
    1391                 :             :           _o1[1] = captures[3];
    1392                 :             :           _o1[2] = captures[5];
    1393                 :             :           _r1 = fold_build3_loc (loc, COND_EXPR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2]);
    1394                 :             :           res_op0 = _r1;
    1395                 :             :         }
    1396                 :             :         tree res_op1;
    1397                 :             :         res_op1 =  build_one_cst (type);
    1398                 :             :         tree _r;
    1399                 :             :         _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    1400                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 234, __FILE__, __LINE__, true);
    1401                 :             :         return _r;
    1402                 :             :       }
    1403                 :           0 : next_after_fail434:;
    1404                 :             :     }
    1405                 :           0 :   return NULL_TREE;
    1406                 :             : }
    1407                 :             : 
    1408                 :             : tree
    1409                 :           3 : generic_simplify_128 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1410                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1411                 :             :  const enum tree_code ARG_UNUSED (code2),
    1412                 :             :  const enum tree_code ARG_UNUSED (code1))
    1413                 :             : {
    1414                 :           3 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1415                 :           3 :   if ((TREE_CODE (captures[2]) == INTEGER_CST
    1416                 :           0 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    1417                 :           3 :  || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    1418                 :           3 :  || (VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1419                 :           0 :  || POINTER_TYPE_P (TREE_TYPE (captures[2])))
    1420                 :           3 :  && bitwise_equal_p (captures[2], captures[5]))
    1421                 :             : )
    1422                 :             :     {
    1423                 :           3 :       {
    1424                 :           3 :  bool one_before = false;
    1425                 :           3 :  bool one_after = false;
    1426                 :           3 :  int cmp = 0;
    1427                 :           3 :  bool allbits = true;
    1428                 :           3 :  if (TREE_CODE (captures[2]) == INTEGER_CST
    1429                 :           0 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    1430                 :             :  {
    1431                 :           0 :  allbits = TYPE_PRECISION (TREE_TYPE (captures[2])) <= TYPE_PRECISION (TREE_TYPE (captures[5]));
    1432                 :           0 :  auto t1 = wi::to_wide (fold_convert (TREE_TYPE (captures[5]), captures[2]));
    1433                 :           0 :  auto t2 = wi::to_wide (captures[5]);
    1434                 :           0 :  cmp = wi::cmp (t1, t2, TYPE_SIGN (TREE_TYPE (captures[5])));
    1435                 :           0 :  if (cmp < 0
    1436                 :           0 :  && t1 == t2 - 1)
    1437                 :             :  one_before = true;
    1438                 :           0 :  if (cmp > 0
    1439                 :           0 :  && t1 == t2 + 1)
    1440                 :             :  one_after = true;
    1441                 :             :  }
    1442                 :           3 :  bool val;
    1443                 :           3 :  switch (code2)
    1444                 :             :  {
    1445                 :           0 :  case EQ_EXPR: val = (cmp == 0); break;
    1446                 :           0 :  case NE_EXPR: val = (cmp != 0); break;
    1447                 :           0 :  case LT_EXPR: val = (cmp < 0); break;
    1448                 :           3 :  case GT_EXPR: val = (cmp > 0); break;
    1449                 :           0 :  case LE_EXPR: val = (cmp <= 0); break;
    1450                 :           0 :  case GE_EXPR: val = (cmp >= 0); break;
    1451                 :           0 :  default: gcc_unreachable ();
    1452                 :             :  }
    1453                 :           3 :           if (code1 == EQ_EXPR && val
    1454                 :             : )
    1455                 :             :             {
    1456                 :           0 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail445;
    1457                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail445;
    1458                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail445;
    1459                 :           0 :               {
    1460                 :           0 :                 tree _r;
    1461                 :           0 :                 _r = captures[3];
    1462                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 245, __FILE__, __LINE__, true);
    1463                 :           0 :                 return _r;
    1464                 :             :               }
    1465                 :             : next_after_fail445:;
    1466                 :             :             }
    1467                 :             :           else
    1468                 :             :             {
    1469                 :           3 :               if (code1 == NE_EXPR && val && allbits
    1470                 :             : )
    1471                 :             :                 {
    1472                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail446;
    1473                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail446;
    1474                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail446;
    1475                 :           0 :                   {
    1476                 :           0 :                     tree _r;
    1477                 :           0 :                     _r =  constant_boolean_node (true, type);
    1478                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    1479                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1480                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 246, __FILE__, __LINE__, true);
    1481                 :           0 :                     return _r;
    1482                 :             :                   }
    1483                 :             : next_after_fail446:;
    1484                 :             :                 }
    1485                 :             :               else
    1486                 :             :                 {
    1487                 :           3 :                   if (code1 == NE_EXPR && !val && allbits
    1488                 :             : )
    1489                 :             :                     {
    1490                 :           0 :                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail447;
    1491                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail447;
    1492                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail447;
    1493                 :           0 :                       {
    1494                 :           0 :                         tree _r;
    1495                 :           0 :                         _r = captures[0];
    1496                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 247, __FILE__, __LINE__, true);
    1497                 :           0 :                         return _r;
    1498                 :             :                       }
    1499                 :             : next_after_fail447:;
    1500                 :             :                     }
    1501                 :             :                   else
    1502                 :             :                     {
    1503                 :           3 :                       if (code1 == EQ_EXPR
    1504                 :           3 :  && code2 == GT_EXPR
    1505                 :           3 :  && cmp == 0
    1506                 :           3 :  && allbits
    1507                 :           6 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    1508                 :           3 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GE_EXPR))
    1509                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1510                 :             : )
    1511                 :             :                         {
    1512                 :           3 :                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail448;
    1513                 :           3 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail448;
    1514                 :           3 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail448;
    1515                 :           3 :                           {
    1516                 :           3 :                             tree res_op0;
    1517                 :           3 :                             res_op0 = captures[4];
    1518                 :           3 :                             tree res_op1;
    1519                 :           3 :                             res_op1 = captures[5];
    1520                 :           3 :                             tree _r;
    1521                 :           3 :                             _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    1522                 :           3 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 248, __FILE__, __LINE__, true);
    1523                 :           3 :                             return _r;
    1524                 :             :                           }
    1525                 :             : next_after_fail448:;
    1526                 :             :                         }
    1527                 :             :                       else
    1528                 :             :                         {
    1529                 :           0 :                           if (code1 == EQ_EXPR
    1530                 :           0 :  && code2 == LT_EXPR
    1531                 :           0 :  && cmp == 0
    1532                 :           0 :  && allbits
    1533                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    1534                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LE_EXPR))
    1535                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1536                 :             : )
    1537                 :             :                             {
    1538                 :           0 :                               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail449;
    1539                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail449;
    1540                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail449;
    1541                 :           0 :                               {
    1542                 :           0 :                                 tree res_op0;
    1543                 :           0 :                                 res_op0 = captures[4];
    1544                 :           0 :                                 tree res_op1;
    1545                 :           0 :                                 res_op1 = captures[5];
    1546                 :           0 :                                 tree _r;
    1547                 :           0 :                                 _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1548                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 249, __FILE__, __LINE__, true);
    1549                 :           0 :                                 return _r;
    1550                 :             :                               }
    1551                 :             : next_after_fail449:;
    1552                 :             :                             }
    1553                 :             :                           else
    1554                 :             :                             {
    1555                 :           0 :                               if (code1 == EQ_EXPR
    1556                 :           0 :  && code2 == GE_EXPR
    1557                 :             :  && one_before
    1558                 :           0 :  && allbits
    1559                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    1560                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GE_EXPR))
    1561                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1562                 :             : )
    1563                 :             :                                 {
    1564                 :           0 :                                   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail450;
    1565                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail450;
    1566                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail450;
    1567                 :           0 :                                   {
    1568                 :           0 :                                     tree res_op0;
    1569                 :           0 :                                     res_op0 = captures[4];
    1570                 :           0 :                                     tree res_op1;
    1571                 :           0 :                                     {
    1572                 :           0 :                                       tree _o1[1], _r1;
    1573                 :           0 :                                       _o1[0] = captures[2];
    1574                 :           0 :                                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    1575                 :             :                                         {
    1576                 :           0 :                                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    1577                 :             :                                         }
    1578                 :             :                                       else
    1579                 :             :                                         _r1 = _o1[0];
    1580                 :           0 :                                       res_op1 = _r1;
    1581                 :             :                                     }
    1582                 :           0 :                                     tree _r;
    1583                 :           0 :                                     _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    1584                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 250, __FILE__, __LINE__, true);
    1585                 :           0 :                                     return _r;
    1586                 :             :                                   }
    1587                 :             : next_after_fail450:;
    1588                 :             :                                 }
    1589                 :             :                               else
    1590                 :             :                                 {
    1591                 :           0 :                                   if (code1 == EQ_EXPR
    1592                 :           0 :  && code2 == LE_EXPR
    1593                 :             :  && one_after
    1594                 :           0 :  && allbits
    1595                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    1596                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LE_EXPR))
    1597                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1598                 :             : )
    1599                 :             :                                     {
    1600                 :           0 :                                       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail451;
    1601                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail451;
    1602                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail451;
    1603                 :           0 :                                       {
    1604                 :           0 :                                         tree res_op0;
    1605                 :           0 :                                         res_op0 = captures[4];
    1606                 :           0 :                                         tree res_op1;
    1607                 :           0 :                                         {
    1608                 :           0 :                                           tree _o1[1], _r1;
    1609                 :           0 :                                           _o1[0] = captures[2];
    1610                 :           0 :                                           if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    1611                 :             :                                             {
    1612                 :           0 :                                               _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    1613                 :             :                                             }
    1614                 :             :                                           else
    1615                 :             :                                             _r1 = _o1[0];
    1616                 :           0 :                                           res_op1 = _r1;
    1617                 :             :                                         }
    1618                 :           0 :                                         tree _r;
    1619                 :           0 :                                         _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1620                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 251, __FILE__, __LINE__, true);
    1621                 :           0 :                                         return _r;
    1622                 :             :                                       }
    1623                 :             : next_after_fail451:;
    1624                 :             :                                     }
    1625                 :             :                                 }
    1626                 :             :                             }
    1627                 :             :                         }
    1628                 :             :                     }
    1629                 :             :                 }
    1630                 :             :             }
    1631                 :             :       }
    1632                 :             :     }
    1633                 :             :   return NULL_TREE;
    1634                 :             : }
    1635                 :             : 
    1636                 :             : tree
    1637                 :           1 : generic_simplify_156 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1638                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1639                 :             : {
    1640                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1641                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail505;
    1642                 :           1 :   {
    1643                 :           1 :     tree res_op0;
    1644                 :           1 :     res_op0 = captures[0];
    1645                 :           1 :     tree res_op1;
    1646                 :           1 :     res_op1 = captures[1];
    1647                 :           1 :     tree _r;
    1648                 :           1 :     _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    1649                 :           1 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 274, __FILE__, __LINE__, true);
    1650                 :             :     return _r;
    1651                 :             :   }
    1652                 :           0 : next_after_fail505:;
    1653                 :           0 :   return NULL_TREE;
    1654                 :             : }
    1655                 :             : 
    1656                 :             : tree
    1657                 :           0 : generic_simplify_159 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1658                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1659                 :             : {
    1660                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1661                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail508;
    1662                 :           0 :   {
    1663                 :           0 :     tree res_op0;
    1664                 :           0 :     res_op0 = captures[0];
    1665                 :           0 :     tree res_op1;
    1666                 :           0 :     res_op1 = captures[1];
    1667                 :           0 :     tree _r;
    1668                 :           0 :     _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    1669                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 277, __FILE__, __LINE__, true);
    1670                 :             :     return _r;
    1671                 :             :   }
    1672                 :           0 : next_after_fail508:;
    1673                 :           0 :   return NULL_TREE;
    1674                 :             : }
    1675                 :             : 
    1676                 :             : tree
    1677                 :          50 : generic_simplify_164 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1678                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1679                 :             : {
    1680                 :          50 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1681                 :          50 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    1682                 :             : )
    1683                 :             :     {
    1684                 :          26 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail513;
    1685                 :          26 :       {
    1686                 :          26 :         tree res_op0;
    1687                 :          26 :         {
    1688                 :          26 :           tree _o1[1], _r1;
    1689                 :          26 :           _o1[0] = captures[0];
    1690                 :          26 :           if (TREE_TYPE (_o1[0]) != type)
    1691                 :             :             {
    1692                 :           2 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1693                 :             :             }
    1694                 :             :           else
    1695                 :             :             _r1 = _o1[0];
    1696                 :          26 :           res_op0 = _r1;
    1697                 :             :         }
    1698                 :          26 :         tree res_op1;
    1699                 :          26 :         {
    1700                 :          26 :           tree _o1[1], _r1;
    1701                 :          26 :           _o1[0] = captures[1];
    1702                 :          26 :           _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1703                 :          26 :           res_op1 = _r1;
    1704                 :             :         }
    1705                 :          26 :         tree _r;
    1706                 :          26 :         _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    1707                 :          26 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 282, __FILE__, __LINE__, true);
    1708                 :          26 :         return _r;
    1709                 :             :       }
    1710                 :           0 : next_after_fail513:;
    1711                 :             :     }
    1712                 :             :   return NULL_TREE;
    1713                 :             : }
    1714                 :             : 
    1715                 :             : tree
    1716                 :          18 : generic_simplify_171 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1717                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1718                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1719                 :             : {
    1720                 :          18 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1721                 :          36 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1722                 :          18 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    1723                 :          36 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[3]))
    1724                 :             : )
    1725                 :             :     {
    1726                 :          18 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail521;
    1727                 :          18 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail521;
    1728                 :          18 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail521;
    1729                 :          18 :       {
    1730                 :          18 :         tree res_op0;
    1731                 :          18 :         {
    1732                 :          18 :           tree _o1[2], _r1;
    1733                 :          18 :           _o1[0] = captures[1];
    1734                 :          18 :           _o1[1] = captures[3];
    1735                 :          18 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1736                 :          18 :           res_op0 = _r1;
    1737                 :             :         }
    1738                 :          18 :         tree res_op1;
    1739                 :          18 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    1740                 :          18 :         tree _r;
    1741                 :          18 :         _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    1742                 :          18 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 289, __FILE__, __LINE__, true);
    1743                 :          18 :         return _r;
    1744                 :             :       }
    1745                 :             : next_after_fail521:;
    1746                 :             :     }
    1747                 :             :   return NULL_TREE;
    1748                 :             : }
    1749                 :             : 
    1750                 :             : tree
    1751                 :        3065 : generic_simplify_180 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1752                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1753                 :             : {
    1754                 :        3065 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1755                 :        3065 :   if (! FLOAT_TYPE_P (type)
    1756                 :        6130 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
    1757                 :             : )
    1758                 :             :     {
    1759                 :        3064 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail531;
    1760                 :        3064 :       {
    1761                 :        3064 :         tree res_op0;
    1762                 :        3064 :         res_op0 = captures[0];
    1763                 :        3064 :         tree res_op1;
    1764                 :        3064 :         res_op1 = captures[2];
    1765                 :        3064 :         tree _r;
    1766                 :        3064 :         _r = fold_build2_loc (loc, LSHIFT_EXPR, type, res_op0, res_op1);
    1767                 :        3064 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1768                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1769                 :        3064 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 297, __FILE__, __LINE__, true);
    1770                 :        3064 :         return _r;
    1771                 :             :       }
    1772                 :           0 : next_after_fail531:;
    1773                 :             :     }
    1774                 :             :   return NULL_TREE;
    1775                 :             : }
    1776                 :             : 
    1777                 :             : tree
    1778                 :          11 : generic_simplify_188 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1779                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1780                 :             : {
    1781                 :          11 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1782                 :          11 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    1783                 :          11 :  && wi::ltu_p (wi::to_widest (captures[1]), TYPE_PRECISION (type))
    1784                 :             : )
    1785                 :             :     {
    1786                 :          11 :       {
    1787                 :          11 :  unsigned int shift = tree_to_uhwi (captures[1]);
    1788                 :          11 :  unsigned int prec = TYPE_PRECISION (type);
    1789                 :          11 :           if ((prec <= TYPE_PRECISION (TREE_TYPE (captures[2])) + shift
    1790                 :           0 :  || tree_int_cst_sgn (captures[2]) >= 0)
    1791                 :          22 :  && wi::to_wide (captures[3]) == wi::set_bit_in_zero (shift, prec)
    1792                 :             : )
    1793                 :             :             {
    1794                 :           3 :               {
    1795                 :           3 :  auto mask = wide_int::from (wi::to_wide (captures[2]), prec, UNSIGNED);
    1796                 :           3 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail541;
    1797                 :           3 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail541;
    1798                 :           3 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail541;
    1799                 :           3 :                   {
    1800                 :           3 :                     tree res_op0;
    1801                 :           3 :                     {
    1802                 :           3 :                       tree _o1[1], _r1;
    1803                 :           3 :                       _o1[0] = captures[0];
    1804                 :           3 :                       if (TREE_TYPE (_o1[0]) != type)
    1805                 :             :                         {
    1806                 :           0 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1807                 :             :                         }
    1808                 :             :                       else
    1809                 :             :                         _r1 = _o1[0];
    1810                 :           3 :                       res_op0 = _r1;
    1811                 :             :                     }
    1812                 :           3 :                     tree res_op1;
    1813                 :           3 :                     res_op1 =  wide_int_to_tree (type, mask << shift);
    1814                 :           3 :                     tree _r;
    1815                 :           3 :                     _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    1816                 :           3 :                     if (TREE_SIDE_EFFECTS (captures[3]))
    1817                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    1818                 :           3 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 303, __FILE__, __LINE__, true);
    1819                 :           3 :                     return _r;
    1820                 :             :                   }
    1821                 :           0 : next_after_fail541:;
    1822                 :           3 :               }
    1823                 :             :             }
    1824                 :             :       }
    1825                 :             :     }
    1826                 :             :   return NULL_TREE;
    1827                 :             : }
    1828                 :             : 
    1829                 :             : tree
    1830                 :         171 : generic_simplify_200 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1831                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1832                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1833                 :             : {
    1834                 :         171 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1835                 :         342 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1836                 :         338 :  && !TYPE_OVERFLOW_WRAPS (TREE_TYPE(captures[0]))
    1837                 :             : )
    1838                 :             :     {
    1839                 :           3 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail554;
    1840                 :           3 :       {
    1841                 :           3 :         tree res_op0;
    1842                 :           3 :         res_op0 = captures[0];
    1843                 :           3 :         tree res_op1;
    1844                 :           3 :         res_op1 =  build_zero_cst (TREE_TYPE(captures[0]));
    1845                 :           3 :         tree _r;
    1846                 :           3 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1847                 :           3 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 316, __FILE__, __LINE__, true);
    1848                 :           3 :         return _r;
    1849                 :             :       }
    1850                 :           0 : next_after_fail554:;
    1851                 :             :     }
    1852                 :             :   return NULL_TREE;
    1853                 :             : }
    1854                 :             : 
    1855                 :             : tree
    1856                 :          12 : generic_simplify_206 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1857                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1858                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1859                 :             : {
    1860                 :          12 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1861                 :          12 :   if (element_precision (captures[0]) >= element_precision (captures[1])
    1862                 :          12 :  && types_match (captures[1], captures[3])
    1863                 :             : )
    1864                 :             :     {
    1865                 :          12 :       if (wi::lt_p (wi::to_wide (captures[2]), 0, TYPE_SIGN (TREE_TYPE (captures[2])))
    1866                 :             : )
    1867                 :             :         {
    1868                 :           0 :           if (!TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1869                 :             : )
    1870                 :             :             {
    1871                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail560;
    1872                 :           0 :               {
    1873                 :           0 :                 tree res_op0;
    1874                 :           0 :                 res_op0 = captures[3];
    1875                 :           0 :                 tree res_op1;
    1876                 :           0 :                 res_op1 = captures[1];
    1877                 :           0 :                 tree _r;
    1878                 :           0 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1879                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    1880                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1881                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 322, __FILE__, __LINE__, true);
    1882                 :           0 :                 return _r;
    1883                 :             :               }
    1884                 :           0 : next_after_fail560:;
    1885                 :             :             }
    1886                 :             :           else
    1887                 :             :             {
    1888                 :           0 :               if (tree_expr_nonzero_p (captures[1]) && tree_expr_nonzero_p (captures[3])
    1889                 :             : )
    1890                 :             :                 {
    1891                 :           0 :                   {
    1892                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[1]));
    1893                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail561;
    1894                 :           0 :                       {
    1895                 :           0 :                         tree res_op0;
    1896                 :           0 :                         {
    1897                 :           0 :                           tree _o1[1], _r1;
    1898                 :           0 :                           _o1[0] = captures[3];
    1899                 :           0 :                           if (TREE_TYPE (_o1[0]) != utype)
    1900                 :             :                             {
    1901                 :           0 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, utype, _o1[0]);
    1902                 :             :                             }
    1903                 :             :                           else
    1904                 :             :                             _r1 = _o1[0];
    1905                 :           0 :                           res_op0 = _r1;
    1906                 :             :                         }
    1907                 :           0 :                         tree res_op1;
    1908                 :           0 :                         {
    1909                 :           0 :                           tree _o1[1], _r1;
    1910                 :           0 :                           _o1[0] = captures[1];
    1911                 :           0 :                           if (TREE_TYPE (_o1[0]) != utype)
    1912                 :             :                             {
    1913                 :           0 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, utype, _o1[0]);
    1914                 :             :                             }
    1915                 :             :                           else
    1916                 :             :                             _r1 = _o1[0];
    1917                 :           0 :                           res_op1 = _r1;
    1918                 :             :                         }
    1919                 :           0 :                         tree _r;
    1920                 :           0 :                         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1921                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[2]))
    1922                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1923                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 323, __FILE__, __LINE__, true);
    1924                 :           0 :                         return _r;
    1925                 :             :                       }
    1926                 :           0 : next_after_fail561:;
    1927                 :             :                   }
    1928                 :             :                 }
    1929                 :             :             }
    1930                 :             :         }
    1931                 :             :       else
    1932                 :             :         {
    1933                 :          12 :           if (wi::gt_p (wi::to_wide (captures[2]), 1, TYPE_SIGN (TREE_TYPE (captures[2])))
    1934                 :             : )
    1935                 :             :             {
    1936                 :          12 :               if (TYPE_UNSIGNED (TREE_TYPE (captures[1])) || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1937                 :             : )
    1938                 :             :                 {
    1939                 :          12 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail562;
    1940                 :          12 :                   {
    1941                 :          12 :                     tree res_op0;
    1942                 :          12 :                     res_op0 = captures[1];
    1943                 :          12 :                     tree res_op1;
    1944                 :          12 :                     res_op1 = captures[3];
    1945                 :          12 :                     tree _r;
    1946                 :          12 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1947                 :          12 :                     if (TREE_SIDE_EFFECTS (captures[2]))
    1948                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1949                 :          12 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 324, __FILE__, __LINE__, true);
    1950                 :          12 :                     return _r;
    1951                 :             :                   }
    1952                 :           0 : next_after_fail562:;
    1953                 :             :                 }
    1954                 :             :               else
    1955                 :             :                 {
    1956                 :           0 :                   {
    1957                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[1]));
    1958                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail563;
    1959                 :           0 :                       {
    1960                 :           0 :                         tree res_op0;
    1961                 :           0 :                         {
    1962                 :           0 :                           tree _o1[1], _r1;
    1963                 :           0 :                           _o1[0] = captures[1];
    1964                 :           0 :                           if (TREE_TYPE (_o1[0]) != utype)
    1965                 :             :                             {
    1966                 :           0 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, utype, _o1[0]);
    1967                 :             :                             }
    1968                 :             :                           else
    1969                 :             :                             _r1 = _o1[0];
    1970                 :           0 :                           res_op0 = _r1;
    1971                 :             :                         }
    1972                 :           0 :                         tree res_op1;
    1973                 :           0 :                         {
    1974                 :           0 :                           tree _o1[1], _r1;
    1975                 :           0 :                           _o1[0] = captures[3];
    1976                 :           0 :                           if (TREE_TYPE (_o1[0]) != utype)
    1977                 :             :                             {
    1978                 :           0 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, utype, _o1[0]);
    1979                 :             :                             }
    1980                 :             :                           else
    1981                 :             :                             _r1 = _o1[0];
    1982                 :           0 :                           res_op1 = _r1;
    1983                 :             :                         }
    1984                 :           0 :                         tree _r;
    1985                 :           0 :                         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1986                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[2]))
    1987                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1988                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 325, __FILE__, __LINE__, true);
    1989                 :           0 :                         return _r;
    1990                 :             :                       }
    1991                 :           0 : next_after_fail563:;
    1992                 :             :                   }
    1993                 :             :                 }
    1994                 :             :             }
    1995                 :             :         }
    1996                 :             :     }
    1997                 :             :   return NULL_TREE;
    1998                 :             : }
    1999                 :             : 
    2000                 :             : tree
    2001                 :           0 : generic_simplify_228 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2002                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2003                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2004                 :             :  const enum tree_code ARG_UNUSED (icmp))
    2005                 :             : {
    2006                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2007                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2008                 :             : )
    2009                 :             :     {
    2010                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail602;
    2011                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail602;
    2012                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail602;
    2013                 :           0 :       {
    2014                 :           0 :         tree res_op0;
    2015                 :           0 :         res_op0 = captures[0];
    2016                 :           0 :         tree res_op1;
    2017                 :           0 :         res_op1 =  wide_int_to_tree (TREE_TYPE (captures[0]),
    2018                 :           0 :  wi::exact_log2 (wi::to_wide (captures[1])));
    2019                 :           0 :         tree _r;
    2020                 :           0 :         _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    2021                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 362, __FILE__, __LINE__, true);
    2022                 :           0 :         return _r;
    2023                 :             :       }
    2024                 :             : next_after_fail602:;
    2025                 :             :     }
    2026                 :             :   return NULL_TREE;
    2027                 :             : }
    2028                 :             : 
    2029                 :             : tree
    2030                 :         124 : generic_simplify_233 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2031                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2032                 :             :  const enum tree_code ARG_UNUSED (rotate),
    2033                 :             :  const enum tree_code ARG_UNUSED (invrot),
    2034                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2035                 :             : {
    2036                 :         124 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2037                 :         124 :   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail615;
    2038                 :         124 :   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail615;
    2039                 :         124 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail615;
    2040                 :         124 :   {
    2041                 :         124 :     tree res_op0;
    2042                 :         124 :     res_op0 = captures[0];
    2043                 :         124 :     tree res_op1;
    2044                 :         124 :     res_op1 =  const_binop (invrot, TREE_TYPE (captures[0]), captures[2], captures[1]);
    2045                 :         124 :     tree _r;
    2046                 :         124 :     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2047                 :         124 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 375, __FILE__, __LINE__, true);
    2048                 :             :     return _r;
    2049                 :             :   }
    2050                 :             : next_after_fail615:;
    2051                 :             :   return NULL_TREE;
    2052                 :             : }
    2053                 :             : 
    2054                 :             : tree
    2055                 :         177 : generic_simplify_238 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2056                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2057                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2058                 :             :  const enum tree_code ARG_UNUSED (icmp),
    2059                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    2060                 :             : {
    2061                 :         177 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2062                 :         177 :   if (types_match (type, TREE_TYPE (captures[0]))
    2063                 :             : )
    2064                 :             :     {
    2065                 :         125 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail620;
    2066                 :         125 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail620;
    2067                 :         125 :       {
    2068                 :         125 :         tree res_op0;
    2069                 :         125 :         res_op0 = captures[1];
    2070                 :         125 :         tree res_op1;
    2071                 :         125 :         res_op1 = captures[2];
    2072                 :         125 :         tree _r;
    2073                 :         125 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2074                 :         125 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 380, __FILE__, __LINE__, true);
    2075                 :         125 :         return _r;
    2076                 :             :       }
    2077                 :             : next_after_fail620:;
    2078                 :             :     }
    2079                 :             :   return NULL_TREE;
    2080                 :             : }
    2081                 :             : 
    2082                 :             : tree
    2083                 :       13858 : generic_simplify_241 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2084                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2085                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2086                 :             : {
    2087                 :       13858 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2088                 :       13858 :   if (single_use (captures[0])
    2089                 :             : )
    2090                 :             :     {
    2091                 :       13858 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail624;
    2092                 :       13858 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail624;
    2093                 :       13858 :       {
    2094                 :       13858 :         tree res_op0;
    2095                 :       13858 :         res_op0 = captures[1];
    2096                 :       13858 :         tree res_op1;
    2097                 :       13858 :         res_op1 = captures[2];
    2098                 :       13858 :         tree _r;
    2099                 :       13858 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2100                 :       13858 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 383, __FILE__, __LINE__, true);
    2101                 :       13858 :         return _r;
    2102                 :             :       }
    2103                 :             : next_after_fail624:;
    2104                 :             :     }
    2105                 :             :   return NULL_TREE;
    2106                 :             : }
    2107                 :             : 
    2108                 :             : tree
    2109                 :      902021 : generic_simplify_247 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2110                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2111                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2112                 :             :  const enum tree_code ARG_UNUSED (scmp))
    2113                 :             : {
    2114                 :      902021 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2115                 :      902021 :   if (single_use (captures[0])
    2116                 :      902021 :  && (TREE_CODE (captures[2]) == INTEGER_CST || TREE_CODE (captures[2]) == VECTOR_CST)
    2117                 :             : )
    2118                 :             :     {
    2119                 :      902021 :       {
    2120                 :      902021 :  tree otype = TREE_TYPE (captures[2]);
    2121                 :      902021 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail635;
    2122                 :      902021 :           {
    2123                 :      902021 :             tree res_op0;
    2124                 :      902021 :             {
    2125                 :      902021 :               tree _o1[1], _r1;
    2126                 :      902021 :               _o1[0] = captures[1];
    2127                 :      902021 :               if (TREE_TYPE (_o1[0]) != otype)
    2128                 :             :                 {
    2129                 :         190 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, otype, _o1[0]);
    2130                 :             :                 }
    2131                 :             :               else
    2132                 :             :                 _r1 = _o1[0];
    2133                 :      902021 :               res_op0 = _r1;
    2134                 :             :             }
    2135                 :      902021 :             tree res_op1;
    2136                 :      902021 :             {
    2137                 :      902021 :               tree _o1[1], _r1;
    2138                 :      902021 :               _o1[0] = captures[2];
    2139                 :      902021 :               _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    2140                 :      902021 :               res_op1 = _r1;
    2141                 :             :             }
    2142                 :      902021 :             tree _r;
    2143                 :      902021 :             _r = fold_build2_loc (loc, scmp, type, res_op0, res_op1);
    2144                 :      902021 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 394, __FILE__, __LINE__, true);
    2145                 :      902021 :             return _r;
    2146                 :             :           }
    2147                 :           0 : next_after_fail635:;
    2148                 :             :       }
    2149                 :             :     }
    2150                 :             :   return NULL_TREE;
    2151                 :             : }
    2152                 :             : 
    2153                 :             : tree
    2154                 :       20376 : generic_simplify_251 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2155                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2156                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2157                 :             : {
    2158                 :       20376 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2159                 :       20376 :   if (flag_associative_math
    2160                 :             : )
    2161                 :             :     {
    2162                 :          13 :       {
    2163                 :          13 :  tree tem = const_binop (MINUS_EXPR, TREE_TYPE (captures[1]), captures[0], captures[2]);
    2164                 :          13 :           if (tem && !TREE_OVERFLOW (tem)
    2165                 :             : )
    2166                 :             :             {
    2167                 :          13 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail653;
    2168                 :          13 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail653;
    2169                 :          13 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail653;
    2170                 :          13 :               {
    2171                 :          13 :                 tree res_op0;
    2172                 :          13 :                 res_op0 =  tem;
    2173                 :          13 :                 tree res_op1;
    2174                 :          13 :                 res_op1 = captures[1];
    2175                 :          13 :                 tree _r;
    2176                 :          13 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2177                 :          13 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 411, __FILE__, __LINE__, true);
    2178                 :          13 :                 return _r;
    2179                 :             :               }
    2180                 :             : next_after_fail653:;
    2181                 :             :             }
    2182                 :             :       }
    2183                 :             :     }
    2184                 :             :   return NULL_TREE;
    2185                 :             : }
    2186                 :             : 
    2187                 :             : tree
    2188                 :        1255 : generic_simplify_254 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2189                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2190                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2191                 :             :  const enum tree_code ARG_UNUSED (icmp))
    2192                 :             : {
    2193                 :        1255 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2194                 :        1255 :   if (SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    2195                 :        1255 :  && ! DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    2196                 :             : )
    2197                 :             :     {
    2198                 :        1255 :       {
    2199                 :        1255 :  format_helper fmt (REAL_MODE_FORMAT (TYPE_MODE (TREE_TYPE (captures[0]))));
    2200                 :        1255 :  tree type1 = TREE_TYPE (captures[1]);
    2201                 :        1255 :  bool type1_signed_p = TYPE_SIGN (type1) == SIGNED;
    2202                 :        1255 :  tree type2 = TREE_TYPE (captures[2]);
    2203                 :        1255 :  bool type2_signed_p = TYPE_SIGN (type2) == SIGNED;
    2204                 :        1255 :           if (fmt.can_represent_integral_type_p (type1)
    2205                 :        1255 :  && fmt.can_represent_integral_type_p (type2)
    2206                 :             : )
    2207                 :             :             {
    2208                 :         229 :               if (cmp == ORDERED_EXPR || cmp == UNORDERED_EXPR
    2209                 :             : )
    2210                 :             :                 {
    2211                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail674;
    2212                 :           0 :                   {
    2213                 :           0 :                     tree _r;
    2214                 :           0 :                     _r =  constant_boolean_node (cmp == ORDERED_EXPR, type);
    2215                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    2216                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2217                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[2]))
    2218                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2219                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 432, __FILE__, __LINE__, true);
    2220                 :         183 :                     return _r;
    2221                 :             :                   }
    2222                 :           0 : next_after_fail674:;
    2223                 :             :                 }
    2224                 :             :               else
    2225                 :             :                 {
    2226                 :         229 :                   if (TYPE_PRECISION (type1) > TYPE_PRECISION (type2)
    2227                 :         229 :  && type1_signed_p >= type2_signed_p
    2228                 :             : )
    2229                 :             :                     {
    2230                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail675;
    2231                 :           0 :                       {
    2232                 :           0 :                         tree res_op0;
    2233                 :           0 :                         res_op0 = captures[1];
    2234                 :           0 :                         tree res_op1;
    2235                 :           0 :                         {
    2236                 :           0 :                           tree _o1[1], _r1;
    2237                 :           0 :                           _o1[0] = captures[2];
    2238                 :           0 :                           if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    2239                 :             :                             {
    2240                 :           0 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    2241                 :             :                             }
    2242                 :             :                           else
    2243                 :             :                             _r1 = _o1[0];
    2244                 :           0 :                           res_op1 = _r1;
    2245                 :             :                         }
    2246                 :           0 :                         tree _r;
    2247                 :           0 :                         _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    2248                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 433, __FILE__, __LINE__, true);
    2249                 :           0 :                         return _r;
    2250                 :             :                       }
    2251                 :           0 : next_after_fail675:;
    2252                 :             :                     }
    2253                 :             :                   else
    2254                 :             :                     {
    2255                 :         229 :                       if (TYPE_PRECISION (type1) < TYPE_PRECISION (type2)
    2256                 :         229 :  && type1_signed_p <= type2_signed_p
    2257                 :             : )
    2258                 :             :                         {
    2259                 :           7 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail676;
    2260                 :           7 :                           {
    2261                 :           7 :                             tree res_op0;
    2262                 :           7 :                             {
    2263                 :           7 :                               tree _o1[1], _r1;
    2264                 :           7 :                               _o1[0] = captures[1];
    2265                 :           7 :                               if (TREE_TYPE (_o1[0]) != type2)
    2266                 :             :                                 {
    2267                 :           7 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, type2, _o1[0]);
    2268                 :             :                                 }
    2269                 :             :                               else
    2270                 :             :                                 _r1 = _o1[0];
    2271                 :           7 :                               res_op0 = _r1;
    2272                 :             :                             }
    2273                 :           7 :                             tree res_op1;
    2274                 :           7 :                             res_op1 = captures[2];
    2275                 :           7 :                             tree _r;
    2276                 :           7 :                             _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    2277                 :           7 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 434, __FILE__, __LINE__, true);
    2278                 :           7 :                             return _r;
    2279                 :             :                           }
    2280                 :           0 : next_after_fail676:;
    2281                 :             :                         }
    2282                 :             :                       else
    2283                 :             :                         {
    2284                 :         222 :                           if (TYPE_PRECISION (type1) == TYPE_PRECISION (type2)
    2285                 :         222 :  && type1_signed_p == type2_signed_p
    2286                 :             : )
    2287                 :             :                             {
    2288                 :         176 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail677;
    2289                 :         176 :                               {
    2290                 :         176 :                                 tree res_op0;
    2291                 :         176 :                                 res_op0 = captures[1];
    2292                 :         176 :                                 tree res_op1;
    2293                 :         176 :                                 {
    2294                 :         176 :                                   tree _o1[1], _r1;
    2295                 :         176 :                                   _o1[0] = captures[2];
    2296                 :         176 :                                   if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    2297                 :             :                                     {
    2298                 :           1 :                                       _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    2299                 :             :                                     }
    2300                 :             :                                   else
    2301                 :             :                                     _r1 = _o1[0];
    2302                 :         176 :                                   res_op1 = _r1;
    2303                 :             :                                 }
    2304                 :         176 :                                 tree _r;
    2305                 :         176 :                                 _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    2306                 :         176 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 435, __FILE__, __LINE__, true);
    2307                 :         176 :                                 return _r;
    2308                 :             :                               }
    2309                 :           0 : next_after_fail677:;
    2310                 :             :                             }
    2311                 :             :                         }
    2312                 :             :                     }
    2313                 :             :                 }
    2314                 :             :             }
    2315                 :             :       }
    2316                 :             :     }
    2317                 :             :   return NULL_TREE;
    2318                 :             : }
    2319                 :             : 
    2320                 :             : tree
    2321                 :          62 : generic_simplify_264 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2322                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2323                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2324                 :             : {
    2325                 :          62 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2326                 :          62 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail708;
    2327                 :          62 :   {
    2328                 :          62 :     tree res_op0;
    2329                 :          62 :     res_op0 = captures[1];
    2330                 :          62 :     tree res_op1;
    2331                 :          62 :     res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    2332                 :          62 :     tree _r;
    2333                 :          62 :     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2334                 :          62 :     if (TREE_SIDE_EFFECTS (captures[0]))
    2335                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2336                 :          62 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 459, __FILE__, __LINE__, true);
    2337                 :             :     return _r;
    2338                 :             :   }
    2339                 :           0 : next_after_fail708:;
    2340                 :           0 :   return NULL_TREE;
    2341                 :             : }
    2342                 :             : 
    2343                 :             : tree
    2344                 :         449 : generic_simplify_267 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2345                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2346                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2347                 :             : {
    2348                 :         449 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2349                 :         449 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail711;
    2350                 :         449 :   {
    2351                 :         449 :     tree res_op0;
    2352                 :         449 :     {
    2353                 :         449 :       tree _o1[2], _r1;
    2354                 :         449 :       _o1[0] = captures[0];
    2355                 :         449 :       {
    2356                 :         449 :         tree _o2[1], _r2;
    2357                 :         449 :         _o2[0] = captures[1];
    2358                 :         449 :         _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    2359                 :         449 :         if (EXPR_P (_r2))
    2360                 :         441 :           goto next_after_fail711;
    2361                 :           8 :         _o1[1] = _r2;
    2362                 :             :       }
    2363                 :           8 :       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2364                 :           8 :       res_op0 = _r1;
    2365                 :             :     }
    2366                 :           8 :     tree res_op1;
    2367                 :           8 :     res_op1 =  build_zero_cst (TREE_TYPE (captures[0]));
    2368                 :           8 :     tree _r;
    2369                 :           8 :     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2370                 :           8 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 462, __FILE__, __LINE__, true);
    2371                 :             :     return _r;
    2372                 :             :   }
    2373                 :             : next_after_fail711:;
    2374                 :             :   return NULL_TREE;
    2375                 :             : }
    2376                 :             : 
    2377                 :             : tree
    2378                 :       13218 : generic_simplify_270 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2379                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2380                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2381                 :             : {
    2382                 :       13218 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2383                 :       13218 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail714;
    2384                 :       13218 :   {
    2385                 :       13218 :     tree res_op0;
    2386                 :       13218 :     {
    2387                 :       13218 :       tree _o1[2], _r1;
    2388                 :       13218 :       {
    2389                 :       13218 :         tree _o2[2], _r2;
    2390                 :       13218 :         _o2[0] = captures[1];
    2391                 :       13218 :         _o2[1] = captures[4];
    2392                 :       13218 :         _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    2393                 :       13218 :         _o1[0] = _r2;
    2394                 :             :       }
    2395                 :       13218 :       _o1[1] = captures[2];
    2396                 :       13218 :       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2397                 :       13218 :       res_op0 = _r1;
    2398                 :             :     }
    2399                 :       13218 :     tree res_op1;
    2400                 :       13218 :     res_op1 =  build_zero_cst (TREE_TYPE (captures[2]));
    2401                 :       13218 :     tree _r;
    2402                 :       13218 :     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2403                 :       13218 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 465, __FILE__, __LINE__, true);
    2404                 :             :     return _r;
    2405                 :             :   }
    2406                 :           0 : next_after_fail714:;
    2407                 :           0 :   return NULL_TREE;
    2408                 :             : }
    2409                 :             : 
    2410                 :             : tree
    2411                 :          88 : generic_simplify_274 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2412                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2413                 :             :  const enum tree_code ARG_UNUSED (sgncmp),
    2414                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2415                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    2416                 :             : {
    2417                 :          88 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2418                 :         176 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2419                 :          88 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2420                 :         176 :  && types_match (captures[0], captures[2])
    2421                 :             : )
    2422                 :             :     {
    2423                 :          88 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail718;
    2424                 :          88 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail718;
    2425                 :          88 :       {
    2426                 :          88 :         tree res_op0;
    2427                 :          88 :         {
    2428                 :          88 :           tree _o1[2], _r1;
    2429                 :          88 :           _o1[0] = captures[0];
    2430                 :          88 :           _o1[1] = captures[2];
    2431                 :          88 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2432                 :          88 :           res_op0 = _r1;
    2433                 :             :         }
    2434                 :          88 :         tree res_op1;
    2435                 :          88 :         res_op1 = captures[1];
    2436                 :          88 :         tree _r;
    2437                 :          88 :         _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
    2438                 :          88 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 468, __FILE__, __LINE__, true);
    2439                 :          88 :         return _r;
    2440                 :             :       }
    2441                 :             : next_after_fail718:;
    2442                 :             :     }
    2443                 :             :   return NULL_TREE;
    2444                 :             : }
    2445                 :             : 
    2446                 :             : tree
    2447                 :     1100034 : generic_simplify_277 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2448                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2449                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2450                 :             : {
    2451                 :     1100034 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2452                 :     1100034 :   {
    2453                 :     1100034 :  poly_int64 off0, off1;
    2454                 :     1100034 :  tree base0, base1;
    2455                 :     1100034 :  int equal = address_compare (cmp, TREE_TYPE (captures[0]), captures[1], captures[2], base0, base1,
    2456                 :             :  off0, off1,
    2457                 :             : 1
    2458                 :             : );
    2459                 :     1100034 :       if (equal == 1
    2460                 :             : )
    2461                 :             :         {
    2462                 :     1068942 :           if (cmp == EQ_EXPR && (known_eq (off0, off1) || known_ne (off0, off1))
    2463                 :             : )
    2464                 :             :             {
    2465                 :      166314 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail721;
    2466                 :      166314 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail721;
    2467                 :      166314 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail721;
    2468                 :      166314 :               {
    2469                 :      166314 :                 tree _r;
    2470                 :      166314 :                 _r =  constant_boolean_node (known_eq (off0, off1), type);
    2471                 :      166314 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 470, __FILE__, __LINE__, true);
    2472                 :     1083438 :                 return _r;
    2473                 :             :               }
    2474                 :       16596 : next_after_fail721:;
    2475                 :             :             }
    2476                 :             :           else
    2477                 :             :             {
    2478                 :      846955 :               if (cmp == NE_EXPR && (known_eq (off0, off1) || known_ne (off0, off1))
    2479                 :             : )
    2480                 :             :                 {
    2481                 :      846955 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail722;
    2482                 :      846955 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail722;
    2483                 :      846955 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail722;
    2484                 :      846955 :                   {
    2485                 :      846955 :                     tree _r;
    2486                 :      846955 :                     _r =  constant_boolean_node (known_ne (off0, off1), type);
    2487                 :      846955 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 471, __FILE__, __LINE__, true);
    2488                 :      846955 :                     return _r;
    2489                 :             :                   }
    2490                 :       16596 : next_after_fail722:;
    2491                 :             :                 }
    2492                 :             :               else
    2493                 :             :                 {
    2494                 :       50313 :                   if (cmp == LT_EXPR && (known_lt (off0, off1) || known_ge (off0, off1))
    2495                 :             : )
    2496                 :             :                     {
    2497                 :       50313 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail723;
    2498                 :       50313 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail723;
    2499                 :       50313 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail723;
    2500                 :       50313 :                       {
    2501                 :       50313 :                         tree _r;
    2502                 :       50313 :                         _r =  constant_boolean_node (known_lt (off0, off1), type);
    2503                 :       50313 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 472, __FILE__, __LINE__, true);
    2504                 :       50313 :                         return _r;
    2505                 :             :                       }
    2506                 :       16596 : next_after_fail723:;
    2507                 :             :                     }
    2508                 :             :                   else
    2509                 :             :                     {
    2510                 :        4663 :                       if (cmp == LE_EXPR && (known_le (off0, off1) || known_gt (off0, off1))
    2511                 :             : )
    2512                 :             :                         {
    2513                 :        4663 :                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail724;
    2514                 :        4663 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail724;
    2515                 :        4663 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail724;
    2516                 :        4663 :                           {
    2517                 :        4663 :                             tree _r;
    2518                 :        4663 :                             _r =  constant_boolean_node (known_le (off0, off1), type);
    2519                 :        4663 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 473, __FILE__, __LINE__, true);
    2520                 :        4663 :                             return _r;
    2521                 :             :                           }
    2522                 :       16596 : next_after_fail724:;
    2523                 :             :                         }
    2524                 :             :                       else
    2525                 :             :                         {
    2526                 :         630 :                           if (cmp == GE_EXPR && (known_ge (off0, off1) || known_lt (off0, off1))
    2527                 :             : )
    2528                 :             :                             {
    2529                 :         630 :                               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail725;
    2530                 :         630 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail725;
    2531                 :         630 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail725;
    2532                 :         630 :                               {
    2533                 :         630 :                                 tree _r;
    2534                 :         630 :                                 _r =  constant_boolean_node (known_ge (off0, off1), type);
    2535                 :         630 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 474, __FILE__, __LINE__, true);
    2536                 :         630 :                                 return _r;
    2537                 :             :                               }
    2538                 :       16596 : next_after_fail725:;
    2539                 :             :                             }
    2540                 :             :                           else
    2541                 :             :                             {
    2542                 :          67 :                               if (cmp == GT_EXPR && (known_gt (off0, off1) || known_le (off0, off1))
    2543                 :             : )
    2544                 :             :                                 {
    2545                 :          67 :                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail726;
    2546                 :          67 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail726;
    2547                 :          67 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail726;
    2548                 :          67 :                                   {
    2549                 :          67 :                                     tree _r;
    2550                 :          67 :                                     _r =  constant_boolean_node (known_gt (off0, off1), type);
    2551                 :          67 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 475, __FILE__, __LINE__, true);
    2552                 :          67 :                                     return _r;
    2553                 :             :                                   }
    2554                 :       16596 : next_after_fail726:;
    2555                 :             :                                 }
    2556                 :             :                             }
    2557                 :             :                         }
    2558                 :             :                     }
    2559                 :             :                 }
    2560                 :             :             }
    2561                 :             :         }
    2562                 :             :       else
    2563                 :             :         {
    2564                 :       31092 :           if (equal == 0
    2565                 :             : )
    2566                 :             :             {
    2567                 :       14496 :               if (cmp == EQ_EXPR
    2568                 :             : )
    2569                 :             :                 {
    2570                 :        8862 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail727;
    2571                 :        8862 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail727;
    2572                 :        8862 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail727;
    2573                 :        8862 :                   {
    2574                 :        8862 :                     tree _r;
    2575                 :        8862 :                     _r =  constant_boolean_node (false, type);
    2576                 :        8862 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 476, __FILE__, __LINE__, true);
    2577                 :        8862 :                     return _r;
    2578                 :             :                   }
    2579                 :       16596 : next_after_fail727:;
    2580                 :             :                 }
    2581                 :             :               else
    2582                 :             :                 {
    2583                 :        5634 :                   if (cmp == NE_EXPR
    2584                 :             : )
    2585                 :             :                     {
    2586                 :        5634 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail728;
    2587                 :        5634 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail728;
    2588                 :        5634 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail728;
    2589                 :        5634 :                       {
    2590                 :        5634 :                         tree _r;
    2591                 :        5634 :                         _r =  constant_boolean_node (true, type);
    2592                 :        5634 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 477, __FILE__, __LINE__, true);
    2593                 :        5634 :                         return _r;
    2594                 :             :                       }
    2595                 :       16596 : next_after_fail728:;
    2596                 :             :                     }
    2597                 :             :                 }
    2598                 :             :             }
    2599                 :             :         }
    2600                 :             :   }
    2601                 :       16596 :   return NULL_TREE;
    2602                 :             : }
    2603                 :             : 
    2604                 :             : tree
    2605                 :          45 : generic_simplify_289 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2606                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2607                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2608                 :             :  const enum tree_code ARG_UNUSED (rep),
    2609                 :             :  const combined_fn ARG_UNUSED (popcount))
    2610                 :             : {
    2611                 :          45 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2612                 :          45 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail764;
    2613                 :          45 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail764;
    2614                 :          45 :   {
    2615                 :          45 :     tree res_op0;
    2616                 :          45 :     res_op0 = captures[0];
    2617                 :          45 :     tree res_op1;
    2618                 :          45 :     res_op1 =  build_zero_cst (TREE_TYPE (captures[0]));
    2619                 :          45 :     tree _r;
    2620                 :          45 :     _r = fold_build2_loc (loc, rep, type, res_op0, res_op1);
    2621                 :          45 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 505, __FILE__, __LINE__, true);
    2622                 :             :     return _r;
    2623                 :             :   }
    2624                 :             : next_after_fail764:;
    2625                 :             :   return NULL_TREE;
    2626                 :             : }
    2627                 :             : 
    2628                 :             : tree
    2629                 :      303283 : generic_simplify_292 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2630                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2631                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2632                 :             :  const enum tree_code ARG_UNUSED (icmp),
    2633                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    2634                 :             : {
    2635                 :      303283 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2636                 :      303283 :   if (types_match (type, TREE_TYPE (captures[0]))
    2637                 :             : )
    2638                 :             :     {
    2639                 :       45529 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail769;
    2640                 :       45529 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail769;
    2641                 :       45529 :       {
    2642                 :       45529 :         tree res_op0;
    2643                 :       45529 :         res_op0 = captures[1];
    2644                 :       45529 :         tree res_op1;
    2645                 :       45529 :         res_op1 = captures[2];
    2646                 :       45529 :         tree _r;
    2647                 :       45529 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2648                 :       45529 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 510, __FILE__, __LINE__, true);
    2649                 :       45529 :         return _r;
    2650                 :             :       }
    2651                 :             : next_after_fail769:;
    2652                 :             :     }
    2653                 :             :   return NULL_TREE;
    2654                 :             : }
    2655                 :             : 
    2656                 :             : tree
    2657                 :           0 : generic_simplify_296 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2658                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2659                 :             :  const combined_fn ARG_UNUSED (copysigns))
    2660                 :             : {
    2661                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2662                 :           0 :   if (!REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[1]))
    2663                 :             : )
    2664                 :             :     {
    2665                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail774;
    2666                 :           0 :       {
    2667                 :           0 :         tree res_op0;
    2668                 :           0 :         res_op0 = captures[0];
    2669                 :           0 :         tree _r;
    2670                 :           0 :         _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
    2671                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2672                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2673                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 515, __FILE__, __LINE__, true);
    2674                 :           0 :         return _r;
    2675                 :             :       }
    2676                 :           0 : next_after_fail774:;
    2677                 :             :     }
    2678                 :             :   return NULL_TREE;
    2679                 :             : }
    2680                 :             : 
    2681                 :             : tree
    2682                 :           7 : generic_simplify_301 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2683                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2684                 :             :  const enum tree_code ARG_UNUSED (div))
    2685                 :             : {
    2686                 :           7 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2687                 :          14 :   if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (captures[0]))
    2688                 :           0 :  && (!VECTOR_TYPE_P (type)
    2689                 :           0 :  || target_supports_op_p (type, RSHIFT_EXPR, optab_vector)
    2690                 :           0 :  || target_supports_op_p (type, RSHIFT_EXPR, optab_scalar))
    2691                 :           7 :  && (useless_type_conversion_p (type, TREE_TYPE (captures[2]))
    2692                 :           0 :  || (element_precision (type) >= element_precision (TREE_TYPE (captures[2]))
    2693                 :           0 :  && (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    2694                 :           0 :  || (element_precision (type)
    2695                 :           0 :  == element_precision (TREE_TYPE (captures[2])))
    2696                 :           0 :  || (INTEGRAL_TYPE_P (type)
    2697                 :           0 :  && (tree_nonzero_bits (captures[0])
    2698                 :           7 :  & wi::mask (element_precision (TREE_TYPE (captures[2])) - 1,
    2699                 :             :  true,
    2700                 :           7 :  element_precision (type))) == 0))))
    2701                 :             : )
    2702                 :             :     {
    2703                 :           0 :       if (!VECTOR_TYPE_P (type)
    2704                 :           0 :  && useless_type_conversion_p (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    2705                 :           0 :  && element_precision (TREE_TYPE (captures[1])) < element_precision (type)
    2706                 :             : )
    2707                 :             :         {
    2708                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail779;
    2709                 :           0 :           {
    2710                 :           0 :             tree res_op0;
    2711                 :           0 :             {
    2712                 :           0 :               tree _o1[2], _r1;
    2713                 :           0 :               _o1[0] = captures[1];
    2714                 :           0 :               _o1[1] = captures[3];
    2715                 :           0 :               _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2716                 :           0 :               res_op0 = _r1;
    2717                 :             :             }
    2718                 :           0 :             tree _r;
    2719                 :           0 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2720                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2721                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2722                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 520, __FILE__, __LINE__, true);
    2723                 :           0 :             return _r;
    2724                 :             :           }
    2725                 :           0 : next_after_fail779:;
    2726                 :             :         }
    2727                 :             :       else
    2728                 :             :         {
    2729                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail780;
    2730                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail780;
    2731                 :           0 :           {
    2732                 :           0 :             tree res_op0;
    2733                 :           0 :             res_op0 = captures[0];
    2734                 :           0 :             tree res_op1;
    2735                 :           0 :             res_op1 = captures[3];
    2736                 :           0 :             tree _r;
    2737                 :           0 :             _r = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1);
    2738                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2739                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2740                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 521, __FILE__, __LINE__, true);
    2741                 :           0 :             return _r;
    2742                 :             :           }
    2743                 :             : next_after_fail780:;
    2744                 :             :         }
    2745                 :             :     }
    2746                 :             :   return NULL_TREE;
    2747                 :             : }
    2748                 :             : 
    2749                 :             : tree
    2750                 :         529 : generic_simplify_317 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2751                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2752                 :             :  const enum tree_code ARG_UNUSED (mod))
    2753                 :             : {
    2754                 :         529 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2755                 :         529 :   if (!TYPE_UNSIGNED (type)
    2756                 :             : )
    2757                 :             :     {
    2758                 :          20 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail798;
    2759                 :          20 :       {
    2760                 :          20 :         tree _r;
    2761                 :          20 :         _r =  build_zero_cst (type);
    2762                 :          20 :         if (TREE_SIDE_EFFECTS (captures[0]))
    2763                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2764                 :          20 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2765                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2766                 :          20 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 537, __FILE__, __LINE__, true);
    2767                 :          20 :         return _r;
    2768                 :             :       }
    2769                 :           0 : next_after_fail798:;
    2770                 :             :     }
    2771                 :             :   return NULL_TREE;
    2772                 :             : }
    2773                 :             : 
    2774                 :             : tree
    2775                 :           5 : generic_simplify_327 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2776                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2777                 :             :  const combined_fn ARG_UNUSED (SINH),
    2778                 :             :  const combined_fn ARG_UNUSED (COSH),
    2779                 :             :  const combined_fn ARG_UNUSED (TANH))
    2780                 :             : {
    2781                 :           5 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2782                 :           5 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    2783                 :             : )
    2784                 :             :     {
    2785                 :           3 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail810;
    2786                 :           3 :       {
    2787                 :           3 :         tree res_op0;
    2788                 :           3 :         res_op0 = captures[1];
    2789                 :           3 :         tree _r;
    2790                 :           3 :         _r = maybe_build_call_expr_loc (loc, TANH, type, 1, res_op0);
    2791                 :           3 :         if (!_r)
    2792                 :           0 :           goto next_after_fail810;
    2793                 :           3 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 549, __FILE__, __LINE__, true);
    2794                 :           3 :         return _r;
    2795                 :             :       }
    2796                 :             : next_after_fail810:;
    2797                 :             :     }
    2798                 :             :   return NULL_TREE;
    2799                 :             : }
    2800                 :             : 
    2801                 :             : tree
    2802                 :          24 : generic_simplify_332 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2803                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2804                 :             :  const combined_fn ARG_UNUSED (POW))
    2805                 :             : {
    2806                 :          24 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2807                 :          24 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    2808                 :             : )
    2809                 :             :     {
    2810                 :           6 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail815;
    2811                 :           6 :       {
    2812                 :           6 :         tree res_op0;
    2813                 :           6 :         res_op0 = captures[0];
    2814                 :           6 :         tree res_op1;
    2815                 :           6 :         {
    2816                 :           6 :           tree _o1[2], _r1;
    2817                 :           6 :           _o1[0] = captures[2];
    2818                 :           6 :           {
    2819                 :           6 :             tree _o2[1], _r2;
    2820                 :           6 :             _o2[0] = captures[3];
    2821                 :           6 :             _r2 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    2822                 :           6 :             _o1[1] = _r2;
    2823                 :             :           }
    2824                 :           6 :           _r1 = maybe_build_call_expr_loc (loc, POW, TREE_TYPE (_o1[0]), 2, _o1[0], _o1[1]);
    2825                 :           6 :           if (!_r1)
    2826                 :           0 :             goto next_after_fail815;
    2827                 :           6 :           res_op1 = _r1;
    2828                 :             :         }
    2829                 :           6 :         tree _r;
    2830                 :           6 :         _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    2831                 :           6 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 554, __FILE__, __LINE__, true);
    2832                 :           6 :         return _r;
    2833                 :             :       }
    2834                 :             : next_after_fail815:;
    2835                 :             :     }
    2836                 :             :   return NULL_TREE;
    2837                 :             : }
    2838                 :             : 
    2839                 :             : tree
    2840                 :         999 : generic_simplify_339 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2841                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2842                 :             :  const enum tree_code ARG_UNUSED (op))
    2843                 :             : {
    2844                 :         999 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2845                 :        1998 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2846                 :        1998 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    2847                 :             : )
    2848                 :             :     {
    2849                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail824;
    2850                 :           0 :       {
    2851                 :           0 :         tree res_op0;
    2852                 :           0 :         res_op0 = captures[0];
    2853                 :           0 :         tree res_op1;
    2854                 :           0 :         res_op1 = captures[2];
    2855                 :           0 :         tree _r;
    2856                 :           0 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2857                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2858                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2859                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 563, __FILE__, __LINE__, true);
    2860                 :           0 :         return _r;
    2861                 :             :       }
    2862                 :           0 : next_after_fail824:;
    2863                 :             :     }
    2864                 :             :   return NULL_TREE;
    2865                 :             : }
    2866                 :             : 
    2867                 :             : tree
    2868                 :     8445740 : generic_simplify_344 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2869                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2870                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2871                 :             :  const enum tree_code ARG_UNUSED (acmp))
    2872                 :             : {
    2873                 :     8445740 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2874                 :     8445740 :   {
    2875                 :     8445740 :  tree cst = uniform_integer_cst_p (captures[1]);
    2876                 :     8445740 :       if (tree_int_cst_sgn (cst) == 1
    2877                 :             : )
    2878                 :             :         {
    2879                 :     3670914 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail830;
    2880                 :     3670914 :           {
    2881                 :     3670914 :             tree res_op0;
    2882                 :     3670914 :             res_op0 = captures[0];
    2883                 :     3670914 :             tree res_op1;
    2884                 :     3670914 :             res_op1 =  build_uniform_cst (TREE_TYPE (captures[1]),
    2885                 :     3670914 :  wide_int_to_tree (TREE_TYPE (cst),
    2886                 :     3670914 :  wi::to_wide (cst) - 1));
    2887                 :     3670914 :             tree _r;
    2888                 :     3670914 :             _r = fold_build2_loc (loc, acmp, type, res_op0, res_op1);
    2889                 :     3670914 :             if (TREE_SIDE_EFFECTS (captures[1]))
    2890                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2891                 :     3670914 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 569, __FILE__, __LINE__, true);
    2892                 :     3670914 :             return _r;
    2893                 :             :           }
    2894                 :           0 : next_after_fail830:;
    2895                 :             :         }
    2896                 :             :   }
    2897                 :             :   return NULL_TREE;
    2898                 :             : }
    2899                 :             : 
    2900                 :             : tree
    2901                 :        9767 : generic_simplify_351 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2902                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2903                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2904                 :             : {
    2905                 :        9767 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2906                 :        9767 :   if (single_use (captures[0])
    2907                 :        9767 :  && ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2908                 :        9751 :  && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2909                 :             : )
    2910                 :             :     {
    2911                 :        7386 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail869;
    2912                 :        7386 :       {
    2913                 :        7386 :         tree res_op0;
    2914                 :        7386 :         res_op0 = captures[2];
    2915                 :        7386 :         tree res_op1;
    2916                 :        7386 :         res_op1 = captures[1];
    2917                 :        7386 :         tree _r;
    2918                 :        7386 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2919                 :        7386 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 591, __FILE__, __LINE__, true);
    2920                 :        7386 :         return _r;
    2921                 :             :       }
    2922                 :           0 : next_after_fail869:;
    2923                 :             :     }
    2924                 :             :   return NULL_TREE;
    2925                 :             : }
    2926                 :             : 
    2927                 :             : tree
    2928                 :           0 : generic_simplify_354 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2929                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2930                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2931                 :             :  const enum tree_code ARG_UNUSED (out))
    2932                 :             : {
    2933                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2934                 :           0 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2935                 :           0 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    2936                 :             : )
    2937                 :             :     {
    2938                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail872;
    2939                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail872;
    2940                 :           0 :       {
    2941                 :           0 :         tree res_op0;
    2942                 :           0 :         {
    2943                 :           0 :           tree _o1[1], _r1;
    2944                 :           0 :           _o1[0] = captures[0];
    2945                 :           0 :           _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    2946                 :           0 :           res_op0 = _r1;
    2947                 :             :         }
    2948                 :           0 :         tree res_op1;
    2949                 :           0 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    2950                 :           0 :         tree _r;
    2951                 :           0 :         _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    2952                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 594, __FILE__, __LINE__, true);
    2953                 :           0 :         return _r;
    2954                 :             :       }
    2955                 :             : next_after_fail872:;
    2956                 :             :     }
    2957                 :             :   return NULL_TREE;
    2958                 :             : }
    2959                 :             : 
    2960                 :             : tree
    2961                 :           0 : generic_simplify_359 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2962                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2963                 :             :  const enum tree_code ARG_UNUSED (op),
    2964                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2965                 :             : {
    2966                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2967                 :           0 :   {
    2968                 :           0 :  bool ok = true;
    2969                 :           0 :  HOST_WIDE_INT val = 0;
    2970                 :           0 :  if (!tree_fits_shwi_p (captures[3]))
    2971                 :             :  ok = false;
    2972                 :             :  else
    2973                 :             :  {
    2974                 :           0 :  val = tree_to_shwi (captures[3]);
    2975                 :           0 :  if (op == GT_EXPR || op == LE_EXPR)
    2976                 :             :  {
    2977                 :           0 :  if (val == HOST_WIDE_INT_MAX)
    2978                 :             :  ok = false;
    2979                 :             :  else
    2980                 :           0 :  val++;
    2981                 :             :  }
    2982                 :             :  }
    2983                 :           0 :  HOST_WIDE_INT zero_val = tree_to_shwi (captures[2]);
    2984                 :           0 :  tree type0 = TREE_TYPE (captures[1]);
    2985                 :           0 :  int prec = TYPE_PRECISION (type0);
    2986                 :           0 :  if (prec > MAX_FIXED_MODE_SIZE)
    2987                 :           0 :  ok = false;
    2988                 :           0 :       if (val <= 0
    2989                 :             : )
    2990                 :             :         {
    2991                 :           0 :           if (ok && zero_val >= val
    2992                 :             : )
    2993                 :             :             {
    2994                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail882;
    2995                 :           0 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail882;
    2996                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail882;
    2997                 :           0 :               {
    2998                 :           0 :                 tree _r;
    2999                 :           0 :                 _r =  constant_boolean_node (cmp == EQ_EXPR ? true : false, type);
    3000                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    3001                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3002                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 604, __FILE__, __LINE__, true);
    3003                 :           0 :                 return _r;
    3004                 :             :               }
    3005                 :             : next_after_fail882:;
    3006                 :             :             }
    3007                 :             :         }
    3008                 :             :       else
    3009                 :             :         {
    3010                 :           0 :           if (val >= prec
    3011                 :             : )
    3012                 :             :             {
    3013                 :           0 :               if (ok && zero_val < val
    3014                 :             : )
    3015                 :             :                 {
    3016                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail883;
    3017                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail883;
    3018                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail883;
    3019                 :           0 :                   {
    3020                 :           0 :                     tree _r;
    3021                 :           0 :                     _r =  constant_boolean_node (cmp == EQ_EXPR ? false : true, type);
    3022                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    3023                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3024                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 605, __FILE__, __LINE__, true);
    3025                 :           0 :                     return _r;
    3026                 :             :                   }
    3027                 :             : next_after_fail883:;
    3028                 :             :                 }
    3029                 :             :             }
    3030                 :             :           else
    3031                 :             :             {
    3032                 :           0 :               if (ok && (zero_val < 0 || zero_val >= prec)
    3033                 :             : )
    3034                 :             :                 {
    3035                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail884;
    3036                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail884;
    3037                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail884;
    3038                 :           0 :                   {
    3039                 :           0 :                     tree res_op0;
    3040                 :           0 :                     {
    3041                 :           0 :                       tree _o1[2], _r1;
    3042                 :           0 :                       _o1[0] = captures[1];
    3043                 :           0 :                       _o1[1] =  wide_int_to_tree (type0,
    3044                 :           0 :  wi::mask (val, false, prec));
    3045                 :           0 :                       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3046                 :           0 :                       res_op0 = _r1;
    3047                 :             :                     }
    3048                 :           0 :                     tree res_op1;
    3049                 :           0 :                     res_op1 =  build_zero_cst (type0);
    3050                 :           0 :                     tree _r;
    3051                 :           0 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    3052                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 606, __FILE__, __LINE__, true);
    3053                 :           0 :                     return _r;
    3054                 :             :                   }
    3055                 :             : next_after_fail884:;
    3056                 :             :                 }
    3057                 :             :             }
    3058                 :             :         }
    3059                 :             :   }
    3060                 :             :   return NULL_TREE;
    3061                 :             : }
    3062                 :             : 
    3063                 :             : tree
    3064                 :          94 : generic_simplify_370 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3065                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3066                 :             : {
    3067                 :          94 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3068                 :         188 :   if (INTEGRAL_TYPE_P (type)
    3069                 :          93 :  && !TYPE_UNSIGNED (type)
    3070                 :          93 :  && !TYPE_OVERFLOW_TRAPS (type)
    3071                 :          93 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
    3072                 :         281 :  && (expr_not_equal_to (captures[0], wi::to_wide (TYPE_MIN_VALUE (type)))
    3073                 :         187 :  || expr_not_equal_to (captures[1], wi::minus_one (TYPE_PRECISION
    3074                 :             :  (TREE_TYPE (captures[1])))))
    3075                 :             : )
    3076                 :             :     {
    3077                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail899;
    3078                 :           0 :       {
    3079                 :           0 :         tree res_op0;
    3080                 :           0 :         res_op0 = captures[0];
    3081                 :           0 :         tree res_op1;
    3082                 :           0 :         {
    3083                 :           0 :           tree _o1[1], _r1;
    3084                 :           0 :           _o1[0] = captures[1];
    3085                 :           0 :           if (TREE_TYPE (_o1[0]) != type)
    3086                 :             :             {
    3087                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3088                 :             :             }
    3089                 :             :           else
    3090                 :             :             _r1 = _o1[0];
    3091                 :           0 :           res_op1 = _r1;
    3092                 :             :         }
    3093                 :           0 :         tree _r;
    3094                 :           0 :         _r = fold_build2_loc (loc, TRUNC_MOD_EXPR, type, res_op0, res_op1);
    3095                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 617, __FILE__, __LINE__, true);
    3096                 :           0 :         return _r;
    3097                 :             :       }
    3098                 :           0 : next_after_fail899:;
    3099                 :             :     }
    3100                 :             :   return NULL_TREE;
    3101                 :             : }
    3102                 :             : 
    3103                 :             : tree
    3104                 :           0 : generic_simplify_376 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3105                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3106                 :             :  const enum tree_code ARG_UNUSED (shiftrotate))
    3107                 :             : {
    3108                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3109                 :           0 :   {
    3110                 :           0 :  tree tem = uniform_vector_p (captures[1]);
    3111                 :           0 :       if (tem
    3112                 :             : )
    3113                 :             :         {
    3114                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail905;
    3115                 :           0 :           {
    3116                 :           0 :             tree res_op0;
    3117                 :           0 :             res_op0 = captures[0];
    3118                 :           0 :             tree res_op1;
    3119                 :           0 :             res_op1 =  tem;
    3120                 :           0 :             tree _r;
    3121                 :           0 :             _r = fold_build2_loc (loc, shiftrotate, type, res_op0, res_op1);
    3122                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    3123                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3124                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 623, __FILE__, __LINE__, true);
    3125                 :           0 :             return _r;
    3126                 :             :           }
    3127                 :           0 : next_after_fail905:;
    3128                 :             :         }
    3129                 :             :   }
    3130                 :             :   return NULL_TREE;
    3131                 :             : }
    3132                 :             : 
    3133                 :             : tree
    3134                 :         267 : generic_simplify_382 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3135                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3136                 :             :  const combined_fn ARG_UNUSED (bswap))
    3137                 :             : {
    3138                 :         267 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3139                 :         267 :   if (BITS_PER_UNIT == 8
    3140                 :             :  && CHAR_TYPE_SIZE == 8
    3141                 :         267 :  && tree_fits_uhwi_p (captures[2])
    3142                 :             : )
    3143                 :             :     {
    3144                 :         267 :       {
    3145                 :         267 :  unsigned HOST_WIDE_INT prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
    3146                 :         267 :  unsigned HOST_WIDE_INT bits = tree_to_uhwi (captures[2]);
    3147                 :         267 :  tree st = TYPE_PRECISION (type) > prec ? TREE_TYPE (captures[0]) : type;
    3148                 :         267 :           if (TYPE_PRECISION (type) > prec
    3149                 :           0 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3150                 :           0 :  && TYPE_UNSIGNED (type)
    3151                 :         267 :  && bits < prec && bits + 8 >= prec
    3152                 :             : )
    3153                 :             :             {
    3154                 :           0 :               {
    3155                 :           0 :  tree nst = build_int_cst (integer_type_node, prec - 8);
    3156                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail915;
    3157                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail915;
    3158                 :           0 :                   {
    3159                 :           0 :                     tree res_op0;
    3160                 :           0 :                     {
    3161                 :           0 :                       tree _o1[1], _r1;
    3162                 :           0 :                       {
    3163                 :           0 :                         tree _o2[2], _r2;
    3164                 :           0 :                         {
    3165                 :           0 :                           tree _o3[1], _r3;
    3166                 :           0 :                           _o3[0] = captures[1];
    3167                 :           0 :                           if (TREE_TYPE (_o3[0]) != st)
    3168                 :             :                             {
    3169                 :           0 :                               _r3 = fold_build1_loc (loc, NOP_EXPR, st, _o3[0]);
    3170                 :             :                             }
    3171                 :             :                           else
    3172                 :             :                             _r3 = _o3[0];
    3173                 :           0 :                           _o2[0] = _r3;
    3174                 :             :                         }
    3175                 :           0 :                         _o2[1] = nst;
    3176                 :           0 :                         _r2 = fold_build2_loc (loc, LSHIFT_EXPR, st, _o2[0], _o2[1]);
    3177                 :           0 :                         _o1[0] = _r2;
    3178                 :             :                       }
    3179                 :           0 :                       if (TREE_TYPE (_o1[0]) != type)
    3180                 :             :                         {
    3181                 :           0 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3182                 :             :                         }
    3183                 :             :                       else
    3184                 :             :                         _r1 = _o1[0];
    3185                 :           0 :                       res_op0 = _r1;
    3186                 :             :                     }
    3187                 :           0 :                     tree res_op1;
    3188                 :           0 :                     res_op1 = captures[2];
    3189                 :           0 :                     tree _r;
    3190                 :           0 :                     _r = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1);
    3191                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 631, __FILE__, __LINE__, true);
    3192                 :           0 :                     return _r;
    3193                 :             :                   }
    3194                 :             : next_after_fail915:;
    3195                 :             :               }
    3196                 :             :             }
    3197                 :             :           else
    3198                 :             :             {
    3199                 :         267 :               if (bits + 8 == prec
    3200                 :             : )
    3201                 :             :                 {
    3202                 :          46 :                   if (TYPE_UNSIGNED (st)
    3203                 :             : )
    3204                 :             :                     {
    3205                 :          36 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail916;
    3206                 :          36 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail916;
    3207                 :          36 :                       {
    3208                 :          36 :                         tree res_op0;
    3209                 :          36 :                         {
    3210                 :          36 :                           tree _o1[1], _r1;
    3211                 :          36 :                           _o1[0] = captures[1];
    3212                 :          36 :                           if (TREE_TYPE (_o1[0]) != unsigned_char_type_node)
    3213                 :             :                             {
    3214                 :          36 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, unsigned_char_type_node, _o1[0]);
    3215                 :             :                             }
    3216                 :             :                           else
    3217                 :             :                             _r1 = _o1[0];
    3218                 :          36 :                           res_op0 = _r1;
    3219                 :             :                         }
    3220                 :          36 :                         tree _r;
    3221                 :          36 :                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3222                 :          36 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 632, __FILE__, __LINE__, true);
    3223                 :          36 :                         return _r;
    3224                 :             :                       }
    3225                 :             : next_after_fail916:;
    3226                 :             :                     }
    3227                 :             :                   else
    3228                 :             :                     {
    3229                 :          10 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail917;
    3230                 :          10 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail917;
    3231                 :          10 :                       {
    3232                 :          10 :                         tree res_op0;
    3233                 :          10 :                         {
    3234                 :          10 :                           tree _o1[1], _r1;
    3235                 :          10 :                           _o1[0] = captures[1];
    3236                 :          10 :                           if (TREE_TYPE (_o1[0]) != signed_char_type_node)
    3237                 :             :                             {
    3238                 :          10 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, signed_char_type_node, _o1[0]);
    3239                 :             :                             }
    3240                 :             :                           else
    3241                 :             :                             _r1 = _o1[0];
    3242                 :          10 :                           res_op0 = _r1;
    3243                 :             :                         }
    3244                 :          10 :                         tree _r;
    3245                 :          10 :                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3246                 :          10 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 633, __FILE__, __LINE__, true);
    3247                 :          10 :                         return _r;
    3248                 :             :                       }
    3249                 :             : next_after_fail917:;
    3250                 :             :                     }
    3251                 :             :                 }
    3252                 :             :               else
    3253                 :             :                 {
    3254                 :         221 :                   if (bits < prec && bits + 8 > prec
    3255                 :             : )
    3256                 :             :                     {
    3257                 :          57 :                       {
    3258                 :          57 :  tree nst = build_int_cst (integer_type_node, bits & 7);
    3259                 :          57 :  tree bt = TYPE_UNSIGNED (st) ? unsigned_char_type_node
    3260                 :          57 :  : signed_char_type_node;
    3261                 :          57 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail918;
    3262                 :          57 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail918;
    3263                 :          57 :                           {
    3264                 :          57 :                             tree res_op0;
    3265                 :          57 :                             {
    3266                 :          57 :                               tree _o1[2], _r1;
    3267                 :          57 :                               {
    3268                 :          57 :                                 tree _o2[1], _r2;
    3269                 :          57 :                                 _o2[0] = captures[1];
    3270                 :          57 :                                 if (TREE_TYPE (_o2[0]) != bt)
    3271                 :             :                                   {
    3272                 :          57 :                                     _r2 = fold_build1_loc (loc, NOP_EXPR, bt, _o2[0]);
    3273                 :             :                                   }
    3274                 :             :                                 else
    3275                 :             :                                   _r2 = _o2[0];
    3276                 :          57 :                                 _o1[0] = _r2;
    3277                 :             :                               }
    3278                 :          57 :                               _o1[1] = nst;
    3279                 :          57 :                               _r1 = fold_build2_loc (loc, RSHIFT_EXPR, bt, _o1[0], _o1[1]);
    3280                 :          57 :                               res_op0 = _r1;
    3281                 :             :                             }
    3282                 :          57 :                             tree _r;
    3283                 :          57 :                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3284                 :          57 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 634, __FILE__, __LINE__, true);
    3285                 :          57 :                             return _r;
    3286                 :             :                           }
    3287                 :             : next_after_fail918:;
    3288                 :             :                       }
    3289                 :             :                     }
    3290                 :             :                 }
    3291                 :             :             }
    3292                 :             :       }
    3293                 :             :     }
    3294                 :             :   return NULL_TREE;
    3295                 :             : }
    3296                 :             : 
    3297                 :             : tree
    3298                 :           0 : generic_simplify_394 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3299                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3300                 :             :  const combined_fn ARG_UNUSED (copysigns),
    3301                 :             :  const combined_fn ARG_UNUSED (pows))
    3302                 :             : {
    3303                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3304                 :           0 :   {
    3305                 :           0 :  HOST_WIDE_INT n;
    3306                 :           0 :       if (real_isinteger (&TREE_REAL_CST (captures[2]), &n) && (n & 1) == 0
    3307                 :             : )
    3308                 :             :         {
    3309                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail943;
    3310                 :           0 :           {
    3311                 :           0 :             tree res_op0;
    3312                 :           0 :             res_op0 = captures[0];
    3313                 :           0 :             tree res_op1;
    3314                 :           0 :             res_op1 = captures[2];
    3315                 :           0 :             tree _r;
    3316                 :           0 :             _r = maybe_build_call_expr_loc (loc, pows, type, 2, res_op0, res_op1);
    3317                 :           0 :             if (!_r)
    3318                 :           0 :               goto next_after_fail943;
    3319                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    3320                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3321                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 647, __FILE__, __LINE__, true);
    3322                 :           0 :             return _r;
    3323                 :             :           }
    3324                 :           0 : next_after_fail943:;
    3325                 :             :         }
    3326                 :             :   }
    3327                 :           0 :   return NULL_TREE;
    3328                 :             : }
    3329                 :             : 
    3330                 :             : tree
    3331                 :           0 : generic_simplify_398 (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 (UNLIKELY (!dbg_cnt (match))) goto next_after_fail947;
    3336                 :           0 :   {
    3337                 :           0 :     tree _r;
    3338                 :           0 :     _r = captures[0];
    3339                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    3340                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3341                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 651, __FILE__, __LINE__, true);
    3342                 :             :     return _r;
    3343                 :             :   }
    3344                 :           0 : next_after_fail947:;
    3345                 :           0 :   return NULL_TREE;
    3346                 :             : }
    3347                 :             : 
    3348                 :             : tree
    3349                 :           0 : generic_simplify_400 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3350                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3351                 :             :  const combined_fn ARG_UNUSED (copysigns),
    3352                 :             :  const combined_fn ARG_UNUSED (hypots))
    3353                 :             : {
    3354                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3355                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail949;
    3356                 :           0 :   {
    3357                 :           0 :     tree res_op0;
    3358                 :           0 :     res_op0 = captures[0];
    3359                 :           0 :     tree res_op1;
    3360                 :           0 :     res_op1 = captures[1];
    3361                 :           0 :     tree _r;
    3362                 :           0 :     _r = maybe_build_call_expr_loc (loc, hypots, type, 2, res_op0, res_op1);
    3363                 :           0 :     if (!_r)
    3364                 :           0 :       goto next_after_fail949;
    3365                 :           0 :     if (TREE_SIDE_EFFECTS (captures[2]))
    3366                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3367                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 653, __FILE__, __LINE__, true);
    3368                 :             :     return _r;
    3369                 :             :   }
    3370                 :             : next_after_fail949:;
    3371                 :             :   return NULL_TREE;
    3372                 :             : }
    3373                 :             : 
    3374                 :             : tree
    3375                 :           0 : generic_simplify_406 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3376                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3377                 :             : {
    3378                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3379                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail955;
    3380                 :           0 :   {
    3381                 :           0 :     tree res_op0;
    3382                 :           0 :     res_op0 = captures[0];
    3383                 :           0 :     tree res_op1;
    3384                 :           0 :     res_op1 = captures[1];
    3385                 :           0 :     tree _r;
    3386                 :           0 :     _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3387                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 659, __FILE__, __LINE__, true);
    3388                 :             :     return _r;
    3389                 :             :   }
    3390                 :           0 : next_after_fail955:;
    3391                 :           0 :   return NULL_TREE;
    3392                 :             : }
    3393                 :             : 
    3394                 :             : tree
    3395                 :          80 : generic_simplify_411 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3396                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3397                 :             :  const enum tree_code ARG_UNUSED (bitop),
    3398                 :             :  const enum tree_code ARG_UNUSED (op))
    3399                 :             : {
    3400                 :          80 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3401                 :          80 :   {
    3402                 :          80 :  tree pmop[2];
    3403                 :          80 :  tree utype = fold_bit_and_mask (TREE_TYPE (captures[1]), captures[5], op, captures[1], bitop,
    3404                 :             :  captures[2], captures[3], captures[4], ERROR_MARK, NULL_TREE,
    3405                 :             :  NULL_TREE, pmop);
    3406                 :          80 :       if (utype
    3407                 :             : )
    3408                 :             :         {
    3409                 :          20 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail960;
    3410                 :          20 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail960;
    3411                 :          20 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail960;
    3412                 :          20 :           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail960;
    3413                 :          20 :           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail960;
    3414                 :          20 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail960;
    3415                 :          20 :           {
    3416                 :          20 :             tree res_op0;
    3417                 :          20 :             {
    3418                 :          20 :               tree _o1[2], _r1;
    3419                 :          20 :               {
    3420                 :          20 :                 tree _o2[2], _r2;
    3421                 :          20 :                 {
    3422                 :          20 :                   tree _o3[1], _r3;
    3423                 :          20 :                   _o3[0] =  pmop[0];
    3424                 :          20 :                   if (TREE_TYPE (_o3[0]) != utype)
    3425                 :             :                     {
    3426                 :          10 :                       _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    3427                 :             :                     }
    3428                 :             :                   else
    3429                 :             :                     _r3 = _o3[0];
    3430                 :          20 :                   _o2[0] = _r3;
    3431                 :             :                 }
    3432                 :          20 :                 {
    3433                 :          20 :                   tree _o3[1], _r3;
    3434                 :          20 :                   _o3[0] =  pmop[1];
    3435                 :          20 :                   if (TREE_TYPE (_o3[0]) != utype)
    3436                 :             :                     {
    3437                 :          10 :                       _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    3438                 :             :                     }
    3439                 :             :                   else
    3440                 :             :                     _r3 = _o3[0];
    3441                 :          20 :                   _o2[1] = _r3;
    3442                 :             :                 }
    3443                 :          20 :                 _r2 = fold_build2_loc (loc, op, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    3444                 :          20 :                 _o1[0] = _r2;
    3445                 :             :               }
    3446                 :          20 :               {
    3447                 :          20 :                 tree _o2[1], _r2;
    3448                 :          20 :                 _o2[0] = captures[5];
    3449                 :          20 :                 if (TREE_TYPE (_o2[0]) != utype)
    3450                 :             :                   {
    3451                 :          10 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    3452                 :             :                   }
    3453                 :             :                 else
    3454                 :             :                   _r2 = _o2[0];
    3455                 :          20 :                 _o1[1] = _r2;
    3456                 :             :               }
    3457                 :          20 :               _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3458                 :          20 :               res_op0 = _r1;
    3459                 :             :             }
    3460                 :          20 :             tree _r;
    3461                 :          20 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3462                 :          20 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 663, __FILE__, __LINE__, true);
    3463                 :          20 :             return _r;
    3464                 :             :           }
    3465                 :          60 : next_after_fail960:;
    3466                 :             :         }
    3467                 :             :   }
    3468                 :          60 :   return NULL_TREE;
    3469                 :             : }
    3470                 :             : 
    3471                 :             : tree
    3472                 :         234 : generic_simplify_426 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3473                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3474                 :             :  const combined_fn ARG_UNUSED (bswap))
    3475                 :             : {
    3476                 :         234 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3477                 :         234 :   if (BITS_PER_UNIT == 8
    3478                 :         234 :  && tree_fits_uhwi_p (captures[3])
    3479                 :         234 :  && tree_fits_uhwi_p (captures[4])
    3480                 :             : )
    3481                 :             :     {
    3482                 :         234 :       {
    3483                 :         234 :  unsigned HOST_WIDE_INT prec = TYPE_PRECISION (TREE_TYPE (captures[1]));
    3484                 :         234 :  unsigned HOST_WIDE_INT bits = tree_to_uhwi (captures[3]);
    3485                 :         234 :  unsigned HOST_WIDE_INT mask = tree_to_uhwi (captures[4]);
    3486                 :         234 :  unsigned HOST_WIDE_INT lo = bits & 7;
    3487                 :         234 :  unsigned HOST_WIDE_INT hi = bits - lo;
    3488                 :         234 :           if (bits < prec
    3489                 :         234 :  && mask < (256u>>lo)
    3490                 :         468 :  && bits < TYPE_PRECISION (TREE_TYPE(captures[0]))
    3491                 :             : )
    3492                 :             :             {
    3493                 :         234 :               {
    3494                 :         234 :  unsigned HOST_WIDE_INT ns = (prec - (hi + 8)) + lo;
    3495                 :         234 :                   if (ns == 0
    3496                 :             : )
    3497                 :             :                     {
    3498                 :           1 :                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail979;
    3499                 :           1 :                       if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail979;
    3500                 :           1 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail979;
    3501                 :           1 :                       {
    3502                 :           1 :                         tree res_op0;
    3503                 :           1 :                         {
    3504                 :           1 :                           tree _o1[1], _r1;
    3505                 :           1 :                           _o1[0] = captures[2];
    3506                 :           1 :                           if (TREE_TYPE (_o1[0]) != type)
    3507                 :             :                             {
    3508                 :           1 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3509                 :             :                             }
    3510                 :             :                           else
    3511                 :             :                             _r1 = _o1[0];
    3512                 :           1 :                           res_op0 = _r1;
    3513                 :             :                         }
    3514                 :           1 :                         tree res_op1;
    3515                 :           1 :                         res_op1 = captures[4];
    3516                 :           1 :                         tree _r;
    3517                 :           1 :                         _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3518                 :           1 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 678, __FILE__, __LINE__, true);
    3519                 :           1 :                         return _r;
    3520                 :             :                       }
    3521                 :             : next_after_fail979:;
    3522                 :             :                     }
    3523                 :             :                   else
    3524                 :             :                     {
    3525                 :         233 :                       {
    3526                 :         233 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
    3527                 :         233 :  tree nst = build_int_cst (integer_type_node, ns);
    3528                 :         233 :                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail980;
    3529                 :         233 :                           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail980;
    3530                 :         233 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail980;
    3531                 :         233 :                           {
    3532                 :         233 :                             tree res_op0;
    3533                 :         233 :                             {
    3534                 :         233 :                               tree _o1[1], _r1;
    3535                 :         233 :                               {
    3536                 :         233 :                                 tree _o2[2], _r2;
    3537                 :         233 :                                 {
    3538                 :         233 :                                   tree _o3[1], _r3;
    3539                 :         233 :                                   _o3[0] = captures[2];
    3540                 :         233 :                                   if (TREE_TYPE (_o3[0]) != utype)
    3541                 :             :                                     {
    3542                 :           0 :                                       _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    3543                 :             :                                     }
    3544                 :             :                                   else
    3545                 :             :                                     _r3 = _o3[0];
    3546                 :         233 :                                   _o2[0] = _r3;
    3547                 :             :                                 }
    3548                 :         233 :                                 _o2[1] = nst;
    3549                 :         233 :                                 _r2 = fold_build2_loc (loc, RSHIFT_EXPR, utype, _o2[0], _o2[1]);
    3550                 :         233 :                                 _o1[0] = _r2;
    3551                 :             :                               }
    3552                 :         233 :                               if (TREE_TYPE (_o1[0]) != type)
    3553                 :             :                                 {
    3554                 :         101 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3555                 :             :                                 }
    3556                 :             :                               else
    3557                 :             :                                 _r1 = _o1[0];
    3558                 :         233 :                               res_op0 = _r1;
    3559                 :             :                             }
    3560                 :         233 :                             tree res_op1;
    3561                 :         233 :                             res_op1 = captures[4];
    3562                 :         233 :                             tree _r;
    3563                 :         233 :                             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3564                 :         233 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 679, __FILE__, __LINE__, true);
    3565                 :         233 :                             return _r;
    3566                 :             :                           }
    3567                 :             : next_after_fail980:;
    3568                 :             :                       }
    3569                 :             :                     }
    3570                 :             :               }
    3571                 :             :             }
    3572                 :             :       }
    3573                 :             :     }
    3574                 :             :   return NULL_TREE;
    3575                 :             : }
    3576                 :             : 
    3577                 :             : tree
    3578                 :           4 : generic_simplify_440 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3579                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3580                 :             : {
    3581                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3582                 :           4 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1028;
    3583                 :           4 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1028;
    3584                 :           4 :   {
    3585                 :           4 :     tree _r;
    3586                 :           4 :     _r = captures[2];
    3587                 :           4 :     if (TREE_SIDE_EFFECTS (captures[1]))
    3588                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3589                 :           4 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 699, __FILE__, __LINE__, true);
    3590                 :             :     return _r;
    3591                 :             :   }
    3592                 :             : next_after_fail1028:;
    3593                 :             :   return NULL_TREE;
    3594                 :             : }
    3595                 :             : 
    3596                 :             : tree
    3597                 :           4 : generic_simplify_441 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3598                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3599                 :             : {
    3600                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3601                 :           4 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1029;
    3602                 :           4 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1029;
    3603                 :           4 :   {
    3604                 :           4 :     tree _r;
    3605                 :           4 :     _r = captures[2];
    3606                 :           4 :     if (TREE_SIDE_EFFECTS (captures[1]))
    3607                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3608                 :           4 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 700, __FILE__, __LINE__, true);
    3609                 :             :     return _r;
    3610                 :             :   }
    3611                 :             : next_after_fail1029:;
    3612                 :             :   return NULL_TREE;
    3613                 :             : }
    3614                 :             : 
    3615                 :             : tree
    3616                 :       49426 : generic_simplify_443 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3617                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3618                 :             :  const enum tree_code ARG_UNUSED (shift))
    3619                 :             : {
    3620                 :       49426 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3621                 :       49426 :   if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    3622                 :       49426 :  && TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT
    3623                 :       49414 :  && tree_fits_uhwi_p (captures[4])
    3624                 :       49414 :  && tree_to_uhwi (captures[4]) > 0
    3625                 :       98839 :  && tree_to_uhwi (captures[4]) < TYPE_PRECISION (type)
    3626                 :             : )
    3627                 :             :     {
    3628                 :       49413 :       {
    3629                 :       49413 :  unsigned int shiftc = tree_to_uhwi (captures[4]);
    3630                 :       49413 :  unsigned HOST_WIDE_INT mask = TREE_INT_CST_LOW (captures[5]);
    3631                 :       49413 :  unsigned HOST_WIDE_INT newmask, zerobits = 0;
    3632                 :       49413 :  tree shift_type = TREE_TYPE (captures[2]);
    3633                 :       49413 :  unsigned int prec;
    3634                 :       49413 :  if (shift == LSHIFT_EXPR)
    3635                 :        4756 :  zerobits = ((HOST_WIDE_INT_1U << shiftc) - 1);
    3636                 :       44657 :  else if (shift == RSHIFT_EXPR
    3637                 :       44657 :  && type_has_mode_precision_p (shift_type))
    3638                 :             :  {
    3639                 :       44657 :  prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
    3640                 :       44657 :  tree arg00 = captures[3];
    3641                 :       44657 :  if (captures[2] != captures[3]
    3642                 :       44657 :  && TYPE_UNSIGNED (TREE_TYPE (captures[3])))
    3643                 :             :  {
    3644                 :       44399 :  tree inner_type = TREE_TYPE (captures[3]);
    3645                 :       44399 :  if (type_has_mode_precision_p (inner_type)
    3646                 :       44399 :  && TYPE_PRECISION (inner_type) < prec)
    3647                 :             :  {
    3648                 :         117 :  prec = TYPE_PRECISION (inner_type);
    3649                 :         117 :  if (shiftc < prec)
    3650                 :         116 :  shift_type = inner_type;
    3651                 :             :  }
    3652                 :             :  }
    3653                 :       44657 :  zerobits = HOST_WIDE_INT_M1U;
    3654                 :       44657 :  if (shiftc < prec)
    3655                 :             :  {
    3656                 :       44656 :  zerobits >>= HOST_BITS_PER_WIDE_INT - shiftc;
    3657                 :       44656 :  zerobits <<= prec - shiftc;
    3658                 :             :  }
    3659                 :       44657 :  if (!TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    3660                 :       44657 :  && prec == TYPE_PRECISION (TREE_TYPE (captures[2])))
    3661                 :             :  {
    3662                 :         822 :  if ((mask & zerobits) == 0)
    3663                 :         815 :  shift_type = unsigned_type_for (TREE_TYPE (captures[2]));
    3664                 :             :  else
    3665                 :             :  zerobits = 0;
    3666                 :             :  }
    3667                 :             :  }
    3668                 :       49406 :           if ((mask & zerobits) == mask
    3669                 :             : )
    3670                 :             :             {
    3671                 :           1 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1031;
    3672                 :           1 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1031;
    3673                 :           1 :               if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1031;
    3674                 :           1 :               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1031;
    3675                 :           1 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1031;
    3676                 :           1 :               {
    3677                 :           1 :                 tree _r;
    3678                 :           1 :                 _r =  build_int_cst (type, 0);
    3679                 :           1 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 675, __FILE__, __LINE__, true);
    3680                 :           1 :                 return _r;
    3681                 :             :               }
    3682                 :             : next_after_fail1031:;
    3683                 :             :             }
    3684                 :             :           else
    3685                 :             :             {
    3686                 :       49412 :               {
    3687                 :       49412 :  newmask = mask | zerobits;
    3688                 :       49412 :                   if (newmask != mask && (newmask & (newmask + 1)) == 0
    3689                 :             : )
    3690                 :             :                     {
    3691                 :             :                       {
    3692                 :        6744 :  for (prec = BITS_PER_UNIT;
    3693                 :       10153 :  prec < HOST_BITS_PER_WIDE_INT; prec <<= 1)
    3694                 :        8153 :  if (newmask == (HOST_WIDE_INT_1U << prec) - 1)
    3695                 :             :  break;
    3696                 :        3409 :                           if (prec < HOST_BITS_PER_WIDE_INT
    3697                 :        2000 :  || newmask == HOST_WIDE_INT_M1U
    3698                 :             : )
    3699                 :             :                             {
    3700                 :        1801 :                               {
    3701                 :        1801 :  tree newmaskt = build_int_cst_type (TREE_TYPE (captures[5]), newmask);
    3702                 :        1801 :                                   if (!tree_int_cst_equal (newmaskt, captures[5])
    3703                 :             : )
    3704                 :             :                                     {
    3705                 :        1801 :                                       if (shift_type != TREE_TYPE (captures[2])
    3706                 :             : )
    3707                 :             :                                         {
    3708                 :          79 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1032;
    3709                 :          79 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1032;
    3710                 :          79 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1032;
    3711                 :          79 :                                           {
    3712                 :          79 :                                             tree res_op0;
    3713                 :          79 :                                             {
    3714                 :          79 :                                               tree _o1[1], _r1;
    3715                 :          79 :                                               {
    3716                 :          79 :                                                 tree _o2[2], _r2;
    3717                 :          79 :                                                 {
    3718                 :          79 :                                                   tree _o3[1], _r3;
    3719                 :          79 :                                                   _o3[0] = captures[2];
    3720                 :          79 :                                                   if (TREE_TYPE (_o3[0]) != shift_type)
    3721                 :             :                                                     {
    3722                 :          79 :                                                       _r3 = fold_build1_loc (loc, NOP_EXPR, shift_type, _o3[0]);
    3723                 :             :                                                     }
    3724                 :             :                                                   else
    3725                 :             :                                                     _r3 = _o3[0];
    3726                 :          79 :                                                   _o2[0] = _r3;
    3727                 :             :                                                 }
    3728                 :          79 :                                                 _o2[1] = captures[4];
    3729                 :          79 :                                                 _r2 = fold_build2_loc (loc, shift, shift_type, _o2[0], _o2[1]);
    3730                 :          79 :                                                 _o1[0] = _r2;
    3731                 :             :                                               }
    3732                 :          79 :                                               if (TREE_TYPE (_o1[0]) != type)
    3733                 :             :                                                 {
    3734                 :          79 :                                                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3735                 :             :                                                 }
    3736                 :             :                                               else
    3737                 :             :                                                 _r1 = _o1[0];
    3738                 :          79 :                                               res_op0 = _r1;
    3739                 :             :                                             }
    3740                 :          79 :                                             tree res_op1;
    3741                 :          79 :                                             res_op1 =  newmaskt;
    3742                 :          79 :                                             tree _r;
    3743                 :          79 :                                             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3744                 :          79 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 676, __FILE__, __LINE__, true);
    3745                 :          79 :                                             return _r;
    3746                 :             :                                           }
    3747                 :             : next_after_fail1032:;
    3748                 :             :                                         }
    3749                 :             :                                       else
    3750                 :             :                                         {
    3751                 :        1722 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1033;
    3752                 :         835 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1033;
    3753                 :         835 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1033;
    3754                 :         835 :                                           {
    3755                 :         835 :                                             tree res_op0;
    3756                 :         835 :                                             res_op0 = captures[0];
    3757                 :         835 :                                             tree res_op1;
    3758                 :         835 :                                             res_op1 =  newmaskt;
    3759                 :         835 :                                             tree _r;
    3760                 :         835 :                                             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3761                 :         835 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 677, __FILE__, __LINE__, true);
    3762                 :         835 :                                             return _r;
    3763                 :             :                                           }
    3764                 :             : next_after_fail1033:;
    3765                 :             :                                         }
    3766                 :             :                                     }
    3767                 :             :                               }
    3768                 :             :                             }
    3769                 :             :                       }
    3770                 :             :                     }
    3771                 :             :               }
    3772                 :             :             }
    3773                 :             :       }
    3774                 :             :     }
    3775                 :             :   return NULL_TREE;
    3776                 :             : }
    3777                 :             : 
    3778                 :             : tree
    3779                 :         245 : generic_simplify_463 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3780                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3781                 :             :  const enum tree_code ARG_UNUSED (cmp),
    3782                 :             :  const enum tree_code ARG_UNUSED (icmp),
    3783                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    3784                 :             : {
    3785                 :         245 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3786                 :         245 :   if (VECTOR_TYPE_P (type)
    3787                 :         245 :  || (INTEGRAL_TYPE_P (type) && TYPE_PRECISION (type) == 1)
    3788                 :             : )
    3789                 :             :     {
    3790                 :          51 :       {
    3791                 :          51 :  enum tree_code ic = invert_tree_comparison
    3792                 :          51 :  (cmp, HONOR_NANS (captures[0]));
    3793                 :          51 :           if (ic == icmp
    3794                 :             : )
    3795                 :             :             {
    3796                 :          12 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1056;
    3797                 :          12 :               {
    3798                 :          12 :                 tree res_op0;
    3799                 :          12 :                 res_op0 = captures[0];
    3800                 :          12 :                 tree res_op1;
    3801                 :          12 :                 res_op1 = captures[1];
    3802                 :          12 :                 tree _r;
    3803                 :          12 :                 _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    3804                 :          12 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 718, __FILE__, __LINE__, true);
    3805                 :          12 :                 return _r;
    3806                 :             :               }
    3807                 :           0 : next_after_fail1056:;
    3808                 :             :             }
    3809                 :             :           else
    3810                 :             :             {
    3811                 :          39 :               if (ic == ncmp
    3812                 :             : )
    3813                 :             :                 {
    3814                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1057;
    3815                 :           0 :                   {
    3816                 :           0 :                     tree res_op0;
    3817                 :           0 :                     res_op0 = captures[0];
    3818                 :           0 :                     tree res_op1;
    3819                 :           0 :                     res_op1 = captures[1];
    3820                 :           0 :                     tree _r;
    3821                 :           0 :                     _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
    3822                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 719, __FILE__, __LINE__, true);
    3823                 :           0 :                     return _r;
    3824                 :             :                   }
    3825                 :           0 : next_after_fail1057:;
    3826                 :             :                 }
    3827                 :             :             }
    3828                 :             :       }
    3829                 :             :     }
    3830                 :             :   return NULL_TREE;
    3831                 :             : }
    3832                 :             : 
    3833                 :             : tree
    3834                 :          51 : generic_simplify_474 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3835                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3836                 :             :  const enum tree_code ARG_UNUSED (op))
    3837                 :             : {
    3838                 :          51 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3839                 :          51 :   if (bitwise_equal_p (captures[0], captures[2])
    3840                 :           1 :  && tree_expr_nonzero_p (captures[3])
    3841                 :          52 :  && expr_no_side_effects_p (captures[2])
    3842                 :             : )
    3843                 :             :     {
    3844                 :           1 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1069;
    3845                 :           1 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1069;
    3846                 :           1 :       if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1069;
    3847                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1069;
    3848                 :           1 :       {
    3849                 :           1 :         tree _r;
    3850                 :           1 :         _r = captures[1];
    3851                 :           1 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 730, __FILE__, __LINE__, true);
    3852                 :           1 :         return _r;
    3853                 :             :       }
    3854                 :             : next_after_fail1069:;
    3855                 :             :     }
    3856                 :             :   return NULL_TREE;
    3857                 :             : }
    3858                 :             : 
    3859                 :             : tree
    3860                 :           0 : generic_simplify_479 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3861                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3862                 :             :  const enum tree_code ARG_UNUSED (op))
    3863                 :             : {
    3864                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3865                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1076;
    3866                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1076;
    3867                 :           0 :   {
    3868                 :           0 :     tree _r;
    3869                 :           0 :     _r = captures[2];
    3870                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 737, __FILE__, __LINE__, true);
    3871                 :             :     return _r;
    3872                 :             :   }
    3873                 :             : next_after_fail1076:;
    3874                 :             :   return NULL_TREE;
    3875                 :             : }
    3876                 :             : 
    3877                 :             : tree
    3878                 :           0 : generic_simplify_487 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3879                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3880                 :             :  const enum tree_code ARG_UNUSED (op))
    3881                 :             : {
    3882                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3883                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1087;
    3884                 :           0 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1087;
    3885                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1087;
    3886                 :           0 :   {
    3887                 :           0 :     tree _r;
    3888                 :           0 :     _r = captures[2];
    3889                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 748, __FILE__, __LINE__, true);
    3890                 :             :     return _r;
    3891                 :             :   }
    3892                 :             : next_after_fail1087:;
    3893                 :             :   return NULL_TREE;
    3894                 :             : }
    3895                 :             : 
    3896                 :             : tree
    3897                 :           6 : generic_simplify_492 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3898                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3899                 :             :  const enum tree_code ARG_UNUSED (neeq),
    3900                 :             :  const combined_fn ARG_UNUSED (sign))
    3901                 :             : {
    3902                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3903                 :           6 :   if (neeq == NE_EXPR
    3904                 :             : )
    3905                 :             :     {
    3906                 :           3 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1092;
    3907                 :           3 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1092;
    3908                 :           3 :       {
    3909                 :           3 :         tree res_op0;
    3910                 :           3 :         res_op0 = captures[0];
    3911                 :           3 :         tree _r;
    3912                 :           3 :         _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
    3913                 :           3 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 753, __FILE__, __LINE__, true);
    3914                 :           3 :         return _r;
    3915                 :             :       }
    3916                 :             : next_after_fail1092:;
    3917                 :             :     }
    3918                 :             :   else
    3919                 :             :     {
    3920                 :           3 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1093;
    3921                 :           3 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1093;
    3922                 :           3 :       {
    3923                 :           3 :         tree res_op0;
    3924                 :           3 :         {
    3925                 :           3 :           tree _o1[1], _r1;
    3926                 :           3 :           _o1[0] = captures[0];
    3927                 :           3 :           _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3928                 :           3 :           res_op0 = _r1;
    3929                 :             :         }
    3930                 :           3 :         tree _r;
    3931                 :           3 :         _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    3932                 :           3 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 754, __FILE__, __LINE__, true);
    3933                 :           3 :         return _r;
    3934                 :             :       }
    3935                 :             : next_after_fail1093:;
    3936                 :             :     }
    3937                 :             :   return NULL_TREE;
    3938                 :             : }
    3939                 :             : 
    3940                 :             : tree
    3941                 :           2 : generic_simplify_503 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3942                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3943                 :             : {
    3944                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3945                 :           2 :   if (TREE_CODE (type) != COMPLEX_TYPE
    3946                 :           2 :  && (! ANY_INTEGRAL_TYPE_P (type)
    3947                 :           1 :  || TYPE_OVERFLOW_UNDEFINED (type))
    3948                 :             : )
    3949                 :             :     {
    3950                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1106;
    3951                 :           2 :       {
    3952                 :           2 :         tree res_op0;
    3953                 :           2 :         {
    3954                 :           2 :           tree _o1[1], _r1;
    3955                 :           2 :           _o1[0] = captures[0];
    3956                 :           2 :           _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3957                 :           2 :           res_op0 = _r1;
    3958                 :             :         }
    3959                 :           2 :         tree _r;
    3960                 :           2 :         _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    3961                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 765, __FILE__, __LINE__, true);
    3962                 :           2 :         return _r;
    3963                 :             :       }
    3964                 :           0 : next_after_fail1106:;
    3965                 :             :     }
    3966                 :             :   return NULL_TREE;
    3967                 :             : }
    3968                 :             : 
    3969                 :             : tree
    3970                 :           5 : generic_simplify_509 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3971                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3972                 :             :  const enum tree_code ARG_UNUSED (op),
    3973                 :             :  const enum tree_code ARG_UNUSED (logic))
    3974                 :             : {
    3975                 :           5 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3976                 :           5 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1124;
    3977                 :           5 :   {
    3978                 :           5 :     tree res_op0;
    3979                 :           5 :     res_op0 = captures[0];
    3980                 :           5 :     tree res_op1;
    3981                 :           5 :     res_op1 = captures[1];
    3982                 :           5 :     tree _r;
    3983                 :           5 :     _r = fold_build2_loc (loc, logic, type, res_op0, res_op1);
    3984                 :           5 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 771, __FILE__, __LINE__, true);
    3985                 :             :     return _r;
    3986                 :             :   }
    3987                 :           0 : next_after_fail1124:;
    3988                 :           0 :   return NULL_TREE;
    3989                 :             : }
    3990                 :             : 
    3991                 :             : tree
    3992                 :           0 : generic_simplify_512 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3993                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3994                 :             :  const combined_fn ARG_UNUSED (minmax))
    3995                 :             : {
    3996                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3997                 :           0 :   if (!tree_expr_maybe_signaling_nan_p (captures[0])
    3998                 :             : )
    3999                 :             :     {
    4000                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1127;
    4001                 :           0 :       {
    4002                 :           0 :         tree _r;
    4003                 :           0 :         _r = captures[0];
    4004                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 774, __FILE__, __LINE__, true);
    4005                 :           0 :         return _r;
    4006                 :             :       }
    4007                 :           0 : next_after_fail1127:;
    4008                 :             :     }
    4009                 :             :   return NULL_TREE;
    4010                 :             : }
    4011                 :             : 
    4012                 :             : tree
    4013                 :           0 : generic_simplify_517 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4014                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    4015                 :             :  const enum tree_code ARG_UNUSED (rotate),
    4016                 :             :  const enum tree_code ARG_UNUSED (orotate))
    4017                 :             : {
    4018                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4019                 :           0 :   {
    4020                 :           0 :  auto prec = element_precision (TREE_TYPE (captures[0]));
    4021                 :           0 :       if (prec == wi::to_wide (captures[2])
    4022                 :             : )
    4023                 :             :         {
    4024                 :           0 :           if (expr_not_equal_to (captures[3], wi::uhwi (prec,
    4025                 :           0 :  TYPE_PRECISION (TREE_TYPE (captures[3]))))
    4026                 :             : )
    4027                 :             :             {
    4028                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1132;
    4029                 :           0 :               {
    4030                 :           0 :                 tree res_op0;
    4031                 :           0 :                 res_op0 = captures[0];
    4032                 :           0 :                 tree res_op1;
    4033                 :           0 :                 res_op1 = captures[3];
    4034                 :           0 :                 tree _r;
    4035                 :           0 :                 _r = fold_build2_loc (loc, orotate, type, res_op0, res_op1);
    4036                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    4037                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    4038                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 779, __FILE__, __LINE__, true);
    4039                 :           0 :                 return _r;
    4040                 :             :               }
    4041                 :           0 : next_after_fail1132:;
    4042                 :             :             }
    4043                 :             :           else
    4044                 :             :             {
    4045                 :           0 :               if (single_use (captures[1])
    4046                 :           0 :  && pow2p_hwi (prec)
    4047                 :           0 :  && cfun
    4048                 :           0 :  && (fold_before_rtl_expansion_p ()
    4049                 :           0 :  || !flag_tree_vrp
    4050                 :           0 :  || optimize_debug)
    4051                 :             : )
    4052                 :             :                 {
    4053                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1133;
    4054                 :           0 :                   {
    4055                 :           0 :                     tree res_op0;
    4056                 :           0 :                     res_op0 = captures[0];
    4057                 :           0 :                     tree res_op1;
    4058                 :           0 :                     {
    4059                 :           0 :                       tree _o1[2], _r1;
    4060                 :           0 :                       _o1[0] = captures[3];
    4061                 :           0 :                       _o1[1] =  build_int_cst (TREE_TYPE (captures[3]), prec - 1);
    4062                 :           0 :                       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4063                 :           0 :                       res_op1 = _r1;
    4064                 :             :                     }
    4065                 :           0 :                     tree _r;
    4066                 :           0 :                     _r = fold_build2_loc (loc, orotate, type, res_op0, res_op1);
    4067                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[2]))
    4068                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    4069                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 780, __FILE__, __LINE__, true);
    4070                 :           0 :                     return _r;
    4071                 :             :                   }
    4072                 :           0 : next_after_fail1133:;
    4073                 :             :                 }
    4074                 :             :             }
    4075                 :             :         }
    4076                 :             :   }
    4077                 :           0 :   return NULL_TREE;
    4078                 :             : }
    4079                 :             : 
    4080                 :             : tree
    4081                 :           0 : generic_simplify_536 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4082                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    4083                 :             :  const combined_fn ARG_UNUSED (cond_op))
    4084                 :             : {
    4085                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4086                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1154;
    4087                 :           0 :   {
    4088                 :           0 :     tree res_op0;
    4089                 :           0 :     {
    4090                 :           0 :       tree _o1[2], _r1;
    4091                 :           0 :       _o1[0] = captures[2];
    4092                 :           0 :       _o1[1] = captures[0];
    4093                 :           0 :       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4094                 :           0 :       res_op0 = _r1;
    4095                 :             :     }
    4096                 :           0 :     tree res_op1;
    4097                 :           0 :     res_op1 = captures[3];
    4098                 :           0 :     tree res_op2;
    4099                 :           0 :     res_op2 = captures[4];
    4100                 :           0 :     tree res_op3;
    4101                 :           0 :     res_op3 = captures[5];
    4102                 :           0 :     tree _r;
    4103                 :           0 :     _r = maybe_build_call_expr_loc (loc, cond_op, type, 4, res_op0, res_op1, res_op2, res_op3);
    4104                 :           0 :     if (!_r)
    4105                 :           0 :       goto next_after_fail1154;
    4106                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 796, __FILE__, __LINE__, true);
    4107                 :             :     return _r;
    4108                 :             :   }
    4109                 :             : next_after_fail1154:;
    4110                 :             :   return NULL_TREE;
    4111                 :             : }
    4112                 :             : 
    4113                 :             : tree
    4114                 :           0 : generic_simplify_544 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4115                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4116                 :             :  const combined_fn ARG_UNUSED (logs))
    4117                 :             : {
    4118                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4119                 :           0 :   if (flag_unsafe_math_optimizations
    4120                 :             : )
    4121                 :             :     {
    4122                 :           0 :       if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    4123                 :           0 :  && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
    4124                 :           0 :  && ! flag_trapping_math
    4125                 :           0 :  && ! flag_errno_math
    4126                 :             : )
    4127                 :             :         {
    4128                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1162;
    4129                 :           0 :           {
    4130                 :           0 :             tree res_op0;
    4131                 :           0 :             {
    4132                 :           0 :               tree _o1[1], _r1;
    4133                 :           0 :               _o1[0] = captures[1];
    4134                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, logs, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4135                 :           0 :               if (!_r1)
    4136                 :           0 :                 goto next_after_fail1162;
    4137                 :           0 :               if (EXPR_P (_r1))
    4138                 :           0 :                 goto next_after_fail1162;
    4139                 :           0 :               res_op0 = _r1;
    4140                 :             :             }
    4141                 :           0 :             tree res_op1;
    4142                 :           0 :             {
    4143                 :           0 :               tree _o1[1], _r1;
    4144                 :           0 :               _o1[0] = captures[2];
    4145                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, logs, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4146                 :           0 :               if (!_r1)
    4147                 :           0 :                 goto next_after_fail1162;
    4148                 :           0 :               res_op1 = _r1;
    4149                 :             :             }
    4150                 :           0 :             tree _r;
    4151                 :           0 :             _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    4152                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 804, __FILE__, __LINE__, true);
    4153                 :           0 :             return _r;
    4154                 :             :           }
    4155                 :             : next_after_fail1162:;
    4156                 :             :         }
    4157                 :             :     }
    4158                 :             :   return NULL_TREE;
    4159                 :             : }
    4160                 :             : 
    4161                 :             : tree
    4162                 :           0 : generic_simplify_558 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4163                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4164                 :             :  const combined_fn ARG_UNUSED (floors))
    4165                 :             : {
    4166                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4167                 :           0 :   if (canonicalize_math_p ()
    4168                 :             : )
    4169                 :             :     {
    4170                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1176;
    4171                 :           0 :       {
    4172                 :           0 :         tree res_op0;
    4173                 :           0 :         res_op0 = captures[0];
    4174                 :           0 :         tree _r;
    4175                 :           0 :         _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    4176                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 818, __FILE__, __LINE__, true);
    4177                 :           0 :         return _r;
    4178                 :             :       }
    4179                 :           0 : next_after_fail1176:;
    4180                 :             :     }
    4181                 :             :   return NULL_TREE;
    4182                 :             : }
    4183                 :             : 
    4184                 :             : tree
    4185                 :           0 : generic_simplify_566 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4186                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    4187                 :             :  const combined_fn ARG_UNUSED (fmas))
    4188                 :             : {
    4189                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4190                 :           0 :   if (canonicalize_math_after_vectorization_p ()
    4191                 :             : )
    4192                 :             :     {
    4193                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1184;
    4194                 :             :       {
    4195                 :             :         tree res_op0;
    4196                 :             :         res_op0 = captures[0];
    4197                 :             :         tree res_op1;
    4198                 :             :         res_op1 = captures[1];
    4199                 :             :         tree res_op2;
    4200                 :             :         res_op2 = captures[2];
    4201                 :             :         tree _r;
    4202                 :             :         _r = maybe_build_call_expr_loc (loc, CFN_FNMS, type, 3, res_op0, res_op1, res_op2);
    4203                 :             :         if (!_r)
    4204                 :             :           goto next_after_fail1184;
    4205                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 826, __FILE__, __LINE__, true);
    4206                 :             :         return _r;
    4207                 :             :       }
    4208                 :           0 : next_after_fail1184:;
    4209                 :             :     }
    4210                 :           0 :   return NULL_TREE;
    4211                 :             : }
    4212                 :             : 
    4213                 :             : tree
    4214                 :           0 : generic_simplify_576 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4215                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4216                 :             :  const combined_fn ARG_UNUSED (ctz))
    4217                 :             : {
    4218                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4219                 :           0 :   {
    4220                 :           0 :  tree t = TREE_TYPE (captures[0]);
    4221                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1194;
    4222                 :           0 :       {
    4223                 :           0 :         tree res_op0;
    4224                 :           0 :         {
    4225                 :           0 :           tree _o1[1], _r1;
    4226                 :           0 :           _o1[0] = captures[1];
    4227                 :           0 :           if (TREE_TYPE (_o1[0]) != t)
    4228                 :             :             {
    4229                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, t, _o1[0]);
    4230                 :             :             }
    4231                 :             :           else
    4232                 :             :             _r1 = _o1[0];
    4233                 :           0 :           res_op0 = _r1;
    4234                 :             :         }
    4235                 :           0 :         tree _r;
    4236                 :           0 :         _r = maybe_build_call_expr_loc (loc, ctz, type, 1, res_op0);
    4237                 :           0 :         if (!_r)
    4238                 :           0 :           goto next_after_fail1194;
    4239                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 834, __FILE__, __LINE__, true);
    4240                 :             :         return _r;
    4241                 :             :       }
    4242                 :             : next_after_fail1194:;
    4243                 :             :   }
    4244                 :             :   return NULL_TREE;
    4245                 :             : }
    4246                 :             : 
    4247                 :             : tree
    4248                 :           0 : generic_simplify_586 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4249                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4250                 :             :  const combined_fn ARG_UNUSED (bswap),
    4251                 :             :  const combined_fn ARG_UNUSED (parity))
    4252                 :             : {
    4253                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4254                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    4255                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    4256                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[0]))
    4257                 :           0 :  >= TYPE_PRECISION (TREE_TYPE (captures[1]))
    4258                 :             : )
    4259                 :             :     {
    4260                 :           0 :       {
    4261                 :           0 :  tree type0 = TREE_TYPE (captures[0]);
    4262                 :           0 :  tree type1 = TREE_TYPE (captures[1]);
    4263                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1205;
    4264                 :           0 :           {
    4265                 :           0 :             tree res_op0;
    4266                 :           0 :             {
    4267                 :           0 :               tree _o1[1], _r1;
    4268                 :           0 :               {
    4269                 :           0 :                 tree _o2[1], _r2;
    4270                 :           0 :                 _o2[0] = captures[2];
    4271                 :           0 :                 if (TREE_TYPE (_o2[0]) != type1)
    4272                 :             :                   {
    4273                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, type1, _o2[0]);
    4274                 :             :                   }
    4275                 :             :                 else
    4276                 :             :                   _r2 = _o2[0];
    4277                 :           0 :                 _o1[0] = _r2;
    4278                 :             :               }
    4279                 :           0 :               if (TREE_TYPE (_o1[0]) != type0)
    4280                 :             :                 {
    4281                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
    4282                 :             :                 }
    4283                 :             :               else
    4284                 :             :                 _r1 = _o1[0];
    4285                 :           0 :               res_op0 = _r1;
    4286                 :             :             }
    4287                 :           0 :             tree _r;
    4288                 :           0 :             _r = maybe_build_call_expr_loc (loc, parity, type, 1, res_op0);
    4289                 :           0 :             if (!_r)
    4290                 :           0 :               goto next_after_fail1205;
    4291                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    4292                 :           0 :             return _r;
    4293                 :             :           }
    4294                 :             : next_after_fail1205:;
    4295                 :             :       }
    4296                 :             :     }
    4297                 :             :   return NULL_TREE;
    4298                 :             : }
    4299                 :             : 
    4300                 :             : tree
    4301                 :     3816095 : generic_simplify_NEGATE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    4302                 :             : {
    4303                 :     3816095 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4304                 :     3816095 :   switch (TREE_CODE (_p0))
    4305                 :             :     {
    4306                 :       39455 :     case PLUS_EXPR:
    4307                 :       39455 :       {
    4308                 :       39455 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4309                 :       39455 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4310                 :       39455 :         if (tree_negate_expr_p (_q21))
    4311                 :             :           {
    4312                 :       38339 :             {
    4313                 :       38339 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4314                 :       38339 :               tree res = generic_simplify_464 (loc, type, _p0, captures);
    4315                 :       38339 :               if (res) return res;
    4316                 :             :             }
    4317                 :             :           }
    4318                 :        1116 :         if (tree_negate_expr_p (_q20))
    4319                 :             :           {
    4320                 :           9 :             {
    4321                 :           9 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    4322                 :           9 :               tree res = generic_simplify_464 (loc, type, _p0, captures);
    4323                 :           9 :               if (res) return res;
    4324                 :             :             }
    4325                 :             :           }
    4326                 :             :         break;
    4327                 :             :       }
    4328                 :      108929 :     case MINUS_EXPR:
    4329                 :      108929 :       {
    4330                 :      108929 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4331                 :      108929 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4332                 :      108929 :         {
    4333                 :      108929 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4334                 :      108929 :           if ((ANY_INTEGRAL_TYPE_P (type) && !TYPE_OVERFLOW_SANITIZED (type))
    4335                 :      189198 :  || (FLOAT_TYPE_P (type)
    4336                 :       80269 :  && !HONOR_SIGN_DEPENDENT_ROUNDING (type)
    4337                 :       80269 :  && !HONOR_SIGNED_ZEROS (type))
    4338                 :             : )
    4339                 :             :             {
    4340                 :       28717 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1251;
    4341                 :       28717 :               {
    4342                 :       28717 :                 tree res_op0;
    4343                 :       28717 :                 res_op0 = captures[1];
    4344                 :       28717 :                 tree res_op1;
    4345                 :       28717 :                 res_op1 = captures[0];
    4346                 :       28717 :                 tree _r;
    4347                 :       28717 :                 _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    4348                 :       28717 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 877, __FILE__, __LINE__, true);
    4349                 :       28717 :                 return _r;
    4350                 :             :               }
    4351                 :           0 : next_after_fail1251:;
    4352                 :             :             }
    4353                 :             :         }
    4354                 :       80212 :         break;
    4355                 :             :       }
    4356                 :          16 :     case POINTER_DIFF_EXPR:
    4357                 :          16 :       {
    4358                 :          16 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4359                 :          16 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4360                 :          16 :         {
    4361                 :          16 :           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4362                 :          16 :           tree res = generic_simplify_465 (loc, type, _p0, captures);
    4363                 :          16 :           if (res) return res;
    4364                 :             :         }
    4365                 :           0 :         break;
    4366                 :             :       }
    4367                 :        4042 :     case MULT_EXPR:
    4368                 :        4042 :       {
    4369                 :        4042 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4370                 :        4042 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4371                 :        4042 :         if (tree_negate_expr_p (_q21))
    4372                 :             :           {
    4373                 :        1753 :             {
    4374                 :        1753 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4375                 :        1753 :               tree res = generic_simplify_468 (loc, type, _p0, captures);
    4376                 :        1753 :               if (res) return res;
    4377                 :             :             }
    4378                 :             :           }
    4379                 :        2724 :         if (tree_negate_expr_p (_q20))
    4380                 :             :           {
    4381                 :          27 :             {
    4382                 :          27 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    4383                 :          27 :               tree res = generic_simplify_468 (loc, type, _p0, captures);
    4384                 :          27 :               if (res) return res;
    4385                 :             :             }
    4386                 :             :           }
    4387                 :             :         break;
    4388                 :             :       }
    4389                 :         188 :     case RDIV_EXPR:
    4390                 :         188 :       {
    4391                 :         188 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4392                 :         188 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4393                 :         188 :         if (tree_negate_expr_p (_q21))
    4394                 :             :           {
    4395                 :          60 :             {
    4396                 :          60 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4397                 :          60 :               if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    4398                 :          60 :  && single_use (captures[0])
    4399                 :             : )
    4400                 :             :                 {
    4401                 :          60 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1252;
    4402                 :          60 :                   {
    4403                 :          60 :                     tree res_op0;
    4404                 :          60 :                     res_op0 = captures[1];
    4405                 :          60 :                     tree res_op1;
    4406                 :          60 :                     {
    4407                 :          60 :                       tree _o1[1], _r1;
    4408                 :          60 :                       _o1[0] = captures[2];
    4409                 :          60 :                       _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4410                 :          60 :                       res_op1 = _r1;
    4411                 :             :                     }
    4412                 :          60 :                     tree _r;
    4413                 :          60 :                     _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
    4414                 :          60 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 878, __FILE__, __LINE__, true);
    4415                 :          60 :                     return _r;
    4416                 :             :                   }
    4417                 :           0 : next_after_fail1252:;
    4418                 :             :                 }
    4419                 :             :             }
    4420                 :             :           }
    4421                 :         128 :         if (tree_negate_expr_p (_q20))
    4422                 :             :           {
    4423                 :           0 :             {
    4424                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4425                 :           0 :               if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    4426                 :           0 :  && single_use (captures[0])
    4427                 :             : )
    4428                 :             :                 {
    4429                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1253;
    4430                 :           0 :                   {
    4431                 :           0 :                     tree res_op0;
    4432                 :           0 :                     {
    4433                 :           0 :                       tree _o1[1], _r1;
    4434                 :           0 :                       _o1[0] = captures[1];
    4435                 :           0 :                       _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4436                 :           0 :                       res_op0 = _r1;
    4437                 :             :                     }
    4438                 :           0 :                     tree res_op1;
    4439                 :           0 :                     res_op1 = captures[2];
    4440                 :           0 :                     tree _r;
    4441                 :           0 :                     _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
    4442                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 879, __FILE__, __LINE__, true);
    4443                 :           0 :                     return _r;
    4444                 :             :                   }
    4445                 :           0 : next_after_fail1253:;
    4446                 :             :                 }
    4447                 :             :             }
    4448                 :             :           }
    4449                 :             :         break;
    4450                 :             :       }
    4451                 :      819785 :     CASE_CONVERT:
    4452                 :      819785 :       {
    4453                 :      819785 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4454                 :      819785 :         switch (TREE_CODE (_q20))
    4455                 :             :           {
    4456                 :          58 :           case RSHIFT_EXPR:
    4457                 :          58 :             {
    4458                 :          58 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4459                 :          58 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4460                 :          58 :               switch (TREE_CODE (_q31))
    4461                 :             :                 {
    4462                 :          43 :                 case INTEGER_CST:
    4463                 :          43 :                   {
    4464                 :          43 :                     {
    4465                 :          43 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    4466                 :          43 :                       tree res = generic_simplify_469 (loc, type, _p0, captures);
    4467                 :          43 :                       if (res) return res;
    4468                 :             :                     }
    4469                 :          36 :                     break;
    4470                 :             :                   }
    4471                 :             :                 default:;
    4472                 :             :                 }
    4473                 :             :               break;
    4474                 :             :             }
    4475                 :         138 :           case NEGATE_EXPR:
    4476                 :         138 :             {
    4477                 :         138 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4478                 :         138 :               {
    4479                 :         138 :                 tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4480                 :         138 :                 if (!TYPE_SATURATING (type)
    4481                 :             : )
    4482                 :             :                   {
    4483                 :         138 :                     if (INTEGRAL_TYPE_P (type)
    4484                 :         138 :  && (TYPE_PRECISION (type) <= TYPE_PRECISION (TREE_TYPE (captures[0]))
    4485                 :          17 :  || (!TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    4486                 :          32 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))))
    4487                 :         137 :  && !TYPE_OVERFLOW_SANITIZED (type)
    4488                 :         291 :  && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
    4489                 :             : )
    4490                 :             :                       {
    4491                 :         137 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1254;
    4492                 :         137 :                         {
    4493                 :         137 :                           tree res_op0;
    4494                 :         137 :                           res_op0 = captures[0];
    4495                 :         137 :                           tree _r;
    4496                 :         137 :                           _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4497                 :         137 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 880, __FILE__, __LINE__, true);
    4498                 :         137 :                           return _r;
    4499                 :             :                         }
    4500                 :           0 : next_after_fail1254:;
    4501                 :             :                       }
    4502                 :             :                   }
    4503                 :             :               }
    4504                 :             :               break;
    4505                 :             :             }
    4506                 :      819641 :           default:;
    4507                 :             :           }
    4508                 :      819641 :       {
    4509                 :      819641 :         tree _q20_pops[1];
    4510                 :      819641 :         if (tree_logical_inverted_value (_q20, _q20_pops))
    4511                 :             :           {
    4512                 :           1 :             tree _q30 = _q20_pops[0];
    4513                 :           1 :             {
    4514                 :           1 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4515                 :           1 :               if (INTEGRAL_TYPE_P (type)
    4516                 :           1 :  && TREE_CODE (type) != BOOLEAN_TYPE
    4517                 :           1 :  && TYPE_PRECISION (type) > 1
    4518                 :           1 :  && TREE_CODE (captures[2]) == SSA_NAME
    4519                 :           1 :  && ssa_name_has_boolean_range (captures[2])
    4520                 :             : )
    4521                 :             :                 {
    4522                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1255;
    4523                 :           0 :                   {
    4524                 :           0 :                     tree res_op0;
    4525                 :           0 :                     {
    4526                 :           0 :                       tree _o1[1], _r1;
    4527                 :           0 :                       _o1[0] = captures[2];
    4528                 :           0 :                       if (TREE_TYPE (_o1[0]) != type)
    4529                 :             :                         {
    4530                 :           0 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    4531                 :             :                         }
    4532                 :             :                       else
    4533                 :             :                         _r1 = _o1[0];
    4534                 :           0 :                       res_op0 = _r1;
    4535                 :             :                     }
    4536                 :           0 :                     tree res_op1;
    4537                 :           0 :                     res_op1 =  build_all_ones_cst (type);
    4538                 :           0 :                     tree _r;
    4539                 :           0 :                     _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    4540                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 881, __FILE__, __LINE__, true);
    4541                 :           0 :                     return _r;
    4542                 :             :                   }
    4543                 :           0 : next_after_fail1255:;
    4544                 :             :                 }
    4545                 :             :             }
    4546                 :             :           }
    4547                 :             :       }
    4548                 :      819641 :       if (tree_negate_expr_p (_q20))
    4549                 :             :         {
    4550                 :        1382 :           {
    4551                 :        1382 :             tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4552                 :        1382 :             if (!TYPE_SATURATING (type)
    4553                 :             : )
    4554                 :             :               {
    4555                 :        1382 :                 if (SCALAR_FLOAT_TYPE_P (type)
    4556                 :        1382 :  && ((DECIMAL_FLOAT_TYPE_P (type)
    4557                 :           0 :  == DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    4558                 :           0 :  && TYPE_PRECISION (type) >= TYPE_PRECISION (TREE_TYPE (captures[0])))
    4559                 :           0 :  || !HONOR_SIGN_DEPENDENT_ROUNDING (type))
    4560                 :             : )
    4561                 :             :                   {
    4562                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1256;
    4563                 :           0 :                     {
    4564                 :           0 :                       tree res_op0;
    4565                 :           0 :                       {
    4566                 :           0 :                         tree _o1[1], _r1;
    4567                 :           0 :                         _o1[0] = captures[0];
    4568                 :           0 :                         _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4569                 :           0 :                         res_op0 = _r1;
    4570                 :             :                       }
    4571                 :           0 :                       tree _r;
    4572                 :           0 :                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4573                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 882, __FILE__, __LINE__, true);
    4574                 :           0 :                       return _r;
    4575                 :             :                     }
    4576                 :           0 : next_after_fail1256:;
    4577                 :             :                   }
    4578                 :             :               }
    4579                 :             :           }
    4580                 :             :         }
    4581                 :             :         break;
    4582                 :             :       }
    4583                 :         359 :     case RSHIFT_EXPR:
    4584                 :         359 :       {
    4585                 :         359 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4586                 :         359 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4587                 :         359 :         switch (TREE_CODE (_q21))
    4588                 :             :           {
    4589                 :         341 :           case INTEGER_CST:
    4590                 :         341 :             {
    4591                 :         341 :               {
    4592                 :         341 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4593                 :         341 :                 tree res = generic_simplify_469 (loc, type, _p0, captures);
    4594                 :         341 :                 if (res) return res;
    4595                 :             :               }
    4596                 :         304 :               break;
    4597                 :             :             }
    4598                 :             :           default:;
    4599                 :             :           }
    4600                 :             :         break;
    4601                 :             :       }
    4602                 :         147 :     case BIT_NOT_EXPR:
    4603                 :         147 :       {
    4604                 :         147 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4605                 :         147 :         {
    4606                 :         147 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4607                 :         147 :           tree res = generic_simplify_466 (loc, type, _p0, captures);
    4608                 :         147 :           if (res) return res;
    4609                 :             :         }
    4610                 :           0 :         break;
    4611                 :             :       }
    4612                 :        3968 :     case NEGATE_EXPR:
    4613                 :        3968 :       {
    4614                 :        3968 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4615                 :        3968 :         {
    4616                 :        3968 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4617                 :        3968 :           tree res = generic_simplify_467 (loc, type, _p0, captures);
    4618                 :        3968 :           if (res) return res;
    4619                 :             :         }
    4620                 :          13 :         break;
    4621                 :             :       }
    4622                 :          72 :     case VEC_COND_EXPR:
    4623                 :          72 :       {
    4624                 :          72 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4625                 :          72 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4626                 :          72 :         tree _q22 = TREE_OPERAND (_p0, 2);
    4627                 :          72 :         {
    4628                 :          72 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4629                 :          72 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1257;
    4630                 :          72 :           {
    4631                 :          72 :             tree res_op0;
    4632                 :          72 :             res_op0 = captures[1];
    4633                 :          72 :             tree res_op1;
    4634                 :          72 :             {
    4635                 :          72 :               tree _o1[1], _r1;
    4636                 :          72 :               _o1[0] = captures[2];
    4637                 :          72 :               _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4638                 :          72 :               if (EXPR_P (_r1))
    4639                 :           0 :                 goto next_after_fail1257;
    4640                 :          72 :               res_op1 = _r1;
    4641                 :             :             }
    4642                 :          72 :             tree res_op2;
    4643                 :          72 :             {
    4644                 :          72 :               tree _o1[1], _r1;
    4645                 :          72 :               _o1[0] = captures[3];
    4646                 :          72 :               _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4647                 :          72 :               if (EXPR_P (_r1))
    4648                 :           0 :                 goto next_after_fail1257;
    4649                 :          72 :               res_op2 = _r1;
    4650                 :             :             }
    4651                 :          72 :             tree _r;
    4652                 :          72 :             _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4653                 :          72 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 849, __FILE__, __LINE__, true);
    4654                 :          72 :             return _r;
    4655                 :             :           }
    4656                 :           0 : next_after_fail1257:;
    4657                 :             :         }
    4658                 :           0 :         break;
    4659                 :             :       }
    4660                 :      283783 :     case CALL_EXPR:
    4661                 :      283783 :       switch (get_call_combined_fn (_p0))
    4662                 :             :         {
    4663                 :          12 :         case CFN_BUILT_IN_FMA:
    4664                 :          12 :           if (call_expr_nargs (_p0) == 3)
    4665                 :             :     {
    4666                 :          12 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4667                 :          12 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4668                 :          12 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4669                 :          12 :               {
    4670                 :          12 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4671                 :          12 :                 tree res = generic_simplify_470 (loc, type, _p0, captures, CFN_BUILT_IN_FMA);
    4672                 :          12 :                 if (res) return res;
    4673                 :             :               }
    4674                 :             :             }
    4675                 :             :           break;
    4676                 :           4 :         case CFN_BUILT_IN_FMAF:
    4677                 :           4 :           if (call_expr_nargs (_p0) == 3)
    4678                 :             :     {
    4679                 :           4 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4680                 :           4 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4681                 :           4 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4682                 :           4 :               {
    4683                 :           4 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4684                 :           4 :                 tree res = generic_simplify_470 (loc, type, _p0, captures, CFN_BUILT_IN_FMAF);
    4685                 :           4 :                 if (res) return res;
    4686                 :             :               }
    4687                 :             :             }
    4688                 :             :           break;
    4689                 :           0 :         case CFN_BUILT_IN_FMAL:
    4690                 :           0 :           if (call_expr_nargs (_p0) == 3)
    4691                 :             :     {
    4692                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4693                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4694                 :           0 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4695                 :           0 :               {
    4696                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4697                 :           0 :                 tree res = generic_simplify_470 (loc, type, _p0, captures, CFN_BUILT_IN_FMAL);
    4698                 :           0 :                 if (res) return res;
    4699                 :             :               }
    4700                 :             :             }
    4701                 :             :           break;
    4702                 :           0 :         case CFN_FMA:
    4703                 :           0 :           if (call_expr_nargs (_p0) == 3)
    4704                 :             :     {
    4705                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4706                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4707                 :           0 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4708                 :           0 :               {
    4709                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4710                 :           0 :                 tree res = generic_simplify_470 (loc, type, _p0, captures, CFN_FMA);
    4711                 :           0 :                 if (res) return res;
    4712                 :             :               }
    4713                 :             :             }
    4714                 :             :           break;
    4715                 :           0 :         case CFN_FMS:
    4716                 :           0 :           if (call_expr_nargs (_p0) == 3)
    4717                 :             :     {
    4718                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4719                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4720                 :           0 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4721                 :           0 :               {
    4722                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4723                 :           0 :                 if (canonicalize_math_after_vectorization_p ()
    4724                 :             : )
    4725                 :             :                   {
    4726                 :             :                     if (!HONOR_SIGN_DEPENDENT_ROUNDING (type) && single_use (captures[0])
    4727                 :             : )
    4728                 :             :                       {
    4729                 :             :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1258;
    4730                 :             :                         {
    4731                 :             :                           tree res_op0;
    4732                 :             :                           res_op0 = captures[1];
    4733                 :             :                           tree res_op1;
    4734                 :             :                           res_op1 = captures[2];
    4735                 :             :                           tree res_op2;
    4736                 :             :                           res_op2 = captures[3];
    4737                 :             :                           tree _r;
    4738                 :             :                           _r = maybe_build_call_expr_loc (loc, CFN_FNMA, type, 3, res_op0, res_op1, res_op2);
    4739                 :             :                           if (!_r)
    4740                 :             :                             goto next_after_fail1258;
    4741                 :             :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 883, __FILE__, __LINE__, true);
    4742                 :             :                           return _r;
    4743                 :             :                         }
    4744                 :           0 : next_after_fail1258:;
    4745                 :             :                       }
    4746                 :             :                   }
    4747                 :             :               }
    4748                 :             :             }
    4749                 :             :           break;
    4750                 :           0 :         case CFN_FNMA:
    4751                 :           0 :           if (call_expr_nargs (_p0) == 3)
    4752                 :             :     {
    4753                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4754                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4755                 :           0 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4756                 :           0 :               {
    4757                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4758                 :           0 :                 if (canonicalize_math_after_vectorization_p ()
    4759                 :             : )
    4760                 :             :                   {
    4761                 :             :                     if (!HONOR_SIGN_DEPENDENT_ROUNDING (type) && single_use (captures[0])
    4762                 :             : )
    4763                 :             :                       {
    4764                 :             :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1259;
    4765                 :             :                         {
    4766                 :             :                           tree res_op0;
    4767                 :             :                           res_op0 = captures[1];
    4768                 :             :                           tree res_op1;
    4769                 :             :                           res_op1 = captures[2];
    4770                 :             :                           tree res_op2;
    4771                 :             :                           res_op2 = captures[3];
    4772                 :             :                           tree _r;
    4773                 :             :                           _r = maybe_build_call_expr_loc (loc, CFN_FMS, type, 3, res_op0, res_op1, res_op2);
    4774                 :             :                           if (!_r)
    4775                 :             :                             goto next_after_fail1259;
    4776                 :             :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 884, __FILE__, __LINE__, true);
    4777                 :             :                           return _r;
    4778                 :             :                         }
    4779                 :           0 : next_after_fail1259:;
    4780                 :             :                       }
    4781                 :             :                   }
    4782                 :             :               }
    4783                 :             :             }
    4784                 :             :           break;
    4785                 :           0 :         case CFN_FNMS:
    4786                 :           0 :           if (call_expr_nargs (_p0) == 3)
    4787                 :             :     {
    4788                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4789                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4790                 :           0 :               tree _q22 = CALL_EXPR_ARG (_p0, 2);
    4791                 :           0 :               {
    4792                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4793                 :           0 :                 if (canonicalize_math_after_vectorization_p ()
    4794                 :             : )
    4795                 :             :                   {
    4796                 :             :                     if (!HONOR_SIGN_DEPENDENT_ROUNDING (type) && single_use (captures[0])
    4797                 :             : )
    4798                 :             :                       {
    4799                 :             :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1260;
    4800                 :             :                         {
    4801                 :             :                           tree res_op0;
    4802                 :             :                           res_op0 = captures[1];
    4803                 :             :                           tree res_op1;
    4804                 :             :                           res_op1 = captures[2];
    4805                 :             :                           tree res_op2;
    4806                 :             :                           res_op2 = captures[3];
    4807                 :             :                           tree _r;
    4808                 :             :                           _r = maybe_build_call_expr_loc (loc, CFN_FMA, type, 3, res_op0, res_op1, res_op2);
    4809                 :             :                           if (!_r)
    4810                 :             :                             goto next_after_fail1260;
    4811                 :             :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 885, __FILE__, __LINE__, true);
    4812                 :             :                           return _r;
    4813                 :             :                         }
    4814                 :           0 : next_after_fail1260:;
    4815                 :             :                       }
    4816                 :             :                   }
    4817                 :             :               }
    4818                 :             :             }
    4819                 :             :           break;
    4820                 :             :         default:;
    4821                 :             :         }
    4822                 :             :       break;
    4823                 :     3743254 :     default:;
    4824                 :             :     }
    4825                 :     3743254 : {
    4826                 :     3743254 :   tree _p0_pops[1];
    4827                 :     3743254 :   if (tree_nop_convert (_p0, _p0_pops))
    4828                 :             :     {
    4829                 :     1092201 :       tree _q20 = _p0_pops[0];
    4830                 :     1092201 :       switch (TREE_CODE (_q20))
    4831                 :             :         {
    4832                 :           0 :         case POINTER_DIFF_EXPR:
    4833                 :           0 :           {
    4834                 :           0 :             tree _q30 = TREE_OPERAND (_q20, 0);
    4835                 :           0 :             tree _q31 = TREE_OPERAND (_q20, 1);
    4836                 :           0 :             {
    4837                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    4838                 :           0 :               tree res = generic_simplify_465 (loc, type, _p0, captures);
    4839                 :           0 :               if (res) return res;
    4840                 :             :             }
    4841                 :           0 :             break;
    4842                 :             :           }
    4843                 :           0 :         case BIT_NOT_EXPR:
    4844                 :           0 :           {
    4845                 :           0 :             tree _q30 = TREE_OPERAND (_q20, 0);
    4846                 :           0 :             {
    4847                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4848                 :           0 :               tree res = generic_simplify_466 (loc, type, _p0, captures);
    4849                 :           0 :               if (res) return res;
    4850                 :             :             }
    4851                 :           0 :             break;
    4852                 :             :           }
    4853                 :           0 :         case NEGATE_EXPR:
    4854                 :           0 :           {
    4855                 :           0 :             tree _q30 = TREE_OPERAND (_q20, 0);
    4856                 :           0 :             {
    4857                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4858                 :           0 :               tree res = generic_simplify_467 (loc, type, _p0, captures);
    4859                 :           0 :               if (res) return res;
    4860                 :             :             }
    4861                 :           0 :             break;
    4862                 :             :           }
    4863                 :             :         default:;
    4864                 :             :         }
    4865                 :             :     }
    4866                 :             : }
    4867                 :     3743254 : {
    4868                 :     3743254 :   tree _p0_pops[1];
    4869                 :     3743254 :   if (tree_logical_inverted_value (_p0, _p0_pops))
    4870                 :             :     {
    4871                 :          70 :       tree _q20 = _p0_pops[0];
    4872                 :          70 :       {
    4873                 :          70 :         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    4874                 :          70 :         if (INTEGRAL_TYPE_P (type)
    4875                 :          70 :  && TREE_CODE (type) != BOOLEAN_TYPE
    4876                 :          70 :  && TYPE_PRECISION (type) > 1
    4877                 :          70 :  && TREE_CODE (captures[2]) == SSA_NAME
    4878                 :          70 :  && ssa_name_has_boolean_range (captures[2])
    4879                 :             : )
    4880                 :             :           {
    4881                 :           0 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1261;
    4882                 :           0 :             {
    4883                 :           0 :               tree res_op0;
    4884                 :           0 :               {
    4885                 :           0 :                 tree _o1[1], _r1;
    4886                 :           0 :                 _o1[0] = captures[2];
    4887                 :           0 :                 if (TREE_TYPE (_o1[0]) != type)
    4888                 :             :                   {
    4889                 :           0 :                     _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    4890                 :             :                   }
    4891                 :             :                 else
    4892                 :             :                   _r1 = _o1[0];
    4893                 :           0 :                 res_op0 = _r1;
    4894                 :             :               }
    4895                 :           0 :               tree res_op1;
    4896                 :           0 :               res_op1 =  build_all_ones_cst (type);
    4897                 :           0 :               tree _r;
    4898                 :           0 :               _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    4899                 :           0 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 881, __FILE__, __LINE__, true);
    4900                 :           0 :               return _r;
    4901                 :             :             }
    4902                 :           0 : next_after_fail1261:;
    4903                 :             :           }
    4904                 :             :       }
    4905                 :             :     }
    4906                 :             : }
    4907                 :     3743254 :   {
    4908                 :     3743254 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4909                 :     3743254 :     tree res = generic_simplify_390 (loc, type, _p0, captures);
    4910                 :     3743254 :     if (res) return res;
    4911                 :             :   }
    4912                 :     3728632 :   return NULL_TREE;
    4913                 :             : }
    4914                 :             : 
    4915                 :             : tree
    4916                 :    25596576 : generic_simplify_EQ_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    4917                 :             : {
    4918                 :    25596576 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4919                 :    25596576 :   switch (TREE_CODE (_p1))
    4920                 :             :     {
    4921                 :          43 :     case NEGATE_EXPR:
    4922                 :          43 :       {
    4923                 :          43 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4924                 :          43 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    4925                 :             :           {
    4926                 :           0 :             {
    4927                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4928                 :           0 :               tree res = generic_simplify_200 (loc, type, _p0, _p1, captures, EQ_EXPR);
    4929                 :           0 :               if (res) return res;
    4930                 :             :             }
    4931                 :             :           }
    4932                 :             :         break;
    4933                 :             :       }
    4934                 :    25596576 :     default:;
    4935                 :             :     }
    4936                 :    25596576 :   switch (TREE_CODE (_p0))
    4937                 :             :     {
    4938                 :         919 :     case NEGATE_EXPR:
    4939                 :         919 :       {
    4940                 :         919 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4941                 :         919 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    4942                 :             :           {
    4943                 :          83 :             {
    4944                 :          83 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4945                 :          83 :               tree res = generic_simplify_200 (loc, type, _p0, _p1, captures, EQ_EXPR);
    4946                 :          83 :               if (res) return res;
    4947                 :             :             }
    4948                 :             :           }
    4949                 :             :         break;
    4950                 :             :       }
    4951                 :           0 :     case CEIL_MOD_EXPR:
    4952                 :           0 :       {
    4953                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4954                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4955                 :           0 :         if (integer_pow2p (_q21))
    4956                 :             :           {
    4957                 :           0 :             if (integer_zerop (_p1))
    4958                 :             :               {
    4959                 :           0 :                 {
    4960                 :           0 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4961                 :           0 :                   tree res = generic_simplify_201 (loc, type, _p0, _p1, captures, EQ_EXPR, CEIL_MOD_EXPR);
    4962                 :           0 :                   if (res) return res;
    4963                 :             :                 }
    4964                 :             :               }
    4965                 :             :           }
    4966                 :             :         break;
    4967                 :             :       }
    4968                 :         876 :     case FLOOR_MOD_EXPR:
    4969                 :         876 :       {
    4970                 :         876 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4971                 :         876 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4972                 :         876 :         if (integer_pow2p (_q21))
    4973                 :             :           {
    4974                 :          26 :             if (integer_zerop (_p1))
    4975                 :             :               {
    4976                 :          26 :                 {
    4977                 :          26 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4978                 :          26 :                   tree res = generic_simplify_201 (loc, type, _p0, _p1, captures, EQ_EXPR, FLOOR_MOD_EXPR);
    4979                 :          26 :                   if (res) return res;
    4980                 :             :                 }
    4981                 :             :               }
    4982                 :             :           }
    4983                 :             :         break;
    4984                 :             :       }
    4985                 :           0 :     case ROUND_MOD_EXPR:
    4986                 :           0 :       {
    4987                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4988                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4989                 :           0 :         if (integer_pow2p (_q21))
    4990                 :             :           {
    4991                 :           0 :             if (integer_zerop (_p1))
    4992                 :             :               {
    4993                 :           0 :                 {
    4994                 :           0 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    4995                 :           0 :                   tree res = generic_simplify_201 (loc, type, _p0, _p1, captures, EQ_EXPR, ROUND_MOD_EXPR);
    4996                 :           0 :                   if (res) return res;
    4997                 :             :                 }
    4998                 :             :               }
    4999                 :             :           }
    5000                 :             :         break;
    5001                 :             :       }
    5002                 :       66649 :     case TRUNC_MOD_EXPR:
    5003                 :       66649 :       {
    5004                 :       66649 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5005                 :       66649 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5006                 :       66649 :         if (integer_pow2p (_q21))
    5007                 :             :           {
    5008                 :       41300 :             if (integer_zerop (_p1))
    5009                 :             :               {
    5010                 :         611 :                 {
    5011                 :         611 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5012                 :         611 :                   tree res = generic_simplify_201 (loc, type, _p0, _p1, captures, EQ_EXPR, TRUNC_MOD_EXPR);
    5013                 :         611 :                   if (res) return res;
    5014                 :             :                 }
    5015                 :             :               }
    5016                 :             :           }
    5017                 :             :         break;
    5018                 :             :       }
    5019                 :        1445 :     case LSHIFT_EXPR:
    5020                 :        1445 :       {
    5021                 :        1445 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5022                 :        1445 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5023                 :        1445 :         if (tree_zero_one_valued_p (_q20))
    5024                 :             :           {
    5025                 :         267 :             switch (TREE_CODE (_q21))
    5026                 :             :               {
    5027                 :          10 :               case INTEGER_CST:
    5028                 :          10 :                 {
    5029                 :          10 :                   if (integer_zerop (_p1))
    5030                 :             :                     {
    5031                 :           2 :                       {
    5032                 :           2 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    5033                 :           2 :                         if (tree_fits_shwi_p (captures[1])
    5034                 :           2 :  && tree_to_shwi (captures[1]) > 0
    5035                 :           4 :  && tree_to_shwi (captures[1]) < TYPE_PRECISION (TREE_TYPE (captures[0]))
    5036                 :             : )
    5037                 :             :                           {
    5038                 :           2 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1654;
    5039                 :           2 :                             {
    5040                 :           2 :                               tree res_op0;
    5041                 :           2 :                               res_op0 = captures[0];
    5042                 :           2 :                               tree res_op1;
    5043                 :           2 :                               res_op1 = captures[2];
    5044                 :           2 :                               tree _r;
    5045                 :           2 :                               _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5046                 :           2 :                               if (TREE_SIDE_EFFECTS (captures[1]))
    5047                 :           0 :                                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5048                 :           2 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 996, __FILE__, __LINE__, true);
    5049                 :           2 :                               return _r;
    5050                 :             :                             }
    5051                 :           0 : next_after_fail1654:;
    5052                 :             :                           }
    5053                 :             :                       }
    5054                 :             :                     }
    5055                 :             :                   break;
    5056                 :             :                 }
    5057                 :             :               default:;
    5058                 :             :               }
    5059                 :             :           }
    5060                 :             :         break;
    5061                 :             :       }
    5062                 :      878466 :     case BIT_AND_EXPR:
    5063                 :      878466 :       {
    5064                 :      878466 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5065                 :      878466 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5066                 :      878466 :         if (tree_truth_valued_p (_q20))
    5067                 :             :           {
    5068                 :          19 :             if (tree_truth_valued_p (_q21))
    5069                 :             :               {
    5070                 :          18 :                 switch (TREE_CODE (_p1))
    5071                 :             :                   {
    5072                 :           0 :                   case BIT_XOR_EXPR:
    5073                 :           0 :                     {
    5074                 :           0 :                       tree _q50 = TREE_OPERAND (_p1, 0);
    5075                 :           0 :                       tree _q51 = TREE_OPERAND (_p1, 1);
    5076                 :           0 :                       if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5077                 :             :                         {
    5078                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5079                 :             :                             {
    5080                 :           0 :                               {
    5081                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5082                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1655;
    5083                 :           0 :                                 {
    5084                 :           0 :                                   tree res_op0;
    5085                 :           0 :                                   {
    5086                 :           0 :                                     tree _o1[2], _r1;
    5087                 :           0 :                                     _o1[0] = captures[0];
    5088                 :           0 :                                     _o1[1] = captures[1];
    5089                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5090                 :           0 :                                     res_op0 = _r1;
    5091                 :             :                                   }
    5092                 :           0 :                                   tree _r;
    5093                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5094                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
    5095                 :           0 :                                   return _r;
    5096                 :             :                                 }
    5097                 :           0 : next_after_fail1655:;
    5098                 :             :                               }
    5099                 :             :                             }
    5100                 :             :                         }
    5101                 :           0 :                       if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5102                 :             :                         {
    5103                 :           0 :                           if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5104                 :             :                             {
    5105                 :           0 :                               {
    5106                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    5107                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1656;
    5108                 :           0 :                                 {
    5109                 :           0 :                                   tree res_op0;
    5110                 :           0 :                                   {
    5111                 :           0 :                                     tree _o1[2], _r1;
    5112                 :           0 :                                     _o1[0] = captures[0];
    5113                 :           0 :                                     _o1[1] = captures[1];
    5114                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5115                 :           0 :                                     res_op0 = _r1;
    5116                 :             :                                   }
    5117                 :           0 :                                   tree _r;
    5118                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5119                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
    5120                 :           0 :                                   return _r;
    5121                 :             :                                 }
    5122                 :           0 : next_after_fail1656:;
    5123                 :             :                               }
    5124                 :             :                             }
    5125                 :             :                         }
    5126                 :             :                       break;
    5127                 :             :                     }
    5128                 :             :                   default:;
    5129                 :             :                   }
    5130                 :             :               }
    5131                 :             :           }
    5132                 :             :         break;
    5133                 :             :       }
    5134                 :         596 :     case BIT_XOR_EXPR:
    5135                 :         596 :       {
    5136                 :         596 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5137                 :         596 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5138                 :         596 :         switch (TREE_CODE (_p1))
    5139                 :             :           {
    5140                 :           0 :           case BIT_AND_EXPR:
    5141                 :           0 :             {
    5142                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5143                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5144                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5145                 :             :                 {
    5146                 :           0 :                   if (tree_truth_valued_p (_q50))
    5147                 :             :                     {
    5148                 :           0 :                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5149                 :             :                         {
    5150                 :           0 :                           if (tree_truth_valued_p (_q51))
    5151                 :             :                             {
    5152                 :           0 :                               {
    5153                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5154                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1657;
    5155                 :           0 :                                 {
    5156                 :           0 :                                   tree res_op0;
    5157                 :           0 :                                   {
    5158                 :           0 :                                     tree _o1[2], _r1;
    5159                 :           0 :                                     _o1[0] = captures[0];
    5160                 :           0 :                                     _o1[1] = captures[1];
    5161                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5162                 :           0 :                                     res_op0 = _r1;
    5163                 :             :                                   }
    5164                 :           0 :                                   tree _r;
    5165                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5166                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
    5167                 :           0 :                                   return _r;
    5168                 :             :                                 }
    5169                 :           0 : next_after_fail1657:;
    5170                 :             :                               }
    5171                 :             :                             }
    5172                 :             :                         }
    5173                 :             :                     }
    5174                 :             :                 }
    5175                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5176                 :             :                 {
    5177                 :           0 :                   if (tree_truth_valued_p (_q50))
    5178                 :             :                     {
    5179                 :           0 :                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5180                 :             :                         {
    5181                 :           0 :                           if (tree_truth_valued_p (_q51))
    5182                 :             :                             {
    5183                 :           0 :                               {
    5184                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5185                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1658;
    5186                 :           0 :                                 {
    5187                 :           0 :                                   tree res_op0;
    5188                 :           0 :                                   {
    5189                 :           0 :                                     tree _o1[2], _r1;
    5190                 :           0 :                                     _o1[0] = captures[0];
    5191                 :           0 :                                     _o1[1] = captures[1];
    5192                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5193                 :           0 :                                     res_op0 = _r1;
    5194                 :             :                                   }
    5195                 :           0 :                                   tree _r;
    5196                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5197                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
    5198                 :           0 :                                   return _r;
    5199                 :             :                                 }
    5200                 :           0 : next_after_fail1658:;
    5201                 :             :                               }
    5202                 :             :                             }
    5203                 :             :                         }
    5204                 :             :                     }
    5205                 :             :                 }
    5206                 :             :               break;
    5207                 :             :             }
    5208                 :             :           default:;
    5209                 :             :           }
    5210                 :             :         break;
    5211                 :             :       }
    5212                 :         411 :     case BIT_NOT_EXPR:
    5213                 :         411 :       {
    5214                 :         411 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5215                 :         411 :         if (tree_truth_valued_p (_q20))
    5216                 :             :           {
    5217                 :           0 :             if (tree_truth_valued_p (_p1))
    5218                 :             :               {
    5219                 :           0 :                 {
    5220                 :           0 :                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    5221                 :           0 :                   tree res = generic_simplify_203 (loc, type, _p0, _p1, captures);
    5222                 :           0 :                   if (res) return res;
    5223                 :             :                 }
    5224                 :             :               }
    5225                 :             :           }
    5226                 :             :         break;
    5227                 :             :       }
    5228                 :       64364 :     case MULT_EXPR:
    5229                 :       64364 :       {
    5230                 :       64364 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5231                 :       64364 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5232                 :       64364 :         switch (TREE_CODE (_p1))
    5233                 :             :           {
    5234                 :         749 :           case MULT_EXPR:
    5235                 :         749 :             {
    5236                 :         749 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5237                 :         749 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5238                 :         749 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5239                 :             :                 {
    5240                 :         540 :                   {
    5241                 :         540 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5242                 :         540 :                     tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5243                 :         540 :                     if (res) return res;
    5244                 :             :                   }
    5245                 :             :                 }
    5246                 :         741 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5247                 :             :                 {
    5248                 :           0 :                   {
    5249                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    5250                 :           0 :                     tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5251                 :           0 :                     if (res) return res;
    5252                 :             :                   }
    5253                 :             :                 }
    5254                 :         741 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5255                 :             :                 {
    5256                 :           0 :                   {
    5257                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    5258                 :           0 :                     tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5259                 :           0 :                     if (res) return res;
    5260                 :             :                   }
    5261                 :             :                 }
    5262                 :         741 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5263                 :             :                 {
    5264                 :          16 :                   {
    5265                 :          16 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    5266                 :          16 :                     tree res = generic_simplify_204 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5267                 :          16 :                     if (res) return res;
    5268                 :             :                   }
    5269                 :             :                 }
    5270                 :             :               break;
    5271                 :             :             }
    5272                 :       64356 :           default:;
    5273                 :             :           }
    5274                 :       64356 :         switch (TREE_CODE (_q21))
    5275                 :             :           {
    5276                 :       56601 :           case INTEGER_CST:
    5277                 :       56601 :             {
    5278                 :       56601 :               switch (TREE_CODE (_p1))
    5279                 :             :                 {
    5280                 :         705 :                 case MULT_EXPR:
    5281                 :         705 :                   {
    5282                 :         705 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5283                 :         705 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    5284                 :         705 :                     if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5285                 :             :                       {
    5286                 :         503 :                         {
    5287                 :         503 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5288                 :         503 :                           tree res = generic_simplify_205 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5289                 :         503 :                           if (res) return res;
    5290                 :             :                         }
    5291                 :             :                       }
    5292                 :             :                     break;
    5293                 :             :                   }
    5294                 :             :                 default:;
    5295                 :             :                 }
    5296                 :             :               break;
    5297                 :             :             }
    5298                 :             :           default:;
    5299                 :             :           }
    5300                 :             :         break;
    5301                 :             :       }
    5302                 :     4446982 :     CASE_CONVERT:
    5303                 :     4446982 :       {
    5304                 :     4446982 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5305                 :     4446982 :         switch (TREE_CODE (_q20))
    5306                 :             :           {
    5307                 :          80 :           case EXACT_DIV_EXPR:
    5308                 :          80 :             {
    5309                 :          80 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5310                 :          80 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5311                 :          80 :               switch (TREE_CODE (_q31))
    5312                 :             :                 {
    5313                 :          80 :                 case INTEGER_CST:
    5314                 :          80 :                   {
    5315                 :          80 :                     switch (TREE_CODE (_p1))
    5316                 :             :                       {
    5317                 :           0 :                       CASE_CONVERT:
    5318                 :           0 :                         {
    5319                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    5320                 :           0 :                           switch (TREE_CODE (_q60))
    5321                 :             :                             {
    5322                 :           0 :                             case EXACT_DIV_EXPR:
    5323                 :           0 :                               {
    5324                 :           0 :                                 tree _q70 = TREE_OPERAND (_q60, 0);
    5325                 :           0 :                                 tree _q71 = TREE_OPERAND (_q60, 1);
    5326                 :           0 :                                 if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    5327                 :             :                                   {
    5328                 :           0 :                                     {
    5329                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q70 };
    5330                 :           0 :                                       tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5331                 :           0 :                                       if (res) return res;
    5332                 :             :                                     }
    5333                 :             :                                   }
    5334                 :             :                                 break;
    5335                 :             :                               }
    5336                 :             :                             default:;
    5337                 :             :                             }
    5338                 :             :                           break;
    5339                 :             :                         }
    5340                 :             :                       default:;
    5341                 :             :                       }
    5342                 :             :                     break;
    5343                 :             :                   }
    5344                 :             :                 default:;
    5345                 :             :                 }
    5346                 :             :               break;
    5347                 :             :             }
    5348                 :     4446982 :           default:;
    5349                 :             :           }
    5350                 :     4446982 :         switch (TREE_CODE (_p1))
    5351                 :             :           {
    5352                 :       28353 :           case PLUS_EXPR:
    5353                 :       28353 :             {
    5354                 :       28353 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5355                 :       28353 :               tree _q41 = TREE_OPERAND (_p1, 1);
    5356                 :       28353 :               switch (TREE_CODE (_q41))
    5357                 :             :                 {
    5358                 :          26 :                 CASE_CONVERT:
    5359                 :          26 :                   {
    5360                 :          26 :                     tree _q60 = TREE_OPERAND (_q41, 0);
    5361                 :          26 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5362                 :             :                       {
    5363                 :           0 :                         {
    5364                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q40, _q20 };
    5365                 :           0 :                           tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5366                 :           0 :                           if (res) return res;
    5367                 :             :                         }
    5368                 :             :                       }
    5369                 :             :                     break;
    5370                 :             :                   }
    5371                 :       28353 :                 default:;
    5372                 :             :                 }
    5373                 :       28353 :               switch (TREE_CODE (_q40))
    5374                 :             :                 {
    5375                 :        4001 :                 CASE_CONVERT:
    5376                 :        4001 :                   {
    5377                 :        4001 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    5378                 :        4001 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5379                 :             :                       {
    5380                 :           0 :                         {
    5381                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q41, _q20 };
    5382                 :           0 :                           tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5383                 :           0 :                           if (res) return res;
    5384                 :             :                         }
    5385                 :             :                       }
    5386                 :             :                     break;
    5387                 :             :                   }
    5388                 :       28353 :                 default:;
    5389                 :             :                 }
    5390                 :       28353 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    5391                 :             :                 {
    5392                 :           0 :                   {
    5393                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q40, _q20 };
    5394                 :           0 :                     tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5395                 :           0 :                     if (res) return res;
    5396                 :             :                   }
    5397                 :             :                 }
    5398                 :       28353 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
    5399                 :             :                 {
    5400                 :           0 :                   {
    5401                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q41, _q20 };
    5402                 :           0 :                     tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5403                 :           0 :                     if (res) return res;
    5404                 :             :                   }
    5405                 :             :                 }
    5406                 :             :               break;
    5407                 :             :             }
    5408                 :     4446982 :           default:;
    5409                 :             :           }
    5410                 :     4446982 :       {
    5411                 :     4446982 :         tree _p1_pops[1];
    5412                 :     4446982 :         if (tree_nop_convert (_p1, _p1_pops))
    5413                 :             :           {
    5414                 :      778299 :             tree _q40 = _p1_pops[0];
    5415                 :      778299 :             switch (TREE_CODE (_q40))
    5416                 :             :               {
    5417                 :         474 :               case PLUS_EXPR:
    5418                 :         474 :                 {
    5419                 :         474 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    5420                 :         474 :                   tree _q51 = TREE_OPERAND (_q40, 1);
    5421                 :         474 :                   switch (TREE_CODE (_q51))
    5422                 :             :                     {
    5423                 :           0 :                     CASE_CONVERT:
    5424                 :           0 :                       {
    5425                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    5426                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    5427                 :             :                           {
    5428                 :           0 :                             {
    5429                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q20 };
    5430                 :           0 :                               tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5431                 :           0 :                               if (res) return res;
    5432                 :             :                             }
    5433                 :             :                           }
    5434                 :             :                         break;
    5435                 :             :                       }
    5436                 :         474 :                     default:;
    5437                 :             :                     }
    5438                 :         474 :                   switch (TREE_CODE (_q50))
    5439                 :             :                     {
    5440                 :         405 :                     CASE_CONVERT:
    5441                 :         405 :                       {
    5442                 :         405 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    5443                 :         405 :                         if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5444                 :             :                           {
    5445                 :           0 :                             {
    5446                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q51, _q20 };
    5447                 :           0 :                               tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5448                 :           0 :                               if (res) return res;
    5449                 :             :                             }
    5450                 :             :                           }
    5451                 :             :                         break;
    5452                 :             :                       }
    5453                 :         474 :                     default:;
    5454                 :             :                     }
    5455                 :         474 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5456                 :             :                     {
    5457                 :           0 :                       {
    5458                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q20 };
    5459                 :           0 :                         tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5460                 :           0 :                         if (res) return res;
    5461                 :             :                       }
    5462                 :             :                     }
    5463                 :         474 :                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5464                 :             :                     {
    5465                 :           0 :                       {
    5466                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q51, _q20 };
    5467                 :           0 :                         tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5468                 :           0 :                         if (res) return res;
    5469                 :             :                       }
    5470                 :             :                     }
    5471                 :             :                   break;
    5472                 :             :                 }
    5473                 :             :               default:;
    5474                 :             :               }
    5475                 :             :           }
    5476                 :             :       }
    5477                 :     4446982 :         break;
    5478                 :             :       }
    5479                 :        9492 :     case EXACT_DIV_EXPR:
    5480                 :        9492 :       {
    5481                 :        9492 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5482                 :        9492 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5483                 :        9492 :         switch (TREE_CODE (_q21))
    5484                 :             :           {
    5485                 :        9492 :           case INTEGER_CST:
    5486                 :        9492 :             {
    5487                 :        9492 :               switch (TREE_CODE (_p1))
    5488                 :             :                 {
    5489                 :           0 :                 case EXACT_DIV_EXPR:
    5490                 :           0 :                   {
    5491                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5492                 :           0 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    5493                 :           0 :                     if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5494                 :             :                       {
    5495                 :           0 :                         {
    5496                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
    5497                 :           0 :                           tree res = generic_simplify_206 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5498                 :           0 :                           if (res) return res;
    5499                 :             :                         }
    5500                 :             :                       }
    5501                 :             :                     break;
    5502                 :             :                   }
    5503                 :             :                 default:;
    5504                 :             :                 }
    5505                 :             :               break;
    5506                 :             :             }
    5507                 :             :           default:;
    5508                 :             :           }
    5509                 :             :         break;
    5510                 :             :       }
    5511                 :        5374 :     case TRUNC_DIV_EXPR:
    5512                 :        5374 :       {
    5513                 :        5374 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5514                 :        5374 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5515                 :        5374 :         switch (TREE_CODE (_q21))
    5516                 :             :           {
    5517                 :        3882 :           case INTEGER_CST:
    5518                 :        3882 :             {
    5519                 :        3882 :               switch (TREE_CODE (_p1))
    5520                 :             :                 {
    5521                 :         967 :                 case INTEGER_CST:
    5522                 :         967 :                   {
    5523                 :         967 :                     {
    5524                 :         967 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    5525                 :         967 :                       tree res = generic_simplify_209 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5526                 :         967 :                       if (res) return res;
    5527                 :             :                     }
    5528                 :          19 :                     break;
    5529                 :             :                   }
    5530                 :             :                 default:;
    5531                 :             :                 }
    5532                 :             :               break;
    5533                 :             :             }
    5534                 :             :           default:;
    5535                 :             :           }
    5536                 :             :         break;
    5537                 :             :       }
    5538                 :      687516 :     case PLUS_EXPR:
    5539                 :      687516 :       {
    5540                 :      687516 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5541                 :      687516 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5542                 :      687516 :         switch (TREE_CODE (_p1))
    5543                 :             :           {
    5544                 :       48874 :           case PLUS_EXPR:
    5545                 :       48874 :             {
    5546                 :       48874 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5547                 :       48874 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5548                 :       48874 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5549                 :             :                 {
    5550                 :         368 :                   {
    5551                 :         368 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5552                 :         736 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    5553                 :         673 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    5554                 :         271 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    5555                 :             : )
    5556                 :             :                       {
    5557                 :         305 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1659;
    5558                 :         305 :                         {
    5559                 :         305 :                           tree res_op0;
    5560                 :         305 :                           res_op0 = captures[0];
    5561                 :         305 :                           tree res_op1;
    5562                 :         305 :                           res_op1 = captures[2];
    5563                 :         305 :                           tree _r;
    5564                 :         305 :                           _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5565                 :         305 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    5566                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5567                 :         305 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 936, __FILE__, __LINE__, true);
    5568                 :         305 :                           return _r;
    5569                 :             :                         }
    5570                 :           0 : next_after_fail1659:;
    5571                 :             :                       }
    5572                 :             :                   }
    5573                 :             :                 }
    5574                 :       48569 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5575                 :             :                 {
    5576                 :           0 :                   {
    5577                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    5578                 :           0 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    5579                 :           0 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    5580                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    5581                 :             : )
    5582                 :             :                       {
    5583                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1660;
    5584                 :           0 :                         {
    5585                 :           0 :                           tree res_op0;
    5586                 :           0 :                           res_op0 = captures[0];
    5587                 :           0 :                           tree res_op1;
    5588                 :           0 :                           res_op1 = captures[2];
    5589                 :           0 :                           tree _r;
    5590                 :           0 :                           _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5591                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    5592                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5593                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 936, __FILE__, __LINE__, true);
    5594                 :           0 :                           return _r;
    5595                 :             :                         }
    5596                 :           0 : next_after_fail1660:;
    5597                 :             :                       }
    5598                 :             :                   }
    5599                 :             :                 }
    5600                 :       48569 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5601                 :             :                 {
    5602                 :           0 :                   {
    5603                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    5604                 :           0 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    5605                 :           0 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    5606                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    5607                 :             : )
    5608                 :             :                       {
    5609                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1661;
    5610                 :           0 :                         {
    5611                 :           0 :                           tree res_op0;
    5612                 :           0 :                           res_op0 = captures[0];
    5613                 :           0 :                           tree res_op1;
    5614                 :           0 :                           res_op1 = captures[2];
    5615                 :           0 :                           tree _r;
    5616                 :           0 :                           _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5617                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    5618                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5619                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 936, __FILE__, __LINE__, true);
    5620                 :           0 :                           return _r;
    5621                 :             :                         }
    5622                 :           0 : next_after_fail1661:;
    5623                 :             :                       }
    5624                 :             :                   }
    5625                 :             :                 }
    5626                 :       48569 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5627                 :             :                 {
    5628                 :          35 :                   {
    5629                 :          35 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    5630                 :          70 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    5631                 :          35 :  && (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_fail1662;
    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", 936, __FILE__, __LINE__, true);
    5646                 :           0 :                           return _r;
    5647                 :             :                         }
    5648                 :           0 : next_after_fail1662:;
    5649                 :             :                       }
    5650                 :             :                   }
    5651                 :             :                 }
    5652                 :             :               break;
    5653                 :             :             }
    5654                 :      687211 :           default:;
    5655                 :             :           }
    5656                 :      687211 :         switch (TREE_CODE (_q21))
    5657                 :             :           {
    5658                 :        2503 :           CASE_CONVERT:
    5659                 :        2503 :             {
    5660                 :        2503 :               tree _q40 = TREE_OPERAND (_q21, 0);
    5661                 :        2503 :               switch (TREE_CODE (_p1))
    5662                 :             :                 {
    5663                 :         158 :                 CASE_CONVERT:
    5664                 :         158 :                   {
    5665                 :         158 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5666                 :         158 :                     if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    5667                 :             :                       {
    5668                 :           0 :                         {
    5669                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40 };
    5670                 :           0 :                           tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5671                 :           0 :                           if (res) return res;
    5672                 :             :                         }
    5673                 :             :                       }
    5674                 :             :                     break;
    5675                 :             :                   }
    5676                 :             :                 default:;
    5677                 :             :                 }
    5678                 :             :               break;
    5679                 :             :             }
    5680                 :      687211 :           default:;
    5681                 :             :           }
    5682                 :      687211 :         switch (TREE_CODE (_q20))
    5683                 :             :           {
    5684                 :       28150 :           CASE_CONVERT:
    5685                 :       28150 :             {
    5686                 :       28150 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5687                 :       28150 :               switch (TREE_CODE (_p1))
    5688                 :             :                 {
    5689                 :         275 :                 CASE_CONVERT:
    5690                 :         275 :                   {
    5691                 :         275 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5692                 :         275 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    5693                 :             :                       {
    5694                 :           1 :                         {
    5695                 :           1 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q30 };
    5696                 :           1 :                           tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5697                 :           1 :                           if (res) return res;
    5698                 :             :                         }
    5699                 :             :                       }
    5700                 :             :                     break;
    5701                 :             :                   }
    5702                 :       28149 :                 default:;
    5703                 :             :                 }
    5704                 :       28149 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5705                 :             :                 {
    5706                 :           0 :                   {
    5707                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q30 };
    5708                 :           0 :                     tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5709                 :           0 :                     if (res) return res;
    5710                 :             :                   }
    5711                 :             :                 }
    5712                 :             :               break;
    5713                 :             :             }
    5714                 :      687210 :           default:;
    5715                 :             :           }
    5716                 :      687210 :         switch (TREE_CODE (_q21))
    5717                 :             :           {
    5718                 :        2503 :           CASE_CONVERT:
    5719                 :        2503 :             {
    5720                 :        2503 :               tree _q40 = TREE_OPERAND (_q21, 0);
    5721                 :        2503 :               if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    5722                 :             :                 {
    5723                 :           0 :                   {
    5724                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40 };
    5725                 :           0 :                     tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5726                 :           0 :                     if (res) return res;
    5727                 :             :                   }
    5728                 :             :                 }
    5729                 :             :               break;
    5730                 :             :             }
    5731                 :      687210 :           default:;
    5732                 :             :           }
    5733                 :      687210 :         switch (TREE_CODE (_p1))
    5734                 :             :           {
    5735                 :       14077 :           CASE_CONVERT:
    5736                 :       14077 :             {
    5737                 :       14077 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5738                 :       14077 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5739                 :             :                 {
    5740                 :           0 :                   {
    5741                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    5742                 :           0 :                     tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5743                 :           0 :                     if (res) return res;
    5744                 :             :                   }
    5745                 :             :                 }
    5746                 :       14077 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5747                 :             :                 {
    5748                 :           0 :                   {
    5749                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20 };
    5750                 :           0 :                     tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5751                 :           0 :                     if (res) return res;
    5752                 :             :                   }
    5753                 :             :                 }
    5754                 :             :               break;
    5755                 :             :             }
    5756                 :      687210 :           default:;
    5757                 :             :           }
    5758                 :      687210 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5759                 :             :           {
    5760                 :       19705 :             {
    5761                 :       19705 :               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    5762                 :       19705 :               tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5763                 :       19705 :               if (res) return res;
    5764                 :             :             }
    5765                 :             :           }
    5766                 :      667567 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5767                 :             :           {
    5768                 :          65 :             {
    5769                 :          65 :               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20 };
    5770                 :          65 :               tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5771                 :          65 :               if (res) return res;
    5772                 :             :             }
    5773                 :             :           }
    5774                 :             :         break;
    5775                 :             :       }
    5776                 :       74156 :     case POINTER_PLUS_EXPR:
    5777                 :       74156 :       {
    5778                 :       74156 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5779                 :       74156 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5780                 :       74156 :         switch (TREE_CODE (_p1))
    5781                 :             :           {
    5782                 :        2485 :           case POINTER_PLUS_EXPR:
    5783                 :        2485 :             {
    5784                 :        2485 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5785                 :        2485 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5786                 :        2485 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5787                 :             :                 {
    5788                 :          26 :                   {
    5789                 :          26 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    5790                 :          26 :                     tree res = generic_simplify_210 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5791                 :          26 :                     if (res) return res;
    5792                 :             :                   }
    5793                 :             :                 }
    5794                 :             :               break;
    5795                 :             :             }
    5796                 :       74130 :           default:;
    5797                 :             :           }
    5798                 :       74130 :         switch (TREE_CODE (_q20))
    5799                 :             :           {
    5800                 :        1474 :           CASE_CONVERT:
    5801                 :        1474 :             {
    5802                 :        1474 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5803                 :        1474 :               switch (TREE_CODE (_p1))
    5804                 :             :                 {
    5805                 :          96 :                 CASE_CONVERT:
    5806                 :          96 :                   {
    5807                 :          96 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5808                 :          96 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    5809                 :             :                       {
    5810                 :          60 :                         {
    5811                 :          60 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q30, _q21 };
    5812                 :          60 :                           tree res = generic_simplify_211 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5813                 :          60 :                           if (res) return res;
    5814                 :             :                         }
    5815                 :             :                       }
    5816                 :             :                     break;
    5817                 :             :                   }
    5818                 :        1414 :                 default:;
    5819                 :             :                 }
    5820                 :        1414 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5821                 :             :                 {
    5822                 :           0 :                   {
    5823                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q30, _q21 };
    5824                 :           0 :                     tree res = generic_simplify_211 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5825                 :           0 :                     if (res) return res;
    5826                 :             :                   }
    5827                 :             :                 }
    5828                 :             :               break;
    5829                 :             :             }
    5830                 :       74070 :           default:;
    5831                 :             :           }
    5832                 :       74070 :         switch (TREE_CODE (_p1))
    5833                 :             :           {
    5834                 :         488 :           CASE_CONVERT:
    5835                 :         488 :             {
    5836                 :         488 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5837                 :         488 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5838                 :             :                 {
    5839                 :           0 :                   {
    5840                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    5841                 :           0 :                     tree res = generic_simplify_211 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5842                 :           0 :                     if (res) return res;
    5843                 :             :                   }
    5844                 :             :                 }
    5845                 :             :               break;
    5846                 :             :             }
    5847                 :       74070 :           default:;
    5848                 :             :           }
    5849                 :       74070 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5850                 :             :           {
    5851                 :        1213 :             {
    5852                 :        1213 :               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    5853                 :        1213 :               tree res = generic_simplify_211 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5854                 :        1213 :               if (res) return res;
    5855                 :             :             }
    5856                 :             :           }
    5857                 :             :         break;
    5858                 :             :       }
    5859                 :      125915 :     case MINUS_EXPR:
    5860                 :      125915 :       {
    5861                 :      125915 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5862                 :      125915 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5863                 :      125915 :         switch (TREE_CODE (_p1))
    5864                 :             :           {
    5865                 :         189 :           case MINUS_EXPR:
    5866                 :         189 :             {
    5867                 :         189 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5868                 :         189 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5869                 :         189 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5870                 :             :                 {
    5871                 :          18 :                   {
    5872                 :          18 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    5873                 :          36 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    5874                 :          18 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    5875                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    5876                 :             : )
    5877                 :             :                       {
    5878                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1663;
    5879                 :           0 :                         {
    5880                 :           0 :                           tree res_op0;
    5881                 :           0 :                           res_op0 = captures[0];
    5882                 :           0 :                           tree res_op1;
    5883                 :           0 :                           res_op1 = captures[2];
    5884                 :           0 :                           tree _r;
    5885                 :           0 :                           _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5886                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[1]))
    5887                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5888                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 937, __FILE__, __LINE__, true);
    5889                 :           0 :                           return _r;
    5890                 :             :                         }
    5891                 :           0 : next_after_fail1663:;
    5892                 :             :                       }
    5893                 :             :                   }
    5894                 :             :                 }
    5895                 :         189 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5896                 :             :                 {
    5897                 :          18 :                   {
    5898                 :          18 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    5899                 :          36 :                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    5900                 :          18 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
    5901                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1])))
    5902                 :             : )
    5903                 :             :                       {
    5904                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1664;
    5905                 :           0 :                         {
    5906                 :           0 :                           tree res_op0;
    5907                 :           0 :                           res_op0 = captures[2];
    5908                 :           0 :                           tree res_op1;
    5909                 :           0 :                           res_op1 = captures[1];
    5910                 :           0 :                           tree _r;
    5911                 :           0 :                           _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    5912                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[0]))
    5913                 :           0 :                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    5914                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 938, __FILE__, __LINE__, true);
    5915                 :           0 :                           return _r;
    5916                 :             :                         }
    5917                 :           0 : next_after_fail1664:;
    5918                 :             :                       }
    5919                 :             :                   }
    5920                 :             :                 }
    5921                 :             :               break;
    5922                 :             :             }
    5923                 :      125915 :           default:;
    5924                 :             :           }
    5925                 :      125915 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5926                 :             :           {
    5927                 :          74 :             {
    5928                 :          74 :               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
    5929                 :          74 :               tree res = generic_simplify_212 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5930                 :          74 :               if (res) return res;
    5931                 :             :             }
    5932                 :             :           }
    5933                 :             :         break;
    5934                 :             :       }
    5935                 :       39437 :     case POINTER_DIFF_EXPR:
    5936                 :       39437 :       {
    5937                 :       39437 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5938                 :       39437 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5939                 :       39437 :         switch (TREE_CODE (_p1))
    5940                 :             :           {
    5941                 :        1029 :           case POINTER_DIFF_EXPR:
    5942                 :        1029 :             {
    5943                 :        1029 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5944                 :        1029 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5945                 :        1029 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5946                 :             :                 {
    5947                 :           0 :                   {
    5948                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
    5949                 :           0 :                     tree res = generic_simplify_213 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5950                 :           0 :                     if (res) return res;
    5951                 :             :                   }
    5952                 :             :                 }
    5953                 :        1029 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5954                 :             :                 {
    5955                 :           0 :                   {
    5956                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q51 };
    5957                 :           0 :                     tree res = generic_simplify_214 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5958                 :           0 :                     if (res) return res;
    5959                 :             :                   }
    5960                 :             :                 }
    5961                 :             :               break;
    5962                 :             :             }
    5963                 :             :           default:;
    5964                 :             :           }
    5965                 :             :         break;
    5966                 :             :       }
    5967                 :    25573599 :     default:;
    5968                 :             :     }
    5969                 :    25573599 : {
    5970                 :    25573599 :   tree _p0_pops[1];
    5971                 :    25573599 :   if (tree_logical_inverted_value (_p0, _p0_pops))
    5972                 :             :     {
    5973                 :        7830 :       tree _q20 = _p0_pops[0];
    5974                 :        7830 :       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    5975                 :             :         {
    5976                 :           9 :           if (tree_truth_valued_p (_p1))
    5977                 :             :             {
    5978                 :           0 :               {
    5979                 :           0 :                 tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5980                 :           0 :                 tree res = generic_simplify_202 (loc, type, _p0, _p1, captures, EQ_EXPR);
    5981                 :           0 :                 if (res) return res;
    5982                 :             :               }
    5983                 :             :             }
    5984                 :             :         }
    5985                 :             :     }
    5986                 :             : }
    5987                 :    25573599 : {
    5988                 :    25573599 :   tree _p0_pops[1];
    5989                 :    25573599 :   if (tree_nop_convert (_p0, _p0_pops))
    5990                 :             :     {
    5991                 :     2707011 :       tree _q20 = _p0_pops[0];
    5992                 :     2707011 :       switch (TREE_CODE (_q20))
    5993                 :             :         {
    5994                 :        2418 :         case PLUS_EXPR:
    5995                 :        2418 :           {
    5996                 :        2418 :             tree _q30 = TREE_OPERAND (_q20, 0);
    5997                 :        2418 :             tree _q31 = TREE_OPERAND (_q20, 1);
    5998                 :        2418 :             switch (TREE_CODE (_q31))
    5999                 :             :               {
    6000                 :           0 :               CASE_CONVERT:
    6001                 :           0 :                 {
    6002                 :           0 :                   tree _q50 = TREE_OPERAND (_q31, 0);
    6003                 :           0 :                   switch (TREE_CODE (_p1))
    6004                 :             :                     {
    6005                 :           0 :                     CASE_CONVERT:
    6006                 :           0 :                       {
    6007                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    6008                 :           0 :                         if ((_q70 == _q50 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q50, 0) && types_match (_q70, _q50)))
    6009                 :             :                           {
    6010                 :           0 :                             {
    6011                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50 };
    6012                 :           0 :                               tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6013                 :           0 :                               if (res) return res;
    6014                 :             :                             }
    6015                 :             :                           }
    6016                 :             :                         break;
    6017                 :             :                       }
    6018                 :             :                     default:;
    6019                 :             :                     }
    6020                 :             :                   break;
    6021                 :             :                 }
    6022                 :        2418 :               default:;
    6023                 :             :               }
    6024                 :        2418 :             switch (TREE_CODE (_q30))
    6025                 :             :               {
    6026                 :        1287 :               CASE_CONVERT:
    6027                 :        1287 :                 {
    6028                 :        1287 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    6029                 :        1287 :                   switch (TREE_CODE (_p1))
    6030                 :             :                     {
    6031                 :           0 :                     CASE_CONVERT:
    6032                 :           0 :                       {
    6033                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    6034                 :           0 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    6035                 :             :                           {
    6036                 :           0 :                             {
    6037                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q40 };
    6038                 :           0 :                               tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6039                 :           0 :                               if (res) return res;
    6040                 :             :                             }
    6041                 :             :                           }
    6042                 :             :                         break;
    6043                 :             :                       }
    6044                 :        1287 :                     default:;
    6045                 :             :                     }
    6046                 :        1287 :                   if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6047                 :             :                     {
    6048                 :           0 :                       {
    6049                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q40 };
    6050                 :           0 :                         tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6051                 :           0 :                         if (res) return res;
    6052                 :             :                       }
    6053                 :             :                     }
    6054                 :             :                   break;
    6055                 :             :                 }
    6056                 :        2418 :               default:;
    6057                 :             :               }
    6058                 :        2418 :             switch (TREE_CODE (_q31))
    6059                 :             :               {
    6060                 :           0 :               CASE_CONVERT:
    6061                 :           0 :                 {
    6062                 :           0 :                   tree _q50 = TREE_OPERAND (_q31, 0);
    6063                 :           0 :                   if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    6064                 :             :                     {
    6065                 :           0 :                       {
    6066                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50 };
    6067                 :           0 :                         tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6068                 :           0 :                         if (res) return res;
    6069                 :             :                       }
    6070                 :             :                     }
    6071                 :             :                   break;
    6072                 :             :                 }
    6073                 :        2418 :               default:;
    6074                 :             :               }
    6075                 :        2418 :             switch (TREE_CODE (_p1))
    6076                 :             :               {
    6077                 :          69 :               CASE_CONVERT:
    6078                 :          69 :                 {
    6079                 :          69 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    6080                 :          69 :                   if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
    6081                 :             :                     {
    6082                 :           0 :                       {
    6083                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    6084                 :           0 :                         tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6085                 :           0 :                         if (res) return res;
    6086                 :             :                       }
    6087                 :             :                     }
    6088                 :          69 :                   if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    6089                 :             :                     {
    6090                 :           0 :                       {
    6091                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30 };
    6092                 :           0 :                         tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6093                 :           0 :                         if (res) return res;
    6094                 :             :                       }
    6095                 :             :                     }
    6096                 :             :                   break;
    6097                 :             :                 }
    6098                 :        2418 :               default:;
    6099                 :             :               }
    6100                 :        2418 :             if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    6101                 :             :               {
    6102                 :           0 :                 {
    6103                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    6104                 :           0 :                   tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6105                 :           0 :                   if (res) return res;
    6106                 :             :                 }
    6107                 :             :               }
    6108                 :        2418 :             if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    6109                 :             :               {
    6110                 :           0 :                 {
    6111                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30 };
    6112                 :           0 :                   tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6113                 :           0 :                   if (res) return res;
    6114                 :             :                 }
    6115                 :             :               }
    6116                 :             :             break;
    6117                 :             :           }
    6118                 :          97 :         case POINTER_PLUS_EXPR:
    6119                 :          97 :           {
    6120                 :          97 :             tree _q30 = TREE_OPERAND (_q20, 0);
    6121                 :          97 :             tree _q31 = TREE_OPERAND (_q20, 1);
    6122                 :          97 :             switch (TREE_CODE (_q30))
    6123                 :             :               {
    6124                 :          21 :               CASE_CONVERT:
    6125                 :          21 :                 {
    6126                 :          21 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    6127                 :          21 :                   switch (TREE_CODE (_p1))
    6128                 :             :                     {
    6129                 :           0 :                     CASE_CONVERT:
    6130                 :           0 :                       {
    6131                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    6132                 :           0 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    6133                 :             :                           {
    6134                 :           0 :                             {
    6135                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31 };
    6136                 :           0 :                               tree res = generic_simplify_215 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6137                 :           0 :                               if (res) return res;
    6138                 :             :                             }
    6139                 :             :                           }
    6140                 :             :                         break;
    6141                 :             :                       }
    6142                 :          21 :                     default:;
    6143                 :             :                     }
    6144                 :          21 :                   if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6145                 :             :                     {
    6146                 :           0 :                       {
    6147                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31 };
    6148                 :           0 :                         tree res = generic_simplify_215 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6149                 :           0 :                         if (res) return res;
    6150                 :             :                       }
    6151                 :             :                     }
    6152                 :             :                   break;
    6153                 :             :                 }
    6154                 :          97 :               default:;
    6155                 :             :               }
    6156                 :          97 :             switch (TREE_CODE (_p1))
    6157                 :             :               {
    6158                 :          27 :               CASE_CONVERT:
    6159                 :          27 :                 {
    6160                 :          27 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    6161                 :          27 :                   if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    6162                 :             :                     {
    6163                 :           0 :                       {
    6164                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    6165                 :           0 :                         tree res = generic_simplify_215 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6166                 :           0 :                         if (res) return res;
    6167                 :             :                       }
    6168                 :             :                     }
    6169                 :             :                   break;
    6170                 :             :                 }
    6171                 :          97 :               default:;
    6172                 :             :               }
    6173                 :          97 :             if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    6174                 :             :               {
    6175                 :           0 :                 {
    6176                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    6177                 :           0 :                   tree res = generic_simplify_215 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6178                 :           0 :                   if (res) return res;
    6179                 :             :                 }
    6180                 :             :               }
    6181                 :             :             break;
    6182                 :             :           }
    6183                 :             :         default:;
    6184                 :             :         }
    6185                 :             :     }
    6186                 :             : }
    6187                 :    25573599 : if (tree_truth_valued_p (_p0))
    6188                 :             :   {
    6189                 :      485988 :     switch (TREE_CODE (_p1))
    6190                 :             :       {
    6191                 :          24 :       case BIT_NOT_EXPR:
    6192                 :          24 :         {
    6193                 :          24 :           tree _q30 = TREE_OPERAND (_p1, 0);
    6194                 :          24 :           if (tree_truth_valued_p (_q30))
    6195                 :             :             {
    6196                 :           4 :               {
    6197                 :           4 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
    6198                 :           4 :                 tree res = generic_simplify_203 (loc, type, _p0, _p1, captures);
    6199                 :           4 :                 if (res) return res;
    6200                 :             :               }
    6201                 :             :             }
    6202                 :             :           break;
    6203                 :             :         }
    6204                 :      485988 :       default:;
    6205                 :             :       }
    6206                 :      485988 :   {
    6207                 :      485988 :     tree _p1_pops[1];
    6208                 :      485988 :     if (tree_logical_inverted_value (_p1, _p1_pops))
    6209                 :             :       {
    6210                 :          93 :         tree _q30 = _p1_pops[0];
    6211                 :          93 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6212                 :             :           {
    6213                 :           0 :             {
    6214                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6215                 :           0 :               tree res = generic_simplify_202 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6216                 :           0 :               if (res) return res;
    6217                 :             :             }
    6218                 :             :           }
    6219                 :             :       }
    6220                 :             :   }
    6221                 :             :   }
    6222                 :    25573599 :   switch (TREE_CODE (_p1))
    6223                 :             :     {
    6224                 :       81612 :     case PLUS_EXPR:
    6225                 :       81612 :       {
    6226                 :       81612 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6227                 :       81612 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6228                 :       81612 :         switch (TREE_CODE (_q31))
    6229                 :             :           {
    6230                 :          26 :           CASE_CONVERT:
    6231                 :          26 :             {
    6232                 :          26 :               tree _q50 = TREE_OPERAND (_q31, 0);
    6233                 :          26 :               if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6234                 :             :                 {
    6235                 :           0 :                   {
    6236                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0 };
    6237                 :           0 :                     tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6238                 :           0 :                     if (res) return res;
    6239                 :             :                   }
    6240                 :             :                 }
    6241                 :             :               break;
    6242                 :             :             }
    6243                 :       81612 :           default:;
    6244                 :             :           }
    6245                 :       81612 :         switch (TREE_CODE (_q30))
    6246                 :             :           {
    6247                 :       20379 :           CASE_CONVERT:
    6248                 :       20379 :             {
    6249                 :       20379 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6250                 :       20379 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6251                 :             :                 {
    6252                 :           0 :                   {
    6253                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _p0 };
    6254                 :           0 :                     tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6255                 :           0 :                     if (res) return res;
    6256                 :             :                   }
    6257                 :             :                 }
    6258                 :             :               break;
    6259                 :             :             }
    6260                 :       81612 :           default:;
    6261                 :             :           }
    6262                 :       81612 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6263                 :             :           {
    6264                 :           0 :             {
    6265                 :           0 :               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0 };
    6266                 :           0 :               tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6267                 :           0 :               if (res) return res;
    6268                 :             :             }
    6269                 :             :           }
    6270                 :       81612 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6271                 :             :           {
    6272                 :           0 :             {
    6273                 :           0 :               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _p0 };
    6274                 :           0 :               tree res = generic_simplify_208 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6275                 :           0 :               if (res) return res;
    6276                 :             :             }
    6277                 :             :           }
    6278                 :             :         break;
    6279                 :             :       }
    6280                 :    25573599 :     default:;
    6281                 :             :     }
    6282                 :    25573599 : {
    6283                 :    25573599 :   tree _p1_pops[1];
    6284                 :    25573599 :   if (tree_nop_convert (_p1, _p1_pops))
    6285                 :             :     {
    6286                 :     1013069 :       tree _q30 = _p1_pops[0];
    6287                 :     1013069 :       switch (TREE_CODE (_q30))
    6288                 :             :         {
    6289                 :        1623 :         case PLUS_EXPR:
    6290                 :        1623 :           {
    6291                 :        1623 :             tree _q40 = TREE_OPERAND (_q30, 0);
    6292                 :        1623 :             tree _q41 = TREE_OPERAND (_q30, 1);
    6293                 :        1623 :             switch (TREE_CODE (_q41))
    6294                 :             :               {
    6295                 :           2 :               CASE_CONVERT:
    6296                 :           2 :                 {
    6297                 :           2 :                   tree _q60 = TREE_OPERAND (_q41, 0);
    6298                 :           2 :                   if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    6299                 :             :                     {
    6300                 :           0 :                       {
    6301                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0 };
    6302                 :           0 :                         tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6303                 :           0 :                         if (res) return res;
    6304                 :             :                       }
    6305                 :             :                     }
    6306                 :             :                   break;
    6307                 :             :                 }
    6308                 :        1623 :               default:;
    6309                 :             :               }
    6310                 :        1623 :             switch (TREE_CODE (_q40))
    6311                 :             :               {
    6312                 :        1521 :               CASE_CONVERT:
    6313                 :        1521 :                 {
    6314                 :        1521 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    6315                 :        1521 :                   if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6316                 :             :                     {
    6317                 :           0 :                       {
    6318                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _p0 };
    6319                 :           0 :                         tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6320                 :           0 :                         if (res) return res;
    6321                 :             :                       }
    6322                 :             :                     }
    6323                 :             :                   break;
    6324                 :             :                 }
    6325                 :        1623 :               default:;
    6326                 :             :               }
    6327                 :        1623 :             if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    6328                 :             :               {
    6329                 :           0 :                 {
    6330                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0 };
    6331                 :           0 :                   tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6332                 :           0 :                   if (res) return res;
    6333                 :             :                 }
    6334                 :             :               }
    6335                 :        1623 :             if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6336                 :             :               {
    6337                 :           0 :                 {
    6338                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _p0 };
    6339                 :           0 :                   tree res = generic_simplify_207 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6340                 :           0 :                   if (res) return res;
    6341                 :             :                 }
    6342                 :             :               }
    6343                 :             :             break;
    6344                 :             :           }
    6345                 :             :         default:;
    6346                 :             :         }
    6347                 :             :     }
    6348                 :             : }
    6349                 :    25573599 :   switch (TREE_CODE (_p0))
    6350                 :             :     {
    6351                 :     4446982 :     CASE_CONVERT:
    6352                 :     4446982 :       {
    6353                 :     4446982 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6354                 :     4446982 :         switch (TREE_CODE (_p1))
    6355                 :             :           {
    6356                 :         162 :           case POINTER_PLUS_EXPR:
    6357                 :         162 :             {
    6358                 :         162 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6359                 :         162 :               tree _q41 = TREE_OPERAND (_p1, 1);
    6360                 :         162 :               switch (TREE_CODE (_q40))
    6361                 :             :                 {
    6362                 :         101 :                 CASE_CONVERT:
    6363                 :         101 :                   {
    6364                 :         101 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    6365                 :         101 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6366                 :             :                       {
    6367                 :           6 :                         {
    6368                 :           6 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q20, _q41 };
    6369                 :           6 :                           tree res = generic_simplify_211 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6370                 :           6 :                           if (res) return res;
    6371                 :             :                         }
    6372                 :             :                       }
    6373                 :             :                     break;
    6374                 :             :                   }
    6375                 :         156 :                 default:;
    6376                 :             :                 }
    6377                 :         156 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
    6378                 :             :                 {
    6379                 :           0 :                   {
    6380                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q20, _q41 };
    6381                 :           0 :                     tree res = generic_simplify_211 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6382                 :           0 :                     if (res) return res;
    6383                 :             :                   }
    6384                 :             :                 }
    6385                 :             :               break;
    6386                 :             :             }
    6387                 :     4446976 :           default:;
    6388                 :             :           }
    6389                 :     4446976 :       {
    6390                 :     4446976 :         tree _p1_pops[1];
    6391                 :     4446976 :         if (tree_nop_convert (_p1, _p1_pops))
    6392                 :             :           {
    6393                 :      778299 :             tree _q40 = _p1_pops[0];
    6394                 :      778299 :             switch (TREE_CODE (_q40))
    6395                 :             :               {
    6396                 :           6 :               case POINTER_PLUS_EXPR:
    6397                 :           6 :                 {
    6398                 :           6 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    6399                 :           6 :                   tree _q51 = TREE_OPERAND (_q40, 1);
    6400                 :           6 :                   switch (TREE_CODE (_q50))
    6401                 :             :                     {
    6402                 :           0 :                     CASE_CONVERT:
    6403                 :           0 :                       {
    6404                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    6405                 :           0 :                         if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    6406                 :             :                           {
    6407                 :           0 :                             {
    6408                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q20, _q51 };
    6409                 :           0 :                               tree res = generic_simplify_215 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6410                 :           0 :                               if (res) return res;
    6411                 :             :                             }
    6412                 :             :                           }
    6413                 :             :                         break;
    6414                 :             :                       }
    6415                 :           6 :                     default:;
    6416                 :             :                     }
    6417                 :           6 :                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6418                 :             :                     {
    6419                 :           0 :                       {
    6420                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q20, _q51 };
    6421                 :           0 :                         tree res = generic_simplify_215 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6422                 :           0 :                         if (res) return res;
    6423                 :             :                       }
    6424                 :             :                     }
    6425                 :             :                   break;
    6426                 :             :                 }
    6427                 :             :               default:;
    6428                 :             :               }
    6429                 :             :           }
    6430                 :             :       }
    6431                 :     4446976 :         break;
    6432                 :             :       }
    6433                 :    25573593 :     default:;
    6434                 :             :     }
    6435                 :    25573593 :   switch (TREE_CODE (_p1))
    6436                 :             :     {
    6437                 :        6781 :     case POINTER_PLUS_EXPR:
    6438                 :        6781 :       {
    6439                 :        6781 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6440                 :        6781 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6441                 :        6781 :         switch (TREE_CODE (_q30))
    6442                 :             :           {
    6443                 :        4024 :           CASE_CONVERT:
    6444                 :        4024 :             {
    6445                 :        4024 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6446                 :        4024 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6447                 :             :                 {
    6448                 :           0 :                   {
    6449                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _p0, _q31 };
    6450                 :           0 :                     tree res = generic_simplify_211 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6451                 :           0 :                     if (res) return res;
    6452                 :             :                   }
    6453                 :             :                 }
    6454                 :             :               break;
    6455                 :             :             }
    6456                 :        6781 :           default:;
    6457                 :             :           }
    6458                 :        6781 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6459                 :             :           {
    6460                 :           0 :             {
    6461                 :           0 :               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _p0, _q31 };
    6462                 :           0 :               tree res = generic_simplify_211 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6463                 :           0 :               if (res) return res;
    6464                 :             :             }
    6465                 :             :           }
    6466                 :             :         break;
    6467                 :             :       }
    6468                 :    25573593 :     default:;
    6469                 :             :     }
    6470                 :    25573593 : {
    6471                 :    25573593 :   tree _p1_pops[1];
    6472                 :    25573593 :   if (tree_nop_convert (_p1, _p1_pops))
    6473                 :             :     {
    6474                 :     1013069 :       tree _q30 = _p1_pops[0];
    6475                 :     1013069 :       switch (TREE_CODE (_q30))
    6476                 :             :         {
    6477                 :          18 :         case POINTER_PLUS_EXPR:
    6478                 :          18 :           {
    6479                 :          18 :             tree _q40 = TREE_OPERAND (_q30, 0);
    6480                 :          18 :             tree _q41 = TREE_OPERAND (_q30, 1);
    6481                 :          18 :             switch (TREE_CODE (_q40))
    6482                 :             :               {
    6483                 :           0 :               CASE_CONVERT:
    6484                 :           0 :                 {
    6485                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    6486                 :           0 :                   if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6487                 :             :                     {
    6488                 :           0 :                       {
    6489                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _p0, _q41 };
    6490                 :           0 :                         tree res = generic_simplify_215 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6491                 :           0 :                         if (res) return res;
    6492                 :             :                       }
    6493                 :             :                     }
    6494                 :             :                   break;
    6495                 :             :                 }
    6496                 :          18 :               default:;
    6497                 :             :               }
    6498                 :          18 :             if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    6499                 :             :               {
    6500                 :           0 :                 {
    6501                 :           0 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _p0, _q41 };
    6502                 :           0 :                   tree res = generic_simplify_215 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6503                 :           0 :                   if (res) return res;
    6504                 :             :                 }
    6505                 :             :               }
    6506                 :             :             break;
    6507                 :             :           }
    6508                 :             :         default:;
    6509                 :             :         }
    6510                 :             :     }
    6511                 :             : }
    6512                 :    25573593 :   switch (TREE_CODE (_p0))
    6513                 :             :     {
    6514                 :       72857 :     case POINTER_PLUS_EXPR:
    6515                 :       72857 :       {
    6516                 :       72857 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6517                 :       72857 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6518                 :       72857 :         switch (TREE_CODE (_p1))
    6519                 :             :           {
    6520                 :       11537 :           case ADDR_EXPR:
    6521                 :       11537 :             {
    6522                 :       11537 :               {
    6523                 :       11537 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6524                 :       11537 :                 tree res = generic_simplify_216 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6525                 :       11537 :                 if (res) return res;
    6526                 :             :               }
    6527                 :       11536 :               break;
    6528                 :             :             }
    6529                 :       72856 :           default:;
    6530                 :             :           }
    6531                 :       72856 :         switch (TREE_CODE (_q20))
    6532                 :             :           {
    6533                 :        1193 :           case ADDR_EXPR:
    6534                 :        1193 :             {
    6535                 :        1193 :               switch (TREE_CODE (_p1))
    6536                 :             :                 {
    6537                 :           9 :                 case POINTER_PLUS_EXPR:
    6538                 :           9 :                   {
    6539                 :           9 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    6540                 :           9 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    6541                 :           9 :                     switch (TREE_CODE (_q50))
    6542                 :             :                       {
    6543                 :           0 :                       case ADDR_EXPR:
    6544                 :           0 :                         {
    6545                 :           0 :                           {
    6546                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
    6547                 :           0 :                             tree res = generic_simplify_217 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6548                 :           0 :                             if (res) return res;
    6549                 :             :                           }
    6550                 :           0 :                           break;
    6551                 :             :                         }
    6552                 :             :                       default:;
    6553                 :             :                       }
    6554                 :             :                     break;
    6555                 :             :                   }
    6556                 :             :                 default:;
    6557                 :             :                 }
    6558                 :             :               break;
    6559                 :             :             }
    6560                 :             :           default:;
    6561                 :             :           }
    6562                 :             :         break;
    6563                 :             :       }
    6564                 :       82682 :     case ADDR_EXPR:
    6565                 :       82682 :       {
    6566                 :       82682 :         switch (TREE_CODE (_p1))
    6567                 :             :           {
    6568                 :           0 :           case POINTER_PLUS_EXPR:
    6569                 :           0 :             {
    6570                 :           0 :               tree _q30 = TREE_OPERAND (_p1, 0);
    6571                 :           0 :               tree _q31 = TREE_OPERAND (_p1, 1);
    6572                 :           0 :               {
    6573                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
    6574                 :           0 :                 tree res = generic_simplify_216 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6575                 :           0 :                 if (res) return res;
    6576                 :             :               }
    6577                 :           0 :               break;
    6578                 :             :             }
    6579                 :             :           default:;
    6580                 :             :           }
    6581                 :             :         break;
    6582                 :             :       }
    6583                 :    25573592 :     default:;
    6584                 :             :     }
    6585                 :    25573592 :   switch (TREE_CODE (_p1))
    6586                 :             :     {
    6587                 :        2813 :     case MINUS_EXPR:
    6588                 :        2813 :       {
    6589                 :        2813 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6590                 :        2813 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6591                 :        2813 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6592                 :             :           {
    6593                 :           0 :             {
    6594                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    6595                 :           0 :               tree res = generic_simplify_212 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6596                 :           0 :               if (res) return res;
    6597                 :             :             }
    6598                 :             :           }
    6599                 :             :         break;
    6600                 :             :       }
    6601                 :    25573592 :     default:;
    6602                 :             :     }
    6603                 :    25573592 :   switch (TREE_CODE (_p0))
    6604                 :             :     {
    6605                 :        4426 :     case TRUNC_DIV_EXPR:
    6606                 :        4426 :       {
    6607                 :        4426 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6608                 :        4426 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6609                 :        4426 :         if (integer_zerop (_p1))
    6610                 :             :           {
    6611                 :         319 :             {
    6612                 :         319 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6613                 :         319 :               tree res = generic_simplify_218 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR);
    6614                 :         319 :               if (res) return res;
    6615                 :             :             }
    6616                 :             :           }
    6617                 :             :         break;
    6618                 :             :       }
    6619                 :     4446976 :     CASE_CONVERT:
    6620                 :     4446976 :       {
    6621                 :     4446976 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6622                 :     4446976 :         switch (TREE_CODE (_p1))
    6623                 :             :           {
    6624                 :     1078417 :           CASE_CONVERT:
    6625                 :     1078417 :             {
    6626                 :     1078417 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6627                 :     1078417 :               switch (TREE_CODE (_q40))
    6628                 :             :                 {
    6629                 :           0 :                 case MINUS_EXPR:
    6630                 :           0 :                   {
    6631                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    6632                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    6633                 :           0 :                     switch (TREE_CODE (_q50))
    6634                 :             :                       {
    6635                 :           0 :                       case INTEGER_CST:
    6636                 :           0 :                         {
    6637                 :           0 :                           switch (TREE_CODE (_q51))
    6638                 :             :                             {
    6639                 :           0 :                             CASE_CONVERT:
    6640                 :           0 :                               {
    6641                 :           0 :                                 tree _q70 = TREE_OPERAND (_q51, 0);
    6642                 :           0 :                                 if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    6643                 :             :                                   {
    6644                 :           0 :                                     {
    6645                 :           0 :                                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
    6646                 :           0 :                                       tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6647                 :           0 :                                       if (res) return res;
    6648                 :             :                                     }
    6649                 :             :                                   }
    6650                 :             :                                 break;
    6651                 :             :                               }
    6652                 :             :                             default:;
    6653                 :             :                             }
    6654                 :             :                           break;
    6655                 :             :                         }
    6656                 :             :                       default:;
    6657                 :             :                       }
    6658                 :             :                     break;
    6659                 :             :                   }
    6660                 :             :                 default:;
    6661                 :             :                 }
    6662                 :             :               break;
    6663                 :             :             }
    6664                 :     4446976 :           default:;
    6665                 :             :           }
    6666                 :     4446976 :         switch (TREE_CODE (_q20))
    6667                 :             :           {
    6668                 :         246 :           case MINUS_EXPR:
    6669                 :         246 :             {
    6670                 :         246 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6671                 :         246 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6672                 :         246 :               switch (TREE_CODE (_q30))
    6673                 :             :                 {
    6674                 :          56 :                 case INTEGER_CST:
    6675                 :          56 :                   {
    6676                 :          56 :                     switch (TREE_CODE (_q31))
    6677                 :             :                       {
    6678                 :           0 :                       CASE_CONVERT:
    6679                 :           0 :                         {
    6680                 :           0 :                           tree _q50 = TREE_OPERAND (_q31, 0);
    6681                 :           0 :                           switch (TREE_CODE (_p1))
    6682                 :             :                             {
    6683                 :           0 :                             CASE_CONVERT:
    6684                 :           0 :                               {
    6685                 :           0 :                                 tree _q70 = TREE_OPERAND (_p1, 0);
    6686                 :           0 :                                 if ((_q70 == _q50 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q50, 0) && types_match (_q70, _q50)))
    6687                 :             :                                   {
    6688                 :           0 :                                     {
    6689                 :           0 :                                       tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
    6690                 :           0 :                                       tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6691                 :           0 :                                       if (res) return res;
    6692                 :             :                                     }
    6693                 :             :                                   }
    6694                 :             :                                 break;
    6695                 :             :                               }
    6696                 :           0 :                             default:;
    6697                 :             :                             }
    6698                 :           0 :                           if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    6699                 :             :                             {
    6700                 :           0 :                               {
    6701                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
    6702                 :           0 :                                 tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6703                 :           0 :                                 if (res) return res;
    6704                 :             :                               }
    6705                 :             :                             }
    6706                 :             :                           break;
    6707                 :             :                         }
    6708                 :          56 :                       default:;
    6709                 :             :                       }
    6710                 :          56 :                     switch (TREE_CODE (_p1))
    6711                 :             :                       {
    6712                 :           0 :                       CASE_CONVERT:
    6713                 :           0 :                         {
    6714                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    6715                 :           0 :                           if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
    6716                 :             :                             {
    6717                 :           0 :                               {
    6718                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q30 };
    6719                 :           0 :                                 tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6720                 :           0 :                                 if (res) return res;
    6721                 :             :                               }
    6722                 :             :                             }
    6723                 :             :                           break;
    6724                 :             :                         }
    6725                 :          56 :                       default:;
    6726                 :             :                       }
    6727                 :          56 :                     if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    6728                 :             :                       {
    6729                 :           0 :                         {
    6730                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q30 };
    6731                 :           0 :                           tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6732                 :           0 :                           if (res) return res;
    6733                 :             :                         }
    6734                 :             :                       }
    6735                 :             :                     break;
    6736                 :             :                   }
    6737                 :             :                 default:;
    6738                 :             :                 }
    6739                 :             :               break;
    6740                 :             :             }
    6741                 :     4446976 :           default:;
    6742                 :             :           }
    6743                 :     4446976 :         switch (TREE_CODE (_p1))
    6744                 :             :           {
    6745                 :     1078417 :           CASE_CONVERT:
    6746                 :     1078417 :             {
    6747                 :     1078417 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6748                 :     1078417 :               switch (TREE_CODE (_q40))
    6749                 :             :                 {
    6750                 :           0 :                 case MINUS_EXPR:
    6751                 :           0 :                   {
    6752                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    6753                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    6754                 :           0 :                     switch (TREE_CODE (_q50))
    6755                 :             :                       {
    6756                 :           0 :                       case INTEGER_CST:
    6757                 :           0 :                         {
    6758                 :           0 :                           if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6759                 :             :                             {
    6760                 :           0 :                               {
    6761                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
    6762                 :           0 :                                 tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6763                 :           0 :                                 if (res) return res;
    6764                 :             :                               }
    6765                 :             :                             }
    6766                 :             :                           break;
    6767                 :             :                         }
    6768                 :             :                       default:;
    6769                 :             :                       }
    6770                 :             :                     break;
    6771                 :             :                   }
    6772                 :             :                 default:;
    6773                 :             :                 }
    6774                 :             :               break;
    6775                 :             :             }
    6776                 :         266 :           case MINUS_EXPR:
    6777                 :         266 :             {
    6778                 :         266 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6779                 :         266 :               tree _q41 = TREE_OPERAND (_p1, 1);
    6780                 :         266 :               switch (TREE_CODE (_q40))
    6781                 :             :                 {
    6782                 :          64 :                 case INTEGER_CST:
    6783                 :          64 :                   {
    6784                 :          64 :                     switch (TREE_CODE (_q41))
    6785                 :             :                       {
    6786                 :          12 :                       CASE_CONVERT:
    6787                 :          12 :                         {
    6788                 :          12 :                           tree _q60 = TREE_OPERAND (_q41, 0);
    6789                 :          12 :                           if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    6790                 :             :                             {
    6791                 :           0 :                               {
    6792                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6793                 :           0 :                                 tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6794                 :           0 :                                 if (res) return res;
    6795                 :             :                               }
    6796                 :             :                             }
    6797                 :             :                           break;
    6798                 :             :                         }
    6799                 :          64 :                       default:;
    6800                 :             :                       }
    6801                 :          64 :                     if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    6802                 :             :                       {
    6803                 :           0 :                         {
    6804                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6805                 :           0 :                           tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6806                 :           0 :                           if (res) return res;
    6807                 :             :                         }
    6808                 :             :                       }
    6809                 :             :                     break;
    6810                 :             :                   }
    6811                 :             :                 default:;
    6812                 :             :                 }
    6813                 :             :               break;
    6814                 :             :             }
    6815                 :             :           default:;
    6816                 :             :           }
    6817                 :             :         break;
    6818                 :             :       }
    6819                 :      125841 :     case MINUS_EXPR:
    6820                 :      125841 :       {
    6821                 :      125841 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6822                 :      125841 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6823                 :      125841 :         switch (TREE_CODE (_q20))
    6824                 :             :           {
    6825                 :       42238 :           case INTEGER_CST:
    6826                 :       42238 :             {
    6827                 :       42238 :               switch (TREE_CODE (_q21))
    6828                 :             :                 {
    6829                 :       22973 :                 CASE_CONVERT:
    6830                 :       22973 :                   {
    6831                 :       22973 :                     tree _q40 = TREE_OPERAND (_q21, 0);
    6832                 :       22973 :                     switch (TREE_CODE (_p1))
    6833                 :             :                       {
    6834                 :           0 :                       CASE_CONVERT:
    6835                 :           0 :                         {
    6836                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    6837                 :           0 :                           if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    6838                 :             :                             {
    6839                 :           0 :                               {
    6840                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    6841                 :           0 :                                 tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6842                 :           0 :                                 if (res) return res;
    6843                 :             :                               }
    6844                 :             :                             }
    6845                 :             :                           break;
    6846                 :             :                         }
    6847                 :       22973 :                       default:;
    6848                 :             :                       }
    6849                 :       22973 :                     if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6850                 :             :                       {
    6851                 :           0 :                         {
    6852                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    6853                 :           0 :                           tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6854                 :           0 :                           if (res) return res;
    6855                 :             :                         }
    6856                 :             :                       }
    6857                 :             :                     break;
    6858                 :             :                   }
    6859                 :       42238 :                 default:;
    6860                 :             :                 }
    6861                 :       42238 :               switch (TREE_CODE (_p1))
    6862                 :             :                 {
    6863                 :           6 :                 CASE_CONVERT:
    6864                 :           6 :                   {
    6865                 :           6 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    6866                 :           6 :                     if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6867                 :             :                       {
    6868                 :           0 :                         {
    6869                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6870                 :           0 :                           tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6871                 :           0 :                           if (res) return res;
    6872                 :             :                         }
    6873                 :             :                       }
    6874                 :             :                     break;
    6875                 :             :                   }
    6876                 :       42238 :                 default:;
    6877                 :             :                 }
    6878                 :       42238 :               if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6879                 :             :                 {
    6880                 :           2 :                   {
    6881                 :           2 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    6882                 :           2 :                     tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6883                 :           2 :                     if (res) return res;
    6884                 :             :                   }
    6885                 :             :                 }
    6886                 :             :               break;
    6887                 :             :             }
    6888                 :             :           default:;
    6889                 :             :           }
    6890                 :             :         break;
    6891                 :             :       }
    6892                 :    25573356 :     default:;
    6893                 :             :     }
    6894                 :    25573356 :   switch (TREE_CODE (_p1))
    6895                 :             :     {
    6896                 :     1369174 :     CASE_CONVERT:
    6897                 :     1369174 :       {
    6898                 :     1369174 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6899                 :     1369174 :         switch (TREE_CODE (_q30))
    6900                 :             :           {
    6901                 :          12 :           case MINUS_EXPR:
    6902                 :          12 :             {
    6903                 :          12 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6904                 :          12 :               tree _q41 = TREE_OPERAND (_q30, 1);
    6905                 :          12 :               switch (TREE_CODE (_q40))
    6906                 :             :                 {
    6907                 :          12 :                 case INTEGER_CST:
    6908                 :          12 :                   {
    6909                 :          12 :                     switch (TREE_CODE (_q41))
    6910                 :             :                       {
    6911                 :          12 :                       CASE_CONVERT:
    6912                 :          12 :                         {
    6913                 :          12 :                           tree _q60 = TREE_OPERAND (_q41, 0);
    6914                 :          12 :                           if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    6915                 :             :                             {
    6916                 :           0 :                               {
    6917                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
    6918                 :           0 :                                 tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6919                 :           0 :                                 if (res) return res;
    6920                 :             :                               }
    6921                 :             :                             }
    6922                 :             :                           break;
    6923                 :             :                         }
    6924                 :          12 :                       default:;
    6925                 :             :                       }
    6926                 :          12 :                     if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    6927                 :             :                       {
    6928                 :           0 :                         {
    6929                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
    6930                 :           0 :                           tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6931                 :           0 :                           if (res) return res;
    6932                 :             :                         }
    6933                 :             :                       }
    6934                 :             :                     break;
    6935                 :             :                   }
    6936                 :             :                 default:;
    6937                 :             :                 }
    6938                 :             :               break;
    6939                 :             :             }
    6940                 :             :           default:;
    6941                 :             :           }
    6942                 :             :         break;
    6943                 :             :       }
    6944                 :        2813 :     case MINUS_EXPR:
    6945                 :        2813 :       {
    6946                 :        2813 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6947                 :        2813 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6948                 :        2813 :         switch (TREE_CODE (_q30))
    6949                 :             :           {
    6950                 :         152 :           case INTEGER_CST:
    6951                 :         152 :             {
    6952                 :         152 :               switch (TREE_CODE (_q31))
    6953                 :             :                 {
    6954                 :          16 :                 CASE_CONVERT:
    6955                 :          16 :                   {
    6956                 :          16 :                     tree _q50 = TREE_OPERAND (_q31, 0);
    6957                 :          16 :                     if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6958                 :             :                       {
    6959                 :           0 :                         {
    6960                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    6961                 :           0 :                           tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6962                 :           0 :                           if (res) return res;
    6963                 :             :                         }
    6964                 :             :                       }
    6965                 :             :                     break;
    6966                 :             :                   }
    6967                 :         152 :                 default:;
    6968                 :             :                 }
    6969                 :         152 :               if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6970                 :             :                 {
    6971                 :           0 :                   {
    6972                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    6973                 :           0 :                     tree res = generic_simplify_219 (loc, type, _p0, _p1, captures, EQ_EXPR);
    6974                 :           0 :                     if (res) return res;
    6975                 :             :                   }
    6976                 :             :                 }
    6977                 :             :               break;
    6978                 :             :             }
    6979                 :             :           default:;
    6980                 :             :           }
    6981                 :             :         break;
    6982                 :             :       }
    6983                 :    25573356 :     default:;
    6984                 :             :     }
    6985                 :    25573356 :   switch (TREE_CODE (_p0))
    6986                 :             :     {
    6987                 :        1193 :     case LT_EXPR:
    6988                 :        1193 :       {
    6989                 :        1193 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6990                 :        1193 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6991                 :        1193 :         switch (TREE_CODE (_p1))
    6992                 :             :           {
    6993                 :          23 :           case GT_EXPR:
    6994                 :          23 :             {
    6995                 :          23 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6996                 :          23 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6997                 :          23 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6998                 :             :                 {
    6999                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7000                 :             :                     {
    7001                 :           0 :                       {
    7002                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7003                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR, EQ_EXPR);
    7004                 :           0 :                         if (res) return res;
    7005                 :             :                       }
    7006                 :             :                     }
    7007                 :             :                 }
    7008                 :             :               break;
    7009                 :             :             }
    7010                 :           0 :           case EQ_EXPR:
    7011                 :           0 :             {
    7012                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7013                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7014                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7015                 :             :                 {
    7016                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7017                 :             :                     {
    7018                 :           0 :                       {
    7019                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7020                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR, GT_EXPR);
    7021                 :           0 :                         if (res) return res;
    7022                 :             :                       }
    7023                 :             :                     }
    7024                 :             :                 }
    7025                 :             :               break;
    7026                 :             :             }
    7027                 :           1 :           case NE_EXPR:
    7028                 :           1 :             {
    7029                 :           1 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7030                 :           1 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7031                 :           1 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7032                 :             :                 {
    7033                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7034                 :             :                     {
    7035                 :           0 :                       {
    7036                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7037                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, LE_EXPR);
    7038                 :           0 :                         if (res) return res;
    7039                 :             :                       }
    7040                 :             :                     }
    7041                 :             :                 }
    7042                 :             :               break;
    7043                 :             :             }
    7044                 :             :           default:;
    7045                 :             :           }
    7046                 :             :         break;
    7047                 :             :       }
    7048                 :        1577 :     case LE_EXPR:
    7049                 :        1577 :       {
    7050                 :        1577 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7051                 :        1577 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7052                 :        1577 :         switch (TREE_CODE (_p1))
    7053                 :             :           {
    7054                 :           9 :           case GE_EXPR:
    7055                 :           9 :             {
    7056                 :           9 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7057                 :           9 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7058                 :           9 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7059                 :             :                 {
    7060                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7061                 :             :                     {
    7062                 :           0 :                       {
    7063                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7064                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR, EQ_EXPR);
    7065                 :           0 :                         if (res) return res;
    7066                 :             :                       }
    7067                 :             :                     }
    7068                 :             :                 }
    7069                 :             :               break;
    7070                 :             :             }
    7071                 :           0 :           case EQ_EXPR:
    7072                 :           0 :             {
    7073                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7074                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7075                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7076                 :             :                 {
    7077                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7078                 :             :                     {
    7079                 :           0 :                       {
    7080                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7081                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, GE_EXPR);
    7082                 :           0 :                         if (res) return res;
    7083                 :             :                       }
    7084                 :             :                     }
    7085                 :             :                 }
    7086                 :             :               break;
    7087                 :             :             }
    7088                 :           8 :           case NE_EXPR:
    7089                 :           8 :             {
    7090                 :           8 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7091                 :           8 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7092                 :           8 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7093                 :             :                 {
    7094                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7095                 :             :                     {
    7096                 :           0 :                       {
    7097                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7098                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, LT_EXPR);
    7099                 :           0 :                         if (res) return res;
    7100                 :             :                       }
    7101                 :             :                     }
    7102                 :             :                 }
    7103                 :             :               break;
    7104                 :             :             }
    7105                 :             :           default:;
    7106                 :             :           }
    7107                 :             :         break;
    7108                 :             :       }
    7109                 :       31057 :     case GT_EXPR:
    7110                 :       31057 :       {
    7111                 :       31057 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7112                 :       31057 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7113                 :       31057 :         switch (TREE_CODE (_p1))
    7114                 :             :           {
    7115                 :       29249 :           case GT_EXPR:
    7116                 :       29249 :             {
    7117                 :       29249 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7118                 :       29249 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7119                 :       29249 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7120                 :             :                 {
    7121                 :          12 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7122                 :             :                     {
    7123                 :           0 :                       {
    7124                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7125                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR, EQ_EXPR);
    7126                 :           0 :                         if (res) return res;
    7127                 :             :                       }
    7128                 :           0 :                       {
    7129                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7130                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR, EQ_EXPR);
    7131                 :           0 :                         if (res) return res;
    7132                 :             :                       }
    7133                 :             :                     }
    7134                 :             :                 }
    7135                 :             :               break;
    7136                 :             :             }
    7137                 :          61 :           case EQ_EXPR:
    7138                 :          61 :             {
    7139                 :          61 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7140                 :          61 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7141                 :          61 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7142                 :             :                 {
    7143                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7144                 :             :                     {
    7145                 :           0 :                       {
    7146                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7147                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR, GT_EXPR);
    7148                 :           0 :                         if (res) return res;
    7149                 :             :                       }
    7150                 :             :                     }
    7151                 :             :                 }
    7152                 :             :               break;
    7153                 :             :             }
    7154                 :          37 :           case NE_EXPR:
    7155                 :          37 :             {
    7156                 :          37 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7157                 :          37 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7158                 :          37 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7159                 :             :                 {
    7160                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7161                 :             :                     {
    7162                 :           0 :                       {
    7163                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7164                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, LE_EXPR);
    7165                 :           0 :                         if (res) return res;
    7166                 :             :                       }
    7167                 :             :                     }
    7168                 :             :                 }
    7169                 :             :               break;
    7170                 :             :             }
    7171                 :          51 :           case LT_EXPR:
    7172                 :          51 :             {
    7173                 :          51 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7174                 :          51 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7175                 :          51 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7176                 :             :                 {
    7177                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7178                 :             :                     {
    7179                 :           0 :                       {
    7180                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7181                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR, EQ_EXPR);
    7182                 :           0 :                         if (res) return res;
    7183                 :             :                       }
    7184                 :             :                     }
    7185                 :             :                 }
    7186                 :             :               break;
    7187                 :             :             }
    7188                 :             :           default:;
    7189                 :             :           }
    7190                 :             :         break;
    7191                 :             :       }
    7192                 :        6627 :     case GE_EXPR:
    7193                 :        6627 :       {
    7194                 :        6627 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7195                 :        6627 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7196                 :        6627 :         switch (TREE_CODE (_p1))
    7197                 :             :           {
    7198                 :          35 :           case GE_EXPR:
    7199                 :          35 :             {
    7200                 :          35 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7201                 :          35 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7202                 :          35 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7203                 :             :                 {
    7204                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7205                 :             :                     {
    7206                 :           0 :                       {
    7207                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7208                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR, EQ_EXPR);
    7209                 :           0 :                         if (res) return res;
    7210                 :             :                       }
    7211                 :           0 :                       {
    7212                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7213                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR, EQ_EXPR);
    7214                 :           0 :                         if (res) return res;
    7215                 :             :                       }
    7216                 :             :                     }
    7217                 :             :                 }
    7218                 :             :               break;
    7219                 :             :             }
    7220                 :          84 :           case EQ_EXPR:
    7221                 :          84 :             {
    7222                 :          84 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7223                 :          84 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7224                 :          84 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7225                 :             :                 {
    7226                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7227                 :             :                     {
    7228                 :           0 :                       {
    7229                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7230                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, GE_EXPR);
    7231                 :           0 :                         if (res) return res;
    7232                 :             :                       }
    7233                 :             :                     }
    7234                 :             :                 }
    7235                 :             :               break;
    7236                 :             :             }
    7237                 :          56 :           case NE_EXPR:
    7238                 :          56 :             {
    7239                 :          56 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7240                 :          56 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7241                 :          56 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7242                 :             :                 {
    7243                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7244                 :             :                     {
    7245                 :           0 :                       {
    7246                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7247                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, LT_EXPR);
    7248                 :           0 :                         if (res) return res;
    7249                 :             :                       }
    7250                 :             :                     }
    7251                 :             :                 }
    7252                 :             :               break;
    7253                 :             :             }
    7254                 :          17 :           case LE_EXPR:
    7255                 :          17 :             {
    7256                 :          17 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7257                 :          17 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7258                 :          17 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7259                 :             :                 {
    7260                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7261                 :             :                     {
    7262                 :           0 :                       {
    7263                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7264                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR, EQ_EXPR);
    7265                 :           0 :                         if (res) return res;
    7266                 :             :                       }
    7267                 :             :                     }
    7268                 :             :                 }
    7269                 :             :               break;
    7270                 :             :             }
    7271                 :             :           default:;
    7272                 :             :           }
    7273                 :             :         break;
    7274                 :             :       }
    7275                 :       30876 :     case EQ_EXPR:
    7276                 :       30876 :       {
    7277                 :       30876 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7278                 :       30876 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7279                 :       30876 :         switch (TREE_CODE (_p1))
    7280                 :             :           {
    7281                 :           4 :           case LT_EXPR:
    7282                 :           4 :             {
    7283                 :           4 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7284                 :           4 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7285                 :           4 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7286                 :             :                 {
    7287                 :           4 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7288                 :             :                     {
    7289                 :           0 :                       {
    7290                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7291                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR, GT_EXPR);
    7292                 :           0 :                         if (res) return res;
    7293                 :             :                       }
    7294                 :             :                     }
    7295                 :             :                 }
    7296                 :             :               break;
    7297                 :             :             }
    7298                 :           4 :           case LE_EXPR:
    7299                 :           4 :             {
    7300                 :           4 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7301                 :           4 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7302                 :           4 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7303                 :             :                 {
    7304                 :           4 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7305                 :             :                     {
    7306                 :           0 :                       {
    7307                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7308                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, GE_EXPR);
    7309                 :           0 :                         if (res) return res;
    7310                 :             :                       }
    7311                 :             :                     }
    7312                 :             :                 }
    7313                 :             :               break;
    7314                 :             :             }
    7315                 :          71 :           case GT_EXPR:
    7316                 :          71 :             {
    7317                 :          71 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7318                 :          71 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7319                 :          71 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7320                 :             :                 {
    7321                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7322                 :             :                     {
    7323                 :           0 :                       {
    7324                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7325                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR, GT_EXPR);
    7326                 :           0 :                         if (res) return res;
    7327                 :             :                       }
    7328                 :             :                     }
    7329                 :             :                 }
    7330                 :             :               break;
    7331                 :             :             }
    7332                 :         118 :           case GE_EXPR:
    7333                 :         118 :             {
    7334                 :         118 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7335                 :         118 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7336                 :         118 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7337                 :             :                 {
    7338                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7339                 :             :                     {
    7340                 :           0 :                       {
    7341                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7342                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, GE_EXPR);
    7343                 :           0 :                         if (res) return res;
    7344                 :             :                       }
    7345                 :             :                     }
    7346                 :             :                 }
    7347                 :             :               break;
    7348                 :             :             }
    7349                 :             :           default:;
    7350                 :             :           }
    7351                 :             :         break;
    7352                 :             :       }
    7353                 :       11441 :     case NE_EXPR:
    7354                 :       11441 :       {
    7355                 :       11441 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7356                 :       11441 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7357                 :       11441 :         switch (TREE_CODE (_p1))
    7358                 :             :           {
    7359                 :           5 :           case LT_EXPR:
    7360                 :           5 :             {
    7361                 :           5 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7362                 :           5 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7363                 :           5 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7364                 :             :                 {
    7365                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7366                 :             :                     {
    7367                 :           0 :                       {
    7368                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7369                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, LE_EXPR);
    7370                 :           0 :                         if (res) return res;
    7371                 :             :                       }
    7372                 :             :                     }
    7373                 :             :                 }
    7374                 :             :               break;
    7375                 :             :             }
    7376                 :           0 :           case LE_EXPR:
    7377                 :           0 :             {
    7378                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7379                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7380                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7381                 :             :                 {
    7382                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7383                 :             :                     {
    7384                 :           0 :                       {
    7385                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7386                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, LT_EXPR);
    7387                 :           0 :                         if (res) return res;
    7388                 :             :                       }
    7389                 :             :                     }
    7390                 :             :                 }
    7391                 :             :               break;
    7392                 :             :             }
    7393                 :          21 :           case GT_EXPR:
    7394                 :          21 :             {
    7395                 :          21 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7396                 :          21 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7397                 :          21 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7398                 :             :                 {
    7399                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7400                 :             :                     {
    7401                 :           0 :                       {
    7402                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7403                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR, LE_EXPR);
    7404                 :           0 :                         if (res) return res;
    7405                 :             :                       }
    7406                 :             :                     }
    7407                 :             :                 }
    7408                 :             :               break;
    7409                 :             :             }
    7410                 :           2 :           case GE_EXPR:
    7411                 :           2 :             {
    7412                 :           2 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7413                 :           2 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7414                 :           2 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7415                 :             :                 {
    7416                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7417                 :             :                     {
    7418                 :           0 :                       {
    7419                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7420                 :           0 :                         tree res = generic_simplify_221 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, LT_EXPR);
    7421                 :           0 :                         if (res) return res;
    7422                 :             :                       }
    7423                 :             :                     }
    7424                 :             :                 }
    7425                 :             :               break;
    7426                 :             :             }
    7427                 :             :           default:;
    7428                 :             :           }
    7429                 :             :         break;
    7430                 :             :       }
    7431                 :       14551 :     case MIN_EXPR:
    7432                 :       14551 :       {
    7433                 :       14551 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7434                 :       14551 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7435                 :       14551 :         switch (TREE_CODE (_p1))
    7436                 :             :           {
    7437                 :           0 :           case MAX_EXPR:
    7438                 :           0 :             {
    7439                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7440                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7441                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7442                 :             :                 {
    7443                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7444                 :             :                     {
    7445                 :           0 :                       {
    7446                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7447                 :           0 :                         if (!HONOR_NANS (captures[0])
    7448                 :             : )
    7449                 :             :                           {
    7450                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1665;
    7451                 :           0 :                             {
    7452                 :           0 :                               tree res_op0;
    7453                 :           0 :                               res_op0 = captures[0];
    7454                 :           0 :                               tree res_op1;
    7455                 :           0 :                               res_op1 = captures[1];
    7456                 :           0 :                               tree _r;
    7457                 :           0 :                               _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    7458                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    7459                 :           0 :                               return _r;
    7460                 :             :                             }
    7461                 :           0 : next_after_fail1665:;
    7462                 :             :                           }
    7463                 :             :                       }
    7464                 :             :                     }
    7465                 :             :                 }
    7466                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7467                 :             :                 {
    7468                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7469                 :             :                     {
    7470                 :           0 :                       {
    7471                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7472                 :           0 :                         if (!HONOR_NANS (captures[0])
    7473                 :             : )
    7474                 :             :                           {
    7475                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1666;
    7476                 :           0 :                             {
    7477                 :           0 :                               tree res_op0;
    7478                 :           0 :                               res_op0 = captures[0];
    7479                 :           0 :                               tree res_op1;
    7480                 :           0 :                               res_op1 = captures[1];
    7481                 :           0 :                               tree _r;
    7482                 :           0 :                               _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    7483                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    7484                 :           0 :                               return _r;
    7485                 :             :                             }
    7486                 :           0 : next_after_fail1666:;
    7487                 :             :                           }
    7488                 :             :                       }
    7489                 :             :                     }
    7490                 :             :                 }
    7491                 :             :               break;
    7492                 :             :             }
    7493                 :       14551 :           default:;
    7494                 :             :           }
    7495                 :       14551 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7496                 :             :           {
    7497                 :           0 :             {
    7498                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7499                 :           0 :               tree res = generic_simplify_222 (loc, type, _p0, _p1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR);
    7500                 :           0 :               if (res) return res;
    7501                 :             :             }
    7502                 :             :           }
    7503                 :       14551 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    7504                 :             :           {
    7505                 :           0 :             {
    7506                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7507                 :           0 :               tree res = generic_simplify_222 (loc, type, _p0, _p1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR);
    7508                 :           0 :               if (res) return res;
    7509                 :             :             }
    7510                 :             :           }
    7511                 :             :         break;
    7512                 :             :       }
    7513                 :         620 :     case MAX_EXPR:
    7514                 :         620 :       {
    7515                 :         620 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7516                 :         620 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7517                 :         620 :         switch (TREE_CODE (_p1))
    7518                 :             :           {
    7519                 :           0 :           case MIN_EXPR:
    7520                 :           0 :             {
    7521                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7522                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7523                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7524                 :             :                 {
    7525                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7526                 :             :                     {
    7527                 :           0 :                       {
    7528                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7529                 :           0 :                         if (!HONOR_NANS (captures[0])
    7530                 :             : )
    7531                 :             :                           {
    7532                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1667;
    7533                 :           0 :                             {
    7534                 :           0 :                               tree res_op0;
    7535                 :           0 :                               res_op0 = captures[0];
    7536                 :           0 :                               tree res_op1;
    7537                 :           0 :                               res_op1 = captures[1];
    7538                 :           0 :                               tree _r;
    7539                 :           0 :                               _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    7540                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    7541                 :           0 :                               return _r;
    7542                 :             :                             }
    7543                 :           0 : next_after_fail1667:;
    7544                 :             :                           }
    7545                 :             :                       }
    7546                 :             :                     }
    7547                 :             :                 }
    7548                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7549                 :             :                 {
    7550                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7551                 :             :                     {
    7552                 :           0 :                       {
    7553                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7554                 :           0 :                         if (!HONOR_NANS (captures[0])
    7555                 :             : )
    7556                 :             :                           {
    7557                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1668;
    7558                 :           0 :                             {
    7559                 :           0 :                               tree res_op0;
    7560                 :           0 :                               res_op0 = captures[0];
    7561                 :           0 :                               tree res_op1;
    7562                 :           0 :                               res_op1 = captures[1];
    7563                 :           0 :                               tree _r;
    7564                 :           0 :                               _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    7565                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    7566                 :           0 :                               return _r;
    7567                 :             :                             }
    7568                 :           0 : next_after_fail1668:;
    7569                 :             :                           }
    7570                 :             :                       }
    7571                 :             :                     }
    7572                 :             :                 }
    7573                 :             :               break;
    7574                 :             :             }
    7575                 :         620 :           default:;
    7576                 :             :           }
    7577                 :         620 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7578                 :             :           {
    7579                 :           0 :             {
    7580                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7581                 :           0 :               tree res = generic_simplify_222 (loc, type, _p0, _p1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR);
    7582                 :           0 :               if (res) return res;
    7583                 :             :             }
    7584                 :             :           }
    7585                 :         620 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    7586                 :             :           {
    7587                 :          40 :             {
    7588                 :          40 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7589                 :          40 :               tree res = generic_simplify_222 (loc, type, _p0, _p1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR);
    7590                 :          40 :               if (res) return res;
    7591                 :             :             }
    7592                 :             :           }
    7593                 :             :         break;
    7594                 :             :       }
    7595                 :    25573317 :     default:;
    7596                 :             :     }
    7597                 :    25573317 : if (tree_with_possible_nonzero_bits (_p0))
    7598                 :             :   {
    7599                 :     9757369 :     if (tree_with_known_nonzero_bits (_p1))
    7600                 :             :       {
    7601                 :     8381077 :         {
    7602                 :     8381077 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    7603                 :     8381077 :           tree res = generic_simplify_220 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7604                 :     8381077 :           if (res) return res;
    7605                 :             :         }
    7606                 :             :       }
    7607                 :             :   }
    7608                 :    25559444 : if (tree_with_known_nonzero_bits (_p0))
    7609                 :             :   {
    7610                 :     6407999 :     if (tree_with_possible_nonzero_bits (_p1))
    7611                 :             :       {
    7612                 :     6372596 :         {
    7613                 :     6372596 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
    7614                 :     6372596 :           tree res = generic_simplify_220 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7615                 :     6372596 :           if (res) return res;
    7616                 :             :         }
    7617                 :             :       }
    7618                 :             :   }
    7619                 :    25559132 :   switch (TREE_CODE (_p1))
    7620                 :             :     {
    7621                 :         199 :     case MIN_EXPR:
    7622                 :         199 :       {
    7623                 :         199 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7624                 :         199 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7625                 :         199 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7626                 :             :           {
    7627                 :           0 :             {
    7628                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    7629                 :           0 :               tree res = generic_simplify_222 (loc, type, _p0, _p1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR);
    7630                 :           0 :               if (res) return res;
    7631                 :             :             }
    7632                 :             :           }
    7633                 :         199 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    7634                 :             :           {
    7635                 :           0 :             {
    7636                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    7637                 :           0 :               tree res = generic_simplify_222 (loc, type, _p0, _p1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR);
    7638                 :           0 :               if (res) return res;
    7639                 :             :             }
    7640                 :             :           }
    7641                 :             :         break;
    7642                 :             :       }
    7643                 :          40 :     case MAX_EXPR:
    7644                 :          40 :       {
    7645                 :          40 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7646                 :          40 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7647                 :          40 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7648                 :             :           {
    7649                 :           0 :             {
    7650                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    7651                 :           0 :               tree res = generic_simplify_222 (loc, type, _p0, _p1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR);
    7652                 :           0 :               if (res) return res;
    7653                 :             :             }
    7654                 :             :           }
    7655                 :          40 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    7656                 :             :           {
    7657                 :           0 :             {
    7658                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    7659                 :           0 :               tree res = generic_simplify_222 (loc, type, _p0, _p1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR);
    7660                 :           0 :               if (res) return res;
    7661                 :             :             }
    7662                 :             :           }
    7663                 :             :         break;
    7664                 :             :       }
    7665                 :    25559132 :     default:;
    7666                 :             :     }
    7667                 :    25559132 :   switch (TREE_CODE (_p0))
    7668                 :             :     {
    7669                 :       14551 :     case MIN_EXPR:
    7670                 :       14551 :       {
    7671                 :       14551 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7672                 :       14551 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7673                 :       14551 :         switch (TREE_CODE (_q21))
    7674                 :             :           {
    7675                 :          88 :           case INTEGER_CST:
    7676                 :          88 :             {
    7677                 :          88 :               switch (TREE_CODE (_p1))
    7678                 :             :                 {
    7679                 :           0 :                 case INTEGER_CST:
    7680                 :           0 :                   {
    7681                 :           0 :                     {
    7682                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7683                 :           0 :                       tree res = generic_simplify_223 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7684                 :           0 :                       if (res) return res;
    7685                 :             :                     }
    7686                 :           0 :                     break;
    7687                 :             :                   }
    7688                 :             :                 default:;
    7689                 :             :                 }
    7690                 :             :               break;
    7691                 :             :             }
    7692                 :             :           default:;
    7693                 :             :           }
    7694                 :             :         break;
    7695                 :             :       }
    7696                 :         581 :     case MAX_EXPR:
    7697                 :         581 :       {
    7698                 :         581 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7699                 :         581 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7700                 :         581 :         switch (TREE_CODE (_q21))
    7701                 :             :           {
    7702                 :         381 :           case INTEGER_CST:
    7703                 :         381 :             {
    7704                 :         381 :               switch (TREE_CODE (_p1))
    7705                 :             :                 {
    7706                 :          42 :                 case INTEGER_CST:
    7707                 :          42 :                   {
    7708                 :          42 :                     {
    7709                 :          42 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7710                 :          42 :                       tree res = generic_simplify_224 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7711                 :          42 :                       if (res) return res;
    7712                 :             :                     }
    7713                 :           0 :                     break;
    7714                 :             :                   }
    7715                 :             :                 default:;
    7716                 :             :                 }
    7717                 :             :               break;
    7718                 :             :             }
    7719                 :         539 :           default:;
    7720                 :             :           }
    7721                 :         539 :         if (integer_zerop (_p1))
    7722                 :             :           {
    7723                 :          11 :             {
    7724                 :          11 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7725                 :          11 :               tree res = generic_simplify_225 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7726                 :          11 :               if (res) return res;
    7727                 :             :             }
    7728                 :             :           }
    7729                 :             :         break;
    7730                 :             :       }
    7731                 :      878327 :     case BIT_AND_EXPR:
    7732                 :      878327 :       {
    7733                 :      878327 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7734                 :      878327 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7735                 :      878327 :         switch (TREE_CODE (_q20))
    7736                 :             :           {
    7737                 :         759 :           case LSHIFT_EXPR:
    7738                 :         759 :             {
    7739                 :         759 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7740                 :         759 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7741                 :         759 :               if (integer_pow2p (_q30))
    7742                 :             :                 {
    7743                 :         751 :                   if (integer_pow2p (_q21))
    7744                 :             :                     {
    7745                 :           1 :                       if (integer_zerop (_p1))
    7746                 :             :                         {
    7747                 :           1 :                           {
    7748                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q21 };
    7749                 :           1 :                             tree res = generic_simplify_226 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
    7750                 :           1 :                             if (res) return res;
    7751                 :             :                           }
    7752                 :             :                         }
    7753                 :             :                     }
    7754                 :             :                 }
    7755                 :         758 :               switch (TREE_CODE (_q31))
    7756                 :             :                 {
    7757                 :           0 :                 case INTEGER_CST:
    7758                 :           0 :                   {
    7759                 :           0 :                     switch (TREE_CODE (_q21))
    7760                 :             :                       {
    7761                 :           0 :                       case INTEGER_CST:
    7762                 :           0 :                         {
    7763                 :           0 :                           switch (TREE_CODE (_p1))
    7764                 :             :                             {
    7765                 :           0 :                             case INTEGER_CST:
    7766                 :           0 :                               {
    7767                 :           0 :                                 {
    7768                 :           0 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1 };
    7769                 :           0 :                                   tree res = generic_simplify_227 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7770                 :           0 :                                   if (res) return res;
    7771                 :             :                                 }
    7772                 :           0 :                                 break;
    7773                 :             :                               }
    7774                 :             :                             default:;
    7775                 :             :                             }
    7776                 :             :                           break;
    7777                 :             :                         }
    7778                 :             :                       default:;
    7779                 :             :                       }
    7780                 :             :                     break;
    7781                 :             :                   }
    7782                 :         758 :                 default:;
    7783                 :             :                 }
    7784                 :         758 :               if (integer_onep (_q30))
    7785                 :             :                 {
    7786                 :         750 :                   if (integer_pow2p (_q21))
    7787                 :             :                     {
    7788                 :           0 :                       if (integer_zerop (_p1))
    7789                 :             :                         {
    7790                 :           0 :                           {
    7791                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q21 };
    7792                 :           0 :                             tree res = generic_simplify_228 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
    7793                 :           0 :                             if (res) return res;
    7794                 :             :                           }
    7795                 :             :                         }
    7796                 :             :                     }
    7797                 :             :                 }
    7798                 :             :               break;
    7799                 :             :             }
    7800                 :        2572 :           case RSHIFT_EXPR:
    7801                 :        2572 :             {
    7802                 :        2572 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7803                 :        2572 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7804                 :        2572 :               if (integer_pow2p (_q30))
    7805                 :             :                 {
    7806                 :           1 :                   if (integer_pow2p (_q21))
    7807                 :             :                     {
    7808                 :           1 :                       if (integer_zerop (_p1))
    7809                 :             :                         {
    7810                 :           1 :                           {
    7811                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q21 };
    7812                 :           1 :                             tree res = generic_simplify_229 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
    7813                 :           1 :                             if (res) return res;
    7814                 :             :                           }
    7815                 :             :                         }
    7816                 :             :                     }
    7817                 :             :                 }
    7818                 :        2571 :               switch (TREE_CODE (_q31))
    7819                 :             :                 {
    7820                 :         383 :                 case INTEGER_CST:
    7821                 :         383 :                   {
    7822                 :         383 :                     switch (TREE_CODE (_q21))
    7823                 :             :                       {
    7824                 :         383 :                       case INTEGER_CST:
    7825                 :         383 :                         {
    7826                 :         383 :                           switch (TREE_CODE (_p1))
    7827                 :             :                             {
    7828                 :         383 :                             case INTEGER_CST:
    7829                 :         383 :                               {
    7830                 :         383 :                                 {
    7831                 :         383 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1 };
    7832                 :         383 :                                   tree res = generic_simplify_230 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7833                 :         383 :                                   if (res) return res;
    7834                 :             :                                 }
    7835                 :           0 :                                 break;
    7836                 :             :                               }
    7837                 :             :                             default:;
    7838                 :             :                             }
    7839                 :             :                           break;
    7840                 :             :                         }
    7841                 :             :                       default:;
    7842                 :             :                       }
    7843                 :             :                     break;
    7844                 :             :                   }
    7845                 :             :                 default:;
    7846                 :             :                 }
    7847                 :             :               break;
    7848                 :             :             }
    7849                 :      877942 :           default:;
    7850                 :             :           }
    7851                 :      877942 :       {
    7852                 :      877942 :         tree _q20_pops[1];
    7853                 :      877942 :         if (tree_nop_convert (_q20, _q20_pops))
    7854                 :             :           {
    7855                 :       26026 :             tree _q30 = _q20_pops[0];
    7856                 :       26026 :             switch (TREE_CODE (_q30))
    7857                 :             :               {
    7858                 :           0 :               case LSHIFT_EXPR:
    7859                 :           0 :                 {
    7860                 :           0 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    7861                 :           0 :                   tree _q41 = TREE_OPERAND (_q30, 1);
    7862                 :           0 :                   if (integer_onep (_q40))
    7863                 :             :                     {
    7864                 :           0 :                       if (integer_pow2p (_q21))
    7865                 :             :                         {
    7866                 :           0 :                           if (integer_zerop (_p1))
    7867                 :             :                             {
    7868                 :           0 :                               {
    7869                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q41, _q21 };
    7870                 :           0 :                                 tree res = generic_simplify_228 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
    7871                 :           0 :                                 if (res) return res;
    7872                 :             :                               }
    7873                 :             :                             }
    7874                 :             :                         }
    7875                 :             :                     }
    7876                 :             :                   break;
    7877                 :             :                 }
    7878                 :             :               default:;
    7879                 :             :               }
    7880                 :             :           }
    7881                 :             :       }
    7882                 :      877942 :         break;
    7883                 :             :       }
    7884                 :        1443 :     case LSHIFT_EXPR:
    7885                 :        1443 :       {
    7886                 :        1443 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7887                 :        1443 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7888                 :        1443 :         switch (TREE_CODE (_q20))
    7889                 :             :           {
    7890                 :         325 :           case INTEGER_CST:
    7891                 :         325 :             {
    7892                 :         325 :               switch (TREE_CODE (_p1))
    7893                 :             :                 {
    7894                 :          20 :                 case INTEGER_CST:
    7895                 :          20 :                   {
    7896                 :          20 :                     {
    7897                 :          20 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7898                 :          20 :                       tree res = generic_simplify_231 (loc, type, _p0, _p1, captures, EQ_EXPR);
    7899                 :          20 :                       if (res) return res;
    7900                 :             :                     }
    7901                 :           3 :                     break;
    7902                 :             :                   }
    7903                 :             :                 default:;
    7904                 :             :                 }
    7905                 :             :               break;
    7906                 :             :             }
    7907                 :             :           default:;
    7908                 :             :           }
    7909                 :             :         break;
    7910                 :             :       }
    7911                 :           0 :     case LROTATE_EXPR:
    7912                 :           0 :       {
    7913                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7914                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7915                 :           0 :         switch (TREE_CODE (_p1))
    7916                 :             :           {
    7917                 :           0 :           case LROTATE_EXPR:
    7918                 :           0 :             {
    7919                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7920                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7921                 :           0 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7922                 :             :                 {
    7923                 :           0 :                   {
    7924                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    7925                 :           0 :                     tree res = generic_simplify_232 (loc, type, _p0, _p1, captures, LROTATE_EXPR, RROTATE_EXPR, EQ_EXPR);
    7926                 :           0 :                     if (res) return res;
    7927                 :             :                   }
    7928                 :             :                 }
    7929                 :             :               break;
    7930                 :             :             }
    7931                 :           0 :           default:;
    7932                 :             :           }
    7933                 :           0 :         switch (TREE_CODE (_q21))
    7934                 :             :           {
    7935                 :           0 :           case INTEGER_CST:
    7936                 :           0 :             {
    7937                 :           0 :               switch (TREE_CODE (_p1))
    7938                 :             :                 {
    7939                 :           0 :                 case INTEGER_CST:
    7940                 :           0 :                   {
    7941                 :           0 :                     {
    7942                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7943                 :           0 :                       tree res = generic_simplify_233 (loc, type, _p0, _p1, captures, LROTATE_EXPR, RROTATE_EXPR, EQ_EXPR);
    7944                 :           0 :                       if (res) return res;
    7945                 :             :                     }
    7946                 :           0 :                     break;
    7947                 :             :                   }
    7948                 :             :                 default:;
    7949                 :             :                 }
    7950                 :             :               break;
    7951                 :             :             }
    7952                 :           0 :           default:;
    7953                 :             :           }
    7954                 :           0 :         switch (TREE_CODE (_p1))
    7955                 :             :           {
    7956                 :           0 :           case INTEGER_CST:
    7957                 :           0 :             {
    7958                 :           0 :               {
    7959                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7960                 :           0 :                 tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, LROTATE_EXPR, RROTATE_EXPR, EQ_EXPR);
    7961                 :           0 :                 if (res) return res;
    7962                 :             :               }
    7963                 :           0 :               break;
    7964                 :             :             }
    7965                 :             :           default:;
    7966                 :             :           }
    7967                 :             :         break;
    7968                 :             :       }
    7969                 :           6 :     case RROTATE_EXPR:
    7970                 :           6 :       {
    7971                 :           6 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7972                 :           6 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7973                 :           6 :         switch (TREE_CODE (_p1))
    7974                 :             :           {
    7975                 :           0 :           case RROTATE_EXPR:
    7976                 :           0 :             {
    7977                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7978                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7979                 :           0 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7980                 :             :                 {
    7981                 :           0 :                   {
    7982                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    7983                 :           0 :                     tree res = generic_simplify_232 (loc, type, _p0, _p1, captures, RROTATE_EXPR, LROTATE_EXPR, EQ_EXPR);
    7984                 :           0 :                     if (res) return res;
    7985                 :             :                   }
    7986                 :             :                 }
    7987                 :             :               break;
    7988                 :             :             }
    7989                 :           6 :           default:;
    7990                 :             :           }
    7991                 :           6 :         switch (TREE_CODE (_q21))
    7992                 :             :           {
    7993                 :           6 :           case INTEGER_CST:
    7994                 :           6 :             {
    7995                 :           6 :               switch (TREE_CODE (_p1))
    7996                 :             :                 {
    7997                 :           0 :                 case INTEGER_CST:
    7998                 :           0 :                   {
    7999                 :           0 :                     {
    8000                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    8001                 :           0 :                       tree res = generic_simplify_233 (loc, type, _p0, _p1, captures, RROTATE_EXPR, LROTATE_EXPR, EQ_EXPR);
    8002                 :           0 :                       if (res) return res;
    8003                 :             :                     }
    8004                 :           0 :                     break;
    8005                 :             :                   }
    8006                 :             :                 default:;
    8007                 :             :                 }
    8008                 :             :               break;
    8009                 :             :             }
    8010                 :           6 :           default:;
    8011                 :             :           }
    8012                 :           6 :         switch (TREE_CODE (_p1))
    8013                 :             :           {
    8014                 :           0 :           case INTEGER_CST:
    8015                 :           0 :             {
    8016                 :           0 :               {
    8017                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    8018                 :           0 :                 tree res = generic_simplify_234 (loc, type, _p0, _p1, captures, RROTATE_EXPR, LROTATE_EXPR, EQ_EXPR);
    8019                 :           0 :                 if (res) return res;
    8020                 :             :               }
    8021                 :           0 :               break;
    8022                 :             :             }
    8023                 :             :           default:;
    8024                 :             :           }
    8025                 :             :         break;
    8026                 :             :       }
    8027                 :       64356 :     case MULT_EXPR:
    8028                 :       64356 :       {
    8029                 :       64356 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8030                 :       64356 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8031                 :       64356 :         switch (TREE_CODE (_q20))
    8032                 :             :           {
    8033                 :          66 :           case TRUNC_DIV_EXPR:
    8034                 :          66 :             {
    8035                 :          66 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8036                 :          66 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8037                 :          66 :               if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    8038                 :             :                 {
    8039                 :          47 :                   if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    8040                 :             :                     {
    8041                 :          47 :                       {
    8042                 :          47 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8043                 :          47 :                         tree res = generic_simplify_235 (loc, type, _p0, _p1, captures);
    8044                 :          47 :                         if (res) return res;
    8045                 :             :                       }
    8046                 :             :                     }
    8047                 :             :                 }
    8048                 :             :               break;
    8049                 :             :             }
    8050                 :       64309 :           default:;
    8051                 :             :           }
    8052                 :       64309 :         switch (TREE_CODE (_q21))
    8053                 :             :           {
    8054                 :           0 :           case TRUNC_DIV_EXPR:
    8055                 :           0 :             {
    8056                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
    8057                 :           0 :               tree _q41 = TREE_OPERAND (_q21, 1);
    8058                 :           0 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    8059                 :             :                 {
    8060                 :           0 :                   if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    8061                 :             :                     {
    8062                 :           0 :                       {
    8063                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q40, _q20 };
    8064                 :           0 :                         tree res = generic_simplify_235 (loc, type, _p0, _p1, captures);
    8065                 :           0 :                         if (res) return res;
    8066                 :             :                       }
    8067                 :             :                     }
    8068                 :             :                 }
    8069                 :             :               break;
    8070                 :             :             }
    8071                 :             :           default:;
    8072                 :             :           }
    8073                 :             :         break;
    8074                 :             :       }
    8075                 :    25558641 :     default:;
    8076                 :             :     }
    8077                 :    25558641 :   switch (TREE_CODE (_p1))
    8078                 :             :     {
    8079                 :       13080 :     case MULT_EXPR:
    8080                 :       13080 :       {
    8081                 :       13080 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8082                 :       13080 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8083                 :       13080 :         switch (TREE_CODE (_q30))
    8084                 :             :           {
    8085                 :           0 :           case TRUNC_DIV_EXPR:
    8086                 :           0 :             {
    8087                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8088                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8089                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    8090                 :             :                 {
    8091                 :           0 :                   if ((_q31 == _q41 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q41, 0) && types_match (_q31, _q41)))
    8092                 :             :                     {
    8093                 :           0 :                       {
    8094                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q41 };
    8095                 :           0 :                         tree res = generic_simplify_235 (loc, type, _p0, _p1, captures);
    8096                 :           0 :                         if (res) return res;
    8097                 :             :                       }
    8098                 :             :                     }
    8099                 :             :                 }
    8100                 :             :               break;
    8101                 :             :             }
    8102                 :       13080 :           default:;
    8103                 :             :           }
    8104                 :       13080 :         switch (TREE_CODE (_q31))
    8105                 :             :           {
    8106                 :           0 :           case TRUNC_DIV_EXPR:
    8107                 :           0 :             {
    8108                 :           0 :               tree _q50 = TREE_OPERAND (_q31, 0);
    8109                 :           0 :               tree _q51 = TREE_OPERAND (_q31, 1);
    8110                 :           0 :               if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    8111                 :             :                 {
    8112                 :           0 :                   if ((_q51 == _q30 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q30, 0) && types_match (_q51, _q30)))
    8113                 :             :                     {
    8114                 :           0 :                       {
    8115                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q31, _p0, _q30 };
    8116                 :           0 :                         tree res = generic_simplify_235 (loc, type, _p0, _p1, captures);
    8117                 :           0 :                         if (res) return res;
    8118                 :             :                       }
    8119                 :             :                     }
    8120                 :             :                 }
    8121                 :             :               break;
    8122                 :             :             }
    8123                 :             :           default:;
    8124                 :             :           }
    8125                 :             :         break;
    8126                 :             :       }
    8127                 :    25558641 :     default:;
    8128                 :             :     }
    8129                 :    25558641 :   switch (TREE_CODE (_p0))
    8130                 :             :     {
    8131                 :         130 :     case VEC_COND_EXPR:
    8132                 :         130 :       {
    8133                 :         130 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8134                 :         130 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8135                 :         130 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8136                 :         130 :         switch (TREE_CODE (_p1))
    8137                 :             :           {
    8138                 :          27 :           case VEC_COND_EXPR:
    8139                 :          27 :             {
    8140                 :          27 :               tree _q60 = TREE_OPERAND (_p1, 0);
    8141                 :          27 :               tree _q61 = TREE_OPERAND (_p1, 1);
    8142                 :          27 :               tree _q62 = TREE_OPERAND (_p1, 2);
    8143                 :          27 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    8144                 :             :                 {
    8145                 :           0 :                   {
    8146                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    8147                 :           0 :                     if (VECTOR_TYPE_P (type)
    8148                 :           0 :  && (TREE_CODE_CLASS (EQ_EXPR) != tcc_comparison
    8149                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
    8150                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    8151                 :             :  || (optimize_vectors_before_lowering_p ()
    8152                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    8153                 :             : )
    8154                 :             :                       {
    8155                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1669;
    8156                 :           0 :                         {
    8157                 :           0 :                           tree res_op0;
    8158                 :           0 :                           res_op0 = captures[1];
    8159                 :           0 :                           tree res_op1;
    8160                 :           0 :                           {
    8161                 :           0 :                             tree _o1[2], _r1;
    8162                 :           0 :                             _o1[0] = captures[2];
    8163                 :           0 :                             _o1[1] = captures[5];
    8164                 :           0 :                             _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    8165                 :           0 :                             if (EXPR_P (_r1))
    8166                 :           0 :                               goto next_after_fail1669;
    8167                 :           0 :                             res_op1 = _r1;
    8168                 :             :                           }
    8169                 :           0 :                           tree res_op2;
    8170                 :           0 :                           {
    8171                 :           0 :                             tree _o1[2], _r1;
    8172                 :           0 :                             _o1[0] = captures[3];
    8173                 :           0 :                             _o1[1] = captures[6];
    8174                 :           0 :                             _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    8175                 :           0 :                             if (EXPR_P (_r1))
    8176                 :           0 :                               goto next_after_fail1669;
    8177                 :           0 :                             res_op2 = _r1;
    8178                 :             :                           }
    8179                 :           0 :                           tree _r;
    8180                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8181                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 909, __FILE__, __LINE__, true);
    8182                 :           0 :                           return _r;
    8183                 :             :                         }
    8184                 :           0 : next_after_fail1669:;
    8185                 :             :                       }
    8186                 :             :                   }
    8187                 :             :                 }
    8188                 :             :               break;
    8189                 :             :             }
    8190                 :         130 :           default:;
    8191                 :             :           }
    8192                 :         130 :         {
    8193                 :         130 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    8194                 :         130 :           if (VECTOR_TYPE_P (type)
    8195                 :         130 :  && (TREE_CODE_CLASS (EQ_EXPR) != tcc_comparison
    8196                 :         130 :  || types_match (type, TREE_TYPE (captures[2]))
    8197                 :         130 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    8198                 :             :  || (optimize_vectors_before_lowering_p ()
    8199                 :          79 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    8200                 :             : )
    8201                 :             :             {
    8202                 :         130 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1670;
    8203                 :         130 :               {
    8204                 :         130 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1670;
    8205                 :          22 :                 tree res_op0;
    8206                 :          22 :                 res_op0 = captures[1];
    8207                 :          22 :                 tree res_op1;
    8208                 :          22 :                 {
    8209                 :          22 :                   tree _o1[2], _r1;
    8210                 :          22 :                   _o1[0] = captures[2];
    8211                 :          22 :                   _o1[1] = unshare_expr (captures[4]);
    8212                 :          22 :                   _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    8213                 :          22 :                   if (EXPR_P (_r1))
    8214                 :           0 :                     goto next_after_fail1670;
    8215                 :          22 :                   res_op1 = _r1;
    8216                 :             :                 }
    8217                 :          22 :                 tree res_op2;
    8218                 :          22 :                 {
    8219                 :          22 :                   tree _o1[2], _r1;
    8220                 :          22 :                   _o1[0] = captures[3];
    8221                 :          22 :                   _o1[1] = captures[4];
    8222                 :          22 :                   _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    8223                 :          22 :                   if (EXPR_P (_r1))
    8224                 :           1 :                     goto next_after_fail1670;
    8225                 :          21 :                   res_op2 = _r1;
    8226                 :             :                 }
    8227                 :          21 :                 tree _r;
    8228                 :          21 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8229                 :          21 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
    8230                 :          21 :                 return _r;
    8231                 :             :               }
    8232                 :         109 : next_after_fail1670:;
    8233                 :             :             }
    8234                 :             :         }
    8235                 :         109 :         break;
    8236                 :             :       }
    8237                 :     1802106 :     case CALL_EXPR:
    8238                 :     1802106 :       switch (get_call_combined_fn (_p0))
    8239                 :             :         {
    8240                 :           0 :         case CFN_BUILT_IN_BSWAP128:
    8241                 :           0 :           if (call_expr_nargs (_p0) == 1)
    8242                 :             :     {
    8243                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8244                 :           0 :               switch (TREE_CODE (_p1))
    8245                 :             :                 {
    8246                 :           0 :                 case INTEGER_CST:
    8247                 :           0 :                   {
    8248                 :           0 :                     {
    8249                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8250                 :           0 :                       tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP128);
    8251                 :           0 :                       if (res) return res;
    8252                 :             :                     }
    8253                 :           0 :                     break;
    8254                 :             :                   }
    8255                 :           0 :                 case CALL_EXPR:
    8256                 :           0 :                   switch (get_call_combined_fn (_p1))
    8257                 :             :                     {
    8258                 :           0 :                     case CFN_BUILT_IN_BSWAP128:
    8259                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    8260                 :             :     {
    8261                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8262                 :           0 :                           {
    8263                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    8264                 :           0 :                             tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP128);
    8265                 :           0 :                             if (res) return res;
    8266                 :             :                           }
    8267                 :             :                         }
    8268                 :             :                       break;
    8269                 :             :                     default:;
    8270                 :             :                     }
    8271                 :             :                   break;
    8272                 :             :                 default:;
    8273                 :             :                 }
    8274                 :             :             }
    8275                 :             :           break;
    8276                 :           2 :         case CFN_BUILT_IN_BSWAP16:
    8277                 :           2 :           if (call_expr_nargs (_p0) == 1)
    8278                 :             :     {
    8279                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8280                 :           2 :               switch (TREE_CODE (_p1))
    8281                 :             :                 {
    8282                 :           1 :                 case INTEGER_CST:
    8283                 :           1 :                   {
    8284                 :           1 :                     {
    8285                 :           1 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8286                 :           1 :                       tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP16);
    8287                 :           1 :                       if (res) return res;
    8288                 :             :                     }
    8289                 :           1 :                     break;
    8290                 :             :                   }
    8291                 :           1 :                 case CALL_EXPR:
    8292                 :           1 :                   switch (get_call_combined_fn (_p1))
    8293                 :             :                     {
    8294                 :           1 :                     case CFN_BUILT_IN_BSWAP16:
    8295                 :           1 :                       if (call_expr_nargs (_p1) == 1)
    8296                 :             :     {
    8297                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8298                 :           1 :                           {
    8299                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    8300                 :           1 :                             tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP16);
    8301                 :           1 :                             if (res) return res;
    8302                 :             :                           }
    8303                 :             :                         }
    8304                 :             :                       break;
    8305                 :             :                     default:;
    8306                 :             :                     }
    8307                 :             :                   break;
    8308                 :             :                 default:;
    8309                 :             :                 }
    8310                 :             :             }
    8311                 :             :           break;
    8312                 :           6 :         case CFN_BUILT_IN_BSWAP32:
    8313                 :           6 :           if (call_expr_nargs (_p0) == 1)
    8314                 :             :     {
    8315                 :           6 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8316                 :           6 :               switch (TREE_CODE (_p1))
    8317                 :             :                 {
    8318                 :           3 :                 case INTEGER_CST:
    8319                 :           3 :                   {
    8320                 :           3 :                     {
    8321                 :           3 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8322                 :           3 :                       tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP32);
    8323                 :           3 :                       if (res) return res;
    8324                 :             :                     }
    8325                 :           3 :                     break;
    8326                 :             :                   }
    8327                 :           3 :                 case CALL_EXPR:
    8328                 :           3 :                   switch (get_call_combined_fn (_p1))
    8329                 :             :                     {
    8330                 :           3 :                     case CFN_BUILT_IN_BSWAP32:
    8331                 :           3 :                       if (call_expr_nargs (_p1) == 1)
    8332                 :             :     {
    8333                 :           3 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8334                 :           3 :                           {
    8335                 :           3 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    8336                 :           3 :                             tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP32);
    8337                 :           3 :                             if (res) return res;
    8338                 :             :                           }
    8339                 :             :                         }
    8340                 :             :                       break;
    8341                 :             :                     default:;
    8342                 :             :                     }
    8343                 :             :                   break;
    8344                 :             :                 default:;
    8345                 :             :                 }
    8346                 :             :             }
    8347                 :             :           break;
    8348                 :           6 :         case CFN_BUILT_IN_BSWAP64:
    8349                 :           6 :           if (call_expr_nargs (_p0) == 1)
    8350                 :             :     {
    8351                 :           6 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    8352                 :           6 :               switch (TREE_CODE (_p1))
    8353                 :             :                 {
    8354                 :           3 :                 case INTEGER_CST:
    8355                 :           3 :                   {
    8356                 :           3 :                     {
    8357                 :           3 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8358                 :           3 :                       tree res = generic_simplify_237 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP64);
    8359                 :           3 :                       if (res) return res;
    8360                 :             :                     }
    8361                 :           3 :                     break;
    8362                 :             :                   }
    8363                 :           3 :                 case CALL_EXPR:
    8364                 :           3 :                   switch (get_call_combined_fn (_p1))
    8365                 :             :                     {
    8366                 :           3 :                     case CFN_BUILT_IN_BSWAP64:
    8367                 :           3 :                       if (call_expr_nargs (_p1) == 1)
    8368                 :             :     {
    8369                 :           3 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    8370                 :           3 :                           {
    8371                 :           3 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    8372                 :           3 :                             tree res = generic_simplify_236 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP64);
    8373                 :           3 :                             if (res) return res;
    8374                 :             :                           }
    8375                 :             :                         }
    8376                 :             :                       break;
    8377                 :             :                     default:;
    8378                 :             :                     }
    8379                 :             :                   break;
    8380                 :             :                 default:;
    8381                 :             :                 }
    8382                 :             :             }
    8383                 :             :           break;
    8384                 :             :         default:;
    8385                 :             :         }
    8386                 :             :       break;
    8387                 :    25558613 :     default:;
    8388                 :             :     }
    8389                 :    25558613 :   switch (TREE_CODE (_p1))
    8390                 :             :     {
    8391                 :          29 :     case VEC_COND_EXPR:
    8392                 :          29 :       {
    8393                 :          29 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8394                 :          29 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8395                 :          29 :         tree _q32 = TREE_OPERAND (_p1, 2);
    8396                 :          29 :         {
    8397                 :          29 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    8398                 :          29 :           if (VECTOR_TYPE_P (type)
    8399                 :          29 :  && (TREE_CODE_CLASS (EQ_EXPR) != tcc_comparison
    8400                 :          29 :  || types_match (type, TREE_TYPE (captures[3]))
    8401                 :          29 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
    8402                 :             :  || (optimize_vectors_before_lowering_p ()
    8403                 :          21 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
    8404                 :             : )
    8405                 :             :             {
    8406                 :          29 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1671;
    8407                 :          29 :               {
    8408                 :          29 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1671;
    8409                 :           0 :                 tree res_op0;
    8410                 :           0 :                 res_op0 = captures[2];
    8411                 :           0 :                 tree res_op1;
    8412                 :           0 :                 {
    8413                 :           0 :                   tree _o1[2], _r1;
    8414                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    8415                 :           0 :                   _o1[1] = captures[3];
    8416                 :           0 :                   _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    8417                 :           0 :                   if (EXPR_P (_r1))
    8418                 :           0 :                     goto next_after_fail1671;
    8419                 :           0 :                   res_op1 = _r1;
    8420                 :             :                 }
    8421                 :           0 :                 tree res_op2;
    8422                 :           0 :                 {
    8423                 :           0 :                   tree _o1[2], _r1;
    8424                 :           0 :                   _o1[0] = captures[0];
    8425                 :           0 :                   _o1[1] = captures[4];
    8426                 :           0 :                   _r1 = fold_build2_loc (loc, EQ_EXPR, type, _o1[0], _o1[1]);
    8427                 :           0 :                   if (EXPR_P (_r1))
    8428                 :           0 :                     goto next_after_fail1671;
    8429                 :           0 :                   res_op2 = _r1;
    8430                 :             :                 }
    8431                 :           0 :                 tree _r;
    8432                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8433                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 911, __FILE__, __LINE__, true);
    8434                 :           0 :                 return _r;
    8435                 :             :               }
    8436                 :          29 : next_after_fail1671:;
    8437                 :             :             }
    8438                 :             :         }
    8439                 :          29 :         break;
    8440                 :             :       }
    8441                 :    25558613 :     default:;
    8442                 :             :     }
    8443                 :    25558613 :   switch (TREE_CODE (_p0))
    8444                 :             :     {
    8445                 :       40531 :     case COND_EXPR:
    8446                 :       40531 :       {
    8447                 :       40531 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8448                 :       40531 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8449                 :       40531 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8450                 :       40531 :         switch (TREE_CODE (_p1))
    8451                 :             :           {
    8452                 :          37 :           case COND_EXPR:
    8453                 :          37 :             {
    8454                 :          37 :               tree _q60 = TREE_OPERAND (_p1, 0);
    8455                 :          37 :               tree _q61 = TREE_OPERAND (_p1, 1);
    8456                 :          37 :               tree _q62 = TREE_OPERAND (_p1, 2);
    8457                 :          37 :               if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    8458                 :             :                 {
    8459                 :           3 :                   if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    8460                 :             :                     {
    8461                 :           3 :                       {
    8462                 :           3 :                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
    8463                 :           3 :                         const enum tree_code eqne = EQ_EXPR;
    8464                 :           3 :                         if (!HONOR_NANS (captures[1])
    8465                 :           3 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[3]))
    8466                 :           6 :  && types_match (type, TREE_TYPE (captures[0]))
    8467                 :             : )
    8468                 :             :                           {
    8469                 :           3 :                             if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1672;
    8470                 :           3 :                             if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1672;
    8471                 :           3 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1672;
    8472                 :           3 :                             {
    8473                 :           3 :                               tree res_op0;
    8474                 :           3 :                               {
    8475                 :           3 :                                 tree _o1[2], _r1;
    8476                 :           3 :                                 {
    8477                 :           3 :                                   tree _o2[2], _r2;
    8478                 :           3 :                                   _o2[0] = captures[0];
    8479                 :           3 :                                   _o2[1] = captures[3];
    8480                 :           3 :                                   _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    8481                 :           3 :                                   _o1[0] = _r2;
    8482                 :             :                                 }
    8483                 :           3 :                                 {
    8484                 :           3 :                                   tree _o2[2], _r2;
    8485                 :           3 :                                   _o2[0] = captures[1];
    8486                 :           3 :                                   _o2[1] = captures[2];
    8487                 :           3 :                                   _r2 = fold_build2_loc (loc, NE_EXPR, type, _o2[0], _o2[1]);
    8488                 :           3 :                                   _o1[1] = _r2;
    8489                 :             :                                 }
    8490                 :           3 :                                 _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8491                 :           3 :                                 res_op0 = _r1;
    8492                 :             :                               }
    8493                 :           3 :                               tree res_op1;
    8494                 :           3 :                               res_op1 =  constant_boolean_node (eqne == NE_EXPR, type);
    8495                 :           3 :                               tree res_op2;
    8496                 :           3 :                               res_op2 =  constant_boolean_node (eqne != NE_EXPR, type);
    8497                 :           3 :                               tree _r;
    8498                 :           3 :                               _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    8499                 :           3 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 997, __FILE__, __LINE__, true);
    8500                 :           3 :                               return _r;
    8501                 :             :                             }
    8502                 :           0 : next_after_fail1672:;
    8503                 :             :                           }
    8504                 :             :                       }
    8505                 :             :                     }
    8506                 :             :                 }
    8507                 :          34 :               if ((_q61 == _q22 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q22, 0) && types_match (_q61, _q22)))
    8508                 :             :                 {
    8509                 :           7 :                   if ((_q62 == _q21 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q21, 0) && types_match (_q62, _q21)))
    8510                 :             :                     {
    8511                 :           7 :                       {
    8512                 :           7 :                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
    8513                 :           7 :                         const enum tree_code eqne = EQ_EXPR;
    8514                 :           7 :                         if (!HONOR_NANS (captures[1])
    8515                 :           0 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[3]))
    8516                 :           7 :  && types_match (type, TREE_TYPE (captures[0]))
    8517                 :             : )
    8518                 :             :                           {
    8519                 :           0 :                             if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1673;
    8520                 :           0 :                             if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1673;
    8521                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1673;
    8522                 :           0 :                             {
    8523                 :           0 :                               tree res_op0;
    8524                 :           0 :                               {
    8525                 :           0 :                                 tree _o1[2], _r1;
    8526                 :           0 :                                 {
    8527                 :           0 :                                   tree _o2[2], _r2;
    8528                 :           0 :                                   _o2[0] = captures[0];
    8529                 :           0 :                                   _o2[1] = captures[3];
    8530                 :           0 :                                   _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    8531                 :           0 :                                   _o1[0] = _r2;
    8532                 :             :                                 }
    8533                 :           0 :                                 {
    8534                 :           0 :                                   tree _o2[2], _r2;
    8535                 :           0 :                                   _o2[0] = captures[1];
    8536                 :           0 :                                   _o2[1] = captures[2];
    8537                 :           0 :                                   _r2 = fold_build2_loc (loc, EQ_EXPR, type, _o2[0], _o2[1]);
    8538                 :           0 :                                   _o1[1] = _r2;
    8539                 :             :                                 }
    8540                 :           0 :                                 _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8541                 :           0 :                                 res_op0 = _r1;
    8542                 :             :                               }
    8543                 :           0 :                               tree res_op1;
    8544                 :           0 :                               res_op1 =  constant_boolean_node (eqne != NE_EXPR, type);
    8545                 :           0 :                               tree res_op2;
    8546                 :           0 :                               res_op2 =  constant_boolean_node (eqne == NE_EXPR, type);
    8547                 :           0 :                               tree _r;
    8548                 :           0 :                               _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    8549                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 998, __FILE__, __LINE__, true);
    8550                 :           0 :                               return _r;
    8551                 :             :                             }
    8552                 :           7 : next_after_fail1673:;
    8553                 :             :                           }
    8554                 :             :                       }
    8555                 :             :                     }
    8556                 :             :                 }
    8557                 :             :               break;
    8558                 :             :             }
    8559                 :             :           default:;
    8560                 :             :           }
    8561                 :             :         break;
    8562                 :             :       }
    8563                 :         109 :     case VEC_COND_EXPR:
    8564                 :         109 :       {
    8565                 :         109 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8566                 :         109 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8567                 :         109 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8568                 :         109 :         switch (TREE_CODE (_p1))
    8569                 :             :           {
    8570                 :          27 :           case VEC_COND_EXPR:
    8571                 :          27 :             {
    8572                 :          27 :               tree _q60 = TREE_OPERAND (_p1, 0);
    8573                 :          27 :               tree _q61 = TREE_OPERAND (_p1, 1);
    8574                 :          27 :               tree _q62 = TREE_OPERAND (_p1, 2);
    8575                 :          27 :               if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    8576                 :             :                 {
    8577                 :           6 :                   if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    8578                 :             :                     {
    8579                 :           6 :                       {
    8580                 :           6 :                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
    8581                 :           6 :                         const enum tree_code eqne = EQ_EXPR;
    8582                 :           6 :                         if (!HONOR_NANS (captures[1])
    8583                 :           6 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[3]))
    8584                 :          12 :  && types_match (type, TREE_TYPE (captures[0]))
    8585                 :             : )
    8586                 :             :                           {
    8587                 :           6 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1674;
    8588                 :           6 :                             {
    8589                 :           6 :                               tree res_op0;
    8590                 :           6 :                               {
    8591                 :           6 :                                 tree _o1[2], _r1;
    8592                 :           6 :                                 {
    8593                 :           6 :                                   tree _o2[2], _r2;
    8594                 :           6 :                                   _o2[0] = captures[0];
    8595                 :           6 :                                   _o2[1] = captures[3];
    8596                 :           6 :                                   _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    8597                 :           6 :                                   _o1[0] = _r2;
    8598                 :             :                                 }
    8599                 :           6 :                                 {
    8600                 :           6 :                                   tree _o2[2], _r2;
    8601                 :           6 :                                   _o2[0] = captures[1];
    8602                 :           6 :                                   _o2[1] = captures[2];
    8603                 :           6 :                                   _r2 = fold_build2_loc (loc, NE_EXPR, type, _o2[0], _o2[1]);
    8604                 :           6 :                                   _o1[1] = _r2;
    8605                 :             :                                 }
    8606                 :           6 :                                 _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8607                 :           6 :                                 res_op0 = _r1;
    8608                 :             :                               }
    8609                 :           6 :                               tree res_op1;
    8610                 :           6 :                               res_op1 =  constant_boolean_node (eqne == NE_EXPR, type);
    8611                 :           6 :                               tree res_op2;
    8612                 :           6 :                               res_op2 =  constant_boolean_node (eqne != NE_EXPR, type);
    8613                 :           6 :                               tree _r;
    8614                 :           6 :                               _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8615                 :           6 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 997, __FILE__, __LINE__, true);
    8616                 :           6 :                               return _r;
    8617                 :             :                             }
    8618                 :           0 : next_after_fail1674:;
    8619                 :             :                           }
    8620                 :             :                       }
    8621                 :             :                     }
    8622                 :             :                 }
    8623                 :          21 :               if ((_q61 == _q22 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q22, 0) && types_match (_q61, _q22)))
    8624                 :             :                 {
    8625                 :          21 :                   if ((_q62 == _q21 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q21, 0) && types_match (_q62, _q21)))
    8626                 :             :                     {
    8627                 :          21 :                       {
    8628                 :          21 :                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
    8629                 :          21 :                         const enum tree_code eqne = EQ_EXPR;
    8630                 :          21 :                         if (!HONOR_NANS (captures[1])
    8631                 :           0 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[3]))
    8632                 :          21 :  && types_match (type, TREE_TYPE (captures[0]))
    8633                 :             : )
    8634                 :             :                           {
    8635                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1675;
    8636                 :           0 :                             {
    8637                 :           0 :                               tree res_op0;
    8638                 :           0 :                               {
    8639                 :           0 :                                 tree _o1[2], _r1;
    8640                 :           0 :                                 {
    8641                 :           0 :                                   tree _o2[2], _r2;
    8642                 :           0 :                                   _o2[0] = captures[0];
    8643                 :           0 :                                   _o2[1] = captures[3];
    8644                 :           0 :                                   _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    8645                 :           0 :                                   _o1[0] = _r2;
    8646                 :             :                                 }
    8647                 :           0 :                                 {
    8648                 :           0 :                                   tree _o2[2], _r2;
    8649                 :           0 :                                   _o2[0] = captures[1];
    8650                 :           0 :                                   _o2[1] = captures[2];
    8651                 :           0 :                                   _r2 = fold_build2_loc (loc, EQ_EXPR, type, _o2[0], _o2[1]);
    8652                 :           0 :                                   _o1[1] = _r2;
    8653                 :             :                                 }
    8654                 :           0 :                                 _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8655                 :           0 :                                 res_op0 = _r1;
    8656                 :             :                               }
    8657                 :           0 :                               tree res_op1;
    8658                 :           0 :                               res_op1 =  constant_boolean_node (eqne != NE_EXPR, type);
    8659                 :           0 :                               tree res_op2;
    8660                 :           0 :                               res_op2 =  constant_boolean_node (eqne == NE_EXPR, type);
    8661                 :           0 :                               tree _r;
    8662                 :           0 :                               _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8663                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 998, __FILE__, __LINE__, true);
    8664                 :           0 :                               return _r;
    8665                 :             :                             }
    8666                 :           0 : next_after_fail1675:;
    8667                 :             :                           }
    8668                 :             :                       }
    8669                 :             :                     }
    8670                 :             :                 }
    8671                 :             :               break;
    8672                 :             :             }
    8673                 :             :           default:;
    8674                 :             :           }
    8675                 :             :         break;
    8676                 :             :       }
    8677                 :        1193 :     case LT_EXPR:
    8678                 :        1193 :       {
    8679                 :        1193 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8680                 :        1193 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8681                 :        1193 :         if (integer_truep (_p1))
    8682                 :             :           {
    8683                 :           5 :             {
    8684                 :           5 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8685                 :           5 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
    8686                 :           5 :               if (res) return res;
    8687                 :             :             }
    8688                 :             :           }
    8689                 :        1193 :         if (integer_zerop (_p1))
    8690                 :             :           {
    8691                 :         424 :             {
    8692                 :         424 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8693                 :         424 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
    8694                 :         424 :               if (res) return res;
    8695                 :             :             }
    8696                 :             :           }
    8697                 :             :         break;
    8698                 :             :       }
    8699                 :        1577 :     case LE_EXPR:
    8700                 :        1577 :       {
    8701                 :        1577 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8702                 :        1577 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8703                 :        1577 :         if (integer_truep (_p1))
    8704                 :             :           {
    8705                 :           0 :             {
    8706                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8707                 :           0 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
    8708                 :           0 :               if (res) return res;
    8709                 :             :             }
    8710                 :             :           }
    8711                 :        1577 :         if (integer_zerop (_p1))
    8712                 :             :           {
    8713                 :         657 :             {
    8714                 :         657 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8715                 :         657 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
    8716                 :         657 :               if (res) return res;
    8717                 :             :             }
    8718                 :             :           }
    8719                 :             :         break;
    8720                 :             :       }
    8721                 :       30876 :     case EQ_EXPR:
    8722                 :       30876 :       {
    8723                 :       30876 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8724                 :       30876 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8725                 :       30876 :         if (integer_truep (_p1))
    8726                 :             :           {
    8727                 :          46 :             {
    8728                 :          46 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8729                 :          46 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
    8730                 :          46 :               if (res) return res;
    8731                 :             :             }
    8732                 :             :           }
    8733                 :       30871 :         if (integer_zerop (_p1))
    8734                 :             :           {
    8735                 :        6927 :             {
    8736                 :        6927 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8737                 :        6927 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
    8738                 :        6927 :               if (res) return res;
    8739                 :             :             }
    8740                 :             :           }
    8741                 :             :         break;
    8742                 :             :       }
    8743                 :       11441 :     case NE_EXPR:
    8744                 :       11441 :       {
    8745                 :       11441 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8746                 :       11441 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8747                 :       11441 :         if (integer_truep (_p1))
    8748                 :             :           {
    8749                 :         126 :             {
    8750                 :         126 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8751                 :         126 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
    8752                 :         126 :               if (res) return res;
    8753                 :             :             }
    8754                 :             :           }
    8755                 :       11321 :         if (integer_zerop (_p1))
    8756                 :             :           {
    8757                 :        9678 :             {
    8758                 :        9678 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8759                 :        9678 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
    8760                 :        9678 :               if (res) return res;
    8761                 :             :             }
    8762                 :             :           }
    8763                 :             :         break;
    8764                 :             :       }
    8765                 :        6627 :     case GE_EXPR:
    8766                 :        6627 :       {
    8767                 :        6627 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8768                 :        6627 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8769                 :        6627 :         if (integer_truep (_p1))
    8770                 :             :           {
    8771                 :           0 :             {
    8772                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8773                 :           0 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
    8774                 :           0 :               if (res) return res;
    8775                 :             :             }
    8776                 :             :           }
    8777                 :        6627 :         if (integer_zerop (_p1))
    8778                 :             :           {
    8779                 :        5456 :             {
    8780                 :        5456 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8781                 :        5456 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
    8782                 :        5456 :               if (res) return res;
    8783                 :             :             }
    8784                 :             :           }
    8785                 :             :         break;
    8786                 :             :       }
    8787                 :       31057 :     case GT_EXPR:
    8788                 :       31057 :       {
    8789                 :       31057 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8790                 :       31057 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8791                 :       31057 :         if (integer_truep (_p1))
    8792                 :             :           {
    8793                 :           0 :             {
    8794                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8795                 :           0 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
    8796                 :           0 :               if (res) return res;
    8797                 :             :             }
    8798                 :             :           }
    8799                 :       31057 :         if (integer_zerop (_p1))
    8800                 :             :           {
    8801                 :         446 :             {
    8802                 :         446 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8803                 :         446 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
    8804                 :         446 :               if (res) return res;
    8805                 :             :             }
    8806                 :             :           }
    8807                 :             :         break;
    8808                 :             :       }
    8809                 :        1023 :     case UNORDERED_EXPR:
    8810                 :        1023 :       {
    8811                 :        1023 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8812                 :        1023 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8813                 :        1023 :         if (integer_truep (_p1))
    8814                 :             :           {
    8815                 :           0 :             {
    8816                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8817                 :           0 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
    8818                 :           0 :               if (res) return res;
    8819                 :             :             }
    8820                 :             :           }
    8821                 :        1023 :         if (integer_zerop (_p1))
    8822                 :             :           {
    8823                 :        1017 :             {
    8824                 :        1017 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8825                 :        1017 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
    8826                 :        1017 :               if (res) return res;
    8827                 :             :             }
    8828                 :             :           }
    8829                 :             :         break;
    8830                 :             :       }
    8831                 :           0 :     case ORDERED_EXPR:
    8832                 :           0 :       {
    8833                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8834                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8835                 :           0 :         if (integer_truep (_p1))
    8836                 :             :           {
    8837                 :           0 :             {
    8838                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8839                 :           0 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
    8840                 :           0 :               if (res) return res;
    8841                 :             :             }
    8842                 :             :           }
    8843                 :           0 :         if (integer_zerop (_p1))
    8844                 :             :           {
    8845                 :           0 :             {
    8846                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8847                 :           0 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
    8848                 :           0 :               if (res) return res;
    8849                 :             :             }
    8850                 :             :           }
    8851                 :             :         break;
    8852                 :             :       }
    8853                 :           0 :     case UNLT_EXPR:
    8854                 :           0 :       {
    8855                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8856                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8857                 :           0 :         if (integer_truep (_p1))
    8858                 :             :           {
    8859                 :           0 :             {
    8860                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8861                 :           0 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
    8862                 :           0 :               if (res) return res;
    8863                 :             :             }
    8864                 :             :           }
    8865                 :           0 :         if (integer_zerop (_p1))
    8866                 :             :           {
    8867                 :           0 :             {
    8868                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8869                 :           0 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
    8870                 :           0 :               if (res) return res;
    8871                 :             :             }
    8872                 :             :           }
    8873                 :             :         break;
    8874                 :             :       }
    8875                 :           0 :     case UNLE_EXPR:
    8876                 :           0 :       {
    8877                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8878                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8879                 :           0 :         if (integer_truep (_p1))
    8880                 :             :           {
    8881                 :           0 :             {
    8882                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8883                 :           0 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
    8884                 :           0 :               if (res) return res;
    8885                 :             :             }
    8886                 :             :           }
    8887                 :           0 :         if (integer_zerop (_p1))
    8888                 :             :           {
    8889                 :           0 :             {
    8890                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8891                 :           0 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
    8892                 :           0 :               if (res) return res;
    8893                 :             :             }
    8894                 :             :           }
    8895                 :             :         break;
    8896                 :             :       }
    8897                 :           0 :     case UNGT_EXPR:
    8898                 :           0 :       {
    8899                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8900                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8901                 :           0 :         if (integer_truep (_p1))
    8902                 :             :           {
    8903                 :           0 :             {
    8904                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8905                 :           0 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
    8906                 :           0 :               if (res) return res;
    8907                 :             :             }
    8908                 :             :           }
    8909                 :           0 :         if (integer_zerop (_p1))
    8910                 :             :           {
    8911                 :           0 :             {
    8912                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8913                 :           0 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
    8914                 :           0 :               if (res) return res;
    8915                 :             :             }
    8916                 :             :           }
    8917                 :             :         break;
    8918                 :             :       }
    8919                 :           0 :     case UNGE_EXPR:
    8920                 :           0 :       {
    8921                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8922                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8923                 :           0 :         if (integer_truep (_p1))
    8924                 :             :           {
    8925                 :           0 :             {
    8926                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8927                 :           0 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
    8928                 :           0 :               if (res) return res;
    8929                 :             :             }
    8930                 :             :           }
    8931                 :           0 :         if (integer_zerop (_p1))
    8932                 :             :           {
    8933                 :           0 :             {
    8934                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8935                 :           0 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
    8936                 :           0 :               if (res) return res;
    8937                 :             :             }
    8938                 :             :           }
    8939                 :             :         break;
    8940                 :             :       }
    8941                 :           0 :     case UNEQ_EXPR:
    8942                 :           0 :       {
    8943                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8944                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8945                 :           0 :         if (integer_truep (_p1))
    8946                 :             :           {
    8947                 :           0 :             {
    8948                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8949                 :           0 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
    8950                 :           0 :               if (res) return res;
    8951                 :             :             }
    8952                 :             :           }
    8953                 :           0 :         if (integer_zerop (_p1))
    8954                 :             :           {
    8955                 :           0 :             {
    8956                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8957                 :           0 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
    8958                 :           0 :               if (res) return res;
    8959                 :             :             }
    8960                 :             :           }
    8961                 :             :         break;
    8962                 :             :       }
    8963                 :           0 :     case LTGT_EXPR:
    8964                 :           0 :       {
    8965                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8966                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8967                 :           0 :         if (integer_truep (_p1))
    8968                 :             :           {
    8969                 :           0 :             {
    8970                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8971                 :           0 :               tree res = generic_simplify_238 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
    8972                 :           0 :               if (res) return res;
    8973                 :             :             }
    8974                 :             :           }
    8975                 :           0 :         if (integer_zerop (_p1))
    8976                 :             :           {
    8977                 :           0 :             {
    8978                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8979                 :           0 :               tree res = generic_simplify_239 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
    8980                 :           0 :               if (res) return res;
    8981                 :             :             }
    8982                 :             :           }
    8983                 :             :         break;
    8984                 :             :       }
    8985                 :      125840 :     case MINUS_EXPR:
    8986                 :      125840 :       {
    8987                 :      125840 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8988                 :      125840 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8989                 :      125840 :         if (integer_zerop (_p1))
    8990                 :             :           {
    8991                 :       36826 :             {
    8992                 :       36826 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8993                 :       36826 :               tree res = generic_simplify_240 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8994                 :       36826 :               if (res) return res;
    8995                 :             :             }
    8996                 :             :           }
    8997                 :             :         break;
    8998                 :             :       }
    8999                 :       39437 :     case POINTER_DIFF_EXPR:
    9000                 :       39437 :       {
    9001                 :       39437 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9002                 :       39437 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9003                 :       39437 :         if (integer_zerop (_p1))
    9004                 :             :           {
    9005                 :        1417 :             {
    9006                 :        1417 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    9007                 :        1417 :               tree res = generic_simplify_241 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9008                 :        1417 :               if (res) return res;
    9009                 :             :             }
    9010                 :             :           }
    9011                 :             :         break;
    9012                 :             :       }
    9013                 :       64309 :     case MULT_EXPR:
    9014                 :       64309 :       {
    9015                 :       64309 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9016                 :       64309 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9017                 :       64309 :         switch (TREE_CODE (_q21))
    9018                 :             :           {
    9019                 :       56601 :           case INTEGER_CST:
    9020                 :       56601 :             {
    9021                 :       56601 :               switch (TREE_CODE (_p1))
    9022                 :             :                 {
    9023                 :       11309 :                 case INTEGER_CST:
    9024                 :       11309 :                   {
    9025                 :       11309 :                     {
    9026                 :       11309 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9027                 :       11309 :                       tree res = generic_simplify_243 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9028                 :       11309 :                       if (res) return res;
    9029                 :             :                     }
    9030                 :       10244 :                     break;
    9031                 :             :                   }
    9032                 :       55536 :                 default:;
    9033                 :             :                 }
    9034                 :       55536 :             if (integer_zerop (_p1))
    9035                 :             :               {
    9036                 :        4966 :                 {
    9037                 :        4966 :                   tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    9038                 :        4966 :                   tree res = generic_simplify_242 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    9039                 :        4966 :                   if (res) return res;
    9040                 :             :                 }
    9041                 :             :               }
    9042                 :             :               break;
    9043                 :             :             }
    9044                 :             :           default:;
    9045                 :             :           }
    9046                 :             :         break;
    9047                 :             :       }
    9048                 :    25495460 :     default:;
    9049                 :             :     }
    9050                 :    25495460 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    9051                 :             :     {
    9052                 :       81807 :       {
    9053                 :       81807 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    9054                 :       81807 :         tree res = generic_simplify_244 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9055                 :       81807 :         if (res) return res;
    9056                 :             :       }
    9057                 :             :     }
    9058                 :    25416146 :   switch (TREE_CODE (_p0))
    9059                 :             :     {
    9060                 :     4396442 :     CASE_CONVERT:
    9061                 :     4396442 :       {
    9062                 :     4396442 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9063                 :     4396442 :         switch (TREE_CODE (_p1))
    9064                 :             :           {
    9065                 :     1027965 :           CASE_CONVERT:
    9066                 :     1027965 :             {
    9067                 :     1027965 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9068                 :     1027965 :               {
    9069                 :     1027965 :                 tree _q40_pops[1];
    9070                 :     1027965 :                 if (tree_maybe_bit_not (_q40, _q40_pops))
    9071                 :             :                   {
    9072                 :           0 :                     tree _q50 = _q40_pops[0];
    9073                 :           0 :                     {
    9074                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
    9075                 :           0 :                       tree res = generic_simplify_245 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9076                 :           0 :                       if (res) return res;
    9077                 :             :                     }
    9078                 :             :                   }
    9079                 :             :               }
    9080                 :     1027965 :               break;
    9081                 :             :             }
    9082                 :     4396442 :           default:;
    9083                 :             :           }
    9084                 :     4396442 :         {
    9085                 :     4396442 :           tree _q20_pops[1];
    9086                 :     4396442 :           if (tree_maybe_bit_not (_q20, _q20_pops))
    9087                 :             :             {
    9088                 :         232 :               tree _q30 = _q20_pops[0];
    9089                 :         232 :               switch (TREE_CODE (_p1))
    9090                 :             :                 {
    9091                 :          74 :                 CASE_CONVERT:
    9092                 :          74 :                   {
    9093                 :          74 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    9094                 :          74 :                     {
    9095                 :          74 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
    9096                 :          74 :                       tree res = generic_simplify_245 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9097                 :          74 :                       if (res) return res;
    9098                 :             :                     }
    9099                 :          74 :                     break;
    9100                 :             :                   }
    9101                 :             :                 default:;
    9102                 :             :                 }
    9103                 :             :             }
    9104                 :             :         }
    9105                 :     4396442 :         break;
    9106                 :             :       }
    9107                 :    25416146 :     default:;
    9108                 :             :     }
    9109                 :    25416146 :   {
    9110                 :    25416146 :     tree _p1_pops[1];
    9111                 :    25416146 :     if (tree_maybe_bit_not (_p1, _p1_pops))
    9112                 :             :       {
    9113                 :    18525766 :         tree _q30 = _p1_pops[0];
    9114                 :    18525766 :         {
    9115                 :    18525766 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    9116                 :    18525766 :           tree res = generic_simplify_245 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9117                 :    18525766 :           if (res) return res;
    9118                 :             :         }
    9119                 :             :       }
    9120                 :             :   }
    9121                 :    25416144 :   switch (TREE_CODE (_p0))
    9122                 :             :     {
    9123                 :         411 :     case BIT_NOT_EXPR:
    9124                 :         411 :       {
    9125                 :         411 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9126                 :         411 :         switch (TREE_CODE (_p1))
    9127                 :             :           {
    9128                 :           1 :           case BIT_NOT_EXPR:
    9129                 :           1 :             {
    9130                 :           1 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9131                 :           1 :               {
    9132                 :           1 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _p1, _q40 };
    9133                 :           1 :                 tree res = generic_simplify_248 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9134                 :           1 :                 if (res) return res;
    9135                 :             :               }
    9136                 :           0 :               break;
    9137                 :             :             }
    9138                 :         410 :           default:;
    9139                 :             :           }
    9140                 :         410 :       {
    9141                 :         410 :         tree _p1_pops[1];
    9142                 :         410 :         if (tree_nop_convert (_p1, _p1_pops))
    9143                 :             :           {
    9144                 :           6 :             tree _q40 = _p1_pops[0];
    9145                 :           6 :             switch (TREE_CODE (_q40))
    9146                 :             :               {
    9147                 :           0 :               case BIT_NOT_EXPR:
    9148                 :           0 :                 {
    9149                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    9150                 :           0 :                   {
    9151                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40, _q50 };
    9152                 :           0 :                     tree res = generic_simplify_248 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9153                 :           0 :                     if (res) return res;
    9154                 :             :                   }
    9155                 :           0 :                   break;
    9156                 :             :                 }
    9157                 :             :               default:;
    9158                 :             :               }
    9159                 :             :           }
    9160                 :             :       }
    9161                 :         410 :       if (CONSTANT_CLASS_P (_p1))
    9162                 :             :         {
    9163                 :         194 :           {
    9164                 :         194 :             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    9165                 :         194 :             tree res = generic_simplify_247 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    9166                 :         194 :             if (res) return res;
    9167                 :             :           }
    9168                 :             :         }
    9169                 :             :         break;
    9170                 :             :       }
    9171                 :    25415949 :     default:;
    9172                 :             :     }
    9173                 :    25415949 : {
    9174                 :    25415949 :   tree _p0_pops[1];
    9175                 :    25415949 :   if (tree_maybe_bit_not (_p0, _p0_pops))
    9176                 :             :     {
    9177                 :       59823 :       tree _q20 = _p0_pops[0];
    9178                 :       59823 :       {
    9179                 :       59823 :         tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q20 };
    9180                 :       59823 :         tree res = generic_simplify_245 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9181                 :       59823 :         if (res) return res;
    9182                 :             :       }
    9183                 :             :     }
    9184                 :             : }
    9185                 :    25415948 : {
    9186                 :    25415948 :   tree _p0_pops[1];
    9187                 :    25415948 :   if (tree_nop_convert (_p0, _p0_pops))
    9188                 :             :     {
    9189                 :     2656485 :       tree _q20 = _p0_pops[0];
    9190                 :     2656485 :       switch (TREE_CODE (_q20))
    9191                 :             :         {
    9192                 :          41 :         case BIT_NOT_EXPR:
    9193                 :          41 :           {
    9194                 :          41 :             tree _q30 = TREE_OPERAND (_q20, 0);
    9195                 :          41 :             switch (TREE_CODE (_p1))
    9196                 :             :               {
    9197                 :           0 :               case BIT_NOT_EXPR:
    9198                 :           0 :                 {
    9199                 :           0 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    9200                 :           0 :                   {
    9201                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _p1, _q50 };
    9202                 :           0 :                     tree res = generic_simplify_246 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9203                 :           0 :                     if (res) return res;
    9204                 :             :                   }
    9205                 :           0 :                   break;
    9206                 :             :                 }
    9207                 :          41 :               default:;
    9208                 :             :               }
    9209                 :          41 :           {
    9210                 :          41 :             tree _p1_pops[1];
    9211                 :          41 :             if (tree_nop_convert (_p1, _p1_pops))
    9212                 :             :               {
    9213                 :           0 :                 tree _q50 = _p1_pops[0];
    9214                 :           0 :                 switch (TREE_CODE (_q50))
    9215                 :             :                   {
    9216                 :           0 :                   case BIT_NOT_EXPR:
    9217                 :           0 :                     {
    9218                 :           0 :                       tree _q60 = TREE_OPERAND (_q50, 0);
    9219                 :           0 :                       {
    9220                 :           0 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50, _q60 };
    9221                 :           0 :                         tree res = generic_simplify_246 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9222                 :           0 :                         if (res) return res;
    9223                 :             :                       }
    9224                 :           0 :                       break;
    9225                 :             :                     }
    9226                 :             :                   default:;
    9227                 :             :                   }
    9228                 :             :               }
    9229                 :             :           }
    9230                 :          41 :           if (CONSTANT_CLASS_P (_p1))
    9231                 :             :             {
    9232                 :          41 :               {
    9233                 :          41 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
    9234                 :          41 :                 tree res = generic_simplify_247 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    9235                 :          41 :                 if (res) return res;
    9236                 :             :               }
    9237                 :             :             }
    9238                 :             :             break;
    9239                 :             :           }
    9240                 :             :         default:;
    9241                 :             :         }
    9242                 :             :     }
    9243                 :             : }
    9244                 :    25415907 :   switch (TREE_CODE (_p1))
    9245                 :             :     {
    9246                 :      985014 :     case REAL_CST:
    9247                 :      985014 :       {
    9248                 :      985014 :         {
    9249                 :      985014 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9250                 :      985014 :           tree res = generic_simplify_249 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9251                 :      985014 :           if (res) return res;
    9252                 :             :         }
    9253                 :      984918 :         break;
    9254                 :             :       }
    9255                 :    25415811 :     default:;
    9256                 :             :     }
    9257                 :    25415811 :   switch (TREE_CODE (_p0))
    9258                 :             :     {
    9259                 :      667510 :     case PLUS_EXPR:
    9260                 :      667510 :       {
    9261                 :      667510 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9262                 :      667510 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9263                 :      667510 :         switch (TREE_CODE (_q21))
    9264                 :             :           {
    9265                 :         588 :           case REAL_CST:
    9266                 :         588 :             {
    9267                 :         588 :               switch (TREE_CODE (_p1))
    9268                 :             :                 {
    9269                 :         409 :                 case REAL_CST:
    9270                 :         409 :                   {
    9271                 :         409 :                     {
    9272                 :         409 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9273                 :         409 :                       tree res = generic_simplify_250 (loc, type, _p0, _p1, captures, PLUS_EXPR, EQ_EXPR);
    9274                 :         409 :                       if (res) return res;
    9275                 :             :                     }
    9276                 :         409 :                     break;
    9277                 :             :                   }
    9278                 :             :                 default:;
    9279                 :             :                 }
    9280                 :             :               break;
    9281                 :             :             }
    9282                 :             :           default:;
    9283                 :             :           }
    9284                 :             :         break;
    9285                 :             :       }
    9286                 :       89014 :     case MINUS_EXPR:
    9287                 :       89014 :       {
    9288                 :       89014 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9289                 :       89014 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9290                 :       89014 :         switch (TREE_CODE (_q21))
    9291                 :             :           {
    9292                 :          60 :           case REAL_CST:
    9293                 :          60 :             {
    9294                 :          60 :               switch (TREE_CODE (_p1))
    9295                 :             :                 {
    9296                 :          60 :                 case REAL_CST:
    9297                 :          60 :                   {
    9298                 :          60 :                     {
    9299                 :          60 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9300                 :          60 :                       tree res = generic_simplify_250 (loc, type, _p0, _p1, captures, MINUS_EXPR, EQ_EXPR);
    9301                 :          60 :                       if (res) return res;
    9302                 :             :                     }
    9303                 :          60 :                     break;
    9304                 :             :                   }
    9305                 :             :                 default:;
    9306                 :             :                 }
    9307                 :             :               break;
    9308                 :             :             }
    9309                 :       89014 :           default:;
    9310                 :             :           }
    9311                 :       89014 :         switch (TREE_CODE (_q20))
    9312                 :             :           {
    9313                 :         275 :           case REAL_CST:
    9314                 :         275 :             {
    9315                 :         275 :               switch (TREE_CODE (_p1))
    9316                 :             :                 {
    9317                 :         245 :                 case REAL_CST:
    9318                 :         245 :                   {
    9319                 :         245 :                     {
    9320                 :         245 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9321                 :         245 :                       tree res = generic_simplify_251 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9322                 :         245 :                       if (res) return res;
    9323                 :             :                     }
    9324                 :         244 :                     break;
    9325                 :             :                   }
    9326                 :             :                 default:;
    9327                 :             :                 }
    9328                 :             :               break;
    9329                 :             :             }
    9330                 :             :           default:;
    9331                 :             :           }
    9332                 :             :         break;
    9333                 :             :       }
    9334                 :        2614 :     case FLOAT_EXPR:
    9335                 :        2614 :       {
    9336                 :        2614 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9337                 :        2614 :         switch (TREE_CODE (_p1))
    9338                 :             :           {
    9339                 :           1 :           case FLOAT_EXPR:
    9340                 :           1 :             {
    9341                 :           1 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9342                 :           1 :               {
    9343                 :           1 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    9344                 :           1 :                 tree res = generic_simplify_254 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    9345                 :           1 :                 if (res) return res;
    9346                 :             :               }
    9347                 :           0 :               break;
    9348                 :             :             }
    9349                 :         180 :           case REAL_CST:
    9350                 :         180 :             {
    9351                 :         180 :               {
    9352                 :         180 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9353                 :         180 :                 tree res = generic_simplify_255 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    9354                 :         180 :                 if (res) return res;
    9355                 :             :               }
    9356                 :         149 :               break;
    9357                 :             :             }
    9358                 :             :           default:;
    9359                 :             :           }
    9360                 :             :         break;
    9361                 :             :       }
    9362                 :        9492 :     case EXACT_DIV_EXPR:
    9363                 :        9492 :       {
    9364                 :        9492 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9365                 :        9492 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9366                 :        9492 :         switch (TREE_CODE (_p1))
    9367                 :             :           {
    9368                 :          33 :           case INTEGER_CST:
    9369                 :          33 :             {
    9370                 :          33 :               {
    9371                 :          33 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9372                 :          33 :                 tree res = generic_simplify_256 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9373                 :          33 :                 if (res) return res;
    9374                 :             :               }
    9375                 :           0 :               break;
    9376                 :             :             }
    9377                 :             :           default:;
    9378                 :             :           }
    9379                 :             :         break;
    9380                 :             :       }
    9381                 :         916 :     case NEGATE_EXPR:
    9382                 :         916 :       {
    9383                 :         916 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9384                 :         916 :         switch (TREE_CODE (_p1))
    9385                 :             :           {
    9386                 :           1 :           case NEGATE_EXPR:
    9387                 :           1 :             {
    9388                 :           1 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9389                 :           1 :               {
    9390                 :           1 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9391                 :           1 :                 tree res = generic_simplify_257 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    9392                 :           1 :                 if (res) return res;
    9393                 :             :               }
    9394                 :           0 :               break;
    9395                 :             :             }
    9396                 :         915 :           default:;
    9397                 :             :           }
    9398                 :         915 :       if (CONSTANT_CLASS_P (_p1))
    9399                 :             :         {
    9400                 :         206 :           {
    9401                 :         206 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9402                 :         206 :             tree res = generic_simplify_258 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
    9403                 :         206 :             if (res) return res;
    9404                 :             :           }
    9405                 :             :         }
    9406                 :             :         break;
    9407                 :             :       }
    9408                 :        1202 :     case ABS_EXPR:
    9409                 :        1202 :       {
    9410                 :        1202 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9411                 :        1202 :         if (zerop (_p1))
    9412                 :             :           {
    9413                 :          72 :             {
    9414                 :          72 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9415                 :          72 :               const enum tree_code eqne = EQ_EXPR;
    9416                 :          72 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1676;
    9417                 :          72 :               {
    9418                 :          72 :                 tree res_op0;
    9419                 :          72 :                 res_op0 = captures[0];
    9420                 :          72 :                 tree res_op1;
    9421                 :          72 :                 res_op1 =  build_zero_cst (TREE_TYPE (captures[0]));
    9422                 :          72 :                 tree _r;
    9423                 :          72 :                 _r = fold_build2_loc (loc, eqne, type, res_op0, res_op1);
    9424                 :          72 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    9425                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    9426                 :          72 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 999, __FILE__, __LINE__, true);
    9427                 :          72 :                 return _r;
    9428                 :             :               }
    9429                 :           0 : next_after_fail1676:;
    9430                 :             :             }
    9431                 :             :           }
    9432                 :             :         break;
    9433                 :             :       }
    9434                 :           1 :     case ABSU_EXPR:
    9435                 :           1 :       {
    9436                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9437                 :           1 :         if (zerop (_p1))
    9438                 :             :           {
    9439                 :           0 :             {
    9440                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9441                 :           0 :               const enum tree_code eqne = EQ_EXPR;
    9442                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1677;
    9443                 :           0 :               {
    9444                 :           0 :                 tree res_op0;
    9445                 :           0 :                 res_op0 = captures[0];
    9446                 :           0 :                 tree res_op1;
    9447                 :           0 :                 res_op1 =  build_zero_cst (TREE_TYPE (captures[0]));
    9448                 :           0 :                 tree _r;
    9449                 :           0 :                 _r = fold_build2_loc (loc, eqne, type, res_op0, res_op1);
    9450                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    9451                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    9452                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 999, __FILE__, __LINE__, true);
    9453                 :           0 :                 return _r;
    9454                 :             :               }
    9455                 :           0 : next_after_fail1677:;
    9456                 :             :             }
    9457                 :             :           }
    9458                 :             :         break;
    9459                 :             :       }
    9460                 :     4396363 :     CASE_CONVERT:
    9461                 :     4396363 :       {
    9462                 :     4396363 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9463                 :     4396363 :         switch (TREE_CODE (_p1))
    9464                 :             :           {
    9465                 :     1027965 :           CASE_CONVERT:
    9466                 :     1027965 :             {
    9467                 :     1027965 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9468                 :     1027965 :               {
    9469                 :     1027965 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9470                 :     1027965 :                 tree res = generic_simplify_259 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9471                 :     1027965 :                 if (res) return res;
    9472                 :             :               }
    9473                 :      529751 :               break;
    9474                 :             :             }
    9475                 :     3898149 :           default:;
    9476                 :             :           }
    9477                 :     3898149 :         {
    9478                 :     3898149 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
    9479                 :     3898149 :           tree res = generic_simplify_260 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9480                 :     3898149 :           if (res) return res;
    9481                 :             :         }
    9482                 :     1913668 :         switch (TREE_CODE (_q20))
    9483                 :             :           {
    9484                 :           3 :           case BIT_IOR_EXPR:
    9485                 :           3 :             {
    9486                 :           3 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9487                 :           3 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9488                 :           3 :               switch (TREE_CODE (_q31))
    9489                 :             :                 {
    9490                 :           0 :                 case INTEGER_CST:
    9491                 :           0 :                   {
    9492                 :           0 :                     switch (TREE_CODE (_p1))
    9493                 :             :                       {
    9494                 :           0 :                       case INTEGER_CST:
    9495                 :           0 :                         {
    9496                 :           0 :                           {
    9497                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _p1 };
    9498                 :           0 :                             tree res = generic_simplify_261 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9499                 :           0 :                             if (res) return res;
    9500                 :             :                           }
    9501                 :           0 :                           break;
    9502                 :             :                         }
    9503                 :             :                       default:;
    9504                 :             :                       }
    9505                 :             :                     break;
    9506                 :             :                   }
    9507                 :             :                 default:;
    9508                 :             :                 }
    9509                 :             :               break;
    9510                 :             :             }
    9511                 :             :           default:;
    9512                 :             :           }
    9513                 :             :         break;
    9514                 :             :       }
    9515                 :     8956277 :     case SSA_NAME:
    9516                 :     8956277 :       {
    9517                 :     8956277 :         switch (TREE_CODE (_p1))
    9518                 :             :           {
    9519                 :      743765 :           case ADDR_EXPR:
    9520                 :      743765 :             {
    9521                 :      743765 :               {
    9522                 :      743765 :                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9523                 :      743765 :                 tree res = generic_simplify_262 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9524                 :      743765 :                 if (res) return res;
    9525                 :             :               }
    9526                 :      743765 :               break;
    9527                 :             :             }
    9528                 :             :           default:;
    9529                 :             :           }
    9530                 :             :         break;
    9531                 :             :       }
    9532                 :       33295 :     case BIT_IOR_EXPR:
    9533                 :       33295 :       {
    9534                 :       33295 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9535                 :       33295 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9536                 :       33295 :         switch (TREE_CODE (_q21))
    9537                 :             :           {
    9538                 :        1666 :           case INTEGER_CST:
    9539                 :        1666 :             {
    9540                 :        1666 :               switch (TREE_CODE (_p1))
    9541                 :             :                 {
    9542                 :         464 :                 case INTEGER_CST:
    9543                 :         464 :                   {
    9544                 :         464 :                     {
    9545                 :         464 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    9546                 :         464 :                       tree res = generic_simplify_261 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9547                 :         464 :                       if (res) return res;
    9548                 :             :                     }
    9549                 :         464 :                     break;
    9550                 :             :                   }
    9551                 :             :                 default:;
    9552                 :             :                 }
    9553                 :             :               break;
    9554                 :             :             }
    9555                 :             :           default:;
    9556                 :             :           }
    9557                 :             :         break;
    9558                 :             :       }
    9559                 :         589 :     case BIT_XOR_EXPR:
    9560                 :         589 :       {
    9561                 :         589 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9562                 :         589 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9563                 :         589 :         if (integer_zerop (_p1))
    9564                 :             :           {
    9565                 :         162 :             {
    9566                 :         162 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9567                 :         162 :               tree res = generic_simplify_263 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9568                 :         162 :               if (res) return res;
    9569                 :             :             }
    9570                 :             :           }
    9571                 :         427 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9572                 :             :           {
    9573                 :          29 :             {
    9574                 :          29 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9575                 :          29 :               tree res = generic_simplify_264 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9576                 :          29 :               if (res) return res;
    9577                 :             :             }
    9578                 :             :           }
    9579                 :         398 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9580                 :             :           {
    9581                 :          30 :             {
    9582                 :          30 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9583                 :          30 :               tree res = generic_simplify_264 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9584                 :          30 :               if (res) return res;
    9585                 :             :             }
    9586                 :             :           }
    9587                 :             :         break;
    9588                 :             :       }
    9589                 :     1802096 :     case CALL_EXPR:
    9590                 :     1802096 :       switch (get_call_combined_fn (_p0))
    9591                 :             :         {
    9592                 :           3 :         case CFN_BUILT_IN_SQRTF:
    9593                 :           3 :           if (call_expr_nargs (_p0) == 1)
    9594                 :             :     {
    9595                 :           3 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9596                 :           3 :               switch (TREE_CODE (_p1))
    9597                 :             :                 {
    9598                 :           0 :                 case REAL_CST:
    9599                 :           0 :                   {
    9600                 :           0 :                     {
    9601                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9602                 :           0 :                       tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF, EQ_EXPR);
    9603                 :           0 :                       if (res) return res;
    9604                 :             :                     }
    9605                 :           0 :                     break;
    9606                 :             :                   }
    9607                 :           3 :                 case CALL_EXPR:
    9608                 :           3 :                   switch (get_call_combined_fn (_p1))
    9609                 :             :                     {
    9610                 :           3 :                     case CFN_BUILT_IN_SQRTF:
    9611                 :           3 :                       if (call_expr_nargs (_p1) == 1)
    9612                 :             :     {
    9613                 :           3 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9614                 :           3 :                           {
    9615                 :           3 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9616                 :           3 :                             tree res = generic_simplify_253 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF, EQ_EXPR);
    9617                 :           3 :                             if (res) return res;
    9618                 :             :                           }
    9619                 :             :                         }
    9620                 :             :                       break;
    9621                 :             :                     default:;
    9622                 :             :                     }
    9623                 :             :                   break;
    9624                 :             :                 default:;
    9625                 :             :                 }
    9626                 :             :             }
    9627                 :             :           break;
    9628                 :           3 :         case CFN_BUILT_IN_SQRTL:
    9629                 :           3 :           if (call_expr_nargs (_p0) == 1)
    9630                 :             :     {
    9631                 :           3 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9632                 :           3 :               switch (TREE_CODE (_p1))
    9633                 :             :                 {
    9634                 :           0 :                 case REAL_CST:
    9635                 :           0 :                   {
    9636                 :           0 :                     {
    9637                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9638                 :           0 :                       tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL, EQ_EXPR);
    9639                 :           0 :                       if (res) return res;
    9640                 :             :                     }
    9641                 :           0 :                     break;
    9642                 :             :                   }
    9643                 :           3 :                 case CALL_EXPR:
    9644                 :           3 :                   switch (get_call_combined_fn (_p1))
    9645                 :             :                     {
    9646                 :           3 :                     case CFN_BUILT_IN_SQRTL:
    9647                 :           3 :                       if (call_expr_nargs (_p1) == 1)
    9648                 :             :     {
    9649                 :           3 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9650                 :           3 :                           {
    9651                 :           3 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9652                 :           3 :                             tree res = generic_simplify_253 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL, EQ_EXPR);
    9653                 :           3 :                             if (res) return res;
    9654                 :             :                           }
    9655                 :             :                         }
    9656                 :             :                       break;
    9657                 :             :                     default:;
    9658                 :             :                     }
    9659                 :             :                   break;
    9660                 :             :                 default:;
    9661                 :             :                 }
    9662                 :             :             }
    9663                 :             :           break;
    9664                 :           0 :         case CFN_BUILT_IN_SQRT:
    9665                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9666                 :             :     {
    9667                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9668                 :           0 :               switch (TREE_CODE (_p1))
    9669                 :             :                 {
    9670                 :           0 :                 case REAL_CST:
    9671                 :           0 :                   {
    9672                 :           0 :                     {
    9673                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9674                 :           0 :                       tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT, EQ_EXPR);
    9675                 :           0 :                       if (res) return res;
    9676                 :             :                     }
    9677                 :           0 :                     break;
    9678                 :             :                   }
    9679                 :           0 :                 case CALL_EXPR:
    9680                 :           0 :                   switch (get_call_combined_fn (_p1))
    9681                 :             :                     {
    9682                 :           0 :                     case CFN_BUILT_IN_SQRT:
    9683                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9684                 :             :     {
    9685                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9686                 :           0 :                           {
    9687                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9688                 :           0 :                             tree res = generic_simplify_253 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT, EQ_EXPR);
    9689                 :           0 :                             if (res) return res;
    9690                 :             :                           }
    9691                 :             :                         }
    9692                 :             :                       break;
    9693                 :             :                     default:;
    9694                 :             :                     }
    9695                 :             :                   break;
    9696                 :             :                 default:;
    9697                 :             :                 }
    9698                 :             :             }
    9699                 :             :           break;
    9700                 :           0 :         case CFN_SQRT:
    9701                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9702                 :             :     {
    9703                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9704                 :           0 :               switch (TREE_CODE (_p1))
    9705                 :             :                 {
    9706                 :           0 :                 case REAL_CST:
    9707                 :           0 :                   {
    9708                 :           0 :                     {
    9709                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    9710                 :           0 :                       tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, CFN_SQRT, EQ_EXPR);
    9711                 :           0 :                       if (res) return res;
    9712                 :             :                     }
    9713                 :           0 :                     break;
    9714                 :             :                   }
    9715                 :           0 :                 case CALL_EXPR:
    9716                 :           0 :                   switch (get_call_combined_fn (_p1))
    9717                 :             :                     {
    9718                 :           0 :                     case CFN_SQRT:
    9719                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9720                 :             :     {
    9721                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9722                 :           0 :                           {
    9723                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9724                 :           0 :                             tree res = generic_simplify_253 (loc, type, _p0, _p1, captures, CFN_SQRT, EQ_EXPR);
    9725                 :           0 :                             if (res) return res;
    9726                 :             :                           }
    9727                 :             :                         }
    9728                 :             :                       break;
    9729                 :             :                     default:;
    9730                 :             :                     }
    9731                 :             :                   break;
    9732                 :             :                 default:;
    9733                 :             :                 }
    9734                 :             :             }
    9735                 :             :           break;
    9736                 :             :         default:;
    9737                 :             :         }
    9738                 :             :       break;
    9739                 :    22932560 :     default:;
    9740                 :             :     }
    9741                 :    22932560 :   switch (TREE_CODE (_p1))
    9742                 :             :     {
    9743                 :          22 :     case BIT_XOR_EXPR:
    9744                 :          22 :       {
    9745                 :          22 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9746                 :          22 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9747                 :          22 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9748                 :             :           {
    9749                 :           0 :             {
    9750                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    9751                 :           0 :               tree res = generic_simplify_264 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9752                 :           0 :               if (res) return res;
    9753                 :             :             }
    9754                 :             :           }
    9755                 :          22 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    9756                 :             :           {
    9757                 :           0 :             {
    9758                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    9759                 :           0 :               tree res = generic_simplify_264 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9760                 :           0 :               if (res) return res;
    9761                 :             :             }
    9762                 :             :           }
    9763                 :             :         break;
    9764                 :             :       }
    9765                 :    22932560 :     default:;
    9766                 :             :     }
    9767                 :    22932560 :   switch (TREE_CODE (_p0))
    9768                 :             :     {
    9769                 :      877942 :     case BIT_AND_EXPR:
    9770                 :      877942 :       {
    9771                 :      877942 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9772                 :      877942 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9773                 :      877942 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9774                 :             :           {
    9775                 :         194 :             {
    9776                 :         194 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9777                 :         194 :               tree res = generic_simplify_265 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9778                 :         194 :               if (res) return res;
    9779                 :             :             }
    9780                 :             :           }
    9781                 :      877941 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9782                 :             :           {
    9783                 :      149047 :             {
    9784                 :      149047 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9785                 :      149047 :               tree res = generic_simplify_265 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9786                 :      149047 :               if (res) return res;
    9787                 :             :             }
    9788                 :             :           }
    9789                 :             :         break;
    9790                 :             :       }
    9791                 :    22932559 :     default:;
    9792                 :             :     }
    9793                 :    22932559 :   switch (TREE_CODE (_p1))
    9794                 :             :     {
    9795                 :        7961 :     case BIT_AND_EXPR:
    9796                 :        7961 :       {
    9797                 :        7961 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9798                 :        7961 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9799                 :        7961 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9800                 :             :           {
    9801                 :           0 :             {
    9802                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    9803                 :           0 :               tree res = generic_simplify_265 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9804                 :           0 :               if (res) return res;
    9805                 :             :             }
    9806                 :             :           }
    9807                 :        7961 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    9808                 :             :           {
    9809                 :           0 :             {
    9810                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    9811                 :           0 :               tree res = generic_simplify_265 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9812                 :           0 :               if (res) return res;
    9813                 :             :             }
    9814                 :             :           }
    9815                 :             :         break;
    9816                 :             :       }
    9817                 :    22932559 :     default:;
    9818                 :             :     }
    9819                 :    22932559 :   switch (TREE_CODE (_p0))
    9820                 :             :     {
    9821                 :     1913668 :     CASE_CONVERT:
    9822                 :     1913668 :       {
    9823                 :     1913668 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9824                 :     1913668 :         switch (TREE_CODE (_q20))
    9825                 :             :           {
    9826                 :           2 :           case BIT_AND_EXPR:
    9827                 :           2 :             {
    9828                 :           2 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9829                 :           2 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9830                 :           2 :               switch (TREE_CODE (_q30))
    9831                 :             :                 {
    9832                 :           0 :                 CASE_CONVERT:
    9833                 :           0 :                   {
    9834                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9835                 :           0 :                     switch (TREE_CODE (_q31))
    9836                 :             :                       {
    9837                 :           0 :                       case INTEGER_CST:
    9838                 :           0 :                         {
    9839                 :           0 :                           switch (TREE_CODE (_p1))
    9840                 :             :                             {
    9841                 :           0 :                             CASE_CONVERT:
    9842                 :           0 :                               {
    9843                 :           0 :                                 tree _q70 = TREE_OPERAND (_p1, 0);
    9844                 :           0 :                                 if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    9845                 :             :                                   {
    9846                 :           0 :                                     {
    9847                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q31 };
    9848                 :           0 :                                       tree res = generic_simplify_266 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9849                 :           0 :                                       if (res) return res;
    9850                 :             :                                     }
    9851                 :             :                                   }
    9852                 :             :                                 break;
    9853                 :             :                               }
    9854                 :             :                             default:;
    9855                 :             :                             }
    9856                 :             :                           break;
    9857                 :             :                         }
    9858                 :             :                       default:;
    9859                 :             :                       }
    9860                 :             :                     break;
    9861                 :             :                   }
    9862                 :             :                 default:;
    9863                 :             :                 }
    9864                 :             :               break;
    9865                 :             :             }
    9866                 :     1913668 :           default:;
    9867                 :             :           }
    9868                 :     1913668 :         switch (TREE_CODE (_p1))
    9869                 :             :           {
    9870                 :      529751 :           CASE_CONVERT:
    9871                 :      529751 :             {
    9872                 :      529751 :               tree _q40 = TREE_OPERAND (_p1, 0);
    9873                 :      529751 :               switch (TREE_CODE (_q40))
    9874                 :             :                 {
    9875                 :           7 :                 case BIT_AND_EXPR:
    9876                 :           7 :                   {
    9877                 :           7 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    9878                 :           7 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    9879                 :           7 :                     switch (TREE_CODE (_q50))
    9880                 :             :                       {
    9881                 :           7 :                       CASE_CONVERT:
    9882                 :           7 :                         {
    9883                 :           7 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    9884                 :           7 :                           if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    9885                 :             :                             {
    9886                 :           0 :                               switch (TREE_CODE (_q51))
    9887                 :             :                                 {
    9888                 :           0 :                                 case INTEGER_CST:
    9889                 :           0 :                                   {
    9890                 :           0 :                                     {
    9891                 :           0 :                                       tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q50, _q20, _q51 };
    9892                 :           0 :                                       tree res = generic_simplify_266 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9893                 :           0 :                                       if (res) return res;
    9894                 :             :                                     }
    9895                 :           0 :                                     break;
    9896                 :             :                                   }
    9897                 :             :                                 default:;
    9898                 :             :                                 }
    9899                 :             :                             }
    9900                 :             :                           break;
    9901                 :             :                         }
    9902                 :             :                       default:;
    9903                 :             :                       }
    9904                 :             :                     break;
    9905                 :             :                   }
    9906                 :             :                 default:;
    9907                 :             :                 }
    9908                 :             :               break;
    9909                 :             :             }
    9910                 :             :           default:;
    9911                 :             :           }
    9912                 :             :         break;
    9913                 :             :       }
    9914                 :       33295 :     case BIT_IOR_EXPR:
    9915                 :       33295 :       {
    9916                 :       33295 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9917                 :       33295 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9918                 :       33295 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9919                 :             :           {
    9920                 :          24 :             {
    9921                 :          24 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9922                 :          24 :               tree res = generic_simplify_267 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9923                 :          24 :               if (res) return res;
    9924                 :             :             }
    9925                 :             :           }
    9926                 :       33295 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9927                 :             :           {
    9928                 :          46 :             {
    9929                 :          46 :               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9930                 :          46 :               tree res = generic_simplify_267 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9931                 :          46 :               if (res) return res;
    9932                 :             :             }
    9933                 :             :           }
    9934                 :             :         break;
    9935                 :             :       }
    9936                 :    22932559 :     default:;
    9937                 :             :     }
    9938                 :    22932559 :   switch (TREE_CODE (_p1))
    9939                 :             :     {
    9940                 :         679 :     case BIT_IOR_EXPR:
    9941                 :         679 :       {
    9942                 :         679 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9943                 :         679 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9944                 :         679 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    9945                 :             :           {
    9946                 :           0 :             {
    9947                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    9948                 :           0 :               tree res = generic_simplify_267 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9949                 :           0 :               if (res) return res;
    9950                 :             :             }
    9951                 :             :           }
    9952                 :         679 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9953                 :             :           {
    9954                 :           0 :             {
    9955                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q31, _p0 };
    9956                 :           0 :               tree res = generic_simplify_267 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9957                 :           0 :               if (res) return res;
    9958                 :             :             }
    9959                 :             :           }
    9960                 :             :         break;
    9961                 :             :       }
    9962                 :    22932559 :     default:;
    9963                 :             :     }
    9964                 :    22932559 :   switch (TREE_CODE (_p0))
    9965                 :             :     {
    9966                 :     1913668 :     CASE_CONVERT:
    9967                 :     1913668 :       {
    9968                 :     1913668 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9969                 :     1913668 :         switch (TREE_CODE (_q20))
    9970                 :             :           {
    9971                 :           9 :           case BIT_XOR_EXPR:
    9972                 :           9 :             {
    9973                 :           9 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9974                 :           9 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9975                 :           9 :               switch (TREE_CODE (_q31))
    9976                 :             :                 {
    9977                 :           7 :                 case INTEGER_CST:
    9978                 :           7 :                   {
    9979                 :           7 :                     switch (TREE_CODE (_p1))
    9980                 :             :                       {
    9981                 :           0 :                       case INTEGER_CST:
    9982                 :           0 :                         {
    9983                 :           0 :                           {
    9984                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _p1 };
    9985                 :           0 :                             tree res = generic_simplify_268 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9986                 :           0 :                             if (res) return res;
    9987                 :             :                           }
    9988                 :           0 :                           break;
    9989                 :             :                         }
    9990                 :             :                       default:;
    9991                 :             :                       }
    9992                 :             :                     break;
    9993                 :             :                   }
    9994                 :             :                 default:;
    9995                 :             :                 }
    9996                 :             :               break;
    9997                 :             :             }
    9998                 :             :           default:;
    9999                 :             :           }
   10000                 :             :         break;
   10001                 :             :       }
   10002                 :         368 :     case BIT_XOR_EXPR:
   10003                 :         368 :       {
   10004                 :         368 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10005                 :         368 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10006                 :         368 :         switch (TREE_CODE (_q21))
   10007                 :             :           {
   10008                 :         103 :           case INTEGER_CST:
   10009                 :         103 :             {
   10010                 :         103 :               switch (TREE_CODE (_p1))
   10011                 :             :                 {
   10012                 :          16 :                 case INTEGER_CST:
   10013                 :          16 :                   {
   10014                 :          16 :                     {
   10015                 :          16 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   10016                 :          16 :                       tree res = generic_simplify_268 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10017                 :          16 :                       if (res) return res;
   10018                 :             :                     }
   10019                 :           0 :                     break;
   10020                 :             :                   }
   10021                 :             :                 default:;
   10022                 :             :                 }
   10023                 :             :               break;
   10024                 :             :             }
   10025                 :             :           default:;
   10026                 :             :           }
   10027                 :             :         break;
   10028                 :             :       }
   10029                 :    22932543 :     default:;
   10030                 :             :     }
   10031                 :    22932543 : {
   10032                 :    22932543 :   tree _p0_pops[1];
   10033                 :    22932543 :   if (tree_nop_convert (_p0, _p0_pops))
   10034                 :             :     {
   10035                 :     1593406 :       tree _q20 = _p0_pops[0];
   10036                 :     1593406 :       if (integer_zerop (_p1))
   10037                 :             :         {
   10038                 :      502254 :           {
   10039                 :      502254 :             tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   10040                 :      502254 :             tree res = generic_simplify_269 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10041                 :      502254 :             if (res) return res;
   10042                 :             :           }
   10043                 :             :         }
   10044                 :             :     }
   10045                 :             : }
   10046                 :    22573099 :   if (integer_zerop (_p1))
   10047                 :             :     {
   10048                 :     9204747 :       {
   10049                 :     9204747 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   10050                 :     9204747 :         tree res = generic_simplify_269 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10051                 :     9204747 :         if (res) return res;
   10052                 :             :       }
   10053                 :             :     }
   10054                 :    22501520 :   switch (TREE_CODE (_p0))
   10055                 :             :     {
   10056                 :      877941 :     case BIT_AND_EXPR:
   10057                 :      877941 :       {
   10058                 :      877941 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10059                 :      877941 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10060                 :      877941 :         switch (TREE_CODE (_p1))
   10061                 :             :           {
   10062                 :        7708 :           case BIT_AND_EXPR:
   10063                 :        7708 :             {
   10064                 :        7708 :               tree _q50 = TREE_OPERAND (_p1, 0);
   10065                 :        7708 :               tree _q51 = TREE_OPERAND (_p1, 1);
   10066                 :        7708 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10067                 :             :                 {
   10068                 :        7183 :                   {
   10069                 :        7183 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10070                 :        7183 :                     tree res = generic_simplify_270 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10071                 :        7183 :                     if (res) return res;
   10072                 :             :                   }
   10073                 :             :                 }
   10074                 :         525 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10075                 :             :                 {
   10076                 :          28 :                   {
   10077                 :          28 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
   10078                 :          28 :                     tree res = generic_simplify_270 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10079                 :          28 :                     if (res) return res;
   10080                 :             :                   }
   10081                 :             :                 }
   10082                 :         497 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10083                 :             :                 {
   10084                 :          28 :                   {
   10085                 :          28 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
   10086                 :          28 :                     tree res = generic_simplify_270 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10087                 :          28 :                     if (res) return res;
   10088                 :             :                   }
   10089                 :             :                 }
   10090                 :         469 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10091                 :             :                 {
   10092                 :          28 :                   {
   10093                 :          28 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
   10094                 :          28 :                     tree res = generic_simplify_270 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10095                 :          28 :                     if (res) return res;
   10096                 :             :                   }
   10097                 :             :                 }
   10098                 :             :               break;
   10099                 :             :             }
   10100                 :      870674 :           default:;
   10101                 :             :           }
   10102                 :      870674 :         if (integer_pow2p (_q21))
   10103                 :             :           {
   10104                 :      300942 :             if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   10105                 :             :               {
   10106                 :      114497 :                 {
   10107                 :      114497 :                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   10108                 :      114497 :                   tree res = generic_simplify_271 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
   10109                 :      114497 :                   if (res) return res;
   10110                 :             :                 }
   10111                 :             :               }
   10112                 :             :           }
   10113                 :      756195 :         switch (TREE_CODE (_q20))
   10114                 :             :           {
   10115                 :       44417 :           CASE_CONVERT:
   10116                 :       44417 :             {
   10117                 :       44417 :               tree _q30 = TREE_OPERAND (_q20, 0);
   10118                 :       44417 :               if (integer_pow2p (_q21))
   10119                 :             :                 {
   10120                 :       20808 :                   if (integer_zerop (_p1))
   10121                 :             :                     {
   10122                 :       20806 :                       {
   10123                 :       20806 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q21 };
   10124                 :       20806 :                         tree res = generic_simplify_272 (loc, type, _p0, _p1, captures, EQ_EXPR, GE_EXPR);
   10125                 :       20806 :                         if (res) return res;
   10126                 :             :                       }
   10127                 :             :                     }
   10128                 :             :                 }
   10129                 :             :               break;
   10130                 :             :             }
   10131                 :      755226 :           default:;
   10132                 :             :           }
   10133                 :      755226 :         if (integer_pow2p (_q21))
   10134                 :             :           {
   10135                 :      185494 :             if (integer_zerop (_p1))
   10136                 :             :               {
   10137                 :      185365 :                 {
   10138                 :      185365 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q20, _q21 };
   10139                 :      185365 :                   tree res = generic_simplify_273 (loc, type, _p0, _p1, captures, EQ_EXPR, GE_EXPR);
   10140                 :      185365 :                   if (res) return res;
   10141                 :             :                 }
   10142                 :             :               }
   10143                 :             :           }
   10144                 :             :         break;
   10145                 :             :       }
   10146                 :        1263 :     case GE_EXPR:
   10147                 :        1263 :       {
   10148                 :        1263 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10149                 :        1263 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10150                 :        1263 :         if (integer_zerop (_q21))
   10151                 :             :           {
   10152                 :         120 :             switch (TREE_CODE (_p1))
   10153                 :             :               {
   10154                 :           5 :               case GE_EXPR:
   10155                 :           5 :                 {
   10156                 :           5 :                   tree _q50 = TREE_OPERAND (_p1, 0);
   10157                 :           5 :                   tree _q51 = TREE_OPERAND (_p1, 1);
   10158                 :           5 :                   if (integer_zerop (_q51))
   10159                 :             :                     {
   10160                 :           5 :                       {
   10161                 :           5 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
   10162                 :           5 :                         tree res = generic_simplify_274 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR, GE_EXPR);
   10163                 :           5 :                         if (res) return res;
   10164                 :             :                       }
   10165                 :             :                     }
   10166                 :             :                   break;
   10167                 :             :                 }
   10168                 :           1 :               case LT_EXPR:
   10169                 :           1 :                 {
   10170                 :           1 :                   tree _q50 = TREE_OPERAND (_p1, 0);
   10171                 :           1 :                   tree _q51 = TREE_OPERAND (_p1, 1);
   10172                 :           1 :                   if (integer_zerop (_q51))
   10173                 :             :                     {
   10174                 :           1 :                       {
   10175                 :           1 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
   10176                 :           1 :                         tree res = generic_simplify_275 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR);
   10177                 :           1 :                         if (res) return res;
   10178                 :             :                       }
   10179                 :             :                     }
   10180                 :             :                   break;
   10181                 :             :                 }
   10182                 :             :               default:;
   10183                 :             :               }
   10184                 :             :           }
   10185                 :             :         break;
   10186                 :             :       }
   10187                 :         889 :     case LT_EXPR:
   10188                 :         889 :       {
   10189                 :         889 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10190                 :         889 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10191                 :         889 :         if (integer_zerop (_q21))
   10192                 :             :           {
   10193                 :         153 :             switch (TREE_CODE (_p1))
   10194                 :             :               {
   10195                 :          11 :               case LT_EXPR:
   10196                 :          11 :                 {
   10197                 :          11 :                   tree _q50 = TREE_OPERAND (_p1, 0);
   10198                 :          11 :                   tree _q51 = TREE_OPERAND (_p1, 1);
   10199                 :          11 :                   if (integer_zerop (_q51))
   10200                 :             :                     {
   10201                 :           9 :                       {
   10202                 :           9 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
   10203                 :           9 :                         tree res = generic_simplify_274 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR, GE_EXPR);
   10204                 :           9 :                         if (res) return res;
   10205                 :             :                       }
   10206                 :             :                     }
   10207                 :             :                   break;
   10208                 :             :                 }
   10209                 :           1 :               case GE_EXPR:
   10210                 :           1 :                 {
   10211                 :           1 :                   tree _q50 = TREE_OPERAND (_p1, 0);
   10212                 :           1 :                   tree _q51 = TREE_OPERAND (_p1, 1);
   10213                 :           1 :                   if (integer_zerop (_q51))
   10214                 :             :                     {
   10215                 :           1 :                       {
   10216                 :           1 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
   10217                 :           1 :                         tree res = generic_simplify_276 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR);
   10218                 :           1 :                         if (res) return res;
   10219                 :             :                       }
   10220                 :             :                     }
   10221                 :             :                   break;
   10222                 :             :                 }
   10223                 :             :               default:;
   10224                 :             :               }
   10225                 :             :           }
   10226                 :             :         break;
   10227                 :             :       }
   10228                 :     1554221 :     CASE_CONVERT:
   10229                 :     1554221 :       {
   10230                 :     1554221 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10231                 :     1554221 :         switch (TREE_CODE (_q20))
   10232                 :             :           {
   10233                 :      189787 :           case ADDR_EXPR:
   10234                 :      189787 :             {
   10235                 :      189787 :               switch (TREE_CODE (_p1))
   10236                 :             :                 {
   10237                 :      162548 :                 CASE_CONVERT:
   10238                 :      162548 :                   {
   10239                 :      162548 :                     tree _q40 = TREE_OPERAND (_p1, 0);
   10240                 :      162548 :                     switch (TREE_CODE (_q40))
   10241                 :             :                       {
   10242                 :      162548 :                       case ADDR_EXPR:
   10243                 :      162548 :                         {
   10244                 :      162548 :                           {
   10245                 :      162548 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   10246                 :      162548 :                             tree res = generic_simplify_277 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10247                 :      162548 :                             if (res) return res;
   10248                 :             :                           }
   10249                 :          30 :                           break;
   10250                 :             :                         }
   10251                 :             :                       default:;
   10252                 :             :                       }
   10253                 :             :                     break;
   10254                 :             :                   }
   10255                 :       20482 :                 case ADDR_EXPR:
   10256                 :       20482 :                   {
   10257                 :       20482 :                     {
   10258                 :       20482 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10259                 :       20482 :                       tree res = generic_simplify_277 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10260                 :       20482 :                       if (res) return res;
   10261                 :             :                     }
   10262                 :        7824 :                     break;
   10263                 :             :                   }
   10264                 :             :                 default:;
   10265                 :             :                 }
   10266                 :             :               break;
   10267                 :             :             }
   10268                 :             :           default:;
   10269                 :             :           }
   10270                 :             :         break;
   10271                 :             :       }
   10272                 :       16119 :     case ADDR_EXPR:
   10273                 :       16119 :       {
   10274                 :       16119 :         switch (TREE_CODE (_p1))
   10275                 :             :           {
   10276                 :         110 :           CASE_CONVERT:
   10277                 :         110 :             {
   10278                 :         110 :               tree _q30 = TREE_OPERAND (_p1, 0);
   10279                 :         110 :               switch (TREE_CODE (_q30))
   10280                 :             :                 {
   10281                 :         110 :                 case ADDR_EXPR:
   10282                 :         110 :                   {
   10283                 :         110 :                     {
   10284                 :         110 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q30 };
   10285                 :         110 :                       tree res = generic_simplify_278 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10286                 :         110 :                       if (res) return res;
   10287                 :             :                     }
   10288                 :           0 :                     break;
   10289                 :             :                   }
   10290                 :             :                 default:;
   10291                 :             :                 }
   10292                 :             :               break;
   10293                 :             :             }
   10294                 :       13594 :           case ADDR_EXPR:
   10295                 :       13594 :             {
   10296                 :       13594 :               {
   10297                 :       13594 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
   10298                 :       13594 :                 tree res = generic_simplify_278 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10299                 :       13594 :                 if (res) return res;
   10300                 :             :               }
   10301                 :        5487 :               break;
   10302                 :             :             }
   10303                 :             :           default:;
   10304                 :             :           }
   10305                 :             :         break;
   10306                 :             :       }
   10307                 :    22195100 :     default:;
   10308                 :             :     }
   10309                 :    22195100 :   {
   10310                 :    22195100 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   10311                 :    22195100 :     tree res = generic_simplify_279 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10312                 :    22195100 :     if (res) return res;
   10313                 :             :   }
   10314                 :    22192644 :   switch (TREE_CODE (_p0))
   10315                 :             :     {
   10316                 :     1379045 :     CASE_CONVERT:
   10317                 :     1379045 :       {
   10318                 :     1379045 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10319                 :     1379045 :         switch (TREE_CODE (_p1))
   10320                 :             :           {
   10321                 :      241726 :           case INTEGER_CST:
   10322                 :      241726 :             {
   10323                 :      241726 :               {
   10324                 :      241726 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   10325                 :      241726 :                 tree res = generic_simplify_280 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10326                 :      241726 :                 if (res) return res;
   10327                 :             :               }
   10328                 :      240607 :               break;
   10329                 :             :             }
   10330                 :     1377926 :           default:;
   10331                 :             :           }
   10332                 :     1377926 :         switch (TREE_CODE (_q20))
   10333                 :             :           {
   10334                 :           0 :           case NE_EXPR:
   10335                 :           0 :             {
   10336                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
   10337                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
   10338                 :           0 :               switch (TREE_CODE (_q31))
   10339                 :             :                 {
   10340                 :           0 :                 case INTEGER_CST:
   10341                 :           0 :                   {
   10342                 :           0 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   10343                 :             :                       {
   10344                 :           0 :                         {
   10345                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
   10346                 :           0 :                           tree res = generic_simplify_281 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
   10347                 :           0 :                           if (res) return res;
   10348                 :             :                         }
   10349                 :             :                       }
   10350                 :             :                     break;
   10351                 :             :                   }
   10352                 :             :                 default:;
   10353                 :             :                 }
   10354                 :             :               break;
   10355                 :             :             }
   10356                 :           0 :           case EQ_EXPR:
   10357                 :           0 :             {
   10358                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
   10359                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
   10360                 :           0 :               switch (TREE_CODE (_q31))
   10361                 :             :                 {
   10362                 :           0 :                 case INTEGER_CST:
   10363                 :           0 :                   {
   10364                 :           0 :                     if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   10365                 :             :                       {
   10366                 :           0 :                         {
   10367                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
   10368                 :           0 :                           tree res = generic_simplify_281 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
   10369                 :           0 :                           if (res) return res;
   10370                 :             :                         }
   10371                 :             :                       }
   10372                 :             :                     break;
   10373                 :             :                   }
   10374                 :             :                 default:;
   10375                 :             :                 }
   10376                 :             :               break;
   10377                 :             :             }
   10378                 :             :           default:;
   10379                 :             :           }
   10380                 :             :         break;
   10381                 :             :       }
   10382                 :    22191525 :     default:;
   10383                 :             :     }
   10384                 :    22191525 :   switch (TREE_CODE (_p1))
   10385                 :             :     {
   10386                 :      657877 :     CASE_CONVERT:
   10387                 :      657877 :       {
   10388                 :      657877 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10389                 :      657877 :         switch (TREE_CODE (_q30))
   10390                 :             :           {
   10391                 :           0 :           case NE_EXPR:
   10392                 :           0 :             {
   10393                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
   10394                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
   10395                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   10396                 :             :                 {
   10397                 :           0 :                   switch (TREE_CODE (_q41))
   10398                 :             :                     {
   10399                 :           0 :                     case INTEGER_CST:
   10400                 :           0 :                       {
   10401                 :           0 :                         {
   10402                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
   10403                 :           0 :                           tree res = generic_simplify_281 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
   10404                 :           0 :                           if (res) return res;
   10405                 :             :                         }
   10406                 :           0 :                         break;
   10407                 :             :                       }
   10408                 :             :                     default:;
   10409                 :             :                     }
   10410                 :             :                 }
   10411                 :             :               break;
   10412                 :             :             }
   10413                 :           0 :           case EQ_EXPR:
   10414                 :           0 :             {
   10415                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
   10416                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
   10417                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   10418                 :             :                 {
   10419                 :           0 :                   switch (TREE_CODE (_q41))
   10420                 :             :                     {
   10421                 :           0 :                     case INTEGER_CST:
   10422                 :           0 :                       {
   10423                 :           0 :                         {
   10424                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
   10425                 :           0 :                           tree res = generic_simplify_281 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
   10426                 :           0 :                           if (res) return res;
   10427                 :             :                         }
   10428                 :           0 :                         break;
   10429                 :             :                       }
   10430                 :             :                     default:;
   10431                 :             :                     }
   10432                 :             :                 }
   10433                 :             :               break;
   10434                 :             :             }
   10435                 :             :           default:;
   10436                 :             :           }
   10437                 :             :         break;
   10438                 :             :       }
   10439                 :    22191525 :     default:;
   10440                 :             :     }
   10441                 :    22191525 : if (integer_onep (_p1))
   10442                 :             :   {
   10443                 :     1740473 :     {
   10444                 :     1740473 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   10445                 :     1740473 :       if (TREE_CODE (TREE_TYPE (captures[0])) == BOOLEAN_TYPE
   10446                 :     1740473 :  && types_match (type, TREE_TYPE (captures[0]))
   10447                 :             : )
   10448                 :             :         {
   10449                 :       86140 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1678;
   10450                 :       86140 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1678;
   10451                 :       86140 :           {
   10452                 :       86140 :             tree res_op0;
   10453                 :       86140 :             res_op0 = captures[0];
   10454                 :       86140 :             tree _r;
   10455                 :       86140 :             _r = non_lvalue_loc (loc, res_op0);
   10456                 :       86140 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1000, __FILE__, __LINE__, true);
   10457                 :       86140 :             return _r;
   10458                 :             :           }
   10459                 :             : next_after_fail1678:;
   10460                 :             :         }
   10461                 :             :     }
   10462                 :             :   }
   10463                 :    22105385 :   switch (TREE_CODE (_p0))
   10464                 :             :     {
   10465                 :      754930 :     case BIT_AND_EXPR:
   10466                 :      754930 :       {
   10467                 :      754930 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10468                 :      754930 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10469                 :      754930 :         switch (TREE_CODE (_q21))
   10470                 :             :           {
   10471                 :         388 :           case VECTOR_CST:
   10472                 :         388 :             {
   10473                 :         388 :               if (integer_zerop (_p1))
   10474                 :             :                 {
   10475                 :         384 :                   {
   10476                 :         384 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   10477                 :         384 :                     const enum tree_code cmp = EQ_EXPR;
   10478                 :         384 :                     const enum tree_code icmp = LE_EXPR;
   10479                 :         384 :                     {
   10480                 :         384 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   10481                 :         384 :                         if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   10482                 :             : )
   10483                 :             :                           {
   10484                 :           2 :                             {
   10485                 :           2 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   10486                 :           2 :  ? optab_vector : optab_default;
   10487                 :           2 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   10488                 :           2 :                                 if (target_supports_op_p (utype, icmp, optab)
   10489                 :           2 :  || (optimize_vectors_before_lowering_p ()
   10490                 :           2 :  && (!target_supports_op_p (type, cmp, optab)
   10491                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   10492                 :             : )
   10493                 :             :                                   {
   10494                 :           2 :                                     if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   10495                 :             : )
   10496                 :             :                                       {
   10497                 :           2 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1679;
   10498                 :           2 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1679;
   10499                 :           2 :                                         {
   10500                 :           2 :                                           tree res_op0;
   10501                 :           2 :                                           res_op0 = captures[1];
   10502                 :           2 :                                           tree res_op1;
   10503                 :           2 :                                           res_op1 =  csts;
   10504                 :           2 :                                           tree _r;
   10505                 :           2 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10506                 :           2 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10507                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10508                 :           2 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1001, __FILE__, __LINE__, true);
   10509                 :           2 :                                           return _r;
   10510                 :             :                                         }
   10511                 :         382 : next_after_fail1679:;
   10512                 :             :                                       }
   10513                 :             :                                     else
   10514                 :             :                                       {
   10515                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1680;
   10516                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1680;
   10517                 :           0 :                                         {
   10518                 :           0 :                                           tree res_op0;
   10519                 :           0 :                                           {
   10520                 :           0 :                                             tree _o1[1], _r1;
   10521                 :           0 :                                             _o1[0] = captures[1];
   10522                 :           0 :                                             if (TREE_TYPE (_o1[0]) != utype)
   10523                 :             :                                               {
   10524                 :           0 :                                                 _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, utype, _o1[0]);
   10525                 :             :                                               }
   10526                 :             :                                             else
   10527                 :             :                                               _r1 = _o1[0];
   10528                 :           0 :                                             res_op0 = _r1;
   10529                 :             :                                           }
   10530                 :           0 :                                           tree res_op1;
   10531                 :           0 :                                           res_op1 =  csts;
   10532                 :           0 :                                           tree _r;
   10533                 :           0 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10534                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10535                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10536                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1002, __FILE__, __LINE__, true);
   10537                 :           0 :                                           return _r;
   10538                 :             :                                         }
   10539                 :         382 : next_after_fail1680:;
   10540                 :             :                                       }
   10541                 :             :                                   }
   10542                 :             :                             }
   10543                 :             :                           }
   10544                 :             :                     }
   10545                 :             :                   }
   10546                 :             :                 }
   10547                 :             :               break;
   10548                 :             :             }
   10549                 :      706239 :           case INTEGER_CST:
   10550                 :      706239 :             {
   10551                 :      706239 :               if (integer_zerop (_p1))
   10552                 :             :                 {
   10553                 :      559643 :                   {
   10554                 :      559643 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   10555                 :      559643 :                     const enum tree_code cmp = EQ_EXPR;
   10556                 :      559643 :                     const enum tree_code icmp = LE_EXPR;
   10557                 :      559643 :                     {
   10558                 :      559643 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   10559                 :      559643 :                         if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   10560                 :             : )
   10561                 :             :                           {
   10562                 :        1051 :                             {
   10563                 :        1051 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   10564                 :        1051 :  ? optab_vector : optab_default;
   10565                 :        1051 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   10566                 :        1051 :                                 if (target_supports_op_p (utype, icmp, optab)
   10567                 :        1051 :  || (optimize_vectors_before_lowering_p ()
   10568                 :         904 :  && (!target_supports_op_p (type, cmp, optab)
   10569                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   10570                 :             : )
   10571                 :             :                                   {
   10572                 :         904 :                                     if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   10573                 :             : )
   10574                 :             :                                       {
   10575                 :         615 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1681;
   10576                 :         615 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1681;
   10577                 :         615 :                                         {
   10578                 :         615 :                                           tree res_op0;
   10579                 :         615 :                                           res_op0 = captures[1];
   10580                 :         615 :                                           tree res_op1;
   10581                 :         615 :                                           res_op1 =  csts;
   10582                 :         615 :                                           tree _r;
   10583                 :         615 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10584                 :         615 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10585                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10586                 :         615 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1001, __FILE__, __LINE__, true);
   10587                 :         615 :                                           return _r;
   10588                 :             :                                         }
   10589                 :      558739 : next_after_fail1681:;
   10590                 :             :                                       }
   10591                 :             :                                     else
   10592                 :             :                                       {
   10593                 :         289 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1682;
   10594                 :         289 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1682;
   10595                 :         289 :                                         {
   10596                 :         289 :                                           tree res_op0;
   10597                 :         289 :                                           {
   10598                 :         289 :                                             tree _o1[1], _r1;
   10599                 :         289 :                                             _o1[0] = captures[1];
   10600                 :         289 :                                             if (TREE_TYPE (_o1[0]) != utype)
   10601                 :             :                                               {
   10602                 :         289 :                                                 _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, utype, _o1[0]);
   10603                 :             :                                               }
   10604                 :             :                                             else
   10605                 :             :                                               _r1 = _o1[0];
   10606                 :         289 :                                             res_op0 = _r1;
   10607                 :             :                                           }
   10608                 :         289 :                                           tree res_op1;
   10609                 :         289 :                                           res_op1 =  csts;
   10610                 :         289 :                                           tree _r;
   10611                 :         289 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10612                 :         289 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10613                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10614                 :         289 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1002, __FILE__, __LINE__, true);
   10615                 :         289 :                                           return _r;
   10616                 :             :                                         }
   10617                 :      558739 : next_after_fail1682:;
   10618                 :             :                                       }
   10619                 :             :                                   }
   10620                 :             :                             }
   10621                 :             :                           }
   10622                 :             :                     }
   10623                 :             :                   }
   10624                 :             :                 }
   10625                 :             :               break;
   10626                 :             :             }
   10627                 :      754024 :           default:;
   10628                 :             :           }
   10629                 :      754024 :         switch (TREE_CODE (_q20))
   10630                 :             :           {
   10631                 :           0 :           case VECTOR_CST:
   10632                 :           0 :             {
   10633                 :           0 :               if (integer_zerop (_p1))
   10634                 :             :                 {
   10635                 :           0 :                   {
   10636                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
   10637                 :           0 :                     const enum tree_code cmp = EQ_EXPR;
   10638                 :           0 :                     const enum tree_code icmp = LE_EXPR;
   10639                 :           0 :                     {
   10640                 :           0 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   10641                 :           0 :                         if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   10642                 :             : )
   10643                 :             :                           {
   10644                 :           0 :                             {
   10645                 :           0 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   10646                 :           0 :  ? optab_vector : optab_default;
   10647                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   10648                 :           0 :                                 if (target_supports_op_p (utype, icmp, optab)
   10649                 :           0 :  || (optimize_vectors_before_lowering_p ()
   10650                 :           0 :  && (!target_supports_op_p (type, cmp, optab)
   10651                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   10652                 :             : )
   10653                 :             :                                   {
   10654                 :           0 :                                     if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   10655                 :             : )
   10656                 :             :                                       {
   10657                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1683;
   10658                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1683;
   10659                 :           0 :                                         {
   10660                 :           0 :                                           tree res_op0;
   10661                 :           0 :                                           res_op0 = captures[1];
   10662                 :           0 :                                           tree res_op1;
   10663                 :           0 :                                           res_op1 =  csts;
   10664                 :           0 :                                           tree _r;
   10665                 :           0 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10666                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10667                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10668                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1001, __FILE__, __LINE__, true);
   10669                 :           0 :                                           return _r;
   10670                 :             :                                         }
   10671                 :           0 : next_after_fail1683:;
   10672                 :             :                                       }
   10673                 :             :                                     else
   10674                 :             :                                       {
   10675                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1684;
   10676                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1684;
   10677                 :           0 :                                         {
   10678                 :           0 :                                           tree res_op0;
   10679                 :           0 :                                           {
   10680                 :           0 :                                             tree _o1[1], _r1;
   10681                 :           0 :                                             _o1[0] = captures[1];
   10682                 :           0 :                                             if (TREE_TYPE (_o1[0]) != utype)
   10683                 :             :                                               {
   10684                 :           0 :                                                 _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, utype, _o1[0]);
   10685                 :             :                                               }
   10686                 :             :                                             else
   10687                 :             :                                               _r1 = _o1[0];
   10688                 :           0 :                                             res_op0 = _r1;
   10689                 :             :                                           }
   10690                 :           0 :                                           tree res_op1;
   10691                 :           0 :                                           res_op1 =  csts;
   10692                 :           0 :                                           tree _r;
   10693                 :           0 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10694                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10695                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10696                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1002, __FILE__, __LINE__, true);
   10697                 :           0 :                                           return _r;
   10698                 :             :                                         }
   10699                 :           0 : next_after_fail1684:;
   10700                 :             :                                       }
   10701                 :             :                                   }
   10702                 :             :                             }
   10703                 :             :                           }
   10704                 :             :                     }
   10705                 :             :                   }
   10706                 :             :                 }
   10707                 :             :               break;
   10708                 :             :             }
   10709                 :           0 :           case INTEGER_CST:
   10710                 :           0 :             {
   10711                 :           0 :               if (integer_zerop (_p1))
   10712                 :             :                 {
   10713                 :           0 :                   {
   10714                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
   10715                 :           0 :                     const enum tree_code cmp = EQ_EXPR;
   10716                 :           0 :                     const enum tree_code icmp = LE_EXPR;
   10717                 :           0 :                     {
   10718                 :           0 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   10719                 :           0 :                         if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   10720                 :             : )
   10721                 :             :                           {
   10722                 :           0 :                             {
   10723                 :           0 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   10724                 :           0 :  ? optab_vector : optab_default;
   10725                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   10726                 :           0 :                                 if (target_supports_op_p (utype, icmp, optab)
   10727                 :           0 :  || (optimize_vectors_before_lowering_p ()
   10728                 :           0 :  && (!target_supports_op_p (type, cmp, optab)
   10729                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   10730                 :             : )
   10731                 :             :                                   {
   10732                 :           0 :                                     if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   10733                 :             : )
   10734                 :             :                                       {
   10735                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1685;
   10736                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1685;
   10737                 :           0 :                                         {
   10738                 :           0 :                                           tree res_op0;
   10739                 :           0 :                                           res_op0 = captures[1];
   10740                 :           0 :                                           tree res_op1;
   10741                 :           0 :                                           res_op1 =  csts;
   10742                 :           0 :                                           tree _r;
   10743                 :           0 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10744                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10745                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10746                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1001, __FILE__, __LINE__, true);
   10747                 :           0 :                                           return _r;
   10748                 :             :                                         }
   10749                 :           0 : next_after_fail1685:;
   10750                 :             :                                       }
   10751                 :             :                                     else
   10752                 :             :                                       {
   10753                 :           0 :                                         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1686;
   10754                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1686;
   10755                 :           0 :                                         {
   10756                 :           0 :                                           tree res_op0;
   10757                 :           0 :                                           {
   10758                 :           0 :                                             tree _o1[1], _r1;
   10759                 :           0 :                                             _o1[0] = captures[1];
   10760                 :           0 :                                             if (TREE_TYPE (_o1[0]) != utype)
   10761                 :             :                                               {
   10762                 :           0 :                                                 _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, utype, _o1[0]);
   10763                 :             :                                               }
   10764                 :             :                                             else
   10765                 :             :                                               _r1 = _o1[0];
   10766                 :           0 :                                             res_op0 = _r1;
   10767                 :             :                                           }
   10768                 :           0 :                                           tree res_op1;
   10769                 :           0 :                                           res_op1 =  csts;
   10770                 :           0 :                                           tree _r;
   10771                 :           0 :                                           _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
   10772                 :           0 :                                           if (TREE_SIDE_EFFECTS (captures[2]))
   10773                 :           0 :                                             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   10774                 :           0 :                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1002, __FILE__, __LINE__, true);
   10775                 :           0 :                                           return _r;
   10776                 :             :                                         }
   10777                 :           0 : next_after_fail1686:;
   10778                 :             :                                       }
   10779                 :             :                                   }
   10780                 :             :                             }
   10781                 :             :                           }
   10782                 :             :                     }
   10783                 :             :                   }
   10784                 :             :                 }
   10785                 :             :               break;
   10786                 :             :             }
   10787                 :             :           default:;
   10788                 :             :           }
   10789                 :             :         break;
   10790                 :             :       }
   10791                 :       16962 :     case RSHIFT_EXPR:
   10792                 :       16962 :       {
   10793                 :       16962 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10794                 :       16962 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10795                 :       16962 :         switch (TREE_CODE (_q20))
   10796                 :             :           {
   10797                 :           1 :           case MULT_EXPR:
   10798                 :           1 :             {
   10799                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
   10800                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
   10801                 :           1 :               switch (TREE_CODE (_q30))
   10802                 :             :                 {
   10803                 :           1 :                 CASE_CONVERT:
   10804                 :           1 :                   {
   10805                 :           1 :                     tree _q40 = TREE_OPERAND (_q30, 0);
   10806                 :           1 :                     switch (TREE_CODE (_q31))
   10807                 :             :                       {
   10808                 :           1 :                       CASE_CONVERT:
   10809                 :           1 :                         {
   10810                 :           1 :                           tree _q60 = TREE_OPERAND (_q31, 0);
   10811                 :           1 :                           switch (TREE_CODE (_q21))
   10812                 :             :                             {
   10813                 :           1 :                             case INTEGER_CST:
   10814                 :           1 :                               {
   10815                 :           1 :                                 if (integer_zerop (_p1))
   10816                 :             :                                   {
   10817                 :           1 :                                     {
   10818                 :           1 :                                       tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q60, _q21 };
   10819                 :           1 :                                       tree res = generic_simplify_282 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10820                 :           1 :                                       if (res) return res;
   10821                 :             :                                     }
   10822                 :             :                                   }
   10823                 :             :                                 break;
   10824                 :             :                               }
   10825                 :             :                             default:;
   10826                 :             :                             }
   10827                 :             :                           break;
   10828                 :             :                         }
   10829                 :             :                       default:;
   10830                 :             :                       }
   10831                 :             :                     break;
   10832                 :             :                   }
   10833                 :             :                 default:;
   10834                 :             :                 }
   10835                 :             :               break;
   10836                 :             :             }
   10837                 :             :           default:;
   10838                 :             :           }
   10839                 :             :         break;
   10840                 :             :       }
   10841                 :      667498 :     case PLUS_EXPR:
   10842                 :      667498 :       {
   10843                 :      667498 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10844                 :      667498 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10845                 :      667498 :         switch (TREE_CODE (_q21))
   10846                 :             :           {
   10847                 :      620726 :           case INTEGER_CST:
   10848                 :      620726 :             {
   10849                 :      620726 :               switch (TREE_CODE (_p1))
   10850                 :             :                 {
   10851                 :      355394 :                 case INTEGER_CST:
   10852                 :      355394 :                   {
   10853                 :      355394 :                     {
   10854                 :      355394 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   10855                 :      355394 :                       tree res = generic_simplify_283 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR, EQ_EXPR);
   10856                 :      355394 :                       if (res) return res;
   10857                 :             :                     }
   10858                 :          14 :                     break;
   10859                 :             :                   }
   10860                 :             :                 default:;
   10861                 :             :                 }
   10862                 :             :               break;
   10863                 :             :             }
   10864                 :             :           default:;
   10865                 :             :           }
   10866                 :             :         break;
   10867                 :             :       }
   10868                 :       89013 :     case MINUS_EXPR:
   10869                 :       89013 :       {
   10870                 :       89013 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10871                 :       89013 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10872                 :       89013 :         switch (TREE_CODE (_q21))
   10873                 :             :           {
   10874                 :          16 :           case INTEGER_CST:
   10875                 :          16 :             {
   10876                 :          16 :               switch (TREE_CODE (_p1))
   10877                 :             :                 {
   10878                 :          16 :                 case INTEGER_CST:
   10879                 :          16 :                   {
   10880                 :          16 :                     {
   10881                 :          16 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   10882                 :          16 :                       tree res = generic_simplify_283 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR, EQ_EXPR);
   10883                 :          16 :                       if (res) return res;
   10884                 :             :                     }
   10885                 :          16 :                     break;
   10886                 :             :                   }
   10887                 :             :                 default:;
   10888                 :             :                 }
   10889                 :             :               break;
   10890                 :             :             }
   10891                 :       89013 :           default:;
   10892                 :             :           }
   10893                 :       89013 :         switch (TREE_CODE (_q20))
   10894                 :             :           {
   10895                 :       39774 :           case INTEGER_CST:
   10896                 :       39774 :             {
   10897                 :       39774 :               switch (TREE_CODE (_p1))
   10898                 :             :                 {
   10899                 :       38835 :                 case INTEGER_CST:
   10900                 :       38835 :                   {
   10901                 :       38835 :                     {
   10902                 :       38835 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   10903                 :       38835 :                       tree res = generic_simplify_284 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
   10904                 :       38835 :                       if (res) return res;
   10905                 :             :                     }
   10906                 :           0 :                     break;
   10907                 :             :                   }
   10908                 :             :                 default:;
   10909                 :             :                 }
   10910                 :             :               break;
   10911                 :             :             }
   10912                 :             :           default:;
   10913                 :             :           }
   10914                 :             :         break;
   10915                 :             :       }
   10916                 :     1797768 :     case CALL_EXPR:
   10917                 :     1797768 :       switch (get_call_combined_fn (_p0))
   10918                 :             :         {
   10919                 :          19 :         case CFN_BUILT_IN_CLZ:
   10920                 :          19 :           if (call_expr_nargs (_p0) == 1)
   10921                 :             :     {
   10922                 :          19 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10923                 :          19 :               switch (TREE_CODE (_p1))
   10924                 :             :                 {
   10925                 :          19 :                 case INTEGER_CST:
   10926                 :          19 :                   {
   10927                 :          19 :                     {
   10928                 :          19 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10929                 :          19 :                       tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZ);
   10930                 :          19 :                       if (res) return res;
   10931                 :             :                     }
   10932                 :          16 :                     break;
   10933                 :             :                   }
   10934                 :             :                 default:;
   10935                 :             :                 }
   10936                 :             :             }
   10937                 :             :           break;
   10938                 :          17 :         case CFN_BUILT_IN_CTZ:
   10939                 :          17 :           if (call_expr_nargs (_p0) == 1)
   10940                 :             :     {
   10941                 :          17 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10942                 :          17 :               switch (TREE_CODE (_p1))
   10943                 :             :                 {
   10944                 :          17 :                 case INTEGER_CST:
   10945                 :          17 :                   {
   10946                 :          17 :                     {
   10947                 :          17 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10948                 :          17 :                       tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_CTZ);
   10949                 :          17 :                       if (res) return res;
   10950                 :             :                     }
   10951                 :          16 :                     break;
   10952                 :             :                   }
   10953                 :             :                 default:;
   10954                 :             :                 }
   10955                 :             :             }
   10956                 :             :           break;
   10957                 :           4 :         case CFN_BUILT_IN_FFS:
   10958                 :           4 :           if (call_expr_nargs (_p0) == 1)
   10959                 :             :     {
   10960                 :           4 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10961                 :           4 :               switch (TREE_CODE (_p1))
   10962                 :             :                 {
   10963                 :           4 :                 case INTEGER_CST:
   10964                 :           4 :                   {
   10965                 :           4 :                     {
   10966                 :           4 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   10967                 :           4 :                       tree res = generic_simplify_290 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_FFS);
   10968                 :           4 :                       if (res) return res;
   10969                 :             :                     }
   10970                 :           0 :                     break;
   10971                 :             :                   }
   10972                 :             :                 default:;
   10973                 :             :                 }
   10974                 :             :             }
   10975                 :             :           break;
   10976                 :           0 :         case CFN_REDUC_IOR:
   10977                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10978                 :             :     {
   10979                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10980                 :           0 :               if (integer_zerop (_p1))
   10981                 :             :                 {
   10982                 :           0 :                   {
   10983                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   10984                 :           0 :                     tree res = generic_simplify_291 (loc, type, _p0, _p1, captures, EQ_EXPR);
   10985                 :           0 :                     if (res) return res;
   10986                 :             :                   }
   10987                 :             :                 }
   10988                 :             :             }
   10989                 :             :           break;
   10990                 :           0 :         case CFN_BUILT_IN_FFSIMAX:
   10991                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10992                 :             :     {
   10993                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10994                 :           0 :               switch (TREE_CODE (_p1))
   10995                 :             :                 {
   10996                 :           0 :                 case INTEGER_CST:
   10997                 :           0 :                   {
   10998                 :           0 :                     {
   10999                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11000                 :           0 :                       tree res = generic_simplify_290 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_FFSIMAX);
   11001                 :           0 :                       if (res) return res;
   11002                 :             :                     }
   11003                 :           0 :                     break;
   11004                 :             :                   }
   11005                 :             :                 default:;
   11006                 :             :                 }
   11007                 :             :             }
   11008                 :             :           break;
   11009                 :          15 :         case CFN_BUILT_IN_POPCOUNT:
   11010                 :          15 :           if (call_expr_nargs (_p0) == 1)
   11011                 :             :     {
   11012                 :          15 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11013                 :          15 :               if (integer_zerop (_p1))
   11014                 :             :                 {
   11015                 :           1 :                   {
   11016                 :           1 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   11017                 :           1 :                     tree res = generic_simplify_289 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNT);
   11018                 :           1 :                     if (res) return res;
   11019                 :             :                   }
   11020                 :             :                 }
   11021                 :             :             }
   11022                 :             :           break;
   11023                 :           0 :         case CFN_BUILT_IN_CLZL:
   11024                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11025                 :             :     {
   11026                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11027                 :           0 :               switch (TREE_CODE (_p1))
   11028                 :             :                 {
   11029                 :           0 :                 case INTEGER_CST:
   11030                 :           0 :                   {
   11031                 :           0 :                     {
   11032                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11033                 :           0 :                       tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZL);
   11034                 :           0 :                       if (res) return res;
   11035                 :             :                     }
   11036                 :           0 :                     break;
   11037                 :             :                   }
   11038                 :             :                 default:;
   11039                 :             :                 }
   11040                 :             :             }
   11041                 :             :           break;
   11042                 :          16 :         case CFN_BUILT_IN_CTZL:
   11043                 :          16 :           if (call_expr_nargs (_p0) == 1)
   11044                 :             :     {
   11045                 :          16 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11046                 :          16 :               switch (TREE_CODE (_p1))
   11047                 :             :                 {
   11048                 :          16 :                 case INTEGER_CST:
   11049                 :          16 :                   {
   11050                 :          16 :                     {
   11051                 :          16 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11052                 :          16 :                       tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_CTZL);
   11053                 :          16 :                       if (res) return res;
   11054                 :             :                     }
   11055                 :          16 :                     break;
   11056                 :             :                   }
   11057                 :             :                 default:;
   11058                 :             :                 }
   11059                 :             :             }
   11060                 :             :           break;
   11061                 :           1 :         case CFN_BUILT_IN_FFSL:
   11062                 :           1 :           if (call_expr_nargs (_p0) == 1)
   11063                 :             :     {
   11064                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11065                 :           1 :               switch (TREE_CODE (_p1))
   11066                 :             :                 {
   11067                 :           1 :                 case INTEGER_CST:
   11068                 :           1 :                   {
   11069                 :           1 :                     {
   11070                 :           1 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11071                 :           1 :                       tree res = generic_simplify_290 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_FFSL);
   11072                 :           1 :                       if (res) return res;
   11073                 :             :                     }
   11074                 :           0 :                     break;
   11075                 :             :                   }
   11076                 :             :                 default:;
   11077                 :             :                 }
   11078                 :             :             }
   11079                 :             :           break;
   11080                 :           7 :         case CFN_BUILT_IN_POPCOUNTLL:
   11081                 :           7 :           if (call_expr_nargs (_p0) == 1)
   11082                 :             :     {
   11083                 :           7 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11084                 :           7 :               if (integer_zerop (_p1))
   11085                 :             :                 {
   11086                 :           1 :                   {
   11087                 :           1 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   11088                 :           1 :                     tree res = generic_simplify_289 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTLL);
   11089                 :           1 :                     if (res) return res;
   11090                 :             :                   }
   11091                 :             :                 }
   11092                 :             :             }
   11093                 :             :           break;
   11094                 :           0 :         case CFN_BUILT_IN_CTZIMAX:
   11095                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11096                 :             :     {
   11097                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11098                 :           0 :               switch (TREE_CODE (_p1))
   11099                 :             :                 {
   11100                 :           0 :                 case INTEGER_CST:
   11101                 :           0 :                   {
   11102                 :           0 :                     {
   11103                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11104                 :           0 :                       tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_CTZIMAX);
   11105                 :           0 :                       if (res) return res;
   11106                 :             :                     }
   11107                 :           0 :                     break;
   11108                 :             :                   }
   11109                 :             :                 default:;
   11110                 :             :                 }
   11111                 :             :             }
   11112                 :             :           break;
   11113                 :           0 :         case CFN_POPCOUNT:
   11114                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11115                 :             :     {
   11116                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11117                 :           0 :               if (integer_zerop (_p1))
   11118                 :             :                 {
   11119                 :           0 :                   {
   11120                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   11121                 :           0 :                     tree res = generic_simplify_289 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR, CFN_POPCOUNT);
   11122                 :           0 :                     if (res) return res;
   11123                 :             :                   }
   11124                 :             :                 }
   11125                 :             :             }
   11126                 :             :           break;
   11127                 :           0 :         case CFN_CLZ:
   11128                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11129                 :             :     {
   11130                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11131                 :           0 :               switch (TREE_CODE (_p1))
   11132                 :             :                 {
   11133                 :           0 :                 case INTEGER_CST:
   11134                 :           0 :                   {
   11135                 :           0 :                     {
   11136                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11137                 :           0 :                       tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR, CFN_CLZ);
   11138                 :           0 :                       if (res) return res;
   11139                 :             :                     }
   11140                 :           0 :                     break;
   11141                 :             :                   }
   11142                 :             :                 default:;
   11143                 :             :                 }
   11144                 :             :             }
   11145                 :           0 :           if (call_expr_nargs (_p0) == 2)
   11146                 :             :     {
   11147                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11148                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   11149                 :           0 :               switch (TREE_CODE (_p1))
   11150                 :             :                 {
   11151                 :           0 :                 case INTEGER_CST:
   11152                 :           0 :                   {
   11153                 :           0 :                     {
   11154                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   11155                 :           0 :                       tree res = generic_simplify_286 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR);
   11156                 :           0 :                       if (res) return res;
   11157                 :             :                     }
   11158                 :           0 :                     break;
   11159                 :             :                   }
   11160                 :             :                 default:;
   11161                 :             :                 }
   11162                 :             :             }
   11163                 :             :           break;
   11164                 :           0 :         case CFN_CTZ:
   11165                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11166                 :             :     {
   11167                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11168                 :           0 :               switch (TREE_CODE (_p1))
   11169                 :             :                 {
   11170                 :           0 :                 case INTEGER_CST:
   11171                 :           0 :                   {
   11172                 :           0 :                     {
   11173                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11174                 :           0 :                       tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_CTZ);
   11175                 :           0 :                       if (res) return res;
   11176                 :             :                     }
   11177                 :           0 :                     break;
   11178                 :             :                   }
   11179                 :             :                 default:;
   11180                 :             :                 }
   11181                 :             :             }
   11182                 :           0 :           if (call_expr_nargs (_p0) == 2)
   11183                 :             :     {
   11184                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11185                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   11186                 :           0 :               switch (TREE_CODE (_p1))
   11187                 :             :                 {
   11188                 :           0 :                 case INTEGER_CST:
   11189                 :           0 :                   {
   11190                 :           0 :                     {
   11191                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   11192                 :           0 :                       tree res = generic_simplify_288 (loc, type, _p0, _p1, captures, EQ_EXPR);
   11193                 :           0 :                       if (res) return res;
   11194                 :             :                     }
   11195                 :           0 :                     break;
   11196                 :             :                   }
   11197                 :             :                 default:;
   11198                 :             :                 }
   11199                 :             :             }
   11200                 :             :           break;
   11201                 :           0 :         case CFN_FFS:
   11202                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11203                 :             :     {
   11204                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11205                 :           0 :               switch (TREE_CODE (_p1))
   11206                 :             :                 {
   11207                 :           0 :                 case INTEGER_CST:
   11208                 :           0 :                   {
   11209                 :           0 :                     {
   11210                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11211                 :           0 :                       tree res = generic_simplify_290 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_FFS);
   11212                 :           0 :                       if (res) return res;
   11213                 :             :                     }
   11214                 :           0 :                     break;
   11215                 :             :                   }
   11216                 :             :                 default:;
   11217                 :             :                 }
   11218                 :             :             }
   11219                 :             :           break;
   11220                 :           0 :         case CFN_BUILT_IN_POPCOUNTIMAX:
   11221                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11222                 :             :     {
   11223                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11224                 :           0 :               if (integer_zerop (_p1))
   11225                 :             :                 {
   11226                 :           0 :                   {
   11227                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   11228                 :           0 :                     tree res = generic_simplify_289 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
   11229                 :           0 :                     if (res) return res;
   11230                 :             :                   }
   11231                 :             :                 }
   11232                 :             :             }
   11233                 :             :           break;
   11234                 :           0 :         case CFN_BUILT_IN_CLZIMAX:
   11235                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11236                 :             :     {
   11237                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11238                 :           0 :               switch (TREE_CODE (_p1))
   11239                 :             :                 {
   11240                 :           0 :                 case INTEGER_CST:
   11241                 :           0 :                   {
   11242                 :           0 :                     {
   11243                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11244                 :           0 :                       tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZIMAX);
   11245                 :           0 :                       if (res) return res;
   11246                 :             :                     }
   11247                 :           0 :                     break;
   11248                 :             :                   }
   11249                 :             :                 default:;
   11250                 :             :                 }
   11251                 :             :             }
   11252                 :             :           break;
   11253                 :           7 :         case CFN_BUILT_IN_POPCOUNTL:
   11254                 :           7 :           if (call_expr_nargs (_p0) == 1)
   11255                 :             :     {
   11256                 :           7 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11257                 :           7 :               if (integer_zerop (_p1))
   11258                 :             :                 {
   11259                 :           1 :                   {
   11260                 :           1 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   11261                 :           1 :                     tree res = generic_simplify_289 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTL);
   11262                 :           1 :                     if (res) return res;
   11263                 :             :                   }
   11264                 :             :                 }
   11265                 :             :             }
   11266                 :             :           break;
   11267                 :          16 :         case CFN_BUILT_IN_CLZLL:
   11268                 :          16 :           if (call_expr_nargs (_p0) == 1)
   11269                 :             :     {
   11270                 :          16 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11271                 :          16 :               switch (TREE_CODE (_p1))
   11272                 :             :                 {
   11273                 :          16 :                 case INTEGER_CST:
   11274                 :          16 :                   {
   11275                 :          16 :                     {
   11276                 :          16 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11277                 :          16 :                       tree res = generic_simplify_285 (loc, type, _p0, _p1, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZLL);
   11278                 :          16 :                       if (res) return res;
   11279                 :             :                     }
   11280                 :          16 :                     break;
   11281                 :             :                   }
   11282                 :             :                 default:;
   11283                 :             :                 }
   11284                 :             :             }
   11285                 :             :           break;
   11286                 :           0 :         case CFN_BUILT_IN_CTZLL:
   11287                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11288                 :             :     {
   11289                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11290                 :           0 :               switch (TREE_CODE (_p1))
   11291                 :             :                 {
   11292                 :           0 :                 case INTEGER_CST:
   11293                 :           0 :                   {
   11294                 :           0 :                     {
   11295                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11296                 :           0 :                       tree res = generic_simplify_287 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_CTZLL);
   11297                 :           0 :                       if (res) return res;
   11298                 :             :                     }
   11299                 :           0 :                     break;
   11300                 :             :                   }
   11301                 :             :                 default:;
   11302                 :             :                 }
   11303                 :             :             }
   11304                 :             :           break;
   11305                 :           0 :         case CFN_BUILT_IN_FFSLL:
   11306                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11307                 :             :     {
   11308                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11309                 :           0 :               switch (TREE_CODE (_p1))
   11310                 :             :                 {
   11311                 :           0 :                 case INTEGER_CST:
   11312                 :           0 :                   {
   11313                 :           0 :                     {
   11314                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   11315                 :           0 :                       tree res = generic_simplify_290 (loc, type, _p0, _p1, captures, EQ_EXPR, CFN_BUILT_IN_FFSLL);
   11316                 :           0 :                       if (res) return res;
   11317                 :             :                     }
   11318                 :           0 :                     break;
   11319                 :             :                   }
   11320                 :             :                 default:;
   11321                 :             :                 }
   11322                 :             :             }
   11323                 :             :           break;
   11324                 :             :         default:;
   11325                 :             :         }
   11326                 :             :       break;
   11327                 :             :     default:;
   11328                 :             :     }
   11329                 :             :   return NULL_TREE;
   11330                 :             : }
   11331                 :             : 
   11332                 :             : tree
   11333                 :      843819 : generic_simplify_COMPLEX_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   11334                 :             : {
   11335                 :      843819 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11336                 :      843819 :   switch (TREE_CODE (_p0))
   11337                 :             :     {
   11338                 :          32 :     case REALPART_EXPR:
   11339                 :          32 :       {
   11340                 :          32 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11341                 :          32 :         switch (TREE_CODE (_p1))
   11342                 :             :           {
   11343                 :          22 :           case IMAGPART_EXPR:
   11344                 :          22 :             {
   11345                 :          22 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11346                 :          22 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   11347                 :             :                 {
   11348                 :          22 :                   {
   11349                 :          22 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   11350                 :          22 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1922;
   11351                 :          22 :                     {
   11352                 :          22 :                       tree _r;
   11353                 :          22 :                       _r = captures[0];
   11354                 :          22 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1048, __FILE__, __LINE__, true);
   11355                 :          22 :                       return _r;
   11356                 :             :                     }
   11357                 :           0 : next_after_fail1922:;
   11358                 :             :                   }
   11359                 :             :                 }
   11360                 :             :               break;
   11361                 :             :             }
   11362                 :             :           default:;
   11363                 :             :           }
   11364                 :             :         break;
   11365                 :             :       }
   11366                 :             :     default:;
   11367                 :             :     }
   11368                 :             :   return NULL_TREE;
   11369                 :             : }
   11370                 :             : 
   11371                 :             : tree
   11372                 :      832861 : generic_simplify_UNLT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   11373                 :             : {
   11374                 :      832861 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11375                 :      832861 :   switch (TREE_CODE (_p0))
   11376                 :             :     {
   11377                 :           0 :     case VEC_COND_EXPR:
   11378                 :           0 :       {
   11379                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11380                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11381                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   11382                 :           0 :         switch (TREE_CODE (_p1))
   11383                 :             :           {
   11384                 :           0 :           case VEC_COND_EXPR:
   11385                 :           0 :             {
   11386                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
   11387                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
   11388                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
   11389                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   11390                 :             :                 {
   11391                 :           0 :                   {
   11392                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   11393                 :           0 :                     if (VECTOR_TYPE_P (type)
   11394                 :           0 :  && (TREE_CODE_CLASS (UNLT_EXPR) != tcc_comparison
   11395                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   11396                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   11397                 :             :  || (optimize_vectors_before_lowering_p ()
   11398                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   11399                 :             : )
   11400                 :             :                       {
   11401                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1933;
   11402                 :           0 :                         {
   11403                 :           0 :                           tree res_op0;
   11404                 :           0 :                           res_op0 = captures[1];
   11405                 :           0 :                           tree res_op1;
   11406                 :           0 :                           {
   11407                 :           0 :                             tree _o1[2], _r1;
   11408                 :           0 :                             _o1[0] = captures[2];
   11409                 :           0 :                             _o1[1] = captures[5];
   11410                 :           0 :                             _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   11411                 :           0 :                             if (EXPR_P (_r1))
   11412                 :           0 :                               goto next_after_fail1933;
   11413                 :           0 :                             res_op1 = _r1;
   11414                 :             :                           }
   11415                 :           0 :                           tree res_op2;
   11416                 :           0 :                           {
   11417                 :           0 :                             tree _o1[2], _r1;
   11418                 :           0 :                             _o1[0] = captures[3];
   11419                 :           0 :                             _o1[1] = captures[6];
   11420                 :           0 :                             _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   11421                 :           0 :                             if (EXPR_P (_r1))
   11422                 :           0 :                               goto next_after_fail1933;
   11423                 :           0 :                             res_op2 = _r1;
   11424                 :             :                           }
   11425                 :           0 :                           tree _r;
   11426                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11427                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 909, __FILE__, __LINE__, true);
   11428                 :           0 :                           return _r;
   11429                 :             :                         }
   11430                 :           0 : next_after_fail1933:;
   11431                 :             :                       }
   11432                 :             :                   }
   11433                 :             :                 }
   11434                 :             :               break;
   11435                 :             :             }
   11436                 :           0 :           default:;
   11437                 :             :           }
   11438                 :           0 :         {
   11439                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   11440                 :           0 :           if (VECTOR_TYPE_P (type)
   11441                 :           0 :  && (TREE_CODE_CLASS (UNLT_EXPR) != tcc_comparison
   11442                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   11443                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   11444                 :             :  || (optimize_vectors_before_lowering_p ()
   11445                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   11446                 :             : )
   11447                 :             :             {
   11448                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1934;
   11449                 :           0 :               {
   11450                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1934;
   11451                 :           0 :                 tree res_op0;
   11452                 :           0 :                 res_op0 = captures[1];
   11453                 :           0 :                 tree res_op1;
   11454                 :           0 :                 {
   11455                 :           0 :                   tree _o1[2], _r1;
   11456                 :           0 :                   _o1[0] = captures[2];
   11457                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
   11458                 :           0 :                   _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   11459                 :           0 :                   if (EXPR_P (_r1))
   11460                 :           0 :                     goto next_after_fail1934;
   11461                 :           0 :                   res_op1 = _r1;
   11462                 :             :                 }
   11463                 :           0 :                 tree res_op2;
   11464                 :           0 :                 {
   11465                 :           0 :                   tree _o1[2], _r1;
   11466                 :           0 :                   _o1[0] = captures[3];
   11467                 :           0 :                   _o1[1] = captures[4];
   11468                 :           0 :                   _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   11469                 :           0 :                   if (EXPR_P (_r1))
   11470                 :           0 :                     goto next_after_fail1934;
   11471                 :           0 :                   res_op2 = _r1;
   11472                 :             :                 }
   11473                 :           0 :                 tree _r;
   11474                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11475                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
   11476                 :           0 :                 return _r;
   11477                 :             :               }
   11478                 :           0 : next_after_fail1934:;
   11479                 :             :             }
   11480                 :             :         }
   11481                 :           0 :         break;
   11482                 :             :       }
   11483                 :      832861 :     default:;
   11484                 :             :     }
   11485                 :      832861 :   switch (TREE_CODE (_p1))
   11486                 :             :     {
   11487                 :           0 :     case VEC_COND_EXPR:
   11488                 :           0 :       {
   11489                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   11490                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   11491                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   11492                 :           0 :         {
   11493                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   11494                 :           0 :           if (VECTOR_TYPE_P (type)
   11495                 :           0 :  && (TREE_CODE_CLASS (UNLT_EXPR) != tcc_comparison
   11496                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
   11497                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   11498                 :             :  || (optimize_vectors_before_lowering_p ()
   11499                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   11500                 :             : )
   11501                 :             :             {
   11502                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1935;
   11503                 :           0 :               {
   11504                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1935;
   11505                 :           0 :                 tree res_op0;
   11506                 :           0 :                 res_op0 = captures[2];
   11507                 :           0 :                 tree res_op1;
   11508                 :           0 :                 {
   11509                 :           0 :                   tree _o1[2], _r1;
   11510                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   11511                 :           0 :                   _o1[1] = captures[3];
   11512                 :           0 :                   _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   11513                 :           0 :                   if (EXPR_P (_r1))
   11514                 :           0 :                     goto next_after_fail1935;
   11515                 :           0 :                   res_op1 = _r1;
   11516                 :             :                 }
   11517                 :           0 :                 tree res_op2;
   11518                 :           0 :                 {
   11519                 :           0 :                   tree _o1[2], _r1;
   11520                 :           0 :                   _o1[0] = captures[0];
   11521                 :           0 :                   _o1[1] = captures[4];
   11522                 :           0 :                   _r1 = fold_build2_loc (loc, UNLT_EXPR, type, _o1[0], _o1[1]);
   11523                 :           0 :                   if (EXPR_P (_r1))
   11524                 :           0 :                     goto next_after_fail1935;
   11525                 :           0 :                   res_op2 = _r1;
   11526                 :             :                 }
   11527                 :           0 :                 tree _r;
   11528                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11529                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 911, __FILE__, __LINE__, true);
   11530                 :           0 :                 return _r;
   11531                 :             :               }
   11532                 :           0 : next_after_fail1935:;
   11533                 :             :             }
   11534                 :             :         }
   11535                 :           0 :         break;
   11536                 :             :       }
   11537                 :      832861 :     default:;
   11538                 :             :     }
   11539                 :      832861 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11540                 :             :     {
   11541                 :           0 :       {
   11542                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   11543                 :           0 :         tree res = generic_simplify_539 (loc, type, _p0, _p1, captures, UNLT_EXPR);
   11544                 :           0 :         if (res) return res;
   11545                 :             :       }
   11546                 :             :     }
   11547                 :      832861 :   switch (TREE_CODE (_p0))
   11548                 :             :     {
   11549                 :         283 :     case FLOAT_EXPR:
   11550                 :         283 :       {
   11551                 :         283 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11552                 :         283 :         switch (TREE_CODE (_p1))
   11553                 :             :           {
   11554                 :           0 :           case FLOAT_EXPR:
   11555                 :           0 :             {
   11556                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11557                 :           0 :               {
   11558                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   11559                 :           0 :                 tree res = generic_simplify_254 (loc, type, _p0, _p1, captures, UNLT_EXPR, LT_EXPR);
   11560                 :           0 :                 if (res) return res;
   11561                 :             :               }
   11562                 :           0 :               break;
   11563                 :             :             }
   11564                 :             :           default:;
   11565                 :             :           }
   11566                 :             :         break;
   11567                 :             :       }
   11568                 :           0 :     case NEGATE_EXPR:
   11569                 :           0 :       {
   11570                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11571                 :           0 :         switch (TREE_CODE (_p1))
   11572                 :             :           {
   11573                 :           0 :           case NEGATE_EXPR:
   11574                 :           0 :             {
   11575                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11576                 :           0 :               {
   11577                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   11578                 :           0 :                 tree res = generic_simplify_257 (loc, type, _p0, _p1, captures, UNLT_EXPR, UNGT_EXPR);
   11579                 :           0 :                 if (res) return res;
   11580                 :             :               }
   11581                 :           0 :               break;
   11582                 :             :             }
   11583                 :           0 :           default:;
   11584                 :             :           }
   11585                 :           0 :       if (CONSTANT_CLASS_P (_p1))
   11586                 :             :         {
   11587                 :           0 :           {
   11588                 :           0 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   11589                 :           0 :             tree res = generic_simplify_258 (loc, type, _p0, _p1, captures, UNLT_EXPR, UNGT_EXPR);
   11590                 :           0 :             if (res) return res;
   11591                 :             :           }
   11592                 :             :         }
   11593                 :             :         break;
   11594                 :             :       }
   11595                 :      832861 :     default:;
   11596                 :             :     }
   11597                 :      832861 :   switch (TREE_CODE (_p1))
   11598                 :             :     {
   11599                 :      417827 :     case REAL_CST:
   11600                 :      417827 :       {
   11601                 :      417827 :         {
   11602                 :      417827 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   11603                 :      417827 :           tree res = generic_simplify_538 (loc, type, _p0, _p1, captures, UNLT_EXPR);
   11604                 :      417827 :           if (res) return res;
   11605                 :             :         }
   11606                 :      417825 :         break;
   11607                 :             :       }
   11608                 :             :     default:;
   11609                 :             :     }
   11610                 :             :   return NULL_TREE;
   11611                 :             : }
   11612                 :             : 
   11613                 :             : tree
   11614                 :      988942 : generic_simplify_UNLE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   11615                 :             : {
   11616                 :      988942 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11617                 :      988942 :   switch (TREE_CODE (_p0))
   11618                 :             :     {
   11619                 :           0 :     case VEC_COND_EXPR:
   11620                 :           0 :       {
   11621                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11622                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11623                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   11624                 :           0 :         switch (TREE_CODE (_p1))
   11625                 :             :           {
   11626                 :           0 :           case VEC_COND_EXPR:
   11627                 :           0 :             {
   11628                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
   11629                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
   11630                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
   11631                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   11632                 :             :                 {
   11633                 :           0 :                   {
   11634                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   11635                 :           0 :                     if (VECTOR_TYPE_P (type)
   11636                 :           0 :  && (TREE_CODE_CLASS (UNLE_EXPR) != tcc_comparison
   11637                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   11638                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   11639                 :             :  || (optimize_vectors_before_lowering_p ()
   11640                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   11641                 :             : )
   11642                 :             :                       {
   11643                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1936;
   11644                 :           0 :                         {
   11645                 :           0 :                           tree res_op0;
   11646                 :           0 :                           res_op0 = captures[1];
   11647                 :           0 :                           tree res_op1;
   11648                 :           0 :                           {
   11649                 :           0 :                             tree _o1[2], _r1;
   11650                 :           0 :                             _o1[0] = captures[2];
   11651                 :           0 :                             _o1[1] = captures[5];
   11652                 :           0 :                             _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   11653                 :           0 :                             if (EXPR_P (_r1))
   11654                 :           0 :                               goto next_after_fail1936;
   11655                 :           0 :                             res_op1 = _r1;
   11656                 :             :                           }
   11657                 :           0 :                           tree res_op2;
   11658                 :           0 :                           {
   11659                 :           0 :                             tree _o1[2], _r1;
   11660                 :           0 :                             _o1[0] = captures[3];
   11661                 :           0 :                             _o1[1] = captures[6];
   11662                 :           0 :                             _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   11663                 :           0 :                             if (EXPR_P (_r1))
   11664                 :           0 :                               goto next_after_fail1936;
   11665                 :           0 :                             res_op2 = _r1;
   11666                 :             :                           }
   11667                 :           0 :                           tree _r;
   11668                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11669                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 909, __FILE__, __LINE__, true);
   11670                 :           0 :                           return _r;
   11671                 :             :                         }
   11672                 :           0 : next_after_fail1936:;
   11673                 :             :                       }
   11674                 :             :                   }
   11675                 :             :                 }
   11676                 :             :               break;
   11677                 :             :             }
   11678                 :           0 :           default:;
   11679                 :             :           }
   11680                 :           0 :         {
   11681                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   11682                 :           0 :           if (VECTOR_TYPE_P (type)
   11683                 :           0 :  && (TREE_CODE_CLASS (UNLE_EXPR) != tcc_comparison
   11684                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   11685                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   11686                 :             :  || (optimize_vectors_before_lowering_p ()
   11687                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   11688                 :             : )
   11689                 :             :             {
   11690                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1937;
   11691                 :           0 :               {
   11692                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1937;
   11693                 :           0 :                 tree res_op0;
   11694                 :           0 :                 res_op0 = captures[1];
   11695                 :           0 :                 tree res_op1;
   11696                 :           0 :                 {
   11697                 :           0 :                   tree _o1[2], _r1;
   11698                 :           0 :                   _o1[0] = captures[2];
   11699                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
   11700                 :           0 :                   _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   11701                 :           0 :                   if (EXPR_P (_r1))
   11702                 :           0 :                     goto next_after_fail1937;
   11703                 :           0 :                   res_op1 = _r1;
   11704                 :             :                 }
   11705                 :           0 :                 tree res_op2;
   11706                 :           0 :                 {
   11707                 :           0 :                   tree _o1[2], _r1;
   11708                 :           0 :                   _o1[0] = captures[3];
   11709                 :           0 :                   _o1[1] = captures[4];
   11710                 :           0 :                   _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   11711                 :           0 :                   if (EXPR_P (_r1))
   11712                 :           0 :                     goto next_after_fail1937;
   11713                 :           0 :                   res_op2 = _r1;
   11714                 :             :                 }
   11715                 :           0 :                 tree _r;
   11716                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11717                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
   11718                 :           0 :                 return _r;
   11719                 :             :               }
   11720                 :           0 : next_after_fail1937:;
   11721                 :             :             }
   11722                 :             :         }
   11723                 :           0 :         break;
   11724                 :             :       }
   11725                 :      988942 :     default:;
   11726                 :             :     }
   11727                 :      988942 :   switch (TREE_CODE (_p1))
   11728                 :             :     {
   11729                 :           0 :     case VEC_COND_EXPR:
   11730                 :           0 :       {
   11731                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   11732                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   11733                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   11734                 :           0 :         {
   11735                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   11736                 :           0 :           if (VECTOR_TYPE_P (type)
   11737                 :           0 :  && (TREE_CODE_CLASS (UNLE_EXPR) != tcc_comparison
   11738                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
   11739                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   11740                 :             :  || (optimize_vectors_before_lowering_p ()
   11741                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   11742                 :             : )
   11743                 :             :             {
   11744                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1938;
   11745                 :           0 :               {
   11746                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1938;
   11747                 :           0 :                 tree res_op0;
   11748                 :           0 :                 res_op0 = captures[2];
   11749                 :           0 :                 tree res_op1;
   11750                 :           0 :                 {
   11751                 :           0 :                   tree _o1[2], _r1;
   11752                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   11753                 :           0 :                   _o1[1] = captures[3];
   11754                 :           0 :                   _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   11755                 :           0 :                   if (EXPR_P (_r1))
   11756                 :           0 :                     goto next_after_fail1938;
   11757                 :           0 :                   res_op1 = _r1;
   11758                 :             :                 }
   11759                 :           0 :                 tree res_op2;
   11760                 :           0 :                 {
   11761                 :           0 :                   tree _o1[2], _r1;
   11762                 :           0 :                   _o1[0] = captures[0];
   11763                 :           0 :                   _o1[1] = captures[4];
   11764                 :           0 :                   _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   11765                 :           0 :                   if (EXPR_P (_r1))
   11766                 :           0 :                     goto next_after_fail1938;
   11767                 :           0 :                   res_op2 = _r1;
   11768                 :             :                 }
   11769                 :           0 :                 tree _r;
   11770                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11771                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 911, __FILE__, __LINE__, true);
   11772                 :           0 :                 return _r;
   11773                 :             :               }
   11774                 :           0 : next_after_fail1938:;
   11775                 :             :             }
   11776                 :             :         }
   11777                 :           0 :         break;
   11778                 :             :       }
   11779                 :      988942 :     default:;
   11780                 :             :     }
   11781                 :      988942 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11782                 :             :     {
   11783                 :          30 :       {
   11784                 :          30 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   11785                 :          30 :         tree res = generic_simplify_540 (loc, type, _p0, _p1, captures, UNLE_EXPR);
   11786                 :          30 :         if (res) return res;
   11787                 :             :       }
   11788                 :             :     }
   11789                 :      988912 :   switch (TREE_CODE (_p0))
   11790                 :             :     {
   11791                 :          96 :     case FLOAT_EXPR:
   11792                 :          96 :       {
   11793                 :          96 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11794                 :          96 :         switch (TREE_CODE (_p1))
   11795                 :             :           {
   11796                 :           0 :           case FLOAT_EXPR:
   11797                 :           0 :             {
   11798                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11799                 :           0 :               {
   11800                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   11801                 :           0 :                 tree res = generic_simplify_254 (loc, type, _p0, _p1, captures, UNLE_EXPR, LE_EXPR);
   11802                 :           0 :                 if (res) return res;
   11803                 :             :               }
   11804                 :           0 :               break;
   11805                 :             :             }
   11806                 :             :           default:;
   11807                 :             :           }
   11808                 :             :         break;
   11809                 :             :       }
   11810                 :         112 :     case NEGATE_EXPR:
   11811                 :         112 :       {
   11812                 :         112 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11813                 :         112 :         switch (TREE_CODE (_p1))
   11814                 :             :           {
   11815                 :           0 :           case NEGATE_EXPR:
   11816                 :           0 :             {
   11817                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11818                 :           0 :               {
   11819                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   11820                 :           0 :                 tree res = generic_simplify_257 (loc, type, _p0, _p1, captures, UNLE_EXPR, UNGE_EXPR);
   11821                 :           0 :                 if (res) return res;
   11822                 :             :               }
   11823                 :           0 :               break;
   11824                 :             :             }
   11825                 :         112 :           default:;
   11826                 :             :           }
   11827                 :         112 :       if (CONSTANT_CLASS_P (_p1))
   11828                 :             :         {
   11829                 :         112 :           {
   11830                 :         112 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   11831                 :         112 :             tree res = generic_simplify_258 (loc, type, _p0, _p1, captures, UNLE_EXPR, UNGE_EXPR);
   11832                 :         112 :             if (res) return res;
   11833                 :             :           }
   11834                 :             :         }
   11835                 :             :         break;
   11836                 :             :       }
   11837                 :      988800 :     default:;
   11838                 :             :     }
   11839                 :      988800 :   switch (TREE_CODE (_p1))
   11840                 :             :     {
   11841                 :      570320 :     case REAL_CST:
   11842                 :      570320 :       {
   11843                 :      570320 :         {
   11844                 :      570320 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   11845                 :      570320 :           tree res = generic_simplify_538 (loc, type, _p0, _p1, captures, UNLE_EXPR);
   11846                 :      570320 :           if (res) return res;
   11847                 :             :         }
   11848                 :      570318 :         break;
   11849                 :             :       }
   11850                 :             :     default:;
   11851                 :             :     }
   11852                 :             :   return NULL_TREE;
   11853                 :             : }
   11854                 :             : 
   11855                 :             : tree
   11856                 :     9767711 : generic_simplify_TRUTH_OR_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   11857                 :             : {
   11858                 :     9767711 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11859                 :     9767711 :   switch (TREE_CODE (_p0))
   11860                 :             :     {
   11861                 :     1418877 :     case LE_EXPR:
   11862                 :     1418877 :       {
   11863                 :     1418877 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11864                 :     1418877 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11865                 :     1418877 :         switch (TREE_CODE (_q20))
   11866                 :             :           {
   11867                 :        4096 :           case POINTER_PLUS_EXPR:
   11868                 :        4096 :             {
   11869                 :        4096 :               tree _q30 = TREE_OPERAND (_q20, 0);
   11870                 :        4096 :               tree _q31 = TREE_OPERAND (_q20, 1);
   11871                 :        4096 :               switch (TREE_CODE (_q31))
   11872                 :             :                 {
   11873                 :        3869 :                 case INTEGER_CST:
   11874                 :        3869 :                   {
   11875                 :        3869 :                     switch (TREE_CODE (_p1))
   11876                 :             :                       {
   11877                 :        1271 :                       case LE_EXPR:
   11878                 :        1271 :                         {
   11879                 :        1271 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   11880                 :        1271 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   11881                 :        1271 :                           switch (TREE_CODE (_q70))
   11882                 :             :                             {
   11883                 :         814 :                             case POINTER_PLUS_EXPR:
   11884                 :         814 :                               {
   11885                 :         814 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
   11886                 :         814 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
   11887                 :         814 :                                 if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   11888                 :             :                                   {
   11889                 :         525 :                                     if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
   11890                 :             :                                       {
   11891                 :         403 :                                         if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   11892                 :             :                                           {
   11893                 :         403 :                                             {
   11894                 :         403 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q70 };
   11895                 :         403 :                                               const enum tree_code cmp = LE_EXPR;
   11896                 :         403 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   11897                 :         402 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   11898                 :         805 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   11899                 :             : )
   11900                 :             :                                                 {
   11901                 :         402 :                                                   {
   11902                 :         402 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   11903                 :         402 :  offset_int rhs = off * 2;
   11904                 :         402 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   11905                 :             : )
   11906                 :             :                                                         {
   11907                 :         402 :                                                           {
   11908                 :         402 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   11909                 :         402 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   11910                 :         402 :                                                               if (cmp == LT_EXPR
   11911                 :             : )
   11912                 :             :                                                                 {
   11913                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1968;
   11914                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1968;
   11915                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1968;
   11916                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1968;
   11917                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1968;
   11918                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1968;
   11919                 :             :                                                                   {
   11920                 :             :                                                                     tree res_op0;
   11921                 :             :                                                                     {
   11922                 :             :                                                                       tree _o1[1], _r1;
   11923                 :             :                                                                       {
   11924                 :             :                                                                         tree _o2[2], _r2;
   11925                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   11926                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   11927                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   11928                 :             :                                                                         _o1[0] = _r2;
   11929                 :             :                                                                       }
   11930                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   11931                 :             :                                                                         {
   11932                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   11933                 :             :                                                                         }
   11934                 :             :                                                                       else
   11935                 :             :                                                                         _r1 = _o1[0];
   11936                 :             :                                                                       res_op0 = _r1;
   11937                 :             :                                                                     }
   11938                 :             :                                                                     tree res_op1;
   11939                 :             :                                                                     res_op1 =  rhs_tree;
   11940                 :             :                                                                     tree _r;
   11941                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   11942                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 955, __FILE__, __LINE__, true);
   11943                 :         402 :                                                                     return _r;
   11944                 :             :                                                                   }
   11945                 :             : next_after_fail1968:;
   11946                 :             :                                                                 }
   11947                 :             :                                                               else
   11948                 :             :                                                                 {
   11949                 :         402 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1969;
   11950                 :         402 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1969;
   11951                 :         402 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1969;
   11952                 :         402 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1969;
   11953                 :         402 :                                                                   {
   11954                 :         402 :                                                                     tree res_op0;
   11955                 :         402 :                                                                     {
   11956                 :         402 :                                                                       tree _o1[1], _r1;
   11957                 :         402 :                                                                       {
   11958                 :         402 :                                                                         tree _o2[2], _r2;
   11959                 :         402 :                                                                         {
   11960                 :         402 :                                                                           tree _o3[2], _r3;
   11961                 :         402 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   11962                 :         402 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   11963                 :         402 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   11964                 :         402 :                                                                           _o2[0] = _r3;
   11965                 :             :                                                                         }
   11966                 :         402 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   11967                 :         402 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   11968                 :         402 :                                                                         _o1[0] = _r2;
   11969                 :             :                                                                       }
   11970                 :         402 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   11971                 :             :                                                                         {
   11972                 :         402 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   11973                 :             :                                                                         }
   11974                 :             :                                                                       else
   11975                 :             :                                                                         _r1 = _o1[0];
   11976                 :         402 :                                                                       res_op0 = _r1;
   11977                 :             :                                                                     }
   11978                 :         402 :                                                                     tree res_op1;
   11979                 :         402 :                                                                     res_op1 =  rhs_tree;
   11980                 :         402 :                                                                     tree _r;
   11981                 :         402 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   11982                 :         402 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
   11983                 :         402 :                                                                     return _r;
   11984                 :             :                                                                   }
   11985                 :           0 : next_after_fail1969:;
   11986                 :             :                                                                 }
   11987                 :             :                                                           }
   11988                 :             :                                                         }
   11989                 :             :                                                   }
   11990                 :             :                                                 }
   11991                 :             :                                             }
   11992                 :             :                                           }
   11993                 :             :                                       }
   11994                 :             :                                   }
   11995                 :             :                                 break;
   11996                 :             :                               }
   11997                 :             :                             default:;
   11998                 :             :                             }
   11999                 :             :                           break;
   12000                 :             :                         }
   12001                 :          98 :                       case GE_EXPR:
   12002                 :          98 :                         {
   12003                 :          98 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   12004                 :          98 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   12005                 :          98 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   12006                 :             :                             {
   12007                 :          16 :                               switch (TREE_CODE (_q71))
   12008                 :             :                                 {
   12009                 :          16 :                                 case POINTER_PLUS_EXPR:
   12010                 :          16 :                                   {
   12011                 :          16 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
   12012                 :          16 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
   12013                 :          16 :                                     if ((_q90 == _q21 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q21, 0) && types_match (_q90, _q21)))
   12014                 :             :                                       {
   12015                 :          14 :                                         if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
   12016                 :             :                                           {
   12017                 :           9 :                                             {
   12018                 :           9 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q71 };
   12019                 :           9 :                                               const enum tree_code cmp = LE_EXPR;
   12020                 :           9 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   12021                 :           9 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   12022                 :          18 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   12023                 :             : )
   12024                 :             :                                                 {
   12025                 :           9 :                                                   {
   12026                 :           9 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   12027                 :           9 :  offset_int rhs = off * 2;
   12028                 :           9 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   12029                 :             : )
   12030                 :             :                                                         {
   12031                 :           9 :                                                           {
   12032                 :           9 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   12033                 :           9 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   12034                 :           9 :                                                               if (cmp == LT_EXPR
   12035                 :             : )
   12036                 :             :                                                                 {
   12037                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1970;
   12038                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1970;
   12039                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1970;
   12040                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1970;
   12041                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1970;
   12042                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1970;
   12043                 :             :                                                                   {
   12044                 :             :                                                                     tree res_op0;
   12045                 :             :                                                                     {
   12046                 :             :                                                                       tree _o1[1], _r1;
   12047                 :             :                                                                       {
   12048                 :             :                                                                         tree _o2[2], _r2;
   12049                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   12050                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12051                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12052                 :             :                                                                         _o1[0] = _r2;
   12053                 :             :                                                                       }
   12054                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12055                 :             :                                                                         {
   12056                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12057                 :             :                                                                         }
   12058                 :             :                                                                       else
   12059                 :             :                                                                         _r1 = _o1[0];
   12060                 :             :                                                                       res_op0 = _r1;
   12061                 :             :                                                                     }
   12062                 :             :                                                                     tree res_op1;
   12063                 :             :                                                                     res_op1 =  rhs_tree;
   12064                 :             :                                                                     tree _r;
   12065                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12066                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 955, __FILE__, __LINE__, true);
   12067                 :           9 :                                                                     return _r;
   12068                 :             :                                                                   }
   12069                 :             : next_after_fail1970:;
   12070                 :             :                                                                 }
   12071                 :             :                                                               else
   12072                 :             :                                                                 {
   12073                 :           9 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1971;
   12074                 :           9 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1971;
   12075                 :           9 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1971;
   12076                 :           9 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1971;
   12077                 :           9 :                                                                   {
   12078                 :           9 :                                                                     tree res_op0;
   12079                 :           9 :                                                                     {
   12080                 :           9 :                                                                       tree _o1[1], _r1;
   12081                 :           9 :                                                                       {
   12082                 :           9 :                                                                         tree _o2[2], _r2;
   12083                 :           9 :                                                                         {
   12084                 :           9 :                                                                           tree _o3[2], _r3;
   12085                 :           9 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   12086                 :           9 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   12087                 :           9 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   12088                 :           9 :                                                                           _o2[0] = _r3;
   12089                 :             :                                                                         }
   12090                 :           9 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12091                 :           9 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12092                 :           9 :                                                                         _o1[0] = _r2;
   12093                 :             :                                                                       }
   12094                 :           9 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12095                 :             :                                                                         {
   12096                 :           9 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12097                 :             :                                                                         }
   12098                 :             :                                                                       else
   12099                 :             :                                                                         _r1 = _o1[0];
   12100                 :           9 :                                                                       res_op0 = _r1;
   12101                 :             :                                                                     }
   12102                 :           9 :                                                                     tree res_op1;
   12103                 :           9 :                                                                     res_op1 =  rhs_tree;
   12104                 :           9 :                                                                     tree _r;
   12105                 :           9 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12106                 :           9 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
   12107                 :           9 :                                                                     return _r;
   12108                 :             :                                                                   }
   12109                 :           0 : next_after_fail1971:;
   12110                 :             :                                                                 }
   12111                 :             :                                                           }
   12112                 :             :                                                         }
   12113                 :             :                                                   }
   12114                 :             :                                                 }
   12115                 :             :                                             }
   12116                 :             :                                           }
   12117                 :             :                                       }
   12118                 :             :                                     break;
   12119                 :             :                                   }
   12120                 :             :                                 default:;
   12121                 :             :                                 }
   12122                 :             :                             }
   12123                 :             :                           break;
   12124                 :             :                         }
   12125                 :             :                       default:;
   12126                 :             :                       }
   12127                 :             :                     break;
   12128                 :             :                   }
   12129                 :             :                 default:;
   12130                 :             :                 }
   12131                 :             :               break;
   12132                 :             :             }
   12133                 :             :           default:;
   12134                 :             :           }
   12135                 :             :         break;
   12136                 :             :       }
   12137                 :     1093492 :     case LT_EXPR:
   12138                 :     1093492 :       {
   12139                 :     1093492 :         tree _q20 = TREE_OPERAND (_p0, 0);
   12140                 :     1093492 :         tree _q21 = TREE_OPERAND (_p0, 1);
   12141                 :     1093492 :         switch (TREE_CODE (_q20))
   12142                 :             :           {
   12143                 :        1371 :           case POINTER_PLUS_EXPR:
   12144                 :        1371 :             {
   12145                 :        1371 :               tree _q30 = TREE_OPERAND (_q20, 0);
   12146                 :        1371 :               tree _q31 = TREE_OPERAND (_q20, 1);
   12147                 :        1371 :               switch (TREE_CODE (_q31))
   12148                 :             :                 {
   12149                 :        1185 :                 case INTEGER_CST:
   12150                 :        1185 :                   {
   12151                 :        1185 :                     switch (TREE_CODE (_p1))
   12152                 :             :                       {
   12153                 :          12 :                       case LT_EXPR:
   12154                 :          12 :                         {
   12155                 :          12 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   12156                 :          12 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   12157                 :          12 :                           switch (TREE_CODE (_q70))
   12158                 :             :                             {
   12159                 :          10 :                             case POINTER_PLUS_EXPR:
   12160                 :          10 :                               {
   12161                 :          10 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
   12162                 :          10 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
   12163                 :          10 :                                 if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   12164                 :             :                                   {
   12165                 :           1 :                                     if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
   12166                 :             :                                       {
   12167                 :           1 :                                         if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   12168                 :             :                                           {
   12169                 :           1 :                                             {
   12170                 :           1 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q70 };
   12171                 :           1 :                                               const enum tree_code cmp = LT_EXPR;
   12172                 :           1 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   12173                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   12174                 :           1 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   12175                 :             : )
   12176                 :             :                                                 {
   12177                 :           0 :                                                   {
   12178                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   12179                 :           0 :  offset_int rhs = off * 2;
   12180                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   12181                 :             : )
   12182                 :             :                                                         {
   12183                 :           0 :                                                           {
   12184                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   12185                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   12186                 :           0 :                                                               if (cmp == LT_EXPR
   12187                 :             : )
   12188                 :             :                                                                 {
   12189                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1972;
   12190                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1972;
   12191                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1972;
   12192                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1972;
   12193                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1972;
   12194                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1972;
   12195                 :           0 :                                                                   {
   12196                 :           0 :                                                                     tree res_op0;
   12197                 :           0 :                                                                     {
   12198                 :           0 :                                                                       tree _o1[1], _r1;
   12199                 :           0 :                                                                       {
   12200                 :           0 :                                                                         tree _o2[2], _r2;
   12201                 :           0 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   12202                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12203                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12204                 :           0 :                                                                         _o1[0] = _r2;
   12205                 :             :                                                                       }
   12206                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12207                 :             :                                                                         {
   12208                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12209                 :             :                                                                         }
   12210                 :             :                                                                       else
   12211                 :             :                                                                         _r1 = _o1[0];
   12212                 :           0 :                                                                       res_op0 = _r1;
   12213                 :             :                                                                     }
   12214                 :           0 :                                                                     tree res_op1;
   12215                 :           0 :                                                                     res_op1 =  rhs_tree;
   12216                 :           0 :                                                                     tree _r;
   12217                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12218                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 955, __FILE__, __LINE__, true);
   12219                 :           0 :                                                                     return _r;
   12220                 :             :                                                                   }
   12221                 :           0 : next_after_fail1972:;
   12222                 :             :                                                                 }
   12223                 :             :                                                               else
   12224                 :             :                                                                 {
   12225                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1973;
   12226                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1973;
   12227                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1973;
   12228                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1973;
   12229                 :             :                                                                   {
   12230                 :             :                                                                     tree res_op0;
   12231                 :             :                                                                     {
   12232                 :             :                                                                       tree _o1[1], _r1;
   12233                 :             :                                                                       {
   12234                 :             :                                                                         tree _o2[2], _r2;
   12235                 :             :                                                                         {
   12236                 :             :                                                                           tree _o3[2], _r3;
   12237                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   12238                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   12239                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   12240                 :             :                                                                           _o2[0] = _r3;
   12241                 :             :                                                                         }
   12242                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12243                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12244                 :             :                                                                         _o1[0] = _r2;
   12245                 :             :                                                                       }
   12246                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12247                 :             :                                                                         {
   12248                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12249                 :             :                                                                         }
   12250                 :             :                                                                       else
   12251                 :             :                                                                         _r1 = _o1[0];
   12252                 :             :                                                                       res_op0 = _r1;
   12253                 :             :                                                                     }
   12254                 :             :                                                                     tree res_op1;
   12255                 :             :                                                                     res_op1 =  rhs_tree;
   12256                 :             :                                                                     tree _r;
   12257                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12258                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
   12259                 :             :                                                                     return _r;
   12260                 :             :                                                                   }
   12261                 :             : next_after_fail1973:;
   12262                 :             :                                                                 }
   12263                 :             :                                                           }
   12264                 :             :                                                         }
   12265                 :             :                                                   }
   12266                 :             :                                                 }
   12267                 :             :                                             }
   12268                 :             :                                           }
   12269                 :             :                                       }
   12270                 :             :                                   }
   12271                 :             :                                 break;
   12272                 :             :                               }
   12273                 :             :                             default:;
   12274                 :             :                             }
   12275                 :             :                           break;
   12276                 :             :                         }
   12277                 :         519 :                       case GT_EXPR:
   12278                 :         519 :                         {
   12279                 :         519 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   12280                 :         519 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   12281                 :         519 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   12282                 :             :                             {
   12283                 :           0 :                               switch (TREE_CODE (_q71))
   12284                 :             :                                 {
   12285                 :           0 :                                 case POINTER_PLUS_EXPR:
   12286                 :           0 :                                   {
   12287                 :           0 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
   12288                 :           0 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
   12289                 :           0 :                                     if ((_q90 == _q21 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q21, 0) && types_match (_q90, _q21)))
   12290                 :             :                                       {
   12291                 :           0 :                                         if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
   12292                 :             :                                           {
   12293                 :           0 :                                             {
   12294                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q71 };
   12295                 :           0 :                                               const enum tree_code cmp = LT_EXPR;
   12296                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   12297                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   12298                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   12299                 :             : )
   12300                 :             :                                                 {
   12301                 :           0 :                                                   {
   12302                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   12303                 :           0 :  offset_int rhs = off * 2;
   12304                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   12305                 :             : )
   12306                 :             :                                                         {
   12307                 :           0 :                                                           {
   12308                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   12309                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   12310                 :           0 :                                                               if (cmp == LT_EXPR
   12311                 :             : )
   12312                 :             :                                                                 {
   12313                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1974;
   12314                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1974;
   12315                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1974;
   12316                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1974;
   12317                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1974;
   12318                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1974;
   12319                 :           0 :                                                                   {
   12320                 :           0 :                                                                     tree res_op0;
   12321                 :           0 :                                                                     {
   12322                 :           0 :                                                                       tree _o1[1], _r1;
   12323                 :           0 :                                                                       {
   12324                 :           0 :                                                                         tree _o2[2], _r2;
   12325                 :           0 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   12326                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12327                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12328                 :           0 :                                                                         _o1[0] = _r2;
   12329                 :             :                                                                       }
   12330                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12331                 :             :                                                                         {
   12332                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12333                 :             :                                                                         }
   12334                 :             :                                                                       else
   12335                 :             :                                                                         _r1 = _o1[0];
   12336                 :           0 :                                                                       res_op0 = _r1;
   12337                 :             :                                                                     }
   12338                 :           0 :                                                                     tree res_op1;
   12339                 :           0 :                                                                     res_op1 =  rhs_tree;
   12340                 :           0 :                                                                     tree _r;
   12341                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12342                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 955, __FILE__, __LINE__, true);
   12343                 :           0 :                                                                     return _r;
   12344                 :             :                                                                   }
   12345                 :           0 : next_after_fail1974:;
   12346                 :             :                                                                 }
   12347                 :             :                                                               else
   12348                 :             :                                                                 {
   12349                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1975;
   12350                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1975;
   12351                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1975;
   12352                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1975;
   12353                 :             :                                                                   {
   12354                 :             :                                                                     tree res_op0;
   12355                 :             :                                                                     {
   12356                 :             :                                                                       tree _o1[1], _r1;
   12357                 :             :                                                                       {
   12358                 :             :                                                                         tree _o2[2], _r2;
   12359                 :             :                                                                         {
   12360                 :             :                                                                           tree _o3[2], _r3;
   12361                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   12362                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   12363                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   12364                 :             :                                                                           _o2[0] = _r3;
   12365                 :             :                                                                         }
   12366                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12367                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12368                 :             :                                                                         _o1[0] = _r2;
   12369                 :             :                                                                       }
   12370                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12371                 :             :                                                                         {
   12372                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12373                 :             :                                                                         }
   12374                 :             :                                                                       else
   12375                 :             :                                                                         _r1 = _o1[0];
   12376                 :             :                                                                       res_op0 = _r1;
   12377                 :             :                                                                     }
   12378                 :             :                                                                     tree res_op1;
   12379                 :             :                                                                     res_op1 =  rhs_tree;
   12380                 :             :                                                                     tree _r;
   12381                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12382                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
   12383                 :             :                                                                     return _r;
   12384                 :             :                                                                   }
   12385                 :             : next_after_fail1975:;
   12386                 :             :                                                                 }
   12387                 :             :                                                           }
   12388                 :             :                                                         }
   12389                 :             :                                                   }
   12390                 :             :                                                 }
   12391                 :             :                                             }
   12392                 :             :                                           }
   12393                 :             :                                       }
   12394                 :             :                                     break;
   12395                 :             :                                   }
   12396                 :             :                                 default:;
   12397                 :             :                                 }
   12398                 :             :                             }
   12399                 :             :                           break;
   12400                 :             :                         }
   12401                 :             :                       default:;
   12402                 :             :                       }
   12403                 :             :                     break;
   12404                 :             :                   }
   12405                 :             :                 default:;
   12406                 :             :                 }
   12407                 :             :               break;
   12408                 :             :             }
   12409                 :             :           default:;
   12410                 :             :           }
   12411                 :             :         break;
   12412                 :             :       }
   12413                 :      821269 :     case GE_EXPR:
   12414                 :      821269 :       {
   12415                 :      821269 :         tree _q20 = TREE_OPERAND (_p0, 0);
   12416                 :      821269 :         tree _q21 = TREE_OPERAND (_p0, 1);
   12417                 :      821269 :         switch (TREE_CODE (_q21))
   12418                 :             :           {
   12419                 :          54 :           case POINTER_PLUS_EXPR:
   12420                 :          54 :             {
   12421                 :          54 :               tree _q40 = TREE_OPERAND (_q21, 0);
   12422                 :          54 :               tree _q41 = TREE_OPERAND (_q21, 1);
   12423                 :          54 :               switch (TREE_CODE (_q41))
   12424                 :             :                 {
   12425                 :          54 :                 case INTEGER_CST:
   12426                 :          54 :                   {
   12427                 :          54 :                     switch (TREE_CODE (_p1))
   12428                 :             :                       {
   12429                 :          54 :                       case LE_EXPR:
   12430                 :          54 :                         {
   12431                 :          54 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   12432                 :          54 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   12433                 :          54 :                           switch (TREE_CODE (_q70))
   12434                 :             :                             {
   12435                 :          44 :                             case POINTER_PLUS_EXPR:
   12436                 :          44 :                               {
   12437                 :          44 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
   12438                 :          44 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
   12439                 :          44 :                                 if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   12440                 :             :                                   {
   12441                 :          29 :                                     if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
   12442                 :             :                                       {
   12443                 :           5 :                                         if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
   12444                 :             :                                           {
   12445                 :           5 :                                             {
   12446                 :           5 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q70 };
   12447                 :           5 :                                               const enum tree_code cmp = LE_EXPR;
   12448                 :           5 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   12449                 :           5 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   12450                 :          10 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   12451                 :             : )
   12452                 :             :                                                 {
   12453                 :           5 :                                                   {
   12454                 :           5 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   12455                 :           5 :  offset_int rhs = off * 2;
   12456                 :           5 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   12457                 :             : )
   12458                 :             :                                                         {
   12459                 :           5 :                                                           {
   12460                 :           5 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   12461                 :           5 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   12462                 :           5 :                                                               if (cmp == LT_EXPR
   12463                 :             : )
   12464                 :             :                                                                 {
   12465                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1976;
   12466                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1976;
   12467                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1976;
   12468                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1976;
   12469                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1976;
   12470                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1976;
   12471                 :             :                                                                   {
   12472                 :             :                                                                     tree res_op0;
   12473                 :             :                                                                     {
   12474                 :             :                                                                       tree _o1[1], _r1;
   12475                 :             :                                                                       {
   12476                 :             :                                                                         tree _o2[2], _r2;
   12477                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   12478                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12479                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12480                 :             :                                                                         _o1[0] = _r2;
   12481                 :             :                                                                       }
   12482                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12483                 :             :                                                                         {
   12484                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12485                 :             :                                                                         }
   12486                 :             :                                                                       else
   12487                 :             :                                                                         _r1 = _o1[0];
   12488                 :             :                                                                       res_op0 = _r1;
   12489                 :             :                                                                     }
   12490                 :             :                                                                     tree res_op1;
   12491                 :             :                                                                     res_op1 =  rhs_tree;
   12492                 :             :                                                                     tree _r;
   12493                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12494                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 955, __FILE__, __LINE__, true);
   12495                 :           5 :                                                                     return _r;
   12496                 :             :                                                                   }
   12497                 :             : next_after_fail1976:;
   12498                 :             :                                                                 }
   12499                 :             :                                                               else
   12500                 :             :                                                                 {
   12501                 :           5 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1977;
   12502                 :           5 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1977;
   12503                 :           5 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1977;
   12504                 :           5 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1977;
   12505                 :           5 :                                                                   {
   12506                 :           5 :                                                                     tree res_op0;
   12507                 :           5 :                                                                     {
   12508                 :           5 :                                                                       tree _o1[1], _r1;
   12509                 :           5 :                                                                       {
   12510                 :           5 :                                                                         tree _o2[2], _r2;
   12511                 :           5 :                                                                         {
   12512                 :           5 :                                                                           tree _o3[2], _r3;
   12513                 :           5 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   12514                 :           5 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   12515                 :           5 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   12516                 :           5 :                                                                           _o2[0] = _r3;
   12517                 :             :                                                                         }
   12518                 :           5 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12519                 :           5 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12520                 :           5 :                                                                         _o1[0] = _r2;
   12521                 :             :                                                                       }
   12522                 :           5 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12523                 :             :                                                                         {
   12524                 :           5 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12525                 :             :                                                                         }
   12526                 :             :                                                                       else
   12527                 :             :                                                                         _r1 = _o1[0];
   12528                 :           5 :                                                                       res_op0 = _r1;
   12529                 :             :                                                                     }
   12530                 :           5 :                                                                     tree res_op1;
   12531                 :           5 :                                                                     res_op1 =  rhs_tree;
   12532                 :           5 :                                                                     tree _r;
   12533                 :           5 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12534                 :           5 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
   12535                 :           5 :                                                                     return _r;
   12536                 :             :                                                                   }
   12537                 :           0 : next_after_fail1977:;
   12538                 :             :                                                                 }
   12539                 :             :                                                           }
   12540                 :             :                                                         }
   12541                 :             :                                                   }
   12542                 :             :                                                 }
   12543                 :             :                                             }
   12544                 :             :                                           }
   12545                 :             :                                       }
   12546                 :             :                                   }
   12547                 :             :                                 break;
   12548                 :             :                               }
   12549                 :             :                             default:;
   12550                 :             :                             }
   12551                 :             :                           break;
   12552                 :             :                         }
   12553                 :           0 :                       case GE_EXPR:
   12554                 :           0 :                         {
   12555                 :           0 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   12556                 :           0 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   12557                 :           0 :                           if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
   12558                 :             :                             {
   12559                 :           0 :                               switch (TREE_CODE (_q71))
   12560                 :             :                                 {
   12561                 :           0 :                                 case POINTER_PLUS_EXPR:
   12562                 :           0 :                                   {
   12563                 :           0 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
   12564                 :           0 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
   12565                 :           0 :                                     if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
   12566                 :             :                                       {
   12567                 :           0 :                                         if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
   12568                 :             :                                           {
   12569                 :           0 :                                             {
   12570                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q71 };
   12571                 :           0 :                                               const enum tree_code cmp = LE_EXPR;
   12572                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   12573                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   12574                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   12575                 :             : )
   12576                 :             :                                                 {
   12577                 :           0 :                                                   {
   12578                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   12579                 :           0 :  offset_int rhs = off * 2;
   12580                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   12581                 :             : )
   12582                 :             :                                                         {
   12583                 :           0 :                                                           {
   12584                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   12585                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   12586                 :           0 :                                                               if (cmp == LT_EXPR
   12587                 :             : )
   12588                 :             :                                                                 {
   12589                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1978;
   12590                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1978;
   12591                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1978;
   12592                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1978;
   12593                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1978;
   12594                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1978;
   12595                 :             :                                                                   {
   12596                 :             :                                                                     tree res_op0;
   12597                 :             :                                                                     {
   12598                 :             :                                                                       tree _o1[1], _r1;
   12599                 :             :                                                                       {
   12600                 :             :                                                                         tree _o2[2], _r2;
   12601                 :             :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   12602                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12603                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12604                 :             :                                                                         _o1[0] = _r2;
   12605                 :             :                                                                       }
   12606                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12607                 :             :                                                                         {
   12608                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12609                 :             :                                                                         }
   12610                 :             :                                                                       else
   12611                 :             :                                                                         _r1 = _o1[0];
   12612                 :             :                                                                       res_op0 = _r1;
   12613                 :             :                                                                     }
   12614                 :             :                                                                     tree res_op1;
   12615                 :             :                                                                     res_op1 =  rhs_tree;
   12616                 :             :                                                                     tree _r;
   12617                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12618                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 955, __FILE__, __LINE__, true);
   12619                 :           0 :                                                                     return _r;
   12620                 :             :                                                                   }
   12621                 :             : next_after_fail1978:;
   12622                 :             :                                                                 }
   12623                 :             :                                                               else
   12624                 :             :                                                                 {
   12625                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1979;
   12626                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1979;
   12627                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1979;
   12628                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1979;
   12629                 :           0 :                                                                   {
   12630                 :           0 :                                                                     tree res_op0;
   12631                 :           0 :                                                                     {
   12632                 :           0 :                                                                       tree _o1[1], _r1;
   12633                 :           0 :                                                                       {
   12634                 :           0 :                                                                         tree _o2[2], _r2;
   12635                 :           0 :                                                                         {
   12636                 :           0 :                                                                           tree _o3[2], _r3;
   12637                 :           0 :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   12638                 :           0 :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   12639                 :           0 :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   12640                 :           0 :                                                                           _o2[0] = _r3;
   12641                 :             :                                                                         }
   12642                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12643                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12644                 :           0 :                                                                         _o1[0] = _r2;
   12645                 :             :                                                                       }
   12646                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12647                 :             :                                                                         {
   12648                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12649                 :             :                                                                         }
   12650                 :             :                                                                       else
   12651                 :             :                                                                         _r1 = _o1[0];
   12652                 :           0 :                                                                       res_op0 = _r1;
   12653                 :             :                                                                     }
   12654                 :           0 :                                                                     tree res_op1;
   12655                 :           0 :                                                                     res_op1 =  rhs_tree;
   12656                 :           0 :                                                                     tree _r;
   12657                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12658                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
   12659                 :           0 :                                                                     return _r;
   12660                 :             :                                                                   }
   12661                 :           0 : next_after_fail1979:;
   12662                 :             :                                                                 }
   12663                 :             :                                                           }
   12664                 :             :                                                         }
   12665                 :             :                                                   }
   12666                 :             :                                                 }
   12667                 :             :                                             }
   12668                 :             :                                           }
   12669                 :             :                                       }
   12670                 :             :                                     break;
   12671                 :             :                                   }
   12672                 :             :                                 default:;
   12673                 :             :                                 }
   12674                 :             :                             }
   12675                 :             :                           break;
   12676                 :             :                         }
   12677                 :             :                       default:;
   12678                 :             :                       }
   12679                 :             :                     break;
   12680                 :             :                   }
   12681                 :             :                 default:;
   12682                 :             :                 }
   12683                 :             :               break;
   12684                 :             :             }
   12685                 :             :           default:;
   12686                 :             :           }
   12687                 :             :         break;
   12688                 :             :       }
   12689                 :     1248888 :     case GT_EXPR:
   12690                 :     1248888 :       {
   12691                 :     1248888 :         tree _q20 = TREE_OPERAND (_p0, 0);
   12692                 :     1248888 :         tree _q21 = TREE_OPERAND (_p0, 1);
   12693                 :     1248888 :         switch (TREE_CODE (_q21))
   12694                 :             :           {
   12695                 :          52 :           case POINTER_PLUS_EXPR:
   12696                 :          52 :             {
   12697                 :          52 :               tree _q40 = TREE_OPERAND (_q21, 0);
   12698                 :          52 :               tree _q41 = TREE_OPERAND (_q21, 1);
   12699                 :          52 :               switch (TREE_CODE (_q41))
   12700                 :             :                 {
   12701                 :          52 :                 case INTEGER_CST:
   12702                 :          52 :                   {
   12703                 :          52 :                     switch (TREE_CODE (_p1))
   12704                 :             :                       {
   12705                 :           0 :                       case LT_EXPR:
   12706                 :           0 :                         {
   12707                 :           0 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   12708                 :           0 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   12709                 :           0 :                           switch (TREE_CODE (_q70))
   12710                 :             :                             {
   12711                 :           0 :                             case POINTER_PLUS_EXPR:
   12712                 :           0 :                               {
   12713                 :           0 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
   12714                 :           0 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
   12715                 :           0 :                                 if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   12716                 :             :                                   {
   12717                 :           0 :                                     if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
   12718                 :             :                                       {
   12719                 :           0 :                                         if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
   12720                 :             :                                           {
   12721                 :           0 :                                             {
   12722                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q70 };
   12723                 :           0 :                                               const enum tree_code cmp = LT_EXPR;
   12724                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   12725                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   12726                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   12727                 :             : )
   12728                 :             :                                                 {
   12729                 :           0 :                                                   {
   12730                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   12731                 :           0 :  offset_int rhs = off * 2;
   12732                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   12733                 :             : )
   12734                 :             :                                                         {
   12735                 :           0 :                                                           {
   12736                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   12737                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   12738                 :           0 :                                                               if (cmp == LT_EXPR
   12739                 :             : )
   12740                 :             :                                                                 {
   12741                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1980;
   12742                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1980;
   12743                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1980;
   12744                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1980;
   12745                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1980;
   12746                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1980;
   12747                 :           0 :                                                                   {
   12748                 :           0 :                                                                     tree res_op0;
   12749                 :           0 :                                                                     {
   12750                 :           0 :                                                                       tree _o1[1], _r1;
   12751                 :           0 :                                                                       {
   12752                 :           0 :                                                                         tree _o2[2], _r2;
   12753                 :           0 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   12754                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12755                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12756                 :           0 :                                                                         _o1[0] = _r2;
   12757                 :             :                                                                       }
   12758                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12759                 :             :                                                                         {
   12760                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12761                 :             :                                                                         }
   12762                 :             :                                                                       else
   12763                 :             :                                                                         _r1 = _o1[0];
   12764                 :           0 :                                                                       res_op0 = _r1;
   12765                 :             :                                                                     }
   12766                 :           0 :                                                                     tree res_op1;
   12767                 :           0 :                                                                     res_op1 =  rhs_tree;
   12768                 :           0 :                                                                     tree _r;
   12769                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12770                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 955, __FILE__, __LINE__, true);
   12771                 :           0 :                                                                     return _r;
   12772                 :             :                                                                   }
   12773                 :           0 : next_after_fail1980:;
   12774                 :             :                                                                 }
   12775                 :             :                                                               else
   12776                 :             :                                                                 {
   12777                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1981;
   12778                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1981;
   12779                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1981;
   12780                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1981;
   12781                 :             :                                                                   {
   12782                 :             :                                                                     tree res_op0;
   12783                 :             :                                                                     {
   12784                 :             :                                                                       tree _o1[1], _r1;
   12785                 :             :                                                                       {
   12786                 :             :                                                                         tree _o2[2], _r2;
   12787                 :             :                                                                         {
   12788                 :             :                                                                           tree _o3[2], _r3;
   12789                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   12790                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   12791                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   12792                 :             :                                                                           _o2[0] = _r3;
   12793                 :             :                                                                         }
   12794                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12795                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12796                 :             :                                                                         _o1[0] = _r2;
   12797                 :             :                                                                       }
   12798                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12799                 :             :                                                                         {
   12800                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12801                 :             :                                                                         }
   12802                 :             :                                                                       else
   12803                 :             :                                                                         _r1 = _o1[0];
   12804                 :             :                                                                       res_op0 = _r1;
   12805                 :             :                                                                     }
   12806                 :             :                                                                     tree res_op1;
   12807                 :             :                                                                     res_op1 =  rhs_tree;
   12808                 :             :                                                                     tree _r;
   12809                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12810                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
   12811                 :             :                                                                     return _r;
   12812                 :             :                                                                   }
   12813                 :             : next_after_fail1981:;
   12814                 :             :                                                                 }
   12815                 :             :                                                           }
   12816                 :             :                                                         }
   12817                 :             :                                                   }
   12818                 :             :                                                 }
   12819                 :             :                                             }
   12820                 :             :                                           }
   12821                 :             :                                       }
   12822                 :             :                                   }
   12823                 :             :                                 break;
   12824                 :             :                               }
   12825                 :             :                             default:;
   12826                 :             :                             }
   12827                 :             :                           break;
   12828                 :             :                         }
   12829                 :          20 :                       case GT_EXPR:
   12830                 :          20 :                         {
   12831                 :          20 :                           tree _q70 = TREE_OPERAND (_p1, 0);
   12832                 :          20 :                           tree _q71 = TREE_OPERAND (_p1, 1);
   12833                 :          20 :                           if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
   12834                 :             :                             {
   12835                 :           0 :                               switch (TREE_CODE (_q71))
   12836                 :             :                                 {
   12837                 :           0 :                                 case POINTER_PLUS_EXPR:
   12838                 :           0 :                                   {
   12839                 :           0 :                                     tree _q90 = TREE_OPERAND (_q71, 0);
   12840                 :           0 :                                     tree _q91 = TREE_OPERAND (_q71, 1);
   12841                 :           0 :                                     if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
   12842                 :             :                                       {
   12843                 :           0 :                                         if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
   12844                 :             :                                           {
   12845                 :           0 :                                             {
   12846                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q71 };
   12847                 :           0 :                                               const enum tree_code cmp = LT_EXPR;
   12848                 :           0 :                                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
   12849                 :           0 :  && TYPE_OVERFLOW_WRAPS (sizetype)
   12850                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
   12851                 :             : )
   12852                 :             :                                                 {
   12853                 :           0 :                                                   {
   12854                 :           0 :  offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
   12855                 :           0 :  offset_int rhs = off * 2;
   12856                 :           0 :                                                       if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
   12857                 :             : )
   12858                 :             :                                                         {
   12859                 :           0 :                                                           {
   12860                 :           0 :  bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
   12861                 :           0 :  tree rhs_tree = wide_int_to_tree (sizetype, rhs);
   12862                 :           0 :                                                               if (cmp == LT_EXPR
   12863                 :             : )
   12864                 :             :                                                                 {
   12865                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1982;
   12866                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1982;
   12867                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1982;
   12868                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1982;
   12869                 :           0 :                                                                   if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1982;
   12870                 :           0 :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1982;
   12871                 :           0 :                                                                   {
   12872                 :           0 :                                                                     tree res_op0;
   12873                 :           0 :                                                                     {
   12874                 :           0 :                                                                       tree _o1[1], _r1;
   12875                 :           0 :                                                                       {
   12876                 :           0 :                                                                         tree _o2[2], _r2;
   12877                 :           0 :                                                                         _o2[0] =  swap_p ? captures[6] : captures[1];
   12878                 :           0 :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12879                 :           0 :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12880                 :           0 :                                                                         _o1[0] = _r2;
   12881                 :             :                                                                       }
   12882                 :           0 :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12883                 :             :                                                                         {
   12884                 :           0 :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12885                 :             :                                                                         }
   12886                 :             :                                                                       else
   12887                 :             :                                                                         _r1 = _o1[0];
   12888                 :           0 :                                                                       res_op0 = _r1;
   12889                 :             :                                                                     }
   12890                 :           0 :                                                                     tree res_op1;
   12891                 :           0 :                                                                     res_op1 =  rhs_tree;
   12892                 :           0 :                                                                     tree _r;
   12893                 :           0 :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12894                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 955, __FILE__, __LINE__, true);
   12895                 :           0 :                                                                     return _r;
   12896                 :             :                                                                   }
   12897                 :           0 : next_after_fail1982:;
   12898                 :             :                                                                 }
   12899                 :             :                                                               else
   12900                 :             :                                                                 {
   12901                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1983;
   12902                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1983;
   12903                 :             :                                                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1983;
   12904                 :             :                                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1983;
   12905                 :             :                                                                   {
   12906                 :             :                                                                     tree res_op0;
   12907                 :             :                                                                     {
   12908                 :             :                                                                       tree _o1[1], _r1;
   12909                 :             :                                                                       {
   12910                 :             :                                                                         tree _o2[2], _r2;
   12911                 :             :                                                                         {
   12912                 :             :                                                                           tree _o3[2], _r3;
   12913                 :             :                                                                           _o3[0] =  swap_p ? captures[4] : captures[2];
   12914                 :             :                                                                           _o3[1] =  wide_int_to_tree (sizetype, off);
   12915                 :             :                                                                           _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
   12916                 :             :                                                                           _o2[0] = _r3;
   12917                 :             :                                                                         }
   12918                 :             :                                                                         _o2[1] =  swap_p ? captures[2] : captures[4];
   12919                 :             :                                                                         _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
   12920                 :             :                                                                         _o1[0] = _r2;
   12921                 :             :                                                                       }
   12922                 :             :                                                                       if (TREE_TYPE (_o1[0]) != sizetype)
   12923                 :             :                                                                         {
   12924                 :             :                                                                           _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
   12925                 :             :                                                                         }
   12926                 :             :                                                                       else
   12927                 :             :                                                                         _r1 = _o1[0];
   12928                 :             :                                                                       res_op0 = _r1;
   12929                 :             :                                                                     }
   12930                 :             :                                                                     tree res_op1;
   12931                 :             :                                                                     res_op1 =  rhs_tree;
   12932                 :             :                                                                     tree _r;
   12933                 :             :                                                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
   12934                 :             :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
   12935                 :             :                                                                     return _r;
   12936                 :             :                                                                   }
   12937                 :             : next_after_fail1983:;
   12938                 :             :                                                                 }
   12939                 :             :                                                           }
   12940                 :             :                                                         }
   12941                 :             :                                                   }
   12942                 :             :                                                 }
   12943                 :             :                                             }
   12944                 :             :                                           }
   12945                 :             :                                       }
   12946                 :             :                                     break;
   12947                 :             :                                   }
   12948                 :             :                                 default:;
   12949                 :             :                                 }
   12950                 :             :                             }
   12951                 :             :                           break;
   12952                 :             :                         }
   12953                 :             :                       default:;
   12954                 :             :                       }
   12955                 :             :                     break;
   12956                 :             :                   }
   12957                 :             :                 default:;
   12958                 :             :                 }
   12959                 :             :               break;
   12960                 :             :             }
   12961                 :             :           default:;
   12962                 :             :           }
   12963                 :             :         break;
   12964                 :             :       }
   12965                 :             :     default:;
   12966                 :             :     }
   12967                 :             :   return NULL_TREE;
   12968                 :             : }
   12969                 :             : #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.